1 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5 (ada_template_to_fixed_record_type_1): Likewise.
6 (ada_to_fixed_type_1): Likewise.
7 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8 (cp_print_value): Likewise.
9 * d-valprint.c (dynamic_array_type): Likewise.
10 * findvar.c (address_of_variable): Likewise.
11 * jv-valprint.c (java_value_print): Likewise.
12 * valops.c (value_ind): Likewise.
13 * value.c (coerce_ref): Likewise.
15 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
18 value and retrieve the dynamic type size.
20 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
23 passed to sizeof is dynamic evaluate the argument to compute the length.
25 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
26 Joel Brobecker <brobecker@adacore.com>
28 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
29 (dwarf2_evaluate_property): New function.
30 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
31 * dwarf2read.c (attr_to_dynamic_prop): New function.
32 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
34 * gdbtypes.c: Include dwarf2loc.h.
35 (is_dynamic_type): New function.
36 (resolve_dynamic_type): New function.
37 (resolve_dynamic_bounds): New function.
38 (get_type_length): New function.
39 (check_typedef): Use get_type_length to compute type length.
40 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
41 (TYPE_LOW_BOUND_KIND): New macro.
42 (is_dynamic_type): New function prototype.
43 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
44 to resolve dynamic properties of the type. Update comment.
45 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
47 2014-04-14 Richard Henderson <rth@redhat.com>
49 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
51 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
52 Doug Evans <xdje42@gmail.com>
54 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
55 dereference TYPE_CODE_REF values.
57 2014-04-11 Joel Brobecker <brobecker@adacore.com>
59 Revert the following changes due to regressions:
61 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
62 (dwarf2_evaluate_property): New function.
63 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
64 * dwarf2read.c (attr_to_dynamic_prop): New function.
65 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
67 * gdbtypes.c: Include dwarf2loc.h.
68 (is_dynamic_type): New function.
69 (resolve_dynamic_type): New function.
70 (resolve_dynamic_bounds): New function.
71 (get_type_length): New function.
72 (check_typedef): Use get_type_length to compute type length.
73 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
74 (TYPE_LOW_BOUND_KIND): New macro.
75 (is_dynamic_type): New function prototype.
76 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
77 to resolve dynamic properties of the type. Update comment.
78 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
80 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
81 passed to sizeof is dynamic evaluate the argument to compute the length.
83 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
84 value and retrieve the dynamic type size.
86 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
87 (ada_template_to_fixed_record_type_1): Likewise.
88 (ada_to_fixed_type_1): Likewise.
89 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
90 (cp_print_value): Likewise.
91 * d-valprint.c (dynamic_array_type): Likewise.
92 * eval.c (evaluate_subexp_with_coercion): Likewise.
93 * findvar.c (address_of_variable): Likewise.
94 * jv-valprint.c (java_value_print): Likewise.
95 * valops.c (value_ind): Likewise.
96 * value.c (coerce_ref): Likewise.
98 * c-typeprint.c (c_type_print_varspec_suffix): Added
99 check for not yet resolved high bound. If unresolved, print
100 "variable length" string to the console instead of random
103 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
104 property and store it as the high bound and flag the range accordingly.
105 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
106 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
107 * gdbtypes.h (enum range_flags): New enum.
108 (struct range_bounds): Add flags member.
110 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
111 points to a constant blob.
113 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
114 (evaluate_subexp_standard): Pass noside argument.
115 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
116 if noside equals EVAL_NORMAL. If the subscript yields a vla type
117 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
118 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
119 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
121 2014-04-11 Keith Seitz <keiths@redhat.com>
124 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
125 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
128 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
130 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
131 (evaluate_subexp_standard): Pass noside argument.
132 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
133 if noside equals EVAL_NORMAL. If the subscript yields a vla type
134 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
135 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
136 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
140 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
141 points to a constant blob.
143 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
145 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
146 property and store it as the high bound and flag the range accordingly.
147 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
148 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
149 * gdbtypes.h (enum range_flags): New enum.
150 (struct range_bounds): Add flags member.
152 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
154 * c-typeprint.c (c_type_print_varspec_suffix): Added
155 check for not yet resolved high bound. If unresolved, print
156 "variable length" string to the console instead of random
159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
161 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
162 (ada_template_to_fixed_record_type_1): Likewise.
163 (ada_to_fixed_type_1): Likewise.
164 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
165 (cp_print_value): Likewise.
166 * d-valprint.c (dynamic_array_type): Likewise.
167 * eval.c (evaluate_subexp_with_coercion): Likewise.
168 * findvar.c (address_of_variable): Likewise.
169 * jv-valprint.c (java_value_print): Likewise.
170 * valops.c (value_ind): Likewise.
171 * value.c (coerce_ref): Likewise.
173 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
175 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
176 value and retrieve the dynamic type size.
178 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
180 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
181 passed to sizeof is dynamic evaluate the argument to compute the length.
183 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
185 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
186 (dwarf2_evaluate_property): New function.
187 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
188 * dwarf2read.c (attr_to_dynamic_prop): New function.
189 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
191 * gdbtypes.c: Include dwarf2loc.h.
192 (is_dynamic_type): New function.
193 (resolve_dynamic_type): New function.
194 (resolve_dynamic_bounds): New function.
195 (get_type_length): New function.
196 (check_typedef): Use get_type_length to compute type length.
197 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
198 (TYPE_LOW_BOUND_KIND): New macro.
199 (is_dynamic_type): New function prototype.
200 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
201 to resolve dynamic properties of the type. Update comment.
202 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
204 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
206 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
207 declaring high/low bounds and change uses accordingly. Call
208 create_range_type instead of create_static_range_type.
209 * gdbtypes.c (create_range_type): New function.
210 (create_range_type): Convert bounds into struct bound_prop and pass
211 them to create_range_type.
212 * gdbtypes.h (struct bound_prop): New struct.
213 (create_range_type): New function prototype.
214 (struct range_bounds): Use struct bound_prop instead of LONGEST for
215 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
216 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
218 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
220 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
222 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
223 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
224 * ada-lang.c: All uses of create_range_type updated.
225 * coffread.c: All uses of create_range_type updated.
226 * dwarf2read.c: All uses of create_range_type updated.
227 * f-exp.y: All uses of create_range_type updated.
228 * m2-valprint.c: All uses of create_range_type updated.
229 * mdebugread.c: All uses of create_range_type updated.
230 * stabsread.c: All uses of create_range_type updated.
231 * valops.c: All uses of create_range_type updated.
232 * valprint.c: All uses of create_range_type updated.
234 2014-04-10 Pedro Alves <palves@redhat.com>
236 * breakpoint.c (single_step_breakpoints)
237 (single_step_gdbarch): Move up in the file.
238 (one_breakpoint_xfer_memory): New function, factored out from ...
239 (breakpoint_xfer_memory): ... here. Also process single-step
242 2014-04-09 Tristan Gingold <gingold@adacore.com>
244 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
246 (darwin_decode_exception_message): Free port only after use.
248 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
250 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
251 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
252 when setting the size of call_length.
254 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
256 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
257 dereference TYPE_CODE_REF values.
259 2014-04-07 Joel Brobecker <brobecker@adacore.com>
261 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
262 end of warning message.
264 2014-04-03 Doug Evans <dje@google.com>
266 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
267 of stub_comp_unit_die, stub_comp_dir is non-NULL.
269 2014-04-02 Alan Modra <amodra@gmail.com>
271 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
272 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
273 (struct symbol_file_add_from_memory_args): Add size field.
274 (find_vdso_size): New function.
275 (add_vsyscall_page): Attempt to find vdso size.
277 2014-04-01 Doug Evans <dje@google.com>
279 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
281 2014-04-01 Tristan Gingold <gingold@adacore.com>
283 * darwin-nat.c (darwin_encode_reply): Add prototype.
284 (darwin_decode_exception_message): Reply to unknown inferiors.
285 (darwin_decode_message): Handle message by id. Ignore message
287 (darwin_wait): Discard unknown messages, add debug trace.
289 2014-03-31 Doug Evans <dje@google.com>
291 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
294 2014-03-31 Doug Evans <dje@google.com>
296 New option "set print symbol-loading".
298 * solib.c (solib_read_symbols): Only print symbol loading messages
300 (solib_add): If symbol loading is in "brief" mode, notify user
301 symbols are being loaded.
302 (reload_shared_libraries_1): Ditto.
303 * symfile.c (print_symbol_loading_off): New static global.
304 (print_symbol_loading_brief): New static global.
305 (print_symbol_loading_full): New static global.
306 (print_symbol_loading_enums): New static global.
307 (print_symbol_loading): New static global.
308 (print_symbol_loading_p): New function.
309 (symbol_file_add_with_addrs): Only print symbol loading messages
311 (_initialize_symfile): Register "print symbol-loading" set/show
313 * symfile.h (print_symbol_loading_p): Declare.
315 2014-03-30 Doug Evans <xdje42@gmail.com>
317 * infrun.c (set_last_target_status): New function.
318 (handle_inferior_event): Call it.
320 2014-03-30 Doug Evans <xdje42@gmail.com>
322 * inferior.h (enum stop_kind): Improve comment.
324 2014-03-28 Joel Brobecker <brobecker@adacore.com>
326 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
327 a reference, strip the reference layer before calling
328 the lang_ops value_has_mutated callback.
330 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
332 Remove some globals from our parser.
333 * language.c (unk_lang_parser): Add "struct parser_state"
335 * language.h (struct language_defn) <la_parser>: Likewise.
336 * parse.c (expout, expout_size, expout_ptr): Remove variables.
337 (initialize_expout): Add "struct parser_state" argument.
338 Rewrite function to use the parser state.
339 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
340 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
341 write_exp_elt_longcst, write_exp_elt_dblcst,
342 write_exp_elt_decfloatcst, write_exp_elt_type,
343 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
344 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
345 write_dollar_variable): Likewise.
346 (parse_exp_in_context_1): Use parser state.
347 (insert_type_address_space): Add "struct parser_state" argument.
349 (increase_expout_size): New function.
350 * parser-defs.h: Forward declare "struct language_defn" and
351 "struct parser_state".
352 (expout, expout_size, expout_ptr): Remove extern declarations.
353 (parse_gdbarch, parse_language): Rewrite macro declarations to
354 accept the parser state.
355 (struct parser_state): New struct.
356 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
357 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
358 write_exp_elt_decfloatcst, write_exp_elt_type,
359 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
360 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
361 write_exp_msymbol, write_dollar_variable,
362 mark_struct_expression, insert_type_address_space): Add "struct
363 parser_state" argument.
364 (increase_expout_size): New function.
365 * utils.c (do_clear_parser_state): New function.
366 (make_cleanup_clear_parser_state): Likewise.
367 * utils.h (make_cleanup_clear_parser_state): New function
369 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
370 Update calls to write_exp* in order to pass the parser state.
371 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
372 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
373 (i386_stap_parse_special_token_three_arg_disp): Likewise.
374 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
375 * stap-probe.c (stap_parse_register_operand): Likewise.
376 (stap_parse_single_operand): Likewise.
377 (stap_parse_argument_1): Likewise.
378 (stap_parse_argument): Use parser state.
379 * stap-probe.h: Include "parser-defs.h".
380 (struct stap_parse_info) <pstate>: New field.
381 * c-exp.y (parse_type): Rewrite to use parser state.
382 (yyparse): Redefine to c_parse_internal.
383 (pstate): New global variable.
384 (parse_number): Add "struct parser_state" argument.
385 (write_destructor_name): Likewise.
386 (type_exp): Update calls to write_exp* and similars in order to
388 (exp1, exp, variable, qualified_name, space_identifier,
389 typename, typebase): Likewise.
390 (write_destructor_name, parse_number, lex_one_token,
391 classify_name, classify_inner_name, c_parse): Add "struct
392 parser_state" argument. Update function to use parser state.
393 * c-lang.h: Forward declare "struct parser_state".
394 (c_parse): Add "struct parser_state" argument.
395 * ada-exp.y (parse_type): Rewrite macro to use parser state.
396 (yyparse): Redefine macro to ada_parse_internal.
397 (pstate): New variable.
398 (write_int, write_object_renaming, write_var_or_type,
399 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
400 type_int, type_long, type_long_long, type_float, type_double,
401 type_long_double, type_char, type_boolean, type_system_address):
402 Add "struct parser_state" argument.
403 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
404 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
405 var_or_type, aggregate, aggregate_component_list,
406 positional_list, others, component_group,
407 component_associations): Update calls to write_exp* and similar
408 functions in order to use parser state.
409 (ada_parse, write_var_from_sym, write_int,
410 write_exp_op_with_string, write_object_renaming,
411 find_primitive_type, write_selectors, write_ambiguous_var,
412 write_var_or_type, write_name_assoc, type_int, type_long,
413 type_long_long, type_float, type_double, type_long_double,
414 type_char, type_boolean, type_system_address): Add "struct
415 parser_state" argument. Adjust function to use parser state.
416 * ada-lang.c (parse): Likewise.
417 * ada-lang.h: Forward declare "struct parser_state".
418 (ada_parse): Add "struct parser_state" argument.
419 * ada-lex.l (processInt, processReal): Likewise. Adjust all
420 calls to both functions.
421 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
423 (yyparse): Redefine macro to f_parse_internal.
424 (pstate): New variable.
425 (parse_number): Add "struct parser_state" argument.
426 (type_exp, exp, subrange, typebase): Update calls to write_exp*
427 and similars in order to use parser state.
428 (parse_number): Adjust code to use parser state.
430 (f_parse): New function.
431 * f-lang.h: Forward declare "struct parser_state".
432 (f_parse): Add "struct parser_state" argument.
433 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
435 (yyparse): Redefine macro for java_parse_internal.
436 (pstate): New variable.
437 (push_expression_name, push_expression_name, insert_exp): Add
438 "struct parser_state" argument.
439 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
440 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
441 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
442 PostIncrementExpression, PostDecrementExpression,
443 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
444 UnaryExpressionNotPlusMinus, CastExpression,
445 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
446 RelationalExpression, EqualityExpression, AndExpression,
447 ExclusiveOrExpression, InclusiveOrExpression,
448 ConditionalAndExpression, ConditionalOrExpression,
449 ConditionalExpression, Assignment, LeftHandSide): Update
450 calls to write_exp* and similars in order to use parser state.
451 (parse_number): Ajust code to use parser state.
453 (java_parse): New function.
454 (push_variable): Add "struct parser_state" argument. Adjust
455 code to user parser state.
456 (push_fieldnames, push_qualified_expression_name,
457 push_expression_name, insert_exp): Likewise.
458 * jv-lang.h: Forward declare "struct parser_state".
459 (java_parse): Add "struct parser_state" argument.
460 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
462 (yyparse): Redefine macro to m2_parse_internal.
463 (pstate): New variable.
464 (type_exp, exp, fblock, variable, type): Update calls to
465 write_exp* and similars to use parser state.
467 (m2_parse): New function.
468 * m2-lang.h: Forward declare "struct parser_state".
469 (m2_parse): Add "struct parser_state" argument.
470 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
471 * objc-lang.h: Forward declare "struct parser_state".
472 (end_msglist): Add "struct parser_state" argument.
473 * p-exp.y (parse_type): Rewrite macro to use parser state.
474 (yyparse): Redefine macro to pascal_parse_internal.
475 (pstate): New variable.
476 (parse_number): Add "struct parser_state" argument.
477 (type_exp, exp1, exp, qualified_name, variable): Update calls to
478 write_exp* and similars in order to use parser state.
479 (parse_number, yylex): Adjust code to use parser state.
480 (pascal_parse): New function.
481 * p-lang.h: Forward declare "struct parser_state".
482 (pascal_parse): Add "struct parser_state" argument.
483 * go-exp.y (parse_type): Rewrite macro to use parser state.
484 (yyparse): Redefine macro to go_parse_internal.
485 (pstate): New variable.
486 (parse_number): Add "struct parser_state" argument.
487 (type_exp, exp1, exp, variable, type): Update calls to
488 write_exp* and similars in order to use parser state.
489 (parse_number, lex_one_token, classify_name, yylex): Adjust code
491 (go_parse): Likewise.
492 * go-lang.h: Forward declare "struct parser_state".
493 (go_parse): Add "struct parser_state" argument.
495 2014-03-27 Doug Evans <dje@google.com>
497 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
499 2014-03-27 Doug Evans <dje@google.com>
501 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
502 Remove argument abbrev_section. All callers updated.
504 2014-03-27 Doug Evans <dje@google.com>
506 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
507 addr_base, ranges_base.
509 2014-03-26 Keith Seitz <keiths@redhat.com>
511 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
512 types, not VAR_DOMAIN.
514 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
516 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
518 * features/nios2-linux.c: Regenerated.
519 * features/nios2.c: Regenerated.
521 2014-03-25 Pedro Alves <palves@redhat.com>
523 * cli/cli-script.c (script_from_file): Force the interpreter to
526 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
528 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
529 small stack allocation.
531 2014-03-24 Tristan Gingold <gingold@adacore.com>
533 * darwin-nat.c (exc_server): Remove unused prototype.
534 (darwin_dump_message): Correctly display data on x86_64.
535 (darwin_encode_reply): Fix style.
536 Add comments and fix indentation.
538 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
540 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
542 2014-03-22 Doug Evans <xdje42@gmail.com>
544 * infcmd.c: Whitespace fixes.
545 (interrupt_command): Merge two function comments into one.
547 2014-03-22 Doug Evans <xdje42@gmail.com>
549 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
552 2014-03-22 Yao Qi <yao@codesourcery.com>
554 * remote.c (target_read_live_memory): Remove.
555 (memory_xfer_live_readonly_partial): Rename it to
556 remote_xfer_live_readonly_partial. Remove argument 'object'.
557 All callers updated. Call remote_read_bytes_1
558 instead of target_read_live_memory.
559 * tracepoint.c (set_traceframe_number): Remove.
560 (make_cleanup_restore_traceframe_number): Likewise .
561 * tracepoint.h (set_traceframe_number): Remove declaration.
562 (make_cleanup_restore_traceframe_number): Likewise.
564 2014-03-22 Yao Qi <yao@codesourcery.com>
566 * remote.c (remote_read_bytes): Move code on reading from the
568 (remote_read_bytes_1): ... here. New function.
570 2014-03-22 Yao Qi <yao@codesourcery.com>
572 * ctf.c (ctf_xfer_partial): Check the return value of
573 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
574 return TARGET_XFER_UNAVAILABLE.
575 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
576 * target.c (target_read_live_memory): Move it to remote.c.
577 (memory_xfer_live_readonly_partial): Likewise.
578 (memory_xfer_partial_1): Move some code to remote_read_bytes.
579 * remote.c (target_read_live_memory): Moved from target.c.
580 (memory_xfer_live_readonly_partial): Likewise.
581 (remote_read_bytes): Factored out from
582 memory_xfer_partial_1.
584 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
586 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
589 2014-03-21 Pedro Alves <palves@redhat.com>
591 * infrun.c (normal_stop): Extend comment.
593 2014-03-21 Hui Zhu <hui@codesourcery.com>
594 Pedro Alves <palves@redhat.com>
596 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
598 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
599 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
600 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
602 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
604 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
605 `z' formatted output modifier.
607 2014-03-20 Tom Tromey <tromey@redhat.com>
608 Sergio Durigan Junior <sergiodj@redhat.com>
610 * probe.c (parse_probes): Turn assert into an ordinary error.
611 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
612 exceptions when parsing probes. Rearrange the code for clarity.
614 2014-03-20 Tom Tromey <tromey@redhat.com>
617 * top.c (execute_command): Only dispatch events if the command
620 2014-03-20 Tom Tromey <tromey@redhat.com>
623 * infcall.c: Include event-top.h.
624 (run_inferior_call): Call async_disable_stdin if needed.
626 2014-03-20 Pedro Alves <palves@redhat.com>
628 * infrun.c (prepare_to_proceed): Delete.
629 (thread_still_needs_step_over): New function.
630 (find_thread_needs_step_over): New function.
631 (proceed): If the current thread needs a step-over, set its
632 steping_over_breakpoint flag. Adjust to use
633 find_thread_needs_step_over instead of prepare_to_proceed.
634 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
635 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
637 (switch_back_to_stepped_thread): Step over breakpoints of all
638 threads not the stepping thread, before switching back to the
641 2014-03-20 Pedro Alves <palves@redhat.com>
643 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
645 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
646 * infrun.c (saved_singlestep_ptid)
647 (stepping_past_singlestep_breakpoint): Delete.
648 (resume): Remove stepping_past_singlestep_breakpoint handling.
649 (proceed): Store the prev_pc of the stepping thread too.
650 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
652 (enum infwait_states): Delete infwait_thread_hop_state.
653 (struct execution_control_state) <hit_singlestep_breakpoint>: New
655 (handle_inferior_event): Adjust.
656 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
657 handling and the thread-hop code. Before removing single-step
658 breakpoints, check whether the thread hit a single-step breakpoint
659 of another thread. If it did, the trap is not a random signal.
660 (switch_back_to_stepped_thread): If the event thread hit a
661 single-step breakpoint, unblock it before switching to the
662 stepping thread. Handle the case of the stepped thread having
664 (keep_going): Handle the case of the current thread moving past a
665 single-step breakpoint.
667 2014-03-20 Pedro Alves <palves@redhat.com>
670 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
671 are being stepped over.
672 (breakpoint_address_match): Make extern.
673 * breakpoint.h (breakpoint_address_match): New declaration.
674 * inferior.h (stepping_past_instruction_at): New declaration.
675 * infrun.c (struct step_over_info): New type.
676 (step_over_info): New global.
677 (set_step_over_info, clear_step_over_info)
678 (stepping_past_instruction_at): New functions.
679 (handle_inferior_event): Clear the step-over info when
680 trap_expected is cleared.
681 (resume): Remove now stale comment.
682 (clear_proceed_status): Clear step-over info.
683 (proceed): Adjust step-over handling to set or clear the step-over
684 info instead of removing all breakpoints.
685 (handle_signal_stop): When setting up a thread-hop, don't remove
687 (stop_stepping): Clear step-over info.
688 (keep_going): Adjust step-over handling to set or clear step-over
689 info and then always inserting breakpoints, instead of removing
690 all breakpoints when stepping over one.
692 2014-03-20 Pedro Alves <palves@redhat.com>
694 * infrun.c (previous_inferior_ptid): Adjust comment.
695 (deferred_step_ptid): Delete.
696 (infrun_thread_ptid_changed, prepare_to_proceed)
697 (init_wait_for_inferior): Adjust.
698 (handle_signal_stop): Delete deferred_step_ptid handling.
700 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
703 * defs.h (sync_quit_force_run): New declaration.
704 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
705 * event-top.c (async_sigterm_handler): New declaration.
706 (async_sigterm_token): New variable.
707 (async_init_signals): Create also async_sigterm_token.
708 (async_sigterm_handler): New function.
709 (sync_quit_force_run): New variable.
710 (handle_sigterm): Replace quit_force call by other calls.
711 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
713 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
715 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
716 offset into SPE pseudo registers.
718 2014-03-18 Pedro Alves <palves@redhat.com>
721 * inferior.h (print_stop_event): Declare.
722 * infrun.c (print_stop_event): New, factored out from ...
723 (normal_stop): ... this.
724 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
725 of bpstat_print/print_stack_frame.
727 2014-03-17 Tom Tromey <tromey@redhat.com>
729 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
731 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
733 * ada-lang.c (decode_constrained_packed_array): Perform a
734 minimal coercion for reference with coerce_ref instead of
737 2014-03-17 Tristan Gingold <gingold@adacore.com>
739 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
740 (darwin_solib_create_inferior_hook): Emit a warning if version
743 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
745 * python/py-value.c (get_field_flag): Cast flag_name argument to
746 PyObject_GetAttrString to support Python 2.4.
748 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
750 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
751 (Global Maintainers): Remove Jan Kratochvil.
753 2014-03-14 Pedro Alves <palves@redhat.com>
755 * inferior.h (terminal_ours_for_output): Rename to ...
756 (child_terminal_ours_for_output): ... this.
757 (terminal_save_ours): Rename to ...
758 (child_terminal_save_ours): ... this.
759 (terminal_ours): Rename to ...
760 (child_terminal_ours): ... this.
761 (terminal_inferior): Rename to ...
762 (child_terminal_inferior): ... this.
763 (terminal_init_inferior): Rename to ...
764 (child_terminal_init_inferior): ... this.
765 (terminal_init_inferior_with_pgrp): Rename to ...
766 (child_terminal_init_inferior_with_pgrp): ... this.
767 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
768 (child_terminal_init_with_pgrp): ... this.
769 (terminal_save_ours): Rename to ...
770 (child_terminal_save_ours): ... this.
771 (terminal_init_inferior): Rename to ...
772 (child_terminal_init): ... this. Adjust.
773 (terminal_inferior): Rename to ...
774 (child_terminal_inferior): ... this.
775 (terminal_ours_for_output): Rename to ...
776 (child_terminal_ours_for_output): ... this. Adjust.
777 (terminal_ours): Rename to ...
778 (child_terminal_ours): ... this.
779 (terminal_ours_1): Rename to ...
780 (child_terminal_ours_1): ... this. Adjust.
781 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
782 * windows-nat.c (do_initial_windows_stuff): Adjust.
783 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
784 (gnu_terminal_init): ... this. Adjust.
785 (gnu_target): Adjust.
786 * inf-child.c (inf_child_target): Adjust.
788 2014-03-13 Doug Evans <xdje42@gmail.com>
791 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
794 2014-03-13 Doug Evans <xdje42@gmail.com>
796 * value.c (record_latest_value): Call release_value_or_incref
797 instead of release_value.
799 2014-03-13 Pedro Alves <palves@redhat.com>
801 * procfs.c (procfs_target): Don't override to_shortname,
802 to_longname or to_doc.
804 2014-03-13 Pedro Alves <palves@redhat.com>
806 * inf-child.c (inf_child_open, inf_child_target): Don't mention
807 Unix in user visible strings.
809 2014-03-12 Stan Shebs <stan@codesourcery.com>
811 * gdbtypes.h: Annotate comments for Doxygen, add a page
812 block comment with some general info.
814 2014-03-12 Pedro Alves <palves@redhat.com>
816 * infcmd.c (prepare_execution_command): New function, factored out
817 from several execution commands.
818 (run_command_1, continue_command, step_1, jump_command)
819 (signal_command, until_command, advance_command, finish_command)
820 (attach_command): Use prepare_execution_command.
822 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
824 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
827 (struct arm_linux_thread_points): Removed.
828 (struct arm_linux_process_info): New.
829 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
830 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
831 (arm_linux_find_breakpoints_by_tid): Removed.
832 (struct arch_lwp_info): New.
833 (arm_linux_find_process_pid): New functions.
834 (arm_linux_add_process): New functions.
835 (arm_linux_process_info_get): New functions.
836 (arm_linux_forget_process): New function.
837 (arm_linux_get_debug_reg_state): New function.
838 (struct update_registers_data): New.
839 (update_registers_callback): New function.
840 (arm_linux_insert_hw_breakpoint1): Updated.
841 (arm_linux_remove_hw_breakpoint1): Updated.
842 (arm_linux_insert_hw_breakpoint): Updated.
843 (arm_linux_remove_hw_breakpoint): Updated.
844 (arm_linux_insert_watchpoint): Updated.
845 (arm_linux_remove_watchpoint): Updated.
846 (arm_linux_new_thread): Updated.
847 (arm_linux_prepare_to_resume): New function.
848 (arm_linux_new_fork): New function.
849 (_initialize_arm_linux_nat): Updated.
851 2014-03-12 Pedro Alves <palves@redhat.com>
853 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
855 2014-03-12 Tom Tromey <tromey@redhat.com>
857 * inf-child.c (return_zero): New function.
858 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
859 * aix-thread.c (aix_thread_inferior_created): New function.
860 (aix_thread_attach): Remove.
861 (init_aix_thread_ops): Don't set to_attach.
862 (_initialize_aix_thread): Register inferior_created observer.
863 * corelow.c (init_core_ops): Don't set to_attach or
865 * exec.c (init_exec_ops): Don't set to_attach or
867 * infcmd.c (run_command_1): Use find_run_target. Make direct
869 (attach_command): Use find_attach_target. Make direct target
871 * record-btrace.c (init_record_btrace_ops): Don't set
873 * record-full.c (record_full_can_async_p, record_full_is_async_p):
875 (init_record_full_ops, init_record_full_core_ops): Update. Don't
876 set to_create_inferior.
877 * target.c (complete_target_initialization): Add assertion.
878 (target_create_inferior): Remove.
879 (find_default_attach, find_default_create_inferior): Remove.
880 (find_attach_target, find_run_target): New functions.
881 (find_default_is_async_p, find_default_can_async_p)
882 (target_supports_non_stop, target_attach): Remove.
883 (init_dummy_target): Don't set to_create_inferior or
884 to_supports_non_stop.
885 * target.h (struct target_ops) <to_attach>: Add comment. Remove
887 <to_create_inferior>: Add comment.
888 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
889 TARGET_DEFAULT_RETURN.
890 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
891 (find_attach_target, find_run_target): Declare.
892 (target_create_inferior): Remove.
893 (target_has_execution_1): Update comment.
894 (target_supports_non_stop): Remove.
895 * target-delegates.c: Rebuild.
897 2014-03-12 Pedro Alves <palves@redhat.com>
899 * inf-child.h: Update comment to not mention Unix.
901 2014-03-12 Pedro Alves <palves@redhat.com>
903 * inf-child.c: Update top comment to not mention Unix. Add
904 generic comment describing how this target is meant to be used.
905 (inf_child_post_attach, inf_child_post_startup_inferior)
906 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
909 2014-03-12 Pedro Alves <palves@redhat.com>
911 * nto-procfs.c: Include inf-child.h.
912 (procfs_ops): Delete global.
913 (procfs_can_run): Delete method.
914 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
915 target pointer instead of referencing procfs_ops.
916 (procfs_prepare_to_store): Delete.
917 (init_procfs_ops): Delete function.
918 (procfs_target): New function, based on init_procfs_ops, but
919 inherit inf_child_target.
920 (_initialize_procfs): Use procfs_target.
922 2014-03-12 Pedro Alves <palves@redhat.com>
924 * windows-nat.c: Include inf-child.h.
925 (windows_ops): Delete global.
926 (windows_open, windows_prepare_to_store, windows_can_run): Delete
928 (init_windows_ops): Delete function.
929 (windows_target): New function, based on init_windows_ops, but
930 inherit inf_child_target.
931 (_initialize_windows_nat): Use windows_target. Install x86
932 specific target methods here.
934 2014-03-10 Doug Evans <xdje42@gmail.com>
936 * guile/guile.c (call_initialize_gdb_module): New function.
937 (initialize_guile): Replace call to scm_init_guile with call to
940 2014-03-10 Joel Brobecker <brobecker@adacore.com>
942 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
943 in call to TYPE_CODE macro.
945 2014-03-10 Jerome Guitton <guitton@adacore.com>
947 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
948 Resolve tagged types to full view.
950 2014-03-10 Hui Zhu <hui@codesourcery.com>
952 * target.h (target_insert_breakpoint): Remove "hardware" from its
955 2014-03-07 Doug Evans <dje@google.com>
957 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
959 2014-03-07 Doug Evans <dje@google.com>
961 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
962 Remove unused local comp_dir_attr. Assert exactly one of
963 stub_comp_unit_die, stub_comp_dir is non-NULL.
965 2014-03-07 Joel Brobecker <brobecker@adacore.com>
967 * target.h (complete_target_initialization, add_target):
970 2014-03-07 Pedro Alves <palves@redhat.com>
972 * go32-nat.c: Include inf-child.h.
973 (go32_ops): Delete global.
974 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
976 (go32_create_inferior): Push the passed in target pointer instead
977 of referencing go32_ops.
978 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
979 (go32_target): New function, based on init_go32_ops, but inherit
981 (_initialize_go32_nat): Use go32_target. Move parts of
984 2014-03-06 Joel Brobecker <brobecker@adacore.com>
986 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
987 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
988 SYMBOL_VALUE_ADDRESS.
989 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
991 2014-03-06 Yao Qi <yao@codesourcery.com>
993 * breakpoint.c (get_tracepoint_by_number): Remove argument
994 optional_p. All callers updated. Adjust comments. Update
996 * breakpoint.h (get_tracepoint_by_number): Update declaration.
998 2014-03-06 Yao Qi <yao@codesourcery.com>
1000 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1001 early if get_number returns zero. Use 'p' instead of 'args'.
1003 2014-03-06 Yao Qi <yao@codesourcery.com>
1005 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1008 2014-03-06 Yao Qi <yao@codesourcery.com>
1010 PR breakpoints/16508
1011 * tracepoint.c (check_trace_running): New function.
1012 (trace_find_command): Move code to check_trace_running and
1013 call check_trace_running.
1014 (trace_find_pc_command): Likewise.
1015 (trace_find_tracepoint_command): Likewise.
1016 (trace_find_line_command): Likewise.
1017 (trace_find_range_command): Likewise.
1018 * tracepoint.h (check_trace_running): Likewise.
1019 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1021 2014-03-06 Yao Qi <yao@codesourcery.com>
1023 * target.h (struct target_ops) <to_traceframe_info>: Use
1024 TARGET_DEFAULT_NORETURN (tcomplain ()).
1025 * target-delegates.c: Regenerated.
1027 2014-03-05 Pedro Alves <palves@redhat.com>
1030 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1031 void. Update comment.
1032 (dcache_xfer_memory): Delete.
1033 (dcache_read_memory_partial): New, based on the read bits of
1035 (dcache_update): Add status parameter. Use ULONGEST for len, and
1036 adjust. Discard cache lines if the reason for the update was
1038 * dcache.h (dcache_xfer_memory): Delete declaration.
1039 (dcache_read_memory_partial): New declaration.
1040 (dcache_update): Update prototype.
1041 * target.c (raw_memory_xfer_partial): Update the dcache here.
1042 (memory_xfer_partial_1): Don't handle dcache writes here.
1044 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1046 * remote-sim.c (gdbsim_load): Add const to prog.
1048 2014-03-03 Tom Tromey <tromey@redhat.com>
1050 * elfread.c (probe_key): Change to bfd_data.
1051 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1052 now per-BFD, not per-objfile.
1053 * stap-probe.c (stap_probe_destroy): Update comment.
1054 (handle_stap_probe): Allocate on the per-BFD obstack.
1056 2014-03-03 Tom Tromey <tromey@redhat.com>
1058 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1059 * breakpoint.c (create_longjmp_master_breakpoint): Use
1061 (add_location_to_breakpoint, bkpt_probe_insert_location)
1062 (bkpt_probe_remove_location): Update.
1063 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1064 * elfread.c (elf_symfile_relocate_probe): Remove.
1065 (elf_probe_fns): Update.
1066 (insert_exception_resume_breakpoint): Change type of "probe"
1067 parameter to bound_probe.
1068 (check_exception_resume): Update.
1069 * objfiles.c (objfile_relocate1): Don't relocate probes.
1070 * probe.c (bound_probe_s): New typedef.
1071 (parse_probes): Use get_probe_address. Set sal's objfile.
1072 (find_probe_by_pc): Return a bound_probe.
1073 (collect_probes): Return a VEC(bound_probe_s).
1074 (compare_probes): Update.
1075 (gen_ui_out_table_header_info): Change type of "probes"
1077 (info_probes_for_ops): Update.
1078 (get_probe_address): New function.
1079 (probe_safe_evaluate_at_pc): Update.
1080 * probe.h (struct probe_ops) <get_probe_address>: New field.
1081 <set_semaphore, clear_semaphore>: Add objfile parameter.
1082 (struct probe) <objfile>: Remove field.
1084 <address>: Update comment.
1085 (struct bound_probe): New.
1086 (find_probe_by_pc): Return a bound_probe.
1087 (get_probe_address): Declare.
1088 * solib-svr4.c (struct probe_and_action) <address>: New field.
1089 (hash_probe_and_action, equal_probe_and_action): Update.
1090 (register_solib_event_probe): Add address parameter.
1091 (solib_event_probe_at): Update.
1092 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1094 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1095 (stap_get_probe_address): New function.
1096 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1097 (compile_probe_arg): Update.
1098 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1100 (handle_stap_probe): Don't relocate the probe.
1101 (stap_relocate): Remove.
1102 (stap_gen_info_probes_table_values): Update.
1103 (stap_probe_ops): Remove stap_relocate.
1104 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1105 (debug_sym_probe_fns): Update.
1106 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1107 * symtab.c (init_sal): Use memset.
1108 * symtab.h (struct symtab_and_line) <objfile>: New field.
1109 * tracepoint.c (start_tracing, stop_tracing): Update.
1111 2014-03-03 Tom Tromey <tromey@redhat.com>
1113 * probe.h (parse_probes, find_probe_by_pc)
1114 (find_probes_in_objfile): Fix comments.
1116 2014-03-02 Doug Evans <xdje42@gmail.com>
1118 * infrun.c (handle_signal_stop): Replace test for
1119 TARGET_WAITKIND_STOPPED with an assert.
1121 2014-03-02 Doug Evans <xdje42@gmail.com>
1123 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1125 2014-03-02 Doug Evans <xdje42@gmail.com>
1127 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1129 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1131 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1133 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1135 * i386obsd-nat.c: Include "obsd-nat.h".
1136 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1138 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1140 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1142 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1144 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1146 * mips64obsd-nat.c: Include "obsd-nath".
1147 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1149 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1151 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1153 * amd64obsd-nat.c: Include "obsd-nat,h.
1154 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1156 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1158 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1160 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1161 (find_overload_match): Update call to find_oload_champ.
1162 (find_oload_champ_namespace_loop): Likewise
1164 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1166 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1168 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1169 * config/sparc/obsd64.mh: New file.
1170 * sparc64obsd-nat.c: New file.
1172 * obsd-nat.h: New file.
1173 * obsd-nat.c: New file.
1174 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1175 (ALLDEPFILES): Add obsd-nat.c.
1177 2014-02-28 Tom Tromey <tromey@redhat.com>
1179 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1180 * cli-out.h (cli_ui_out_impl): Now const.
1181 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1182 * ui-out.c (struct ui_out) <impl>: Now const.
1183 (default_ui_out_impl): Now const.
1184 (ui_out_new): Make 'impl' parameter const.
1185 * ui-out.h (ui_out_new): Update.
1187 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1189 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1191 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1193 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1195 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 Additional PR 8882 fix.
1198 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1200 2014-02-27 Pedro Alves <palves@redhat.com>
1202 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1205 2014-02-27 Pedro Alves <palves@redhat.com>
1208 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1209 * nat/linux-waitpid.c: Include string.h.
1210 (status_to_str): Moved here and made extern.
1211 * nat/linux-waitpid.h (status_to_str): New declaration.
1213 2014-02-27 Hui Zhu <hui@codesourcery.com>
1216 * infrun.c (ptid_match): Move ...
1217 * common/ptid.c (ptid_match): ... here.
1218 * inferior.h (ptid_match): Move ...
1219 * common/ptid.h (ptid_match): ... here.
1221 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1223 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1224 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1227 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1229 * obsd-tdep.c (obsd_auxv_parse): New function.
1230 (obsd_init_abi): Set auxv_parse.
1232 * gdbarch.sh (auxv_parse): New.
1233 * gdbarch.h: Regenerated.
1234 * gdbarch.c: Regenerated.
1235 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1237 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1239 * guile/scm-value.c (gdbscm_history_append_x): New function.
1240 (value_functions): Add it.
1242 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1244 * dwarf2read.c (attr_value_as_address): New function.
1245 (dwarf2_find_base_address, read_call_site_scope): Use
1246 attr_value_as_address in place of DW_ADDR.
1247 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1248 the low and high addresses. Slight rework of the handling
1249 of the high pc being a constant form, and limit it to
1250 DWARF verson 4 or higher.
1251 (dwarf2_record_block_ranges): Likewise.
1252 (read_partial_die): Likewise.
1253 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1255 2014-02-26 Tom Tromey <tromey@redhat.com>
1257 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1259 2014-02-26 Tom Tromey <tromey@redhat.com>
1261 * elfread.c (elf_read_minimal_symbols): Return early if
1262 minimal symbols have already been read. Add "ei" parameter.
1263 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1264 * minsyms.c (prim_record_minimal_symbol_full): Update.
1265 * objfiles.h (struct objstats) <n_minsyms>: Move...
1266 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1267 * symmisc.c (print_objfile_statistics): Update.
1269 2014-02-26 Tom Tromey <tromey@redhat.com>
1271 * elfread.c (elf_read_minimal_symbols): New function, from
1273 (elf_symfile_read): Call it.
1275 2014-02-26 Tom Tromey <tromey@redhat.com>
1277 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1278 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1279 (lookup_minimal_symbol_solib_trampoline)
1280 (lookup_minimal_symbol_by_pc_section_1)
1281 (lookup_minimal_symbol_and_objfile): Update.
1282 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1283 Don't allocate a minimal symbol if minsyms have already been read.
1284 (build_minimal_symbol_hash_tables): Update.
1285 (install_minimal_symbols): Do nothing if minsyms already read.
1286 Use the per-BFD obstack.
1287 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1288 * objfiles.c (allocate_objfile): Call
1289 terminate_minimal_symbol_table later.
1290 (have_minimal_symbols): Update.
1291 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1292 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1293 Move from struct objfile.
1294 <minsyms_read>: New field.
1295 (struct objfile) <msymbols, minimal_symbol_count,
1296 msymbol_hash, msymbol_demangled_hash>: Move.
1297 (ALL_OBJFILE_MSYMBOLS): Update.
1298 * symfile.c (read_symbols): Set minsyms_read.
1299 (reread_symbols): Update.
1300 * symmisc.c (dump_objfile, dump_msymbols): Update.
1302 2014-02-26 Tom Tromey <tromey@redhat.com>
1304 * minsyms.c (msymbols_sort): Remove.
1305 * minsyms.h (msymbols_sort): Remove.
1306 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1307 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1308 * elfread.c (elf_symtab_read): Don't add section offsets.
1309 * xcoffread.c (record_minimal_symbol): Don't add section offset
1310 to minimal symbol address.
1311 * somread.c (text_offset, data_offset): Remove.
1312 (som_symtab_read): Don't add section offsets to minimal symbol
1314 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1315 Don't add section offsets to minimal symbols.
1316 * coffread.c (coff_symtab_read): Don't add section offsets
1317 to minimal symbol addresses.
1318 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1319 to minimal symbol addresses.
1320 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1321 section offset to minimal symbol addresses.
1322 * mdebugread.c (parse_partial_symbols): Don't add section
1323 offset to minimal symbol addresses.
1324 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1325 offset to minimal symbol addresses.
1327 2014-02-26 Tom Tromey <tromey@redhat.com>
1329 * ada-lang.c (ada_main_name): Update.
1330 (ada_add_standard_exceptions): Update.
1331 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1332 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1333 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1334 * auxv.c (ld_so_xfer_auxv): Update.
1335 * avr-tdep.c (avr_scan_prologue): Update.
1336 * ax-gdb.c (gen_var_ref): Update.
1337 * blockframe.c (get_pc_function_start)
1338 (find_pc_partial_function_gnu_ifunc): Update.
1339 * breakpoint.c (create_overlay_event_breakpoint)
1340 (create_longjmp_master_breakpoint)
1341 (create_std_terminate_master_breakpoint)
1342 (create_exception_master_breakpoint): Update.
1343 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1344 * c-valprint.c (c_val_print): Update.
1345 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1346 * common/agent.c (agent_look_up_symbols): Update.
1347 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1348 * dwarf2loc.c (call_site_to_target_addr): Update.
1349 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1350 * elfread.c (elf_gnu_ifunc_record_cache)
1351 (elf_gnu_ifunc_resolve_by_got): Update.
1352 * findvar.c (default_read_var_value): Update.
1353 * frame.c (inside_main_func): Update.
1354 * frv-tdep.c (frv_frame_this_id): Update.
1355 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1356 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1358 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1359 (hppa_hpux_find_dummy_bpaddr): Update.
1360 * hppa-tdep.c (hppa_symbol_address): Update.
1361 * infcmd.c (until_next_command): Update.
1362 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1364 * linespec.c (minsym_found, add_minsym): Update.
1365 * linux-nat.c (get_signo): Update.
1366 * linux-thread-db.c (inferior_has_bug): Update.
1367 * m32c-tdep.c (m32c_return_value)
1368 (m32c_m16c_address_to_pointer): Update.
1369 * m32r-tdep.c (m32r_frame_this_id): Update.
1370 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1371 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1372 * maint.c (maintenance_translate_address): Update.
1373 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1374 (frob_address): New function.
1375 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1376 frob_address. Rename parameter to "pc_in".
1377 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1379 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1381 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1382 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1383 * objc-lang.c (find_objc_msgsend): Update.
1384 * objfiles.c (objfile_relocate1): Update.
1385 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1386 * p-valprint.c (pascal_val_print): Update.
1387 * parse.c (write_exp_msymbol): Update.
1388 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1389 (ppc_elfv2_skip_entrypoint): Update.
1390 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1391 * printcmd.c (build_address_symbolic, msym_info)
1392 (address_info): Update.
1393 * proc-service.c (ps_pglobal_lookup): Update.
1394 * psymtab.c (find_pc_sect_psymtab_closer)
1395 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1396 Change msymbol parameter to bound_minimal_symbol.
1397 * ravenscar-thread.c (get_running_thread_id): Update.
1398 * remote.c (remote_check_symbols): Update.
1399 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1401 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1402 * solib-dsbt.c (lm_base): Update.
1403 * solib-frv.c (lm_base, main_got): Update.
1404 * solib-irix.c (locate_base): Update.
1405 * solib-som.c (som_solib_create_inferior_hook)
1406 (link_map_start): Update.
1407 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1408 * solib-svr4.c (elf_locate_base, enable_break): Update.
1409 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1410 (flush_ea_cache): Update.
1411 * stabsread.c (define_symbol, scan_file_globals): Update.
1412 * stack.c (find_frame_funname): Update.
1413 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1414 (debug_qf_find_pc_sect_symtab): Update.
1415 * symfile.c (simple_read_overlay_table)
1416 (simple_overlay_update): Update.
1417 * symfile.h (struct quick_symbol_functions)
1418 <find_pc_sect_symtab>: Change type of msymbol to
1419 bound_minimal_symbol.
1420 * symmisc.c (dump_msymbols): Update.
1421 * symtab.c (find_pc_sect_symtab_via_partial)
1422 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1423 (search_symbols, print_msymbol_info): Update.
1424 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1425 (MSYMBOL_VALUE_ADDRESS): Redefine.
1426 (BMSYMBOL_VALUE_ADDRESS): New macro.
1427 * tracepoint.c (scope_info): Update.
1428 * tui/tui-disasm.c (tui_find_disassembly_address)
1429 (tui_get_begin_asm_address): Update.
1430 * valops.c (find_function_in_inferior): Update.
1431 * value.c (value_static_field, value_fn_field): Update.
1433 2014-02-26 Tom Tromey <tromey@redhat.com>
1435 * ada-lang.c (ada_update_initial_language): Update.
1436 (ada_main_name, ada_has_this_exception_support): Update.
1437 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1438 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1439 * arm-tdep.c (arm_skip_stub): Update.
1440 * auxv.c (ld_so_xfer_auxv): Update.
1441 * avr-tdep.c (avr_scan_prologue): Update.
1442 * ax-gdb.c (gen_var_ref): Update.
1443 * breakpoint.c (struct breakpoint_objfile_data)
1444 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1445 type to bound_minimal_symbol.
1446 (create_overlay_event_breakpoint)
1447 (create_longjmp_master_breakpoint)
1448 (create_std_terminate_master_breakpoint)
1449 (create_exception_master_breakpoint): Update.
1450 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1451 * c-exp.y (classify_name): Update.
1452 * coffread.c (coff_symfile_read): Update.
1453 * common/agent.c (agent_look_up_symbols): Update.
1454 * d-lang.c (d_main_name): Update.
1455 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1456 * dec-thread.c (enable_dec_thread): Update.
1457 * dwarf2loc.c (call_site_to_target_addr): Update.
1458 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1459 * eval.c (evaluate_subexp_standard): Update.
1460 * findvar.c (struct minsym_lookup_data) <result>: Change type
1461 to bound_minimal_symbol.
1463 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1464 * frame.c (inside_main_func): Update.
1465 * frv-tdep.c (frv_frame_this_id): Update.
1466 * gcore.c (call_target_sbrk): Update.
1467 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1468 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1470 * go-lang.c (go_main_name): Update.
1471 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1472 (hppa_hpux_find_import_stub_for_addr): Update.
1473 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1474 Update. Change return type.
1475 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1477 * jit.c (jit_breakpoint_re_set_internal): Update.
1478 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1480 * linux-nat.c (get_signo): Update.
1481 * linux-thread-db.c (inferior_has_bug): Update
1482 * m32c-tdep.c (m32c_return_value)
1483 (m32c_m16c_address_to_pointer): Update.
1484 * m32r-tdep.c (m32r_frame_this_id): Update.
1485 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1486 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1487 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1488 lookup_minimal_symbol. Change return type.
1489 (lookup_minimal_symbol): Remove.
1490 (lookup_bound_minimal_symbol): Update.
1491 (lookup_minimal_symbol_text): Change return type.
1492 (lookup_minimal_symbol_solib_trampoline): Change return type.
1493 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1494 (lookup_minimal_symbol_solib_trampoline): Change return type.
1495 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1496 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1497 (value_nsstring, find_imps): Update.
1498 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1499 * p-lang.c (pascal_main_name): Update.
1500 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1501 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1502 * proc-service.c (ps_pglobal_lookup): Update.
1503 * ravenscar-thread.c (get_running_thread_msymbol): Change
1505 (has_ravenscar_runtime, get_running_thread_id): Update.
1506 * remote.c (remote_check_symbols): Update.
1507 * sol-thread.c (ps_pglobal_lookup): Update.
1508 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1509 * solib-dsbt.c (lm_base): Update.
1510 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1512 * solib-irix.c (locate_base): Update.
1513 * solib-som.c (som_solib_create_inferior_hook)
1514 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1516 * solib-spu.c (spu_enable_break): Update.
1517 * solib-svr4.c (elf_locate_base, enable_break): Update.
1518 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1519 (flush_ea_cache): Update.
1520 * stabsread.c (define_symbol): Update.
1521 * symfile.c (simple_read_overlay_table): Update.
1522 * symtab.c (find_pc_sect_line): Update.
1523 * tracepoint.c (scope_info): Update.
1524 * tui-disasm.c (tui_get_begin_asm_address): Update.
1525 * value.c (value_static_field): Update.
1527 2014-02-26 Tom Tromey <tromey@redhat.com>
1529 * minsyms.c (prim_record_minimal_symbol_full): Use
1530 SET_MSYMBOL_VALUE_ADDRESS.
1531 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1532 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1533 SET_MSYMBOL_VALUE_ADDRESS.
1534 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1535 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1537 2014-02-26 Tom Tromey <tromey@redhat.com>
1539 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1540 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1541 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1542 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1543 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1544 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1545 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1546 * ada-lang.c (ada_main_name): Update.
1547 (ada_lookup_simple_minsym): Update.
1548 (ada_make_symbol_completion_list): Update.
1549 (ada_add_standard_exceptions): Update.
1550 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1551 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1552 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1553 * arm-tdep.c (skip_prologue_function): Update.
1554 (arm_skip_stack_protector, arm_skip_stub): Update.
1555 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1556 (arm_wince_skip_main_prologue): Update.
1557 * auxv.c (ld_so_xfer_auxv): Update.
1558 * avr-tdep.c (avr_scan_prologue): Update.
1559 * ax-gdb.c (gen_var_ref): Update.
1560 * block.c (call_site_for_pc): Update.
1561 * blockframe.c (get_pc_function_start): Update.
1562 (find_pc_partial_function_gnu_ifunc): Update.
1563 * breakpoint.c (create_overlay_event_breakpoint): Update.
1564 (create_longjmp_master_breakpoint): Update.
1565 (create_std_terminate_master_breakpoint): Update.
1566 (create_exception_master_breakpoint): Update.
1567 (resolve_sal_pc): Update.
1568 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1569 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1571 * c-valprint.c (c_val_print): Update.
1572 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1573 * coffread.c (coff_symfile_read): Update.
1574 * common/agent.c (agent_look_up_symbols): Update.
1575 * dbxread.c (find_stab_function_addr): Update.
1576 (end_psymtab): Update.
1577 * dwarf2loc.c (call_site_to_target_addr): Update.
1578 (func_verify_no_selftailcall): Update.
1579 (tailcall_dump): Update.
1580 (call_site_find_chain_1): Update.
1581 (dwarf_expr_reg_to_entry_parameter): Update.
1582 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1583 (elf_gnu_ifunc_resolve_by_got): Update.
1584 * f-valprint.c (info_common_command): Update.
1585 * findvar.c (read_var_value): Update.
1586 * frame.c (get_prev_frame_1): Update.
1587 (inside_main_func): Update.
1588 * frv-tdep.c (frv_skip_main_prologue): Update.
1589 (frv_frame_this_id): Update.
1590 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1591 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1592 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1593 (gnuv3_skip_trampoline): Update.
1594 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1595 (hppa64_hpux_in_solib_call_trampoline): Update.
1596 (hppa_hpux_skip_trampoline_code): Update.
1597 (hppa64_hpux_search_dummy_call_sequence): Update.
1598 (hppa_hpux_find_import_stub_for_addr): Update.
1599 (hppa_hpux_find_dummy_bpaddr): Update.
1600 * hppa-tdep.c (hppa_symbol_address)
1601 (hppa_lookup_stub_minimal_symbol): Update.
1602 * i386-tdep.c (i386_skip_main_prologue): Update.
1603 (i386_pe_skip_trampoline_code): Update.
1604 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1605 * infcall.c (get_function_name): Update.
1606 * infcmd.c (until_next_command): Update.
1607 * jit.c (jit_breakpoint_re_set_internal): Update.
1608 (jit_inferior_init): Update.
1609 * linespec.c (minsym_found): Update.
1610 (add_minsym): Update.
1611 * linux-fork.c (info_checkpoints_command): Update.
1612 * linux-nat.c (get_signo): Update.
1613 * linux-thread-db.c (inferior_has_bug): Update.
1614 * m32c-tdep.c (m32c_return_value): Update.
1615 (m32c_m16c_address_to_pointer): Update.
1616 (m32c_m16c_pointer_to_address): Update.
1617 * m32r-tdep.c (m32r_frame_this_id): Update.
1618 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1619 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1620 * maint.c (maintenance_translate_address): Update.
1621 * minsyms.c (add_minsym_to_hash_table): Update.
1622 (add_minsym_to_demangled_hash_table): Update.
1623 (msymbol_objfile): Update.
1624 (lookup_minimal_symbol): Update.
1625 (iterate_over_minimal_symbols): Update.
1626 (lookup_minimal_symbol_text): Update.
1627 (lookup_minimal_symbol_by_pc_name): Update.
1628 (lookup_minimal_symbol_solib_trampoline): Update.
1629 (lookup_minimal_symbol_by_pc_section_1): Update.
1630 (lookup_minimal_symbol_and_objfile): Update.
1631 (prim_record_minimal_symbol_full): Update.
1632 (compare_minimal_symbols): Update.
1633 (compact_minimal_symbols): Update.
1634 (build_minimal_symbol_hash_tables): Update.
1635 (install_minimal_symbols): Update.
1636 (terminate_minimal_symbol_table): Update.
1637 (find_solib_trampoline_target): Update.
1638 (minimal_symbol_upper_bound): Update.
1639 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1640 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1641 (mips_skip_pic_trampoline_code): Update.
1642 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1643 * objc-lang.c (selectors_info): Update.
1644 (classes_info): Update.
1645 (find_methods): Update.
1646 (find_imps): Update.
1647 (find_objc_msgsend): Update.
1648 * objfiles.c (objfile_relocate1): Update.
1649 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1650 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1651 * p-valprint.c (pascal_val_print): Update.
1652 * parse.c (write_exp_msymbol): Update.
1653 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1654 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1655 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1656 * printcmd.c (build_address_symbolic): Update.
1658 (address_info): Update.
1659 * proc-service.c (ps_pglobal_lookup): Update.
1660 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1661 (find_pc_sect_psymtab): Update.
1662 * python/py-framefilter.c (py_print_frame): Update.
1663 * ravenscar-thread.c (get_running_thread_id): Update.
1664 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1666 * remote.c (remote_check_symbols): Update.
1667 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1668 (rs6000_skip_trampoline_code): Update.
1669 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1670 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1671 * solib-dsbt.c (lm_base): Update.
1672 * solib-frv.c (lm_base): Update.
1674 * solib-irix.c (locate_base): Update.
1675 * solib-som.c (som_solib_create_inferior_hook): Update.
1676 (som_solib_desire_dynamic_linker_symbols): Update.
1677 (link_map_start): Update.
1678 * solib-spu.c (spu_enable_break): Update.
1679 (ocl_enable_break): Update.
1680 * solib-svr4.c (elf_locate_base): Update.
1681 (enable_break): Update.
1682 * spu-tdep.c (spu_get_overlay_table): Update.
1683 (spu_catch_start): Update.
1684 (flush_ea_cache): Update.
1685 * stabsread.c (define_symbol): Update.
1686 (scan_file_globals): Update.
1687 * stack.c (find_frame_funname): Update.
1688 (frame_info): Update.
1689 * symfile.c (simple_read_overlay_table): Update.
1690 (simple_overlay_update): Update.
1691 * symmisc.c (dump_msymbols): Update.
1692 * symtab.c (fixup_section): Update.
1693 (find_pc_sect_line): Update.
1694 (skip_prologue_sal): Update.
1695 (search_symbols): Update.
1696 (print_msymbol_info): Update.
1697 (rbreak_command): Update.
1698 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1699 (completion_list_objc_symbol): Update.
1700 (default_make_symbol_completion_list_break_on): Update.
1701 * tracepoint.c (scope_info): Update.
1702 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1703 (tui_get_begin_asm_address): Update.
1704 * valops.c (find_function_in_inferior): Update.
1705 * value.c (value_static_field): Update.
1706 (value_fn_field): Update.
1708 2014-02-26 Tom Tromey <tromey@redhat.com>
1710 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1711 bound minimal symbols. Move code that knows about minsym
1713 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1715 * minsyms.h (minimal_symbol_upper_bound): Declare.
1716 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1717 minimal_symbol_upper_bound.
1719 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1721 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1722 Use the type's name if its basic type does not have a tag.
1724 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1726 * dwarf2read.c (read_subrange_type): Add comment.
1728 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1730 * dwarf2read.c (update_enumeration_type_from_children): New
1731 function, mostly extracted from process_structure_scope.
1732 (read_enumeration_type): Call update_enumeration_type_from_children.
1733 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1734 and flag_flag_enum fields.
1736 2014-02-26 Pedro Alves <palves@redhat.com>
1738 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1739 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1740 to_xfer_partial method.
1742 2014-02-26 Pedro Alves <palves@redhat.com>
1744 * target.c (complete_target_initialization): Don't install
1745 default_xfer_partial as to_xfer_partial hook.
1747 (update_current_target): Don't INHERIT nor de_fault
1748 deprecated_xfer_memory. Delete de_fault macro.
1749 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1750 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1751 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1754 2014-02-26 Pedro Alves <palves@redhat.com>
1756 * go32-nat.c (my_write_child): New function.
1757 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1758 (go32_xfer_partial): New function.
1759 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1760 Instead install a to_xfer_partial hook.
1762 2014-02-26 Pedro Alves <palves@redhat.com>
1764 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1765 to_xfer_partial helper. Rewrite.
1766 (procfs_xfer_partial): New function.
1767 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1768 Install a to_xfer_partial hook.
1770 2014-02-26 Pedro Alves <palves@redhat.com>
1772 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1773 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1774 (m32r_xfer_partial): New function.
1775 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1776 Install a to_xfer_partial hook.
1778 2014-02-26 Pedro Alves <palves@redhat.com>
1780 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1782 (mips_xfer_partial): New function.
1783 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1784 hook. Install a to_xfer_partial hook.
1786 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1788 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1789 * gdbtypes.c (create_array_type_with_stride): New function,
1790 renaming create_array_type, but with an added parameter
1791 called "bit_stride".
1792 (create_array_type): Re-implement using
1793 create_array_type_with_stride.
1794 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1795 and DW_AT_bit_stride attributes.
1797 2014-02-26 Pedro Alves <palves@redhat.com>
1799 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1800 task-specific breakpoints.
1802 2014-02-25 Pedro Alves <palves@redhat.com>
1804 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1805 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1807 2014-02-25 Stan Shebs <stan@codesourcery.com>
1809 * defs.h: Annotate comments for Doxygen.
1811 2014-02-25 Tom Tromey <tromey@redhat.com>
1813 * target.h (target_ignore): Don't declare.
1814 * target.c (target_ignore): Remove.
1816 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1819 * auto-load.c (auto_load_objfile_script_1): Change filename to
1822 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1824 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1825 documentation. Adjust prototype to match the target_ops
1826 to_xfer_partial method. Adjust implementation accordingly.
1828 2014-02-25 Hui Zhu <hui@codesourcery.com>
1830 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1833 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1835 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1836 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1837 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1838 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1839 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1840 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1841 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1842 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1844 (rl78_register_type): Use a data pointer type for SP and
1845 new pseudo registers mentioned above. Use a 16 bit integer
1846 type for all other register pairs.
1847 (rl78_register_name, rl78_g10_register_name): Update for
1848 new pseudo registers.
1849 (rl78_pseudo_register_read): Likewise.
1850 (rl78_pseudo_register_write): Likewise.
1851 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1852 to the newly added pseudo registers.
1854 2014-02-24 Doug Evans <dje@google.com>
1856 * value.c (record_latest_value): Fix comment.
1857 * printcmd.c (print_command_1): Remove code to handle -1 return from
1858 record_latest_value.
1860 2014-02-24 Pedro Alves <palves@redhat.com>
1862 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1863 deprecated_xfer_memory hook.
1864 (procfs_xfer_partial): Call procfs_xfer_memory instead
1865 of the deprecated_xfer_memory target hook.
1866 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1869 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1871 * windows-nat.c (windows_xfer_shared_libraries): Return
1872 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1873 requested object is TARGET_OBJECT_LIBRARIES.
1875 2014-02-24 Yao Qi <yao@codesourcery.com>
1877 * target.h (enum target_xfer_status)
1878 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1879 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1881 * corefile.c (memory_error_message): User updated.
1882 * exec.c (section_table_read_available_memory): Likewise.
1883 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1884 * target.c (target_xfer_status_to_string): Likewise.
1885 (raw_memory_xfer_partial): Likewise.
1886 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1887 * valops.c (read_value_memory): Likewise.
1888 * exec.h: Update comments.
1890 2014-02-24 Yao Qi <yao@codesourcery.com>
1892 * target.c (target_xfer_status_to_string): Rename argument err
1894 * target.h (target_xfer_status_to_string): Update declaration.
1895 Replace target_xfer_error_to_string with
1896 target_xfer_status_to_string in comment.
1898 2014-02-24 Yao Qi <yao@codesourcery.com>
1900 * mips-linux-nat.c (super_close): Update its type.
1901 (mips_linux_close): Pass 'self' to super_close.
1903 2014-02-24 Yao Qi <yao@codesourcery.com>
1905 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1906 * corefile.c (read_memory): Adjusted.
1907 * target.c (target_write_with_progress): Adjusted.
1909 2014-02-23 Yao Qi <yao@codesourcery.com>
1913 2013-10-25 Yao Qi <yao@codesourcery.com>
1915 * remote.c (remote_traceframe_info): Return early if
1916 traceframe is not selected.
1918 2013-07-19 Yao Qi <yao@codesourcery.com>
1920 * target.c (update_current_target): Change the default action
1921 of 'to_traceframe_info' from tcomplain to return_zero.
1922 * target.h (struct target_ops) <to_traceframe_info>: Add more
1925 2014-02-23 Yao Qi <yao@codesourcery.com>
1927 * valops.c (read_value_memory): Rewrite it. Call
1928 target_xfer_partial in a loop.
1929 * exec.h (section_table_available_memory): Remove declaration.
1930 Move comments to ...
1931 * exec.c (section_table_available_memory): ... here. Make it
1934 2014-02-23 Yao Qi <yao@codesourcery.com>
1936 * exec.c (section_table_read_available_memory): New function.
1937 * exec.h (section_table_read_available_memory): Declare.
1938 * ctf.c (ctf_xfer_partial): Call
1939 section_table_read_available_memory.
1940 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1942 2014-02-23 Yao Qi <yao@codesourcery.com>
1944 * ctf.c (ctf_xfer_partial): Move code to ...
1945 * exec.c (exec_read_partial_read_only): ... it. New function.
1946 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1947 * tracefile.c: Include "exec.h".
1948 * exec.h (exec_read_partial_read_only): Declare.
1950 2014-02-23 Yao Qi <yao@codesourcery.com>
1952 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1953 (tfile_has_memory): Remove.
1954 (init_tfile_ops): Don't set fields to_has_all_memory and
1955 to_has_memory of tfile_ops.
1956 * tracefile.c (tracefile_has_all_memory): New function.
1957 (tracefile_has_memory): New function.
1958 (init_tracefile_ops): Initialize fields to_has_all_memory and
1959 to_has_memory of 'ops'.
1961 2014-02-23 Yao Qi <yao@codesourcery.com>
1963 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1964 (ctf_thread_alive, ctf_get_trace_status): Remove.
1965 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1967 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1968 (tfile_has_stack, tfile_has_registers): Remove.
1969 (tfile_thread_alive): Remove.
1970 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1972 * tracefile.c (tracefile_has_stack): New function.
1973 (tracefile_has_registers): New function.
1974 (tracefile_thread_alive): New function.
1975 (tracefile_get_trace_status): New function.
1976 (init_tracefile_ops): New function.
1977 * tracefile.h (init_tracefile_ops): Declare.
1979 2014-02-23 Yao Qi <yao@codesourcery.com>
1981 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1982 (O_LARGEFILE): Likewise.
1983 (tfile_ops): Likewise.
1984 (TRACE_HEADER_SIZE): Likewise.
1985 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1986 (cur_data_size): Likewise.
1987 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1988 (tfile_close, tfile_files_info): Likewise.
1989 (tfile_get_trace_status): Likewise.
1990 (tfile_get_tracepoint_status): Likewise.
1991 (tfile_get_traceframe_address): Likewise.
1992 (tfile_trace_find, match_blocktype): Likewise.
1993 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1994 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1995 (tfile_get_trace_state_variable_value): Likewise.
1996 (tfile_has_all_memory, tfile_has_memory): Likewise.
1997 (tfile_has_stack, tfile_has_registers): Likewise.
1998 (tfile_thread_alive, build_traceframe_info): Likewise.
1999 (tfile_traceframe_info, init_tfile_ops): Likewise.
2000 (_initialize_tracepoint): Don't call init_tfile_ops
2001 and add_target_with_completer.
2002 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2003 exec.h, completer.h and filenames.h.
2004 (_initialize_tracefile_tfile): New function.
2006 2014-02-23 Yao Qi <yao@codesourcery.com>
2008 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2010 (HFILES_NO_SRCDIR): Add tracefile.h.
2011 * ctf.c: Include "tracefile.h".
2012 * tracefile.h: New file.
2013 * tracefile.c: New file
2014 * tracefile-tfile.c: New file.
2015 * tracepoint.c: Include "tracefile.h".
2016 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2017 (stop_reason_names): Add const.
2018 (trace_file_writer_xfree): Move it to tracefile.c.
2019 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2020 (trace_save_ctf): Likewise.
2021 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2022 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2023 (tfile_write_header, tfile_write_regblock_type): Likewise.
2024 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2025 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2026 (tfile_write_raw_data, tfile_end): Likewise.
2027 (tfile_trace_file_writer_new): Likewise.
2028 (free_uploaded_tp): Make it extern.
2029 (free_uploaded_tsv): Make it extern.
2030 (_initialize_tracepoint): Move code to register command 'tsave'
2032 * tracepoint.h (stop_reason_names): Declare.
2033 (struct trace_frame_write_ops): Move it to tracefile.h.
2034 (struct trace_file_write_ops): Likewise.
2035 (struct trace_file_writer): Likewise.
2036 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2038 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2041 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2043 (get_cores_used_by_process): New parameter num_cores, use it.
2044 (linux_xfer_osdata_processes): Pass num_cores to it.
2045 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2048 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2050 * target.c (memory_xfer_partial): Fix length arg in call to
2051 breakpoint_xfer_memory.
2053 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2056 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2057 number comes after the + or - signs. Adjust length of register
2058 name to be extracted.
2060 2014-02-20 Tom Tromey <tromey@redhat.com>
2062 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2063 (ada_varobj_ops): Mark "extern".
2065 2014-02-20 Tom Tromey <tromey@redhat.com>
2067 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2069 2014-02-20 Doug Evans <xdje42@gmail.com>
2071 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2072 All callers updated.
2073 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2074 All callers updated.
2075 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2076 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2078 2014-02-20 lin zuojian <manjian2006@gmail.com>
2079 Joel Brobecker <brobecker@adacore.com>
2080 Doug Evans <xdje42@gmail.com>
2083 * dwarf2read.c (struct die_info): New member in_process.
2084 (reset_die_in_process): New function.
2085 (process_die): Set it at the start, reset when returning.
2086 (inherit_abstract_dies): Only call process_die if origin_child_die
2087 not already being processed.
2089 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2091 * windows-nat.c (handle_unload_dll): Add function documentation.
2092 (do_initial_windows_stuff): Add comment explaining why we wait
2093 until after inferior initialization has finished before
2094 processing all DLLs.
2096 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2098 * windows-nat.c (get_module_name): Delete.
2099 (windows_get_exec_module_filename): New function, mostly
2100 inspired from get_module_name.
2101 (windows_pid_to_exec_file): Replace call to get_module_name
2102 by call to windows_get_exec_module_filename.
2104 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2106 * windows-nat.c (handle_load_dll): Rewrite this function's
2107 introductory comment. Remove code using get_module_name
2108 to get the DLL's name.
2110 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2112 * windows-nat.c (get_windows_debug_event): Ignore
2113 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2114 if windows_initialization_done == 0.
2115 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2116 Adjust implementation to always load all DLLs.
2117 (do_initial_windows_stuff): Replace call to
2118 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2120 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2122 * windows-nat.c (_initialize_windows_nat): Deprecate the
2123 "dll-symbols" command. Turn the "add-shared-symbol-files"
2124 and "assf" aliases into commands, and deprecate them as well.
2125 * NEWS: Add entry explaining that "dll-symbols" and its two
2126 aliases are now deprecated.
2128 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2130 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2131 new-line in debug string. Remove trailing spaces.
2133 2014-02-19 Stan Shebs <stan@codesourcery.com>
2135 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2137 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2139 * NEWS: Add entry for the new feature
2140 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2143 2014-02-19 Stan Shebs <stan@codesourcery.com>
2145 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2147 2014-02-19 Pedro Alves <palves@redhat.com>
2149 * common/ptid.h (struct ptid): Mention that process_stratum
2150 targets should prefer ptid.lwp.
2152 2014-02-19 Pedro Alves <palves@redhat.com>
2154 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2155 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2156 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2157 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2158 store remote thread ids rather than ptid.tid.
2159 (_initialize_remote): Adjust.
2161 2014-02-19 Tom Tromey <tromey@redhat.com>
2163 * target.c (target_get_unwinder): Rewrite.
2164 (target_get_tailcall_unwinder): Rewrite.
2165 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2166 (record_btrace_to_get_tailcall_unwinder): New function.
2167 (init_record_btrace_ops): Update.
2168 * target.h (struct target_ops) <to_get_unwinder,
2169 to_get_tailcall_unwinder>: Now function pointers. Use
2170 TARGET_DEFAULT_RETURN.
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2174 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2176 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2178 2014-02-19 Tom Tromey <tromey@redhat.com>
2180 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2182 * target-delegates.c: Rebuild.
2183 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2184 TARGET_DEFAULT_FUNC.
2185 * target.c (default_target_decr_pc_after_break): Rename from
2186 forward_target_decr_pc_after_break. Simplify.
2187 (target_decr_pc_after_break): Rely on delegation.
2189 2014-02-19 Tom Tromey <tromey@redhat.com>
2191 * target.c (update_current_target): Do not INHERIT to_doc or
2192 to_magic. Do not de_fault to_open or to_close.
2194 2014-02-19 Tom Tromey <tromey@redhat.com>
2196 * gcore.h (objfile_find_memory_regions): Declare.
2197 * gcore.c (objfile_find_memory_regions): No longer static. Add
2199 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2200 * exec.c: Include gcore.h.
2201 (exec_set_find_memory_regions): Remove.
2202 (exec_find_memory_regions): Remove.
2203 (exec_do_find_memory_regions): Remove.
2204 (init_exec_ops): Update.
2205 * defs.h (exec_set_find_memory_regions): Remove.
2207 2014-02-19 Tom Tromey <tromey@redhat.com>
2209 * target-delegates.c: Rebuild.
2210 * target.h (struct target_ops) <to_extra_thread_info,
2211 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2212 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2213 not 0, in TARGET_DEFAULT_RETURN.
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * target.c (complete_target_initialization): Remove casts. Use
2218 return_zero_has_execution.
2219 (return_zero): Add "ignore" argument.
2220 (return_zero_has_execution): New function.
2221 (init_dummy_target): Remove casts. Use
2222 return_zero_has_execution.
2224 2014-02-19 Tom Tromey <tromey@redhat.com>
2226 * target.c (update_current_target): Update comments. Do not
2229 2014-02-19 Tom Tromey <tromey@redhat.com>
2231 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2233 * corelow.c (core_read_description): Delegate when needed.
2234 * remote.c (remote_read_description): Delegate when needed.
2235 * target-delegates.c: Rebuild.
2236 * target.c (target_read_description): Rewrite.
2237 * target.h (struct target_ops) <to_read_description>: Update
2238 comment. Use TARGET_DEFAULT_RETURN.
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target-delegates.c: Rebuild.
2243 * target.c (update_current_target): Don't inherit or default
2245 (find_default_run_target): Check against delegate_can_run.
2246 * target.h (struct target_ops) <to_can_run>: Use
2247 TARGET_DEFAULT_RETURN.
2249 2014-02-19 Tom Tromey <tromey@redhat.com>
2251 * target-delegates.c: Rebuild.
2252 * target.c (target_disconnect): Unconditionally delegate.
2253 * target.h (struct target_ops) <to_disconnect>: Use
2254 TARGET_DEFAULT_NORETURN.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * record.c (record_stop): Unconditionally delegate.
2259 * target-delegates.c: Rebuild.
2260 * target.c (target_stop_recording): Unconditionally delegate.
2261 * target.h (struct target_ops) <to_stop_recording>: Use
2262 TARGET_DEFAULT_IGNORE.
2264 2014-02-19 Tom Tromey <tromey@redhat.com>
2266 * target-delegates.c: Rebuild.
2267 * target.c (target_enable_btrace): Unconditionally delegate.
2268 * target.h (struct target_ops) <to_enable_btrace>: Use
2269 TARGET_DEFAULT_NORETURN.
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2273 * target-delegates.c: Rebuild.
2274 * target.c (target_read_btrace): Unconditionally delegate.
2275 * target.h (struct target_ops) <to_read_btrace>: Use
2276 TARGET_DEFAULT_NORETURN.
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2280 * target-delegates.c: Rebuild.
2281 * target.c (target_teardown_btrace): Unconditionally delegate.
2282 * target.h (struct target_ops) <to_teardown_btrace>: Use
2283 TARGET_DEFAULT_NORETURN.
2285 2014-02-19 Tom Tromey <tromey@redhat.com>
2287 * target-delegates.c: Rebuild.
2288 * target.c (target_disable_btrace): Unconditionally delegate.
2289 * target.h (struct target_ops) <to_disable_btrace>: Use
2290 TARGET_DEFAULT_NORETURN.
2292 2014-02-19 Tom Tromey <tromey@redhat.com>
2294 * target-delegates.c: Rebuild.
2295 * target.c (default_search_memory): New function.
2296 (simple_search_memory): Update comment.
2297 (target_search_memory): Unconditionally delegate.
2298 * target.h (struct target_ops) <to_search_memory>: Use
2299 TARGET_DEFAULT_FUNC.
2301 2014-02-19 Tom Tromey <tromey@redhat.com>
2303 * auxv.c (default_auxv_parse): No longer static.
2304 (target_auxv_parse): Unconditionally delegate.
2305 * auxv.h (default_auxv_parse): Declare.
2306 * target-delegates.c: Rebuild.
2307 * target.c: Include auxv.h.
2308 * target.h (struct target_ops) <to_auxv_parse>: Use
2309 TARGET_DEFAULT_FUNC.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (target_memory_map): Unconditionally delegate.
2315 * target.h (struct target_ops) <to_memory_map>: Use
2316 TARGET_DEFAULT_RETURN.
2318 2014-02-19 Tom Tromey <tromey@redhat.com>
2320 * target-delegates.c: Rebuild.
2321 * target.c (target_thread_alive): Unconditionally delegate.
2322 * target.h (struct target_ops) <to_thread_alive>: Use
2323 TARGET_DEFAULT_RETURN.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target-delegates.c: Rebuild.
2328 * target.c (target_save_record): Unconditionally delegate.
2329 * target.h (struct target_ops) <to_save_record>: Use
2330 TARGET_DEFAULT_NORETURN.
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target-delegates.c: Rebuild.
2335 * target.c (target_delete_record): Unconditionally delegate.
2336 * target.h (struct target_ops) <to_delete_record>: Use
2337 TARGET_DEFAULT_NORETURN.
2339 2014-02-19 Tom Tromey <tromey@redhat.com>
2341 * target-delegates.c: Rebuild.
2342 * target.c (target_record_is_replaying): Unconditionally
2344 * target.h (struct target_ops) <to_record_is_replaying>: Use
2345 TARGET_DEFAULT_RETURN.
2347 2014-02-19 Tom Tromey <tromey@redhat.com>
2349 * target-delegates.c: Rebuild.
2350 * target.c (target_goto_record_begin): Unconditionally delegate.
2351 * target.h (struct target_ops) <to_goto_record_begin>: Use
2352 TARGET_DEFAULT_NORETURN.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (target_goto_record_end): Unconditionally delegate.
2358 * target.h (struct target_ops) <to_goto_record_end>: 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): Unconditionally delegate.
2365 * target.h (struct target_ops) <to_goto_record>: Use
2366 TARGET_DEFAULT_NORETURN.
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2370 * target-delegates.c: Rebuild.
2371 * target.c (target_insn_history): Unconditionally delegate.
2372 * target.h (struct target_ops) <to_insn_history>: 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_from): Unconditionally delegate.
2379 * target.h (struct target_ops) <to_insn_history_from>: 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_range): Unconditionally delegate.
2386 * target.h (struct target_ops) <to_insn_history_range>: Use
2387 TARGET_DEFAULT_NORETURN.
2389 2014-02-19 Tom Tromey <tromey@redhat.com>
2391 * target-delegates.c: Rebuild.
2392 * target.c (target_call_history): Unconditionally delegate.
2393 * target.h (struct target_ops) <to_call_history>: 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_from): Unconditionally delegate.
2400 * target.h (struct target_ops) <to_call_history_from>: 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_range): Unconditionally delegate.
2407 * target.h (struct target_ops) <to_call_history_range>: Use
2408 TARGET_DEFAULT_NORETURN.
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2412 * target-delegates.c: Rebuild.
2413 * target.c (target_verify_memory): Unconditionally delegate.
2414 * target.h (struct target_ops) <to_verify_memory>: Use
2415 TARGET_DEFAULT_NORETURN.
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2419 * target-delegates.c: Rebuild.
2420 * target.c (target_core_of_thread): Unconditionally delegate.
2421 * target.h (struct target_ops) <to_core_of_thread>: Use
2422 TARGET_DEFAULT_RETURN.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target-delegates.c: Rebuild.
2427 * target.c (target_flash_done): Unconditionally delegate.
2428 * target.h (struct target_ops) <to_flash_done>: Use
2429 TARGET_DEFAULT_NORETURN.
2431 2014-02-19 Tom Tromey <tromey@redhat.com>
2433 * target-delegates.c: Rebuild.
2434 * target.c (target_flash_erase): Unconditionally delegate.
2435 * target.h (struct target_ops) <to_flash_erase>: Use
2436 TARGET_DEFAULT_NORETURN.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (target_get_section_table): Unconditionally delegate.
2442 * target.h (struct target_ops) <to_get_section_table>: Use
2443 TARGET_DEFAULT_RETURN.
2445 2014-02-19 Tom Tromey <tromey@redhat.com>
2447 * target-delegates.c: Rebuild.
2448 * target.c (target_pid_to_str): Unconditionally delegate.
2449 (init_dummy_target): Don't initialize to_pid_to_str.
2450 (default_pid_to_str): Rename from dummy_pid_to_str.
2451 * target.h (struct target_ops) <to_pid_to_str>: Use
2452 TARGET_DEFAULT_FUNC.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (target_find_new_threads): Unconditionally delegate.
2458 * target.h (struct target_ops) <to_find_new_threads>: Use
2459 TARGET_DEFAULT_RETURN.
2461 2014-02-19 Tom Tromey <tromey@redhat.com>
2463 * target-delegates.c: Rebuild.
2464 * target.c (target_program_signals): Unconditionally delegate.
2465 * target.h (struct target_ops) <to_program_signals>: Use
2466 TARGET_DEFAULT_IGNORE.
2468 2014-02-19 Tom Tromey <tromey@redhat.com>
2470 * target-delegates.c: Rebuild.
2471 * target.c (target_pass_signals): Unconditionally delegate.
2472 * target.h (struct target_ops) <to_pass_signals>: Use
2473 TARGET_DEFAULT_IGNORE.
2475 2014-02-19 Tom Tromey <tromey@redhat.com>
2477 * target-delegates.c: Rebuild.
2478 * target.c (default_mourn_inferior): New function.
2479 (target_mourn_inferior): Unconditionally delegate.
2480 * target.h (struct target_ops) <to_mourn_inferior>: Use
2481 TARGET_DEFAULT_FUNC.
2483 2014-02-19 Tom Tromey <tromey@redhat.com>
2485 * target-delegates.c: Rebuild.
2486 * target.c (default_follow_fork): New function.
2487 (target_follow_fork): Unconditionally delegate.
2488 * target.h (struct target_ops) <to_follow_fork>: Use
2489 TARGET_DEFAULT_FUNC.
2491 2014-02-19 Tom Tromey <tromey@redhat.com>
2493 * target-delegates.c: Rebuild.
2494 * target.c (target_kill): Unconditionally delegate.
2495 * target.h (struct target_ops) <to_kill>: Use
2496 TARGET_DEFAULT_NORETURN.
2498 2014-02-19 Tom Tromey <tromey@redhat.com>
2500 * target-delegates.c: Rebuild.
2501 * target.c (target_masked_watch_num_registers): Unconditionally
2503 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2504 Use TARGET_DEFAULT_RETURN.
2506 2014-02-19 Tom Tromey <tromey@redhat.com>
2508 * target-delegates.c: Rebuild.
2509 * target.c (target_remove_mask_watchpoint): Unconditionally
2511 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2512 TARGET_DEFAULT_RETURN.
2514 2014-02-19 Tom Tromey <tromey@redhat.com>
2516 * target-delegates.c: Rebuild.
2517 * target.c (target_insert_mask_watchpoint): Unconditionally
2519 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2520 TARGET_DEFAULT_RETURN.
2522 2014-02-19 Tom Tromey <tromey@redhat.com>
2524 * target-delegates.c: Rebuild.
2525 * target.c (target_ranged_break_num_registers): Unconditionally
2527 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2528 Use TARGET_DEFAULT_RETURN.
2530 2014-02-19 Tom Tromey <tromey@redhat.com>
2532 * target-delegates.c: Rebuild.
2533 * target.c (target_fetch_registers): Unconditionally delegate.
2534 * target.h (struct target_ops) <to_fetch_registers>: Use
2535 TARGET_DEFAULT_NORETURN.
2537 2014-02-19 Tom Tromey <tromey@redhat.com>
2539 * target-delegates.c: Rebuild.
2540 * target.c (update_current_target): Don't inherit or default
2542 * target.h (struct target_ops) <to_stop>: Use
2543 TARGET_DEFAULT_IGNORE.
2545 2014-02-19 Tom Tromey <tromey@redhat.com>
2547 * target-delegates.c: Rebuild.
2548 * target.c (update_current_target): Don't inherit or default
2549 to_can_run_breakpoint_commands.
2550 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2551 Use TARGET_DEFAULT_RETURN.
2553 2014-02-19 Tom Tromey <tromey@redhat.com>
2555 * target-delegates.c: Rebuild.
2556 * target.c (update_current_target): Don't inherit or default
2557 to_supports_evaluation_of_breakpoint_conditions.
2558 * target.h (struct target_ops)
2559 <to_supports_evaluation_of_breakpoint_conditions>: Use
2560 TARGET_DEFAULT_RETURN.
2562 2014-02-19 Tom Tromey <tromey@redhat.com>
2564 * target-delegates.c: Rebuild.
2565 * target.c (update_current_target): Don't inherit or default
2566 to_augmented_libraries_svr4_read.
2567 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2568 Use TARGET_DEFAULT_RETURN.
2570 2014-02-19 Tom Tromey <tromey@redhat.com>
2572 * target-delegates.c: Rebuild.
2573 * target.c (update_current_target): Don't inherit or default
2575 * target.h (struct target_ops) <to_can_use_agent>: Use
2576 TARGET_DEFAULT_RETURN.
2578 2014-02-19 Tom Tromey <tromey@redhat.com>
2580 * target-delegates.c: Rebuild.
2581 * target.c (update_current_target): Don't inherit or default
2583 * target.h (struct target_ops) <to_use_agent>: Use
2584 TARGET_DEFAULT_NORETURN.
2586 2014-02-19 Tom Tromey <tromey@redhat.com>
2588 * target-delegates.c: Rebuild.
2589 * target.c (update_current_target): Don't inherit or default
2591 (return_null): Remove.
2592 * target.h (struct target_ops) <to_traceframe_info>: Use
2593 TARGET_DEFAULT_RETURN.
2595 2014-02-19 Tom Tromey <tromey@redhat.com>
2597 * target-delegates.c: Rebuild.
2598 * target.c (update_current_target): Don't inherit or default
2599 to_static_tracepoint_markers_by_strid.
2600 * target.h (struct target_ops)
2601 <to_static_tracepoint_markers_by_strid>: Use
2602 TARGET_DEFAULT_NORETURN.
2604 2014-02-19 Tom Tromey <tromey@redhat.com>
2606 * target-delegates.c: Rebuild.
2607 * target.c (update_current_target): Don't inherit or default
2608 to_static_tracepoint_marker_at.
2609 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2610 Use TARGET_DEFAULT_RETURN.
2612 2014-02-19 Tom Tromey <tromey@redhat.com>
2614 * target-delegates.c: Rebuild.
2615 * target.c (update_current_target): Don't inherit or default
2617 * target.h (struct target_ops) <to_set_permissions>: Use
2618 TARGET_DEFAULT_IGNORE.
2620 2014-02-19 Tom Tromey <tromey@redhat.com>
2622 * target-delegates.c: Rebuild.
2623 * target.c (update_current_target): Don't inherit or default
2625 * target.h (struct target_ops) <to_get_tib_address>: Use
2626 TARGET_DEFAULT_NORETURN.
2628 2014-02-19 Tom Tromey <tromey@redhat.com>
2630 * target-delegates.c: Rebuild.
2631 * target.c (update_current_target): Don't inherit or default
2633 * target.h (struct target_ops) <to_set_trace_notes>: Use
2634 TARGET_DEFAULT_RETURN.
2636 2014-02-19 Tom Tromey <tromey@redhat.com>
2638 * target-delegates.c: Rebuild.
2639 * target.c (update_current_target): Don't initialize
2640 to_set_trace_buffer_size.
2641 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2642 TARGET_DEFAULT_IGNORE.
2644 2014-02-19 Tom Tromey <tromey@redhat.com>
2646 * target-delegates.c: Rebuild.
2647 * target.c (update_current_target): Don't inherit or default
2648 to_set_circular_trace_buffer.
2649 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2650 TARGET_DEFAULT_IGNORE.
2652 2014-02-19 Tom Tromey <tromey@redhat.com>
2654 * target-delegates.c: Rebuild.
2655 * target.c (update_current_target): Don't inherit or default
2656 to_set_disconnected_tracing.
2657 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2658 TARGET_DEFAULT_IGNORE.
2660 2014-02-19 Tom Tromey <tromey@redhat.com>
2662 * target-delegates.c: Rebuild.
2663 * target.c (update_current_target): Don't inherit or default
2664 to_get_min_fast_tracepoint_insn_len.
2665 (return_minus_one): Remove.
2666 * target.h (struct target_ops)
2667 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2669 2014-02-19 Tom Tromey <tromey@redhat.com>
2671 * target-delegates.c: Rebuild.
2672 * target.c (update_current_target): Don't inherit or default
2673 to_get_raw_trace_data.
2674 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2675 TARGET_DEFAULT_NORETURN.
2677 2014-02-19 Tom Tromey <tromey@redhat.com>
2679 * target-delegates.c: Rebuild.
2680 * target.c (update_current_target): Don't inherit or default
2681 to_upload_trace_state_variables.
2682 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2683 Use TARGET_DEFAULT_RETURN.
2685 2014-02-19 Tom Tromey <tromey@redhat.com>
2687 * target-delegates.c: Rebuild.
2688 * target.c (update_current_target): Don't inherit or default
2689 to_upload_tracepoints.
2690 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2691 TARGET_DEFAULT_RETURN.
2693 2014-02-19 Tom Tromey <tromey@redhat.com>
2695 * target-delegates.c: Rebuild.
2696 * target.c (update_current_target): Don't inherit or default
2698 * target.h (struct target_ops) <to_save_trace_data>: Use
2699 TARGET_DEFAULT_NORETURN.
2701 2014-02-19 Tom Tromey <tromey@redhat.com>
2703 * target-delegates.c: Rebuild.
2704 * target.c (update_current_target): Don't inherit or default
2705 to_get_trace_state_variable_value.
2706 * target.h (struct target_ops)
2707 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2709 2014-02-19 Tom Tromey <tromey@redhat.com>
2711 * target-delegates.c: Rebuild.
2712 * target.c (update_current_target): Don't inherit or default
2714 * target.h (struct target_ops): 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) <to_trace_stop>: Use
2722 TARGET_DEFAULT_NORETURN.
2724 2014-02-19 Tom Tromey <tromey@redhat.com>
2726 * target-delegates.c: Rebuild.
2727 * target.c (update_current_target): Don't inherit or default
2728 to_get_tracepoint_status.
2729 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2730 TARGET_DEFAULT_NORETURN.
2732 2014-02-19 Tom Tromey <tromey@redhat.com>
2734 * target-delegates.c: Rebuild.
2735 * target.c (update_current_target): Don't inherit or default
2736 to_get_trace_status.
2737 * target.h (struct target_ops) <to_get_trace_status>: Use
2738 TARGET_DEFAULT_RETURN.
2740 2014-02-19 Tom Tromey <tromey@redhat.com>
2742 * target-delegates.c: Rebuild.
2743 * target.c (update_current_target): Don't inherit or default
2745 * target.h (struct target_ops) <to_trace_start>: Use
2746 TARGET_DEFAULT_NORETURN.
2748 2014-02-19 Tom Tromey <tromey@redhat.com>
2750 * target-delegates.c: Rebuild.
2751 * target.c (update_current_target): Don't inherit or default
2752 to_trace_set_readonly_regions.
2753 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2754 Use TARGET_DEFAULT_NORETURN.
2756 2014-02-19 Tom Tromey <tromey@redhat.com>
2758 * target-delegates.c: Rebuild.
2759 * target.c (update_current_target): Don't inherit or default
2760 to_disable_tracepoint.
2761 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2762 TARGET_DEFAULT_NORETURN.
2764 2014-02-19 Tom Tromey <tromey@redhat.com>
2766 * target-delegates.c: Rebuild.
2767 * target.c (update_current_target): Don't inherit or default
2768 to_enable_tracepoint.
2769 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2770 TARGET_DEFAULT_NORETURN.
2772 2014-02-19 Tom Tromey <tromey@redhat.com>
2774 * target-delegates.c: Rebuild.
2775 * target.c (update_current_target): Don't inherit or default
2776 to_download_trace_state_variable.
2777 * target.h (struct target_ops) <to_download_trace_state_variable>:
2778 Use TARGET_DEFAULT_NORETURN.
2780 2014-02-19 Tom Tromey <tromey@redhat.com>
2782 * target-delegates.c: Rebuild.
2783 * target.c (update_current_target): Don't inherit or default
2784 to_can_download_tracepoint.
2785 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2786 TARGET_DEFAULT_RETURN.
2788 2014-02-19 Tom Tromey <tromey@redhat.com>
2790 * target-delegates.c: Rebuild.
2791 * target.c (update_current_target): Don't inherit or default
2792 to_download_tracepoint.
2793 * target.h (struct target_ops) <to_download_tracepoint>: Use
2794 TARGET_DEFAULT_NORETURN.
2796 2014-02-19 Tom Tromey <tromey@redhat.com>
2798 * target-delegates.c: Rebuild.
2799 * target.c (update_current_target): Don't inherit or default
2801 * target.h (struct target_ops) <to_trace_init>: Use
2802 TARGET_DEFAULT_RETURN.
2804 2014-02-19 Tom Tromey <tromey@redhat.com>
2806 * target-delegates.c: Rebuild.
2807 * target.c (update_current_target): Don't inherit or default
2808 to_supports_string_tracing.
2809 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2810 TARGET_DEFAULT_RETURN.
2812 2014-02-19 Tom Tromey <tromey@redhat.com>
2814 * target-delegates.c: Rebuild.
2815 * target.c (update_current_target): Don't inherit or default
2816 to_supports_enable_disable_tracepoint.
2817 * target.h (struct target_ops)
2818 <to_supports_enable_disable_tracepoint>: Use
2819 TARGET_DEFAULT_RETURN.
2821 2014-02-19 Tom Tromey <tromey@redhat.com>
2823 * target-delegates.c: Rebuild.
2824 * target.c (update_current_target): Don't inherit or default
2825 to_supports_multi_process.
2826 * target.h (struct target_ops) <to_supports_multi_process>: Use
2827 TARGET_DEFAULT_RETURN.
2829 2014-02-19 Tom Tromey <tromey@redhat.com>
2831 * target-delegates.c: Rebuild.
2832 * target.c (update_current_target): Don't inherit or default
2833 to_get_ada_task_ptid.
2834 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2835 TARGET_DEFAULT_FUNC.
2837 2014-02-19 Tom Tromey <tromey@redhat.com>
2839 * target-delegates.c: Rebuild.
2840 * target.c (update_current_target): Don't inherit or default
2841 to_thread_architecture.
2842 * target.h (struct target_ops) <to_thread_architecture>: Use
2843 TARGET_DEFAULT_FUNC.
2845 2014-02-19 Tom Tromey <tromey@redhat.com>
2847 * target-delegates.c: Rebuild.
2848 * target.c (update_current_target): Don't inherit or default
2849 to_execution_direction.
2850 * target.h (struct target_ops) <to_execution_direction>: Use
2851 TARGET_DEFAULT_FUNC.
2853 2014-02-19 Tom Tromey <tromey@redhat.com>
2855 * target-delegates.c: Rebuild.
2856 * target.c (update_current_target): Don't inherit or default
2857 to_can_execute_reverse.
2858 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2859 TARGET_DEFAULT_RETURN.
2860 (target_can_execute_reverse): Unconditionally delegate.
2862 2014-02-19 Tom Tromey <tromey@redhat.com>
2864 * target-delegates.c: Rebuild.
2865 * target.c (update_current_target): Don't inherit or default
2867 (dummy_goto_bookmark): Remove.
2868 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2869 * target.h (struct target_ops) <to_goto_bookmark>: Use
2870 TARGET_DEFAULT_NORETURN.
2872 2014-02-19 Tom Tromey <tromey@redhat.com>
2874 * target-delegates.c: Rebuild.
2875 * target.c (update_current_target): Don't inherit or default
2877 (dummy_get_bookmark): Remove.
2878 (init_dummy_target): Don't inherit or default to_get_bookmark.
2879 * target.h (struct target_ops) <to_get_bookmark>: Use
2880 TARGET_DEFAULT_NORETURN
2882 2014-02-19 Tom Tromey <tromey@redhat.com>
2884 * target-delegates.c: Rebuild.
2885 * target.c (update_current_target): Don't inherit or default
2886 to_make_corefile_notes.
2887 (init_dummy_target): Don't initialize to_make_corefile_notes.
2888 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2889 TARGET_DEFAULT_FUNC.
2891 2014-02-19 Tom Tromey <tromey@redhat.com>
2893 * target-delegates.c: Rebuild.
2894 * target.c (update_current_target): Don't inherit or default
2895 to_find_memory_regions.
2896 (init_dummy_target): Don't initialize to_find_memory_regions.
2897 * target.h (struct target_ops) <to_find_memory_regions>: Use
2898 TARGET_DEFAULT_FUNC.
2900 2014-02-19 Tom Tromey <tromey@redhat.com>
2902 * target-delegates.c: Rebuild.
2903 * target.c (update_current_target): Don't inherit or default
2905 * target.h (struct target_ops) <to_log_command>: Use
2906 TARGET_DEFAULT_IGNORE.
2907 (target_log_command): Unconditionally delegate.
2909 2014-02-19 Tom Tromey <tromey@redhat.com>
2911 * target-delegates.c: Rebuild.
2912 * target.c (update_current_target): Don't inherit or default
2913 to_pid_to_exec_file.
2914 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2915 TARGET_DEFAULT_RETURN.
2917 2014-02-19 Tom Tromey <tromey@redhat.com>
2919 * target-delegates.c: Rebuild.
2920 * target.c (update_current_target): Don't inherit or default
2922 (target_thread_name): Unconditionally delegate.
2923 * target.h (struct target_ops) <to_thread_name>: Use
2924 TARGET_DEFAULT_RETURN.
2926 2014-02-19 Tom Tromey <tromey@redhat.com>
2928 * target-delegates.c: Rebuild.
2929 * target.c (update_current_target): Don't inherit or default
2930 to_extra_thread_info.
2931 * target.h (struct target_ops) <to_extra_thread_info>: Use
2932 TARGET_DEFAULT_RETURN.
2934 2014-02-19 Tom Tromey <tromey@redhat.com>
2936 * target-delegates.c: Rebuild.
2937 * target.c (update_current_target): Don't inherit or default
2939 * target.h (struct target_ops) <to_has_exited>: Use
2940 TARGET_DEFAULT_RETURN..
2942 2014-02-19 Tom Tromey <tromey@redhat.com>
2944 * target-delegates.c: Rebuild.
2945 * target.c (update_current_target): Don't inherit or default
2946 to_set_syscall_catchpoint.
2947 (return_one): Remove.
2948 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2949 TARGET_DEFAULT_RETURN.
2951 2014-02-19 Tom Tromey <tromey@redhat.com>
2953 * target-delegates.c: Rebuild.
2954 * target.c (update_current_target): Don't inherit or default
2955 to_insert_exec_catchpoint.
2956 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2957 TARGET_DEFAULT_RETURN.
2959 2014-01-08 Tom Tromey <tromey@redhat.com>
2961 * target-delegates.c: Rebuild.
2962 * target.c (update_current_target): Don't inherit or default
2963 to_insert_exec_catchpoint.
2964 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2965 TARGET_DEFAULT_RETURN.
2967 2014-02-19 Tom Tromey <tromey@redhat.com>
2969 * target-delegates.c: Rebuild.
2970 * target.c (update_current_target): Don't inherit or default
2971 to_remove_vfork_catchpoint.
2972 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2973 TARGET_DEFAULT_RETURN.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target-delegates.c: Rebuild.
2978 * target.c (update_current_target): Don't inherit or default
2979 to_insert_vfork_catchpoint.
2980 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2981 TARGET_DEFAULT_RETURN.
2983 2014-02-19 Tom Tromey <tromey@redhat.com>
2985 * target-delegates.c: Rebuild.
2986 * target.c (update_current_target): Don't inherit or default
2987 to_remove_fork_catchpoint.
2988 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2989 TARGET_DEFAULT_RETURN.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target-delegates.c: Rebuild.
2994 * target.c (update_current_target): Don't inherit or default
2995 to_insert_fork_catchpoint.
2996 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2997 TARGET_DEFAULT_RETURN.
2999 2014-02-19 Tom Tromey <tromey@redhat.com>
3001 * target-delegates.c: Rebuild.
3002 * target.c (update_current_target): Don't inherit or default
3003 to_post_startup_inferior.
3004 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3005 TARGET_DEFAULT_IGNORE.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * target-delegates.c: Rebuild.
3010 * target.c (update_current_target): Don't inherit or default
3012 * target.h (struct target_ops) <to_load>: Use
3013 TARGET_DEFAULT_NORETURN.
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3017 * target-delegates.c: Rebuild.
3018 * target.c (update_current_target): Don't inherit or default
3020 * target.h (struct target_ops) <to_terminal_info>: Use
3021 TARGET_DEFAULT_FUNC.
3023 2014-02-19 Tom Tromey <tromey@redhat.com>
3025 * target-delegates.c: Rebuild.
3026 * target.c (update_current_target): Don't inherit or default
3027 to_terminal_save_ours.
3028 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3029 TARGET_DEFAULT_IGNORE.
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target-delegates.c: Rebuild.
3034 * target.c (update_current_target): Don't inherit or default
3036 * target.h (struct target_ops) <to_terminal_ours>: Use
3037 TARGET_DEFAULT_IGNORE.
3039 2014-02-19 Tom Tromey <tromey@redhat.com>
3041 * target-delegates.c: Rebuild.
3042 * target.c (update_current_target): Don't inherit or default
3043 to_terminal_ours_for_output.
3044 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3045 TARGET_DEFAULT_IGNORE.
3047 2014-02-19 Tom Tromey <tromey@redhat.com>
3049 * target-delegates.c: Rebuild.
3050 * target.c (update_current_target): Don't inherit or default
3051 to_terminal_inferior.
3052 * target.h (struct target_ops) <to_terminal_inferior>: Use
3053 TARGET_DEFAULT_IGNORE.
3055 2014-02-19 Tom Tromey <tromey@redhat.com>
3057 * target-delegates.c: Rebuild.
3058 * target.c (update_current_target): Don't inherit or default
3060 * target.h (struct target_ops) <to_terminal_init>: Use
3061 TARGET_DEFAULT_IGNORE.
3063 2014-02-19 Tom Tromey <tromey@redhat.com>
3065 * target-delegates.c: Rebuild.
3066 * target.c (update_current_target): Don't inherit or default
3067 to_can_accel_watchpoint_condition.
3068 * target.h (struct target_ops)
3069 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3071 2014-02-19 Tom Tromey <tromey@redhat.com>
3073 * target-delegates.c: Rebuild.
3074 * target.c (update_current_target): Don't inherit or default
3075 to_region_ok_for_hw_watchpoint.
3076 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3077 Use TARGET_DEFAULT_FUNC.
3079 2014-02-19 Tom Tromey <tromey@redhat.com>
3081 * target-delegates.c: Rebuild.
3082 * target.c (update_current_target): Don't inherit or default
3083 to_watchpoint_addr_within_range.
3084 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3085 Use TARGET_DEFAULT_FUNC.
3087 2014-02-19 Tom Tromey <tromey@redhat.com>
3089 * target-delegates.c: Rebuild.
3090 * target.c (update_current_target): Don't inherit or default
3091 to_remove_watchpoint.
3092 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3093 TARGET_DEFAULT_NORETURN.
3095 2014-02-19 Tom Tromey <tromey@redhat.com>
3097 * target-delegates.c: Rebuild.
3098 * target.c (update_current_target): Don't inherit or default
3099 to_insert_watchpoint.
3100 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3101 TARGET_DEFAULT_RETURN.
3103 2014-02-19 Tom Tromey <tromey@redhat.com>
3105 * target-delegates.c: Rebuild.
3106 * target.c (update_current_target): Don't inherit or default
3107 to_remove_hw_breakpoint.
3108 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3109 TARGET_DEFAULT_RETURN.
3111 2014-02-19 Tom Tromey <tromey@redhat.com>
3113 * target-delegates.c: Rebuild.
3114 * target.c (update_current_target): Don't inherit or default
3115 to_insert_hw_breakpoint.
3116 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3117 TARGET_DEFAULT_RETURN.
3119 2014-02-19 Tom Tromey <tromey@redhat.com>
3121 * target-delegates.c: Rebuild.
3122 * target.c (update_current_target): Don't inherit or default
3123 to_can_use_hw_breakpoint.
3124 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3125 TARGET_DEFAULT_RETURN.
3127 2014-02-19 Tom Tromey <tromey@redhat.com>
3129 * target-delegates.c: Rebuild.
3130 * target.c (update_current_target): Don't inherit or default
3132 * target.h (struct target_ops) <to_files_info>: Use
3133 TARGET_DEFAULT_IGNORE.
3135 2014-02-19 Tom Tromey <tromey@redhat.com>
3137 * target-delegates.c: Rebuild.
3138 * target.c (update_current_target): Don't inherit or default
3140 * target.h (struct target_ops) <to_store>: Use
3141 TARGET_DEFAULT_NORETURN.
3143 2014-02-19 Tom Tromey <tromey@redhat.com>
3145 * target-delegates.c: Rebuild.
3146 * target.c (update_current_target): Don't inherit or default
3148 * target.h (struct target_ops) <to_post_attach>: Use
3149 TARGET_DEFAULT_IGNORE.
3151 2014-02-19 Tom Tromey <tromey@redhat.com>
3153 * target-delegates.c: Rebuild.
3154 * target.c (update_current_target): Don't inherit or default
3156 (default_rcmd): New function.
3157 (do_monitor_command): Unconditionally delegate.
3158 * target.h (struct target_ops) <to_rmcd>: Use
3159 TARGET_DEFAULT_FUNC.
3161 2014-02-19 Tom Tromey <tromey@redhat.com>
3163 * target-delegates.c: Rebuild.
3164 * target.c (init_dummy_target): Don't initialize to_attach.
3165 (target_attach): Unconditionally delegate.
3166 * target.h (struct target_ops) <to_attach>: Use
3167 TARGET_DEFAULT_FUNC.
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * target-delegates.c: Rebuild.
3172 * target.c (target_detach): Unconditionally delegate.
3173 (init_dummy_target): Don't initialize to_detach.
3174 * target.h (struct target_ops) <to_detach>: Use
3175 TARGET_DEFAULT_IGNORE.
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3181 (target_augmented_libraries_svr4_read): Add argument.
3182 * target.c (update_current_target): Update.
3183 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3186 2014-02-19 Tom Tromey <tromey@redhat.com>
3188 * target.h (struct target_ops) <to_call_history_range>: Add
3190 * target.c (target_call_history_range): Add argument.
3191 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3193 (record_btrace_call_history_from): Update.
3195 2014-02-19 Tom Tromey <tromey@redhat.com>
3197 * target.h (struct target_ops) <to_call_history_from>: Add
3199 * target.c (target_call_history_from): Add argument.
3200 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3203 2014-02-19 Tom Tromey <tromey@redhat.com>
3205 * target.h (struct target_ops) <to_call_history>: Add argument.
3206 * target.c (target_call_history): Add argument.
3207 * record-btrace.c (record_btrace_call_history): Add 'self'
3210 2014-02-19 Tom Tromey <tromey@redhat.com>
3212 * target.h (struct target_ops) <to_insn_history_range>: Add
3214 * target.c (target_insn_history_range): Add argument.
3215 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3217 (record_btrace_insn_history_from): Update.
3219 2014-02-19 Tom Tromey <tromey@redhat.com>
3221 * target.h (struct target_ops) <to_insn_history_from>: Add
3223 * target.c (target_insn_history_from): Add argument.
3224 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3227 2014-02-19 Tom Tromey <tromey@redhat.com>
3229 * target.h (struct target_ops) <to_insn_history>: Add argument.
3230 * target.c (target_insn_history): Add argument.
3231 * record-btrace.c (record_btrace_insn_history): Add 'self'
3234 2014-02-19 Tom Tromey <tromey@redhat.com>
3236 * target.h (struct target_ops) <to_goto_record>: Add argument.
3237 * target.c (target_goto_record): Add argument.
3238 * record-full.c (record_full_goto): Add 'self' argument.
3239 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3241 2014-02-19 Tom Tromey <tromey@redhat.com>
3243 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3244 * target.c (target_goto_record_end): Add argument.
3245 * record-full.c (record_full_goto_end): Add 'self' argument.
3246 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3248 2014-02-19 Tom Tromey <tromey@redhat.com>
3250 * target.h (struct target_ops) <to_goto_record_begin>: Add
3252 * target.c (target_goto_record_begin): Add argument.
3253 * record-full.c (record_full_goto_begin): Add 'self' argument.
3254 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3257 2014-02-19 Tom Tromey <tromey@redhat.com>
3259 * target.h (struct target_ops) <to_record_is_replaying>: Add
3261 * target.c (target_record_is_replaying): Add argument.
3262 * record-full.c (record_full_is_replaying): Add 'self' argument.
3263 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3265 (record_btrace_xfer_partial, record_btrace_store_registers)
3266 (record_btrace_prepare_to_store, record_btrace_resume)
3267 (record_btrace_wait, record_btrace_decr_pc_after_break)
3268 (record_btrace_find_new_threads, record_btrace_thread_alive):
3271 2014-02-19 Tom Tromey <tromey@redhat.com>
3273 * target.h (struct target_ops) <to_delete_record>: Add argument.
3274 * target.c (target_delete_record): Add argument.
3275 * record-full.c (record_full_delete): Add 'self' argument.
3277 2014-02-19 Tom Tromey <tromey@redhat.com>
3279 * target.h (struct target_ops) <to_save_record>: Add argument.
3280 * target.c (target_save_record): Add argument.
3281 * record-full.c (record_full_save): Add 'self' argument.
3282 (record_full_save): Add 'self' argument.
3284 2014-02-19 Tom Tromey <tromey@redhat.com>
3286 * target.h (struct target_ops) <to_info_record>: Add argument.
3287 * target.c (target_info_record): Add argument.
3288 * record.c (info_record_command): Add argument.
3289 * record-full.c (record_full_info): Add 'self' argument.
3290 * record-btrace.c (record_btrace_info): Add 'self' argument.
3292 2014-02-19 Tom Tromey <tromey@redhat.com>
3294 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3295 * target.c (target_stop_recording): Add argument.
3296 * record.c (record_stop): Add argument.
3297 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3300 2014-02-19 Tom Tromey <tromey@redhat.com>
3302 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3303 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3304 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3306 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3307 (_initialize_amd64_linux_nat): Use it.
3308 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3309 (_initialize_i386_linux_nat): Use it.
3311 2014-02-19 Tom Tromey <tromey@redhat.com>
3313 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3314 * target.c (target_teardown_btrace): Add argument.
3315 * remote.c (remote_teardown_btrace): Add 'self' argument.
3316 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3318 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3321 2014-02-19 Tom Tromey <tromey@redhat.com>
3323 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3324 * target.c (target_disable_btrace): Add argument.
3325 * remote.c (remote_disable_btrace): Add 'self' argument.
3326 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3328 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3331 2014-02-19 Tom Tromey <tromey@redhat.com>
3333 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3334 * target.c (target_enable_btrace): Add argument.
3335 * remote.c (remote_enable_btrace): Add 'self' argument.
3336 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3338 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3341 2014-02-19 Tom Tromey <tromey@redhat.com>
3343 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3344 (target_can_use_agent): Add argument.
3345 * target.c (update_current_target): Update.
3346 * remote.c (remote_can_use_agent): Add 'self' argument.
3347 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3349 2014-02-19 Tom Tromey <tromey@redhat.com>
3351 * target.h (struct target_ops) <to_use_agent>: Add argument.
3352 (target_use_agent): Add argument.
3353 * target.c (update_current_target): Update.
3354 * remote.c (remote_use_agent): Add 'self' argument.
3355 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3357 2014-02-19 Tom Tromey <tromey@redhat.com>
3359 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3360 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3361 (target_traceframe_info): Add argument.
3362 * target.c (update_current_target): Update.
3363 * remote.c (remote_traceframe_info): Add 'self' argument.
3364 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3366 2014-02-19 Tom Tromey <tromey@redhat.com>
3368 * target.h (target_static_tracepoint_markers_by_strid): Add
3370 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3372 * target.c (update_current_target): Update.
3373 * remote.c (struct target_ops)
3374 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3375 * linux-nat.c (struct target_ops)
3376 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3378 2014-02-19 Tom Tromey <tromey@redhat.com>
3380 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3382 (target_static_tracepoint_marker_at): Add argument.
3383 * target.c (update_current_target): Update.
3384 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3387 2014-02-19 Tom Tromey <tromey@redhat.com>
3389 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3390 (target_set_permissions): Add argument.
3391 * target.c (update_current_target): Update.
3392 * remote.c (remote_set_permissions): Add 'self' argument.
3393 (remote_start_remote): Update.
3395 2014-02-19 Tom Tromey <tromey@redhat.com>
3397 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3398 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3399 (target_get_tib_address): Add argument.
3400 * target.c (update_current_target): Update.
3401 * remote.c (remote_get_tib_address): Add 'self' argument.
3403 2014-02-19 Tom Tromey <tromey@redhat.com>
3405 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3406 (target_set_trace_notes): Add argument.
3407 * target.c (update_current_target): Update.
3408 * remote.c (remote_set_trace_notes): Add 'self' argument.
3410 2014-02-19 Tom Tromey <tromey@redhat.com>
3412 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3414 (target_set_trace_buffer_size): Add argument.
3415 * target.c (update_current_target): Update.
3416 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3418 2014-02-19 Tom Tromey <tromey@redhat.com>
3420 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3422 (target_set_circular_trace_buffer): Add argument.
3423 * target.c (update_current_target): Update.
3424 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3427 2014-02-19 Tom Tromey <tromey@redhat.com>
3429 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3431 (target_set_disconnected_tracing): Add argument.
3432 * target.c (update_current_target): Update.
3433 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3435 2014-02-19 Tom Tromey <tromey@redhat.com>
3437 * target.h (struct target_ops)
3438 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3439 (target_get_min_fast_tracepoint_insn_len): Add argument.
3440 * target.c (update_current_target): Update.
3441 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3444 2014-02-19 Tom Tromey <tromey@redhat.com>
3446 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3448 (target_get_raw_trace_data): Add argument.
3449 * target.c (update_current_target): Update.
3450 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3452 2014-02-19 Tom Tromey <tromey@redhat.com>
3454 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3456 (target_upload_trace_state_variables): Add argument.
3457 * target.c (update_current_target): Update.
3458 * remote.c (remote_upload_trace_state_variables): Add 'self'
3460 (remote_start_remote): Update.
3462 2014-02-19 Tom Tromey <tromey@redhat.com>
3464 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3466 (target_upload_tracepoints): Add argument.
3467 * target.c (update_current_target): Update.
3468 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3469 (remote_start_remote): Update.
3471 2014-02-19 Tom Tromey <tromey@redhat.com>
3473 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3474 (target_save_trace_data): Add argument.
3475 * target.c (update_current_target): Update.
3476 * remote.c (remote_save_trace_data): Add 'self' argument.
3478 2014-02-19 Tom Tromey <tromey@redhat.com>
3480 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3482 * target.h (struct target_ops)
3483 <to_get_trace_state_variable_value>: Add argument.
3484 (target_get_trace_state_variable_value): Add argument.
3485 * target.c (update_current_target): Update.
3486 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3488 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3490 2014-02-19 Tom Tromey <tromey@redhat.com>
3492 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3493 * target.h (struct target_ops) <to_trace_find>: Add argument.
3494 (target_trace_find): Add argument.
3495 * target.c (update_current_target): Update.
3496 * remote.c (remote_trace_find): Add 'self' argument.
3497 * ctf.c (ctf_trace_find): Add 'self' argument.
3499 2014-02-19 Tom Tromey <tromey@redhat.com>
3501 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3502 (target_trace_stop): Add argument.
3503 * target.c (update_current_target): Update.
3504 * remote.c (remote_trace_stop): Add 'self' argument.
3506 2014-02-19 Tom Tromey <tromey@redhat.com>
3508 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3509 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3511 (target_get_tracepoint_status): Add argument.
3512 * target.c (update_current_target): Update.
3513 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3515 2014-02-19 Tom Tromey <tromey@redhat.com>
3517 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3518 * target.h (struct target_ops) <to_get_trace_status>: Add
3520 (target_get_trace_status): Add argument.
3521 * target.c (update_current_target): Update.
3522 * remote.c (remote_get_trace_status): Add 'self' argument.
3523 (remote_start_remote, remote_can_download_tracepoint): Update.
3524 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3526 2014-02-19 Tom Tromey <tromey@redhat.com>
3528 * target.h (struct target_ops) <to_trace_start>: Add argument.
3529 (target_trace_start): Add argument.
3530 * target.c (update_current_target): Update.
3531 * remote.c (remote_trace_start): Add 'self' argument.
3533 2014-02-19 Tom Tromey <tromey@redhat.com>
3535 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3537 (target_trace_set_readonly_regions): Add argument.
3538 * target.c (update_current_target): Update.
3539 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3542 2014-02-19 Tom Tromey <tromey@redhat.com>
3544 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3546 (target_disable_tracepoint): Add argument.
3547 * target.c (update_current_target): Update.
3548 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3550 2014-02-19 Tom Tromey <tromey@redhat.com>
3552 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3554 (target_enable_tracepoint): Add argument.
3555 * target.c (update_current_target): Update.
3556 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3558 2014-02-19 Tom Tromey <tromey@redhat.com>
3560 * target.h (struct target_ops) <to_download_trace_state_variable>:
3562 (target_download_trace_state_variable): Add argument.
3563 * target.c (update_current_target): Update.
3564 * remote.c (remote_download_trace_state_variable): Add 'self'
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3571 (target_can_download_tracepoint): Add argument.
3572 * target.c (update_current_target): Update.
3573 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3575 2014-02-19 Tom Tromey <tromey@redhat.com>
3577 * target.h (struct target_ops) <to_download_tracepoint>: Add
3579 (target_download_tracepoint): Add argument.
3580 * target.c (update_current_target): Update.
3581 * remote.c (remote_download_tracepoint): Add 'self' argument.
3583 2014-02-19 Tom Tromey <tromey@redhat.com>
3585 * target.h (struct target_ops) <to_trace_init>: Add argument.
3586 (target_trace_init): Add argument.
3587 * target.c (update_current_target): Update.
3588 * remote.c (remote_trace_init): Add 'self' argument.
3590 2014-02-19 Tom Tromey <tromey@redhat.com>
3592 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3593 * target.c (target_fileio_readlink): Add argument.
3594 * remote.c (remote_hostio_readlink): Add 'self' argument.
3595 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3597 2014-02-19 Tom Tromey <tromey@redhat.com>
3599 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3600 * target.c (target_fileio_unlink): Add argument.
3601 * remote.c (remote_hostio_unlink): Add 'self' argument.
3602 (remote_file_delete): Update.
3603 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3605 2014-02-19 Tom Tromey <tromey@redhat.com>
3607 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3608 * target.c (target_fileio_close): Add argument.
3609 * remote.c (remote_hostio_close): Add 'self' argument.
3610 (remote_hostio_close_cleanup): Update.
3611 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3613 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3615 2014-02-19 Tom Tromey <tromey@redhat.com>
3617 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3618 * target.c (target_fileio_pread): Add argument.
3619 * remote.c (remote_hostio_pread): Add 'self' argument.
3620 (remote_bfd_iovec_pread, remote_file_get): Update.
3621 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3623 2014-02-19 Tom Tromey <tromey@redhat.com>
3625 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3626 * target.c (target_fileio_pwrite): Add argument.
3627 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3628 (remote_file_put): Update.
3629 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3631 2014-02-19 Tom Tromey <tromey@redhat.com>
3633 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3634 * target.c (target_fileio_open): Add argument.
3635 * remote.c (remote_hostio_open): Add 'self' argument.
3636 (remote_bfd_iovec_open): Add 'self' argument.
3637 (remote_file_put): Add 'self' argument.
3638 (remote_file_get): Add 'self' argument.
3639 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3641 2014-02-19 Tom Tromey <tromey@redhat.com>
3643 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3645 (target_can_run_breakpoint_commands): Add argument.
3646 * target.c (update_current_target): Update.
3647 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3649 (remote_insert_breakpoint): Add 'self' argument.
3650 (remote_insert_hw_breakpoint): Add 'self' argument.
3651 (remote_can_run_breakpoint_commands): Add 'self' argument.
3653 2014-02-19 Tom Tromey <tromey@redhat.com>
3655 * target.h (struct target_ops)
3656 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3657 (target_supports_evaluation_of_breakpoint_conditions): Add
3659 * target.c (update_current_target): Update.
3660 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3662 (remote_insert_breakpoint): Add 'self' argument.
3663 (remote_insert_hw_breakpoint): Add 'self' argument.
3664 (remote_supports_cond_breakpoints): Add 'self' argument.
3666 2014-02-19 Tom Tromey <tromey@redhat.com>
3668 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3670 (target_supports_string_tracing): Add argument.
3671 * target.c (update_current_target): Update.
3672 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3674 2014-02-19 Tom Tromey <tromey@redhat.com>
3676 * target.h (struct target_ops)
3677 <to_supports_disable_randomization>: Add argument.
3678 * target.c (find_default_supports_disable_randomization): Add
3680 (target_supports_disable_randomization): Add argument.
3681 (find_default_supports_disable_randomization): Add 'self'
3683 * remote.c (extended_remote_supports_disable_randomization): Add
3685 (remote_supports_disable_randomization): Add 'self' argument.
3686 (extended_remote_create_inferior): Update.
3687 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3690 2014-02-19 Tom Tromey <tromey@redhat.com>
3692 * target.h (struct target_ops)
3693 <to_supports_enable_disable_tracepoint>: Add argument.
3694 (target_supports_enable_disable_tracepoint): Add argument.
3695 * target.c (update_current_target): Update.
3696 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3699 2014-02-19 Tom Tromey <tromey@redhat.com>
3701 * target.h (struct target_ops) <to_supports_multi_process>: Add
3703 (target_supports_multi_process): Add argument.
3704 * target.c (update_current_target): Update.
3705 * remote.c (remote_supports_multi_process): Add 'self' argument.
3706 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3708 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3711 2014-02-19 Tom Tromey <tromey@redhat.com>
3713 * target.h (struct target_ops) <to_execution_direction>: Add
3715 (target_execution_direction): Add argument.
3716 * target.c (default_execution_direction): Add 'self' argument.
3717 * record-full.c (record_full_execution_direction): Add 'self'
3720 2014-02-19 Tom Tromey <tromey@redhat.com>
3722 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3724 (target_can_execute_reverse): Add argument.
3725 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3726 * record-full.c (record_full_can_execute_reverse): Add 'self'
3728 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3731 2014-02-19 Tom Tromey <tromey@redhat.com>
3733 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3734 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3736 (target_get_ada_task_ptid): Add argument.
3737 * target.c (update_current_target): Update.
3738 (default_get_ada_task_ptid): Add 'self' argument.
3739 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3740 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3741 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3743 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3745 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3747 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3749 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3750 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3753 2014-02-19 Tom Tromey <tromey@redhat.com>
3755 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3756 (target_goto_bookmark): Add argument.
3757 * target.c (dummy_goto_bookmark): Add 'self' argument.
3758 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3760 2014-02-19 Tom Tromey <tromey@redhat.com>
3762 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3763 (target_get_bookmark): Add argument.
3764 * target.c (dummy_get_bookmark): Add 'self' argument.
3765 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3767 2014-02-19 Tom Tromey <tromey@redhat.com>
3769 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3771 (target_make_corefile_notes): Add argument.
3772 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3773 * procfs.c (procfs_make_note_section): Add 'self' argument.
3774 (procfs_make_note_section): Add 'self' argument.
3775 (procfs_make_note_section): Add 'self' argument.
3776 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3778 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3779 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3780 * exec.c (exec_make_note_section): Add 'self' argument.
3781 (exec_make_note_section): Add 'self' argument.
3783 2014-02-19 Tom Tromey <tromey@redhat.com>
3785 * target.h (struct target_ops) <to_find_memory_regions>: Add
3787 (target_find_memory_regions): Add argument.
3788 * target.c (dummy_find_memory_regions): Add 'self' argument.
3789 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3790 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3791 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3792 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3793 * exec. (exec_do_find_memory_regions): New global.
3794 (exec_set_find_memory_regions): Rewrite.
3795 (exec_find_memory_regions): New function.
3796 (init_exec_ops): Use exec_find_memory_regions.
3798 2014-02-19 Tom Tromey <tromey@redhat.com>
3800 * target.h (struct target_ops) <to_supports_non_stop>: Add
3802 * target.c (find_default_supports_non_stop): Add argument.
3803 (target_supports_non_stop): Add argument.
3804 (find_default_supports_non_stop): Add 'self' argument.
3805 * remote.c (remote_supports_non_stop): Add 'self' argument.
3806 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3808 2014-02-19 Tom Tromey <tromey@redhat.com>
3810 * target.h (struct target_ops) <to_log_command>: Add argument.
3811 (target_log_command): Add argument.
3812 * serial.h (serial_log_command): Add 'self' argument.
3813 * serial.c (serial_log_command): Add 'self' argument.
3815 2014-02-19 Tom Tromey <tromey@redhat.com>
3817 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3818 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3820 (target_pid_to_exec_file): Add argument.
3821 * target.c (debug_to_pid_to_exec_file): Add argument.
3822 (update_current_target): Update.
3823 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3824 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3825 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3826 (linux_handle_extended_wait): Update.
3827 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3828 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3829 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3830 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3832 2014-02-19 Tom Tromey <tromey@redhat.com>
3834 * target.h (struct target_ops) <to_rcmd>: Add argument.
3835 (target_rcmd): Add argument.
3836 * target.c (debug_to_rcmd): Add argument.
3837 (update_current_target, do_monitor_command): Update.
3838 * remote.c (remote_rcmd): Add 'self' argument.
3839 * monitor.c (monitor_rcmd): Add 'self' argument.
3841 2014-02-19 Tom Tromey <tromey@redhat.com>
3843 * windows-nat.c (windows_stop): Add 'self' argument.
3844 * target.h (struct target_ops) <to_stop>: Add argument.
3845 * target.c (target_stop): Add argument.
3846 (debug_to_stop): Add argument.
3847 (update_current_target): Update.
3848 * remote.c (remote_stop): Add 'self' argument.
3849 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3850 (gdbsim_cntrl_c): Update.
3851 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3852 * procfs.c (procfs_stop): Add 'self' argument.
3853 * nto-procfs.c (procfs_stop): Add 'self' argument.
3854 * monitor.c (monitor_stop): Add 'self' argument.
3855 (monitor_open): Update.
3856 * linux-nat.c (linux_nat_stop): Add argument.
3857 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3858 * gnu-nat.c (gnu_stop): Add 'self' argument.
3859 * darwin-nat.c (darwin_stop): Add 'self' argument.
3861 2014-02-19 Tom Tromey <tromey@redhat.com>
3863 * target.h (struct target_ops) <to_thread_name>: Add argument.
3864 * target.c (target_thread_name): Add argument.
3865 (update_current_target): Update.
3866 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3868 2014-02-19 Tom Tromey <tromey@redhat.com>
3870 * target.h (struct target_ops) <to_extra_thread_info>: Add
3872 (target_extra_thread_info): Add argument.
3873 * target.c (update_current_target): Update.
3874 * remote.c (remote_threads_extra_info): Add 'self' argument.
3875 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3877 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3878 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3879 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3881 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3883 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3885 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3888 2014-02-19 Tom Tromey <tromey@redhat.com>
3890 * target.h (struct target_ops) <to_program_signals>: Add argument.
3891 * target.c (target_program_signals): Add argument.
3892 * remote.c (remote_program_signals): Add 'self' argument.
3894 2014-02-19 Tom Tromey <tromey@redhat.com>
3896 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3897 * target.c (target_pass_signals): Add argument.
3898 * remote.c (remote_pass_signals): Add 'self' argument.
3899 (remote_start_remote): Update.
3900 * procfs.c (procfs_pass_signals): Add 'self' argument.
3901 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3902 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3903 (linux_nat_create_inferior, linux_nat_attach): Update.
3905 2014-02-19 Tom Tromey <tromey@redhat.com>
3907 * windows-nat.c (windows_can_run): Add 'self' argument.
3908 * target.h (struct target_ops) <to_can_run>: Add argument.
3909 (target_can_run): Add argument.
3910 * target.c (debug_to_can_run): Add argument.
3911 (update_current_target): Update.
3912 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3913 * inf-child.c (inf_child_can_run): Add 'self' argument.
3914 * go32-nat.c (go32_can_run): Add 'self' argument.
3916 2014-02-19 Tom Tromey <tromey@redhat.com>
3918 * target.h (struct target_ops) <to_has_exited>: Add argument.
3919 (target_has_exited): Add argument.
3920 * target.c (debug_to_has_exited): Add argument.
3921 (update_current_target): Update.
3923 2014-02-19 Tom Tromey <tromey@redhat.com>
3925 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3927 (target_set_syscall_catchpoint): Add argument.
3928 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3930 * target.c (update_current_target): Update.
3932 2014-02-19 Tom Tromey <tromey@redhat.com>
3934 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3936 (target_remove_exec_catchpoint): Add argument.
3937 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3938 (update_current_target): Update.
3939 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3942 2014-02-19 Tom Tromey <tromey@redhat.com>
3944 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3946 (target_insert_exec_catchpoint): Add argument.
3947 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3948 (update_current_target): Update.
3949 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3952 2014-02-19 Tom Tromey <tromey@redhat.com>
3954 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3956 (target_remove_vfork_catchpoint): Add argument.
3957 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3958 (update_current_target): Update.
3959 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3962 2014-02-19 Tom Tromey <tromey@redhat.com>
3964 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3966 (target_insert_vfork_catchpoint): Add argument.
3967 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3968 (update_current_target): Update.
3969 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3972 2014-02-19 Tom Tromey <tromey@redhat.com>
3974 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3976 (target_remove_fork_catchpoint): Add argument.
3977 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3978 (update_current_target): Update.
3979 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3982 2014-02-19 Tom Tromey <tromey@redhat.com>
3984 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3986 (target_insert_fork_catchpoint): Add argument.
3987 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3988 (update_current_target): Update.
3989 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3992 2014-02-19 Tom Tromey <tromey@redhat.com>
3994 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3996 (target_post_startup_inferior): Add argument.
3997 * target.c (debug_to_post_startup_inferior): Add argument.
3998 (update_current_target): Update.
3999 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4001 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4003 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4005 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4007 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4009 (super_post_startup_inferior): Likewise.
4010 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4012 (super_post_startup_inferior): Likewise.
4013 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4014 Add 'self' argument.
4015 (super_post_startup_inferior): Likewise.
4017 2014-02-19 Tom Tromey <tromey@redhat.com>
4019 * target.h (struct target_ops) <to_load>: Add argument.
4020 * target.c (target_load): Add argument.
4021 (debug_to_load): Add argument.
4022 (update_current_target): Update.
4023 * remote.c (remote_load): Add 'self' argument.
4024 * remote-sim.c (gdbsim_load): Add 'self' argument.
4025 * remote-mips.c (mips_load): Add 'self' argument.
4026 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4027 * monitor.c (monitor_load): Add 'self' argument.
4028 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4030 2014-02-19 Tom Tromey <tromey@redhat.com>
4032 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4033 (target_terminal_info): Add argument.
4034 * target.c (debug_to_terminal_info): Add argument.
4035 (default_terminal_info): Likewise.
4036 * inflow.c (child_terminal_info): Add 'self' argument.
4037 * inferior.h (child_terminal_info): Add 'self' argument.
4038 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4040 2014-02-19 Tom Tromey <tromey@redhat.com>
4042 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4044 (target_terminal_save_ours): Add argument.
4045 * target.c (debug_to_terminal_save_ours): Add argument.
4046 (update_current_target): Update.
4047 * inflow.c (terminal_save_ours): Add 'self' argument.
4048 * inferior.h (terminal_save_ours): Add 'self' argument.
4050 2014-02-19 Tom Tromey <tromey@redhat.com>
4052 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4053 (target_terminal_ours): Add argument.
4054 * target.c (debug_to_terminal_ours): Add argument.
4055 (update_current_target): Update.
4056 * remote.c (remote_terminal_ours): Add 'self' argument.
4057 (remote_close): Update.
4058 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4059 * inflow.c (terminal_ours): Add 'self' argument.
4060 * inferior.h (terminal_ours): Add 'self' argument.
4061 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4063 2014-02-19 Pedro Alves <palves@redhat.com>
4064 Tom Tromey <tromey@redhat.com>
4066 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4068 (target_terminal_ours_for_output): Add argument.
4069 * target.c (debug_to_terminal_ours_for_output): Add argument.
4070 (update_current_target): Update.
4071 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4072 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4073 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4075 2014-02-19 Tom Tromey <tromey@redhat.com>
4077 * target.h (struct target_ops) <to_terminal_inferior>: Add
4079 * target.c (target_terminal_inferior): Add argument.
4080 (update_current_target): Update.
4081 * remote.c (remote_terminal_inferior): Add 'self' argument.
4082 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4083 * inflow.c (terminal_inferior): Add 'self' argument.
4084 * inferior.h (terminal_inferior): Add 'self' argument.
4085 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4086 (go32_terminal_inferior): Add 'self' argument.
4088 2014-02-19 Tom Tromey <tromey@redhat.com>
4090 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4091 (target_terminal_init): Add argument.
4092 * target.c (debug_to_terminal_init): Add argument.
4093 (update_current_target): Update.
4094 * inflow.c (terminal_init_inferior): Add 'self' argument.
4095 * inferior.h (terminal_init_inferior): Add 'self' argument.
4096 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4097 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4099 2014-02-19 Tom Tromey <tromey@redhat.com>
4101 * target.h (struct target_ops)
4102 <to_can_accel_watchpoint_condition>: Add argument.
4103 (target_can_accel_watchpoint_condition): Add argument.
4104 * target.c (debug_to_can_accel_watchpoint_condition): Add
4106 (update_current_target): Update.
4107 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4110 2014-02-19 Tom Tromey <tromey@redhat.com>
4112 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4114 (target_region_ok_for_hw_watchpoint): Add argument.
4115 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4116 (default_region_ok_for_hw_watchpoint): Add argument.
4117 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4118 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4120 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4122 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4124 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4126 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4128 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4130 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4131 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4133 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4134 Add 'self' argument.
4136 2014-02-19 Tom Tromey <tromey@redhat.com>
4138 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4140 (target_insert_watchpoint): Add argument.
4141 * target.c (debug_to_insert_watchpoint): Add argument.
4142 (update_current_target): Update.
4143 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4144 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4145 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4146 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4147 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4148 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4150 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4151 (procfs_insert_hw_watchpoint): Add 'self' argument.
4152 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4154 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4156 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4158 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4159 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4161 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4164 2014-02-19 Tom Tromey <tromey@redhat.com>
4166 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4168 (target_remove_watchpoint): Add argument.
4169 * target.c (debug_to_remove_watchpoint): Add argument.
4170 (update_current_target): Update.
4171 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4172 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4173 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4174 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4175 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4176 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4178 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4179 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4181 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4183 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4185 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4186 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4188 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4191 2014-02-19 Tom Tromey <tromey@redhat.com>
4193 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4195 (target_remove_hw_breakpoint): Add argument.
4196 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4197 (update_current_target): Update.
4198 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4199 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4201 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4202 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4204 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4207 2014-02-19 Tom Tromey <tromey@redhat.com>
4209 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4211 (target_insert_hw_breakpoint): Add argument.
4212 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4213 (update_current_target): Update.
4214 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4215 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4217 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4218 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4219 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4221 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4224 2014-02-19 Tom Tromey <tromey@redhat.com>
4226 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4228 (target_can_use_hardware_watchpoint): Add argument.
4229 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4230 (update_current_target): Update.
4231 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4233 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4235 * remote.c (remote_check_watch_resources): Add 'self' argument.
4236 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4237 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4239 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4240 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4242 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4244 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4246 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4248 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4250 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4252 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4253 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4255 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4258 2014-02-19 Tom Tromey <tromey@redhat.com>
4260 * target.h (struct target_ops) <to_post_attach>: Add argument.
4261 (target_post_attach): Add argument.
4262 * target.c (debug_to_post_attach): Add argument.
4263 (update_current_target): Update.
4264 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4265 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4266 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4267 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4268 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4270 2014-02-19 Tom Tromey <tromey@redhat.com>
4272 * windows-nat.c (windows_close): Add 'self' argument.
4273 * tracepoint.c (tfile_close): Add 'self' argument.
4274 * target.h (struct target_ops) <to_close>: Add argument.
4275 * target.c (target_close): Add argument.
4276 (update_current_target): Update.
4277 * remote.c (remote_close): Add 'self' argument.
4278 * remote-sim.c (gdbsim_close): Add 'self' argument.
4279 * remote-mips.c (mips_close): Add 'self' argument.
4280 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4281 * record-full.c (record_full_close): Add 'self' argument.
4282 * record-btrace.c (record_btrace_close): Add 'self' argument.
4283 * monitor.h (monitor_close): Add 'self' argument.
4284 * monitor.c (monitor_close): Add 'self' argument.
4285 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4286 * linux-nat.c (linux_nat_close): Add argument.
4287 * go32-nat.c (go32_close): Add 'self' argument.
4288 * exec.c (exec_close_1): Add 'self' argument.
4289 * ctf.c (ctf_close): Add 'self' argument.
4290 * corelow.c (core_close): Add 'self' argument.
4291 (core_close_cleanup): Update.
4292 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4293 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4295 2014-02-19 Tom Tromey <tromey@redhat.com>
4297 * remote.c (remote_load): New function.
4298 (init_remote_ops): Use it.
4300 2014-02-19 Tom Tromey <tromey@redhat.com>
4302 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4304 * common/linux-btrace.h (linux_supports_btrace): Update.
4305 * remote.c (remote_supports_btrace): Add "self" argument.
4306 * target-delegates.c: Rebuild.
4307 * target.c (target_supports_btrace): Remove.
4308 * target.h (struct target_ops) <to_supports_btrace>: Add
4309 target_ops argument.
4310 (target_supports_btrace): New define.
4312 2014-02-19 Tom Tromey <tromey@redhat.com>
4314 * record-full.c (record_full_beneath_to_resume_ops)
4315 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4316 (record_full_beneath_to_wait)
4317 (record_full_beneath_to_store_registers_ops)
4318 (record_full_beneath_to_store_registers)
4319 (record_full_beneath_to_xfer_partial_ops)
4320 (record_full_beneath_to_xfer_partial)
4321 (record_full_beneath_to_insert_breakpoint_ops)
4322 (record_full_beneath_to_insert_breakpoint)
4323 (record_full_beneath_to_remove_breakpoint_ops)
4324 (record_full_beneath_to_remove_breakpoint)
4325 (record_full_beneath_to_stopped_by_watchpoint)
4326 (record_full_beneath_to_stopped_data_address)
4327 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4328 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4329 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4330 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4331 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4332 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4333 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4334 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4335 (record_full_resume, record_full_wait_1)
4336 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4337 (record_full_store_registers, record_full_xfer_partial)
4338 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4339 (record_full_async, record_full_core_xfer_partial): Use target
4341 * target-delegates.c: Rebuild.
4342 * target.c (current_xfer_partial): Remove.
4343 (update_current_target): Do not INHERIT or de_fault
4344 to_insert_breakpoint, to_remove_breakpoint,
4345 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4346 to_is_async_p, to_async. Do not set to_xfer_partial field.
4347 (default_xfer_partial): Simplify.
4348 (current_xfer_partial): Remove.
4349 (target_wait, target_resume): Simplify.
4350 (find_default_can_async_p, find_default_is_async_p): Update.
4351 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4352 to_xfer_partial, to_stopped_by_watchpoint,
4353 to_stopped_data_address.
4354 (target_store_registers): Simplify.
4355 (forward_target_remove_breakpoint)
4356 (forward_target_insert_breakpoint): Remove.
4357 (target_remove_breakpoint, target_insert_breakpoint)
4358 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4359 * target.h (struct target_ops) <to_resume, to_wait,
4360 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4361 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4362 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4364 (forward_target_remove_breakpoint)
4365 (forward_target_insert_breakpoint): Remove.
4366 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4368 (record_btrace_insert_breakpoint): Delegate directly.
4370 2014-02-19 Tom Tromey <tromey@redhat.com>
4373 * target-delegates.c: New file.
4374 * target.c: Include target-delegates.c.
4375 (init_dummy_target): Call install_dummy_methods.
4376 (complete_target_initialization): Call install_delegators.
4377 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4378 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4379 * make-target-delegates: New file.
4381 2014-02-19 Tom Tromey <tromey@redhat.com>
4383 * record.c (find_record_target): Use find_target_at.
4384 * target.c (find_target_at): New function.
4385 * target.h (find_target_at): Declare.
4387 2014-02-19 Tom Tromey <tromey@redhat.com>
4389 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4391 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4393 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4394 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4396 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4398 * linux-nat.c (save_sigtrap): Update.
4399 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4400 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4401 (linux_nat_close): Update.
4402 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4404 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4406 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4407 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4408 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4409 (tmp_to_async): Add 'ops' argument.
4410 (record_full_stopped_by_watchpoint, record_full_async)
4411 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4413 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4414 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4415 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4416 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4417 (remote_is_async_p, remote_async): Add 'ops' argument.
4418 (remote_stopped_data_address): Update.
4419 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4420 * target.c (update_current_target)
4421 (find_default_can_async_p, find_default_is_async_p): Update.
4422 (init_dummy_target): Update.
4423 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4424 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4425 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4426 (target_can_async_p, target_is_async_p, target_async)
4427 (target_stopped_by_watchpoint): Update.
4429 2014-02-19 Yao Qi <yao@codesourcery.com>
4432 * gdbarch.sh: Remove startup_gdbarch.
4433 * gdbarch.c: Regenerated.
4434 * gdbarch.h: Likewise.
4436 2014-02-17 Kevin Buettner <kevinb@redhat.com>
4438 * rl78-tdep.c (rl78_g10_register_name): New function.
4439 (rl78_return_value): Add g10 support.
4440 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4443 2014-02-17 Doug Evans <xdje42@gmail.com>
4445 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4446 (SUBDIR_GUILE_SRCS): Ditto.
4447 (scm-gsmob.o): Ditto.
4449 2014-02-17 Yao Qi <yao@codesourcery.com>
4451 * gnu-nat.c (ILL_RPC): Declare defined function.
4453 2014-02-17 Yao Qi <yao@codesourcery.com>
4455 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4456 mach_msg_type_number_t.
4457 (gnu_write_inferior): Likewise.
4459 2014-02-17 Yao Qi <yao@codesourcery.com>
4461 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4463 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4464 (inf_validate_procs, inf_signal): Likewise.
4465 (S_exception_raise_request): Likewise.
4466 (do_mach_notify_dead_name): Likewise.
4467 (steal_exc_port): Likewise.
4468 (gnu_read_inferior): Change 'copy_count''s type to
4469 mach_msg_type_number_t.
4470 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4473 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4475 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4476 flag. Adjust all users; in particular...
4477 (gnu_wait): ..., don't decrement its value in here...
4478 (gnu_create_inferior): ..., and instead set the flag in here,
4479 around the startup_inferior call, and call that one with
4480 START_INFERIOR_TRAPS_EXPECTED.
4482 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4483 (ILL_RPC): ... new macro.
4484 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4485 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4486 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4487 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4488 functions with ILL_RPC macro.
4489 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4490 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4491 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4492 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4493 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4494 (S_proc_getlogin_reply, S_proc_getsid_reply)
4495 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4496 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4497 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4498 (S_proc_getnports_reply, S_proc_is_important_reply)
4499 (S_proc_get_code_reply): New stub functions, generated with
4502 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4503 collected the type check structures.
4505 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4507 2014-02-14 Doug Evans <dje@google.com>
4509 * target.c (target_write_partial): Fix result type.
4511 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4513 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4514 the proper offsets to access fpregset_t.
4516 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4518 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4519 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4520 * h8300-tdep.c (setmachinelist): Remove global.
4521 * hppa-tdep.c (hppa_sigtramp): Remove global.
4522 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4523 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4524 * ravenscar-thread.c (update_target_observer): Remove global.
4525 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4527 2014-02-12 Tom Tromey <tromey@redhat.com>
4529 * common/rsp-low.c: Update comments.
4530 * common/rsp-low.h: Update comments.
4532 2014-02-12 Tom Tromey <tromey@redhat.com>
4534 * common/rsp-low.c (convert_ascii_to_int): Remove.
4535 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4537 2014-02-12 Tom Tromey <tromey@redhat.com>
4539 * common/rsp-low.h (unhexify): Don't declare.
4540 * common/rsp-low.c (unhexify): Remove.
4542 2014-02-12 Tom Tromey <tromey@redhat.com>
4544 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4545 * common/rsp-low.c (convert_int_to_ascii): Remove.
4547 2014-02-12 Tom Tromey <tromey@redhat.com>
4549 * common/rsp-low.h (hexify): Don't declare.
4550 * common/rsp-low.c (hexify): Remove.
4552 2014-02-12 Tom Tromey <tromey@redhat.com>
4554 * common/rsp-low.c (hexify): Never take strlen of argument.
4556 2014-02-12 Tom Tromey <tromey@redhat.com>
4558 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4559 * remote.c (extended_remote_run, remote_rcmd)
4560 (remote_download_trace_state_variable, remote_save_trace_data)
4561 (remote_set_trace_notes): Update.
4562 * tracepoint.c (encode_source_string, tfile_write_status)
4563 (tfile_write_uploaded_tsv): Update.
4565 2014-02-12 Tom Tromey <tromey@redhat.com>
4567 * tracepoint.c: Include rsp-low.h.
4568 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4569 * remote.c: Include rsp-low.h.
4570 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4571 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4572 (remote_unescape_input): Move to common/rsp-low.c.
4573 * common/rsp-low.h: New file.
4574 * common/rsp-low.c: New file.
4575 * Makefile.in (SFILES): Add common/rsp-low.c.
4576 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4577 (COMMON_OBS): Add rsp-low.o.
4578 (rsp-low.o): New target.
4580 2014-02-12 Tom Tromey <tromey@redhat.com>
4582 * utils.h: Include print-utils.h.
4583 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4584 (int_string, core_addr_to_string, core_addr_to_string_nz)
4585 (hex_string, hex_string_custom): Don't declare.
4586 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4587 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4588 (hex_string_custom, int_string, core_addr_to_string)
4589 (core_addr_to_string_nz, host_address_to_string): Move to
4590 common/print-utils.c.
4591 * common/print-utils.h: New file.
4592 * common/print-utils.c: New file
4593 * Makefile.in (SFILES): Add common/print-utils.c.
4594 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4595 (COMMON_OBS): Add print-utils.o.
4596 (print-utils.o): New target.
4598 2014-02-12 Tom Tromey <tromey@redhat.com>
4600 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4602 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4604 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4606 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4608 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4609 if a PT_IO ptrace request returns sucessfully but indicates that 0
4610 bytes were transferred.
4612 2014-02-12 Pedro Alves <palves@redhat.com>
4613 Kevin Buettner <kevinb@redhat.com>
4615 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4616 TYPE_INSTANCE_FLAG_CODE_SPACE.
4618 2014-02-12 Pedro Alves <palves@redhat.com>
4620 * h8300-tdep.c (pseudo_from_raw_register)
4621 (raw_from_pseudo_register): New functions.
4622 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4625 2014-02-12 Pedro Alves <palves@redhat.com>
4627 * h8300-tdep.c (h8300_register_sim_regno): New function.
4628 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4629 gdbarch_register_sim_regno hook.
4631 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4633 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4635 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4637 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4639 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4641 * obsd-tdep.h (obsd_init_abi): New prototype.
4642 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4643 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4644 (obsd_init_abi): New functions.
4645 * i386obsd-tdep.c: Include "obsd-tdep.h".
4646 (i386obsd_init_abi): Call obsd_init_abi.
4647 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4648 (amd64obsd_init_abi): Call obsd_init_abi.
4649 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4650 obsd-tdep.c to gdb_target_obs.
4652 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4654 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4655 double float arguments to 16-byte in the argument slots.
4657 2014-02-11 Doug Evans <xdje42@gmail.com>
4659 * configure.ac: Don't crash if pkg-config is not found and guile
4660 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4662 * configure: Regenerate.
4664 2014-02-11 Yao Qi <yao@codesourcery.com>
4666 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4667 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4668 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4669 * gnu-nat.c (gnu_xfer_memory): Likewise.
4670 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4671 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4672 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4673 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4675 2014-02-11 Yao Qi <yao@codesourcery.com>
4677 * target.h (enum target_xfer_error): Rename to ...
4678 (enum target_xfer_status): ... it. New. All users updated.
4679 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4681 (TARGET_XFER_STATUS_ERROR_P): New macro.
4682 (target_xfer_error_to_string): Remove declaration.
4683 (target_xfer_status_to_string): Declare.
4684 (target_xfer_partial_ftype): Adjust it.
4685 (struct target_ops) <to_xfer_partial>: Return
4686 target_xfer_status. Add argument xfered_len. Update
4688 * target.c (target_xfer_error_to_string): Rename to ...
4689 (target_xfer_status_to_string): ... it. New. All callers
4691 (target_read_live_memory): Likewise. Call target_xfer_partial
4692 instead of target_read.
4693 (memory_xfer_live_readonly_partial): Return
4694 target_xfer_status. Add argument xfered_len.
4695 (raw_memory_xfer_partial): Likewise.
4696 (memory_xfer_partial_1): Likewise.
4697 (memory_xfer_partial): Likewise.
4698 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4699 properly. Update debug message.
4700 (default_xfer_partial, current_xfer_partial): Likewise.
4701 (target_write_partial): Likewise.
4702 (target_read_partial): Likewise. All callers updated.
4703 (read_whatever_is_readable): Likewise.
4704 (target_write_with_progress): Likewise.
4705 (target_read_alloc_1): Likewise.
4707 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4708 * auxv.c (procfs_xfer_auxv): Likewise.
4709 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4710 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4711 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4712 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4713 * corefile.c (read_memory): Adjust.
4714 * corelow.c (core_xfer_partial): Likewise.
4715 * ctf.c (ctf_xfer_partial): Likewise.
4716 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4718 (darwin_xfer_partial): Likewise.
4719 * exec.c (section_table_xfer_memory_partial): Likewise. All
4721 (exec_xfer_partial): Likewise.
4722 * exec.h (section_table_xfer_memory_partial): Update
4724 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4726 (gnu_xfer_partial): Likewise.
4727 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4728 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4729 (ia64_hpux_xfer_solib_got): Likewise.
4730 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4731 type of 'partial_len' to ULONGEST.
4732 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4733 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4734 (linux_nat_xfer_partial): Likewise.
4735 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4736 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4737 * monitor.c (monitor_xfer_memory): Likewise.
4738 (monitor_xfer_partial): Likewise.
4739 * procfs.c (procfs_xfer_partial): Likewise.
4740 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4741 * record-full.c (record_full_xfer_partial): Likewise.
4742 (record_full_core_xfer_partial): Likewise.
4743 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4744 (gdbsim_xfer_partial): Likewise.
4745 * remote.c (remote_write_bytes_aux): Likewise. All callers
4747 (remote_write_bytes, remote_read_bytes): Likewise. All
4749 (remote_flash_erase): Likewise. All callers updated.
4750 (remote_write_qxfer): Likewise. All callers updated.
4751 (remote_read_qxfer): Likewise. All callers updated.
4752 (remote_xfer_partial): Likewise.
4753 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4754 (rs6000_xfer_shared_libraries): Likewise.
4755 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4756 (sol_thread_xfer_partial): Likewise.
4757 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4758 (sparc_xfer_partial): Likewise.
4759 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4761 (spu_xfer_partial): Likewise.
4762 * spu-multiarch.c (spu_xfer_partial): Likewise.
4763 * tracepoint.c (tfile_xfer_partial): Likewise.
4764 * windows-nat.c (windows_xfer_memory): Likewise.
4765 (windows_xfer_shared_libraries): Likewise.
4766 (windows_xfer_partial): Likewise.
4767 * valprint.c: Replace 'target_xfer_error' with
4768 'target_xfer_status' in comments.
4770 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4772 Checked in by Joel Brobecker <brobecker@adacore.com>.
4773 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4775 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4777 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4778 function parameters.
4780 2014-02-10 Will Newton <will.newton@linaro.org>
4782 * elfread.c (elf_rel_plt_read): Look for a .got section if
4783 looking up .got.plt fails.
4784 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4785 on address passed to elf_gnu_ifunc_record_cache.
4786 (elf_gnu_ifunc_resolve_addr): Likewise.
4787 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4789 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4791 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4792 (X_RETTURN): New macro.
4793 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4795 * sparc64-tdep.c (sparc64_init_abi): Hook
4796 sparc_in_function_epilogue_p.
4798 2014-02-10 Gary Benson <gbenson@redhat.com>
4800 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4801 Rename name_matcher to symbol_matcher.
4803 2014-02-10 Gary Benson <gbenson@redhat.com>
4805 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4806 Use expand_symtabs_file_matcher_ftype and
4807 expand_symtabs_symbol_matcher_ftype.
4809 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4811 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4812 (struct ada_symbol_cache): New.
4813 (ada_free_symbol_cache): Forward declare.
4814 (struct ada_pspace_data): New.
4815 (ada_pspace_data_handle): New static global.
4816 (get_ada_pspace_data, ada_pspace_data_cleanup)
4817 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4818 (cache_space, cache): Delete, now folded inside struct
4820 (ada_get_symbol_cache): New function.
4821 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4823 (_initialize_ada_language): Remove initialization of cache_space.
4824 Move call to observer_attach_inferior_exit up, grouping it
4825 with the other observer registrations inside this function.
4826 Rename command to be more general. Add call to
4827 register_program_space_data_with_cleanup.
4829 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4831 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4832 ada_new_objfile_observer.
4833 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4834 (_initialize_tasks): Update uses of ada_new_objfile_observer
4835 and ada_tasks_normal_stop_observer.
4837 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4839 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4840 returned by the 'Length attribute to integer.
4842 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4844 * ada-lang.c (_initialize_ada_language): Initialize
4845 cache_space obstack.
4847 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4849 * ada-lang.c (HASH_SIZE): New macro.
4850 (struct cache_entry): New type.
4851 (cache_space, cache): New static globals.
4852 (ada_clear_symbol_cache, find_entry): New functions.
4853 (lookup_cached_symbol, cache_symbol): Implement.
4854 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4855 (_initialize_ada_language): Attach ada_new_objfile_observer
4856 and ada_free_objfile_observer.
4858 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4860 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4861 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4862 struct block * parameter.
4863 (ada_lookup_symbol_list_worker): Constify local variable "block".
4864 Remove cast which is no longer necessary.
4866 2014-02-10 Doug Evans <xdje42@gmail.com>
4868 Add Guile as an extension language.
4869 * NEWS: Mention Guile scripting.
4870 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4871 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4872 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4873 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4874 (CLIBS): Add GUILE_LIBS.
4875 (install-guile): New rule.
4876 (guile.o): New rule.
4877 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4878 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4879 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4880 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4881 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4882 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4883 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4884 * configure.ac: New option --with-guile.
4885 * configure: Regenerate.
4886 * config.in: Regenerate.
4887 * auto-load.c: Remove #include "python/python.h". Add #include
4888 "gdb/section-scripts.h".
4889 (source_section_scripts): Handle Guile scripts.
4890 (_initialize_auto_load): Add name of Guile objfile script to
4891 scripts-directory help text.
4892 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4893 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4894 (struct breakpoint): New member scm_bp_object.
4895 * defs.h (enum command_control_type): New value guile_control.
4896 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4898 (show_user): Update comment.
4899 (_initialize_cli_cmds): Update help text for "show user". Update help
4900 text for max-user-call-depth.
4901 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4903 (multi_line_command_p): Add guile_control.
4904 (print_command_lines): Handle guile_control.
4905 (execute_control_command, recurse_read_control_structure): Ditto.
4906 (process_next_line): Recognize "guile" commands.
4907 * disasm.c (gdb_disassemble_info): Make non-static.
4908 * disasm.h: #include "dis-asm.h".
4909 (struct gdbarch): Add forward decl.
4910 (gdb_disassemble_info): Declare.
4911 * extension.c: #include "guile/guile.h".
4912 (extension_languages): Add guile.
4913 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4914 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4915 * gdbtypes.c (get_unsigned_type_max): New function.
4916 (get_signed_type_minmax): New function.
4917 * gdbtypes.h (get_unsigned_type_max): Declare.
4918 (get_signed_type_minmax): Declare.
4919 * guile/README: New file.
4920 * guile/guile-internal.h: New file.
4921 * guile/guile.c: New file.
4922 * guile/guile.h: New file.
4923 * guile/scm-arch.c: New file.
4924 * guile/scm-auto-load.c: New file.
4925 * guile/scm-block.c: New file.
4926 * guile/scm-breakpoint.c: New file.
4927 * guile/scm-disasm.c: New file.
4928 * guile/scm-exception.c: New file.
4929 * guile/scm-frame.c: New file.
4930 * guile/scm-gsmob.c: New file.
4931 * guile/scm-iterator.c: New file.
4932 * guile/scm-lazy-string.c: New file.
4933 * guile/scm-math.c: New file.
4934 * guile/scm-objfile.c: New file.
4935 * guile/scm-ports.c: New file.
4936 * guile/scm-pretty-print.c: New file.
4937 * guile/scm-safe-call.c: New file.
4938 * guile/scm-string.c: New file.
4939 * guile/scm-symbol.c: New file.
4940 * guile/scm-symtab.c: New file.
4941 * guile/scm-type.c: New file.
4942 * guile/scm-utils.c: New file.
4943 * guile/scm-value.c: New file.
4944 * guile/lib/gdb.scm: New file.
4945 * guile/lib/gdb/boot.scm: New file.
4946 * guile/lib/gdb/experimental.scm: New file.
4947 * guile/lib/gdb/init.scm: New file.
4948 * guile/lib/gdb/iterator.scm: New file.
4949 * guile/lib/gdb/printing.scm: New file.
4950 * guile/lib/gdb/types.scm: New file.
4951 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4952 (VPATH): Add $(GUILE_SRCDIR).
4953 (GUILE_DIR): New variable.
4954 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4955 (all): Add stamp-guile dependency.
4956 (stamp-guile): New rule.
4957 (clean-guile, install-guile, uninstall-guile): New rules.
4958 (install-only): Add install-guile dependency.
4959 (uninstall): Add uninstall-guile dependency.
4960 (clean): Add clean-guile dependency.
4962 2014-02-09 Doug Evans <xdje42@gmail.com>
4964 Revert this patch (which I approved, mea culpa).
4966 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4968 * Makefile.in (all-lib): Remove.
4969 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4971 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4973 Fix Python stack corruption.
4974 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4977 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4979 * Makefile.in (all-lib): Remove.
4980 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4982 2014-02-07 Doug Evans <dje@google.com>
4984 * extension-priv.h (extension_language_script_ops): Add comment.
4985 (extension_language_ops): Add comment.
4986 (active_ext_lang_state): Fix typo in comment.
4988 2014-02-07 Pedro Alves <palves@redhat.com>
4990 PR breakpoints/16292
4991 * infrun.c (handle_signal_stop) <signal arrives while stepping
4992 over a breakpoint>: Switch back to the stepping thread.
4994 2014-02-07 Yao Qi <yao@codesourcery.com>
4996 * target.c (target_xfer_partial): Return zero if LEN is zero.
4998 2014-02-07 Yao Qi <yao@codesourcery.com>
5000 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5001 (ld_so_xfer_auxv): Likewise.
5002 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5003 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5004 * corelow.c (core_xfer_partial): Likewise.
5005 * ctf.c (ctf_xfer_partial): Likewise.
5006 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5007 (darwin_xfer_partial): Likewise.
5008 * exec.c (exec_xfer_partial): Likewise.
5009 * gnu-nat.c (gnu_xfer_partial): Likewise.
5010 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5011 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5012 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5013 * linux-nat.c (linux_xfer_siginfo): Likewise.
5014 (linux_proc_xfer_spu): Likewise.
5015 * procfs.c (procfs_xfer_partial): Likewise.
5016 * record-full.c (record_full_xfer_partial): Likewise.
5017 (record_full_core_xfer_partial): Likewise.
5018 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5019 * remote.c (remote_write_qxfer): Likewise.
5020 (remote_write_qxfer, remote_read_qxfer): Likewise.
5021 (remote_xfer_partial): Likewise.
5022 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5023 (rs6000_xfer_shared_libraries): Likewise.
5024 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5025 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5026 (spu_xfer_partial): Likewise.
5027 * target.c (memory_xfer_partial_1): Likewise.
5028 * tracepoint.c (tfile_xfer_partial): Likewise.
5029 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5030 (windows_xfer_partial): Likewise.
5032 2014-02-07 Yao Qi <yao@codesourcery.com>
5034 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5036 (core_xfer_shared_libraries_aix): Likewise.
5037 * gdbarch.c, gdbarch.h: Regenerated.
5038 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5039 ULONGEST. Change 'len_avail' type to ULONGEST.
5040 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5041 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5043 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5045 2014-02-07 Yao Qi <yao@codesourcery.com>
5047 * corefile.c (memory_error): Get 'exception' from ERR and pass
5048 'exception' to throw_error.
5050 2014-02-06 Doug Evans <xdje42@gmail.com>
5052 * configure.ac (libpython checking): Remove all but python.o from
5053 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5054 * configure: Regenerate.
5056 * Makefile.in (SFILES): Add extension.c.
5057 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5058 (COMMON_OBS): Add extension.o.
5059 * extension.h: New file.
5060 * extension-priv.h: New file.
5061 * extension.c: New file.
5063 * python/python-internal.h: #include "extension.h".
5064 (gdbpy_auto_load_enabled): Declare.
5065 (gdbpy_apply_val_pretty_printer): Declare.
5066 (gdbpy_apply_frame_filter): Declare.
5067 (gdbpy_preserve_values): Declare.
5068 (gdbpy_breakpoint_cond_says_stop): Declare.
5069 (gdbpy_breakpoint_has_cond): Declare.
5070 (void source_python_script_for_objfile): Delete.
5071 * python/python.c: #include "extension-priv.h".
5072 Delete inclusion of "observer.h".
5073 (extension_language_python): Moved here and renamed from
5074 script_language_python in py-auto-load.c.
5075 Redefined to be of type extension_language_defn.
5076 (python_extension_script_ops): New global.
5077 (python_extension_ops): New global.
5078 (struct python_env): New member previous_active.
5079 (restore_python_env): Call restore_active_ext_lang.
5080 (ensure_python_env): Call set_active_ext_lang.
5081 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5083 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5085 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5087 (gdbpy_eval_from_control_command): Renamed from
5088 eval_python_from_control_command, made static. New arg extlang.
5089 (gdbpy_source_script) Renamed from source_python_script, made static.
5091 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5092 result to int. New arg extlang.
5093 (gdbpy_source_objfile_script): Renamed from
5094 source_python_script_for_objfile, made static. New arg extlang.
5095 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5096 static. New args extlang, extlang_printers. Change result type to
5098 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5099 static. New arg extlang. Rename arg printers to extlang_printers
5100 and change type to ext_lang_type_printers *.
5101 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5102 static. Replace argument arg with extlang, extlang_printers.
5103 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5104 (!HAVE_PYTHON, source_python_script): Delete.
5105 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5106 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5107 (!HAVE_PYTHON, start_type_printers): Delete.
5108 (!HAVE_PYTHON, apply_type_printers): Delete.
5109 (!HAVE_PYTHON, free_type_printers): Delete.
5110 (_initialize_python): Delete call to observer_attach_before_prompt.
5111 (finalize_python): Set/restore active extension language.
5112 (gdbpy_finish_initialization) Renamed from
5113 finish_python_initialization, made static. New arg extlang.
5114 (gdbpy_initialized): New function.
5115 * python/python.h: #include "extension.h". Delete #include
5116 "value.h", "mi/mi-cmds.h".
5117 (extension_language_python): Declare.
5118 (GDBPY_AUTO_FILE_NAME): Delete.
5119 (enum py_bt_status): Moved to extension.h and renamed to
5121 (enum frame_filter_flags): Moved to extension.h.
5122 (enum py_frame_args): Moved to extension.h and renamed to
5123 ext_lang_frame_args.
5124 (finish_python_initialization): Delete.
5125 (eval_python_from_control_command): Delete.
5126 (source_python_script): Delete.
5127 (apply_val_pretty_printer): Delete.
5128 (apply_frame_filter): Delete.
5129 (preserve_python_values): Delete.
5130 (gdbpy_script_language_defn): Delete.
5131 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5132 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5134 * auto-load.c: #include "extension.h".
5135 (GDB_AUTO_FILE_NAME): Delete.
5136 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5137 (script_language_gdb): Delete, moved to extension.c and renamed to
5138 extension_language_gdb.
5139 (source_gdb_script_for_objfile): Delete.
5140 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5141 (loaded_script): Change type of language member to
5142 struct extension_language_defn *.
5143 (init_loaded_scripts_info): Initialize
5144 unsupported_script_warning_printed.
5145 (maybe_add_script): Make static. Change type of language arg to
5146 struct extension_language_defn *.
5147 (clear_section_scripts): Reset unsupported_script_warning_printed.
5148 (auto_load_objfile_script_1): Rewrite to use extension language API.
5149 (auto_load_objfile_script): Make public. Remove support-compiled-in
5150 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5151 (source_section_scripts): Rewrite to use extension language API.
5152 (load_auto_scripts_for_objfile): Rewrite to use
5153 auto_load_scripts_for_objfile.
5154 (collect_matching_scripts_data): Change type of language member to
5155 struct extension_language_defn *.
5156 (auto_load_info_scripts): Change type of language arg to
5157 struct extension_language_defn *.
5158 (unsupported_script_warning_print): New function.
5159 (script_not_found_warning_print): Make static.
5160 (_initialize_auto_load): Rewrite construction of scripts-directory
5162 * auto-load.h (struct objfile): Add forward decl.
5163 (struct script_language): Delete.
5164 (struct auto_load_pspace_info): Add forward decl.
5165 (struct extension_language_defn): Add forward decl.
5166 (maybe_add_script): Delete.
5167 (auto_load_objfile_script): Declare.
5168 (script_not_found_warning_print): Delete.
5169 (auto_load_info_scripts): Update prototype.
5170 (auto_load_gdb_scripts_enabled): Declare.
5171 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5172 auto_load_python_scripts_enabled and made public.
5173 (script_language_python): Delete, moved to python.c.
5174 (gdbpy_script_language_defn): Delete.
5175 (info_auto_load_python_scripts): Update to use
5176 extension_language_python.
5178 * breakpoint.c (condition_command): Replace call to
5179 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5180 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5181 with call to breakpoint_ext_lang_cond_says_stop.
5182 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5183 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5184 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5185 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5187 (local_setattro): Print name of extension language with existing
5190 * valprint.c (val_print, value_print): Update to call
5191 apply_ext_lang_val_pretty_printer.
5192 * cp-valprint.c (cp_print_value): Update call to
5193 apply_ext_lang_val_pretty_printer.
5194 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5195 (gdbpy_apply_val_pretty_printer): Renamed from
5196 apply_val_pretty_printer. New arg extlang.
5197 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5199 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5200 extension language API.
5201 * cli/cli-script.c (execute_control_command): Update to call
5202 eval_ext_lang_from_control_command.
5204 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5205 enum ext_lang_bt_status values. Update call to
5206 apply_ext_lang_frame_filter.
5207 (mi_cmd_stack_list_locals): Ditto.
5208 (mi_cmd_stack_list_args): Ditto.
5209 (mi_cmd_stack_list_variables): Ditto.
5210 * mi/mi-main.c: Delete #include "python/python-internal.h".
5211 Add #include "extension.h".
5212 (mi_cmd_list_features): Replace reference to python internal variable
5213 gdb_python_initialized with call to ext_lang_initialized_p.
5215 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5216 Update to use enum ext_lang_frame_args. Update to call
5217 apply_ext_lang_frame_filter.
5218 * python/py-framefilter.c (extract_sym): Update to use enum
5220 (extract_value, py_print_type, py_print_value): Ditto.
5221 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5222 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5223 (py_print_frame): Ditto.
5224 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5225 New arg extlang. Update to use enum ext_lang_bt_status.
5227 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5228 finish_python_initialization. Replace with call to
5229 finish_ext_lang_initialization.
5231 * typeprint.c (do_free_global_table): Update to call
5232 free_ext_lang_type_printers.
5233 (create_global_typedef_table): Update to call
5234 start_ext_lang_type_printers.
5235 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5236 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5237 (type_print_options): Change type of global_printers from "void *"
5238 to "struct ext_lang_type_printers *".
5240 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5241 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5242 (gdbpy_preserve_values): Renamed from preserve_python_values.
5244 (!HAVE_PYTHON, preserve_python_values): Delete.
5246 * utils.c (quit_flag): Delete, moved to extension.c.
5247 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5250 * eval.c: Delete #include "python/python.h".
5251 * main.c: Delete #include "python/python.h".
5253 * defs.h: Update comment.
5255 2014-02-06 Joel Brobecker <brobecker@adacore.com>
5259 2014-02-05 Mark Kettenis <kettenis@gnu.org>
5261 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5264 2014-02-05 Yao Qi <yao@codesourcery.com>
5266 * remote.c (remote_pass_signals): Remove local 'buf' and use
5268 (remote_program_signals): Likewise.
5270 2014-02-05 Yao Qi <yao@codesourcery.com>
5272 * ctf.c: Include "inferior.h" and "gdbthread.h".
5273 (CTF_PID): A new macro.
5274 (ctf_open): Call inferior_appeared and add_thread_silent.
5275 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5276 (ctf_thread_alive): New function.
5277 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5279 2014-02-05 Yao Qi <yao@codesourcery.com>
5283 2013-05-24 Yao Qi <yao@codesourcery.com>
5285 * tracepoint.c (TFILE_PID): Remove.
5286 (tfile_open): Don't add thread and inferior.
5287 (tfile_close): Don't set 'inferior_ptid'. Don't call
5288 exit_inferior_silent.
5289 (tfile_thread_alive): Remove.
5290 (init_tfile_ops): Don't set field 'to_thread_alive' of
5293 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5295 * remote.c (remote_start_remote): Call remote_check_symbols even
5296 if only symbol-file (not file) has been given.
5298 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5300 * gdbarch.sh (skip_entrypoint): New callback.
5301 * gdbarch.c, gdbarch.h: Regenerate.
5302 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5303 * infrun.c (fill_in_stop_func): Likewise.
5304 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5305 (ppc_elfv2_elf_make_msymbol_special): New function.
5306 (ppc_elfv2_skip_entrypoint): Likewise.
5307 (ppc_linux_init_abi): Install them for ELFv2.
5309 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5311 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5312 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5313 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5314 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5315 structures returned in GPRs.
5317 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5319 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5320 offset to the stack parameter list for the ELFv2 ABI.
5322 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5324 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5325 set_gdbarch_convert_from_func_ptr_addr and
5326 set_gdbarch_elf_make_msymbol_special for ELFv1.
5327 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5328 function descriptors on ELFv1.
5329 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5330 set up r12 at function entry.
5332 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5334 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5335 (struct gdbarch_tdep): New member elf_abi.
5337 * rs6000-tdep.c: Include "elf/ppc64.h".
5338 (rs6000_gdbarch_init): Detect ELF ABI version.
5340 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5342 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5343 within a register pair holding a DFP 128-bit value on little-endian.
5344 (ppc64_sysv_abi_return_value_base): Likewise.
5345 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5346 (dfp_pseudo_register_write): Likewise.
5348 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5350 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5351 offset on little-endian when passing _Decimal32.
5352 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5354 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5356 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5357 of the overlapped FP register within the VSX register on little-
5359 (efpr_pseudo_register_write): Likewise.
5361 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5363 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5364 offset on little-endian when passing small structures.
5366 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5368 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5369 (struct ppc64_sysv_argpos): New data structure.
5370 (ppc64_sysv_abi_push_float): Remove.
5371 (ppc64_sysv_abi_push_val): New function.
5372 (ppc64_sysv_abi_push_integer): Likewise.
5373 (ppc64_sysv_abi_push_freg): Likewise.
5374 (ppc64_sysv_abi_push_vreg): Likewise.
5375 (ppc64_sysv_abi_push_param): Likewise.
5376 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5377 (ppc64_sysv_abi_return_value_base): New function.
5378 (ppc64_sysv_abi_return_value): Refactor to use it.
5380 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5382 * NEWS: Document new target powerpc64le-*-linux*.
5384 2014-02-04 Mark Kettenis <kettenis@gnu.org>
5386 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5387 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5389 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5390 register set used in ELF core dumps. Add floating-point register set.
5392 2014-02-03 Kevin Buettner <kevinb@redhat.com>
5394 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5395 dwarf2_to_gdb[] table using symbolic constants. Adjust
5396 penultimate entry from number representing the PC register
5397 to symbolic constant representing the MDR register. Add
5398 constant for the PC register to the end of the table.
5400 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5402 * bsd-kvm.c: Include <sys/param.h>
5404 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5406 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5408 2014-01-31 Joel Brobecker <brobecker@adacore.com>
5410 * ada-lang.h (clear_ada_sym_cache): Delete.
5412 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
5414 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5416 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5418 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5419 the sigreturn register save area only if the syscall is
5422 2014-01-29 Joel Brobecker <brobecker@adacore.com>
5424 * valops.c (value_slice): Minor reformatting.
5426 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
5428 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5430 2014-01-28 Joel Brobecker <brobecker@adacore.com>
5432 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5434 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5435 (ada_ignore_descriptive_types_p): New static global.
5436 (find_parallel_type_by_descriptive_type): Return immediately
5437 if ada_ignore_descriptive_types_p is set.
5438 (_initialize_ada_language): Register new commands "maintenance
5439 set ada", "maintenance show ada", "maintenance set ada
5440 ignore-descriptive-types" and "maintenance show ada
5441 ignore-descriptive-types".
5442 * NEWS: Add entry for new "maint ada set/show
5443 ignore-descriptive-types" commands.
5445 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5447 * record-btrace.c (record_btrace_close): Call btrace_teardown
5450 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5452 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5455 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5457 * ada-typeprint (type_is_full_subrange_of_target_type):
5459 (print_range): Add parameter bounds_prefered_p. If not set,
5460 try printing range types using the name of their base type.
5461 (print_range_type): Add parameter bounds_prefered_p.
5462 Use it in call to print_range.
5463 (print_array_type, ada_print_type): Update calls to print_range
5464 and print_range_type.
5466 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5468 * ada-typeprint.c (print_array_type, print_choices, print_range)
5469 (print_range_bound, print_dynamic_range_bound, print_range_type):
5472 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5474 * ada-typeprint.c (print_range): Add missing empty line
5475 after local declaration.
5477 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5479 * ada-valprint.c (print_optional_low_bound): Get index_type's
5480 target type for as long as it is a TYPE_CODE_RANGE.
5482 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5484 * procfs.c (procfs_make_note_section): Remove assertion and
5487 2014-01-24 Yao Qi <yao@codesourcery.com>
5489 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5490 * corelow.c (get_core_siginfo): Likewise.
5492 2014-01-24 Yao Qi <yao@codesourcery.com>
5494 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5495 ULONGEST. Don't check 'len' is negative.
5496 (remote_write_bytes): Change type of 'len' to ULONGEST.
5498 2014-01-23 Tom Tromey <tromey@redhat.com>
5501 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5502 Handle exception from frame.block.
5503 (FrameVars.fetch_frame_locals): Likewise.
5505 2014-01-23 Tom Tromey <tromey@redhat.com>
5508 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5509 on a NULL pointer. Move "goto error" to correct place.
5511 2014-01-23 Tom Tromey <tromey@redhat.com>
5514 * python/py-framefilter.c (apply_frame_filter): Call
5515 ensure_python_env after computing gdbarch.
5517 2014-01-23 Yao Qi <yao@codesourcery.com>
5519 * target.c (raw_memory_xfer_partial): Change argument type
5520 from void * to gdb_byte *.
5521 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5523 2014-01-22 Doug Evans <dje@google.com>
5525 New gdbserver option --debug-format=timestamp.
5528 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5530 * syscalls/s390x-linux.xml: New file.
5531 * syscalls/s390-linux.xml: New file.
5532 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5533 (XML_SYSCALL_FILENAME_S390X): Likewise.
5534 (op_svc): New enum value for SVC opcode.
5535 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5536 (s390_linux_get_syscall_number): New function.
5537 (s390_gdbarch_init): Register '*get_syscall_number' and the
5538 syscall xml file name.
5539 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5540 "s390-linux.xml" and "s390x-linux.xml".
5541 * NEWS: Announce new feature.
5543 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5545 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5547 2014-01-22 Pedro Alves <palves@redhat.com>
5549 * xtensa-config.c: Include defs.h.
5551 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5553 * common/common-utils.h: Add "ARI:" comment beside __func__
5556 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5558 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5559 documentation a bit.
5561 2014-01-21 Roland McGrath <mcgrathr@google.com>
5563 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5564 * configure: Regenerate.
5565 * aclocal.m4: Regenerate.
5566 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5567 New substituted variables.
5568 (install-strip): New target.
5569 (INSTALL_SCRIPT): New substituted variable.
5570 (FLAGS_TO_PASS): Add it.
5571 (install-only): Use $(INSTALL_SCRIPT) rather than
5572 $(INSTALL_PROGRAM) for gcore.
5574 2014-01-20 Tom Tromey <tromey@redhat.com>
5576 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5579 2014-01-20 Tom Tromey <tromey@redhat.com>
5581 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5582 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5583 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5584 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5585 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5586 (struct cmd_list_element) <flags>: Remove.
5587 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5588 doc_allocated>: New fields.
5589 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5591 * maint.c (maintenance_do_deprecate): Update.
5592 * top.c (execute_command): Update.
5594 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5596 * xtensa-linux-nat.c: Include asm/ptrace.h.
5598 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5600 * Makefile.in (SFILES): Add d-support.c.
5601 (COMMON_OBS): Add d-support.o.
5602 * d-lang.h (d_parse_symbol): Add comment, now defined in
5604 * d-lang.c (parse_call_convention)
5605 (parse_attributes, parse_function_types)
5606 (parse_function_args, parse_type, parse_identifier)
5607 (call_convention_p, d_parse_symbol): Move functions to ...
5608 * d-support.c: ... New file.
5610 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5612 * d-lang.h (d_parse_symbol): Add declaration.
5613 * d-lang.c (extract_identifiers)
5614 (extract_type_info): Remove functions.
5615 (parse_call_convention, parse_attributes)
5616 (parse_function_types, parse_function_args)
5617 (parse_type, parse_identifier, call_convention_p)
5618 (d_parse_symbol): New functions.
5619 (d_demangle): Use d_parse_symbol to demangle D symbols.
5621 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5623 * d-lang.h (struct builtin_d_type): New data type.
5624 (builtin_d_type): Add declaration.
5625 * d-lang.c (d_language_arch_info, build_d_types)
5626 (builtin_d_type): New functions.
5627 (enum d_primitive_types): New data type.
5628 (d_language_defn): Change c_language_arch_info to
5629 d_language_arch_info.
5630 (d_type_data): New static variable.
5631 (_initialize_d_language): Initialize d_type_data.
5633 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5635 * d-lang.h (d_main_name): Add declaration.
5636 * d-lang.c (d_main_name): New function.
5637 * symtab.c (find_main_name): Add call to d_main_name.
5639 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5641 * d-lang.c (d_language_defn): Change macro_expansion_c to
5644 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5646 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5648 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5650 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5651 gdb_exception" declaration.
5652 * remote.c (getpkt_or_notif_sane): Likewise.
5654 2014-01-17 Doug Evans <dje@google.com>
5656 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5657 function, contents of dirnames_to_char_ptr_vec_append moved here.
5658 (delim_string_to_char_ptr_vec): New function.
5659 (dirnames_to_char_ptr_vec_append): Rewrite.
5660 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5662 2014-01-17 Doug Evans <dje@google.com>
5664 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5666 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5667 #include "common-utils.h".
5668 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5669 * common/vec.h (VEC_ASSERT_PASS): Update.
5670 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5671 (MACH_CHECK_ERROR): Update.
5673 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5675 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5677 * gdbarch.h: Regenerate.
5679 2014-01-16 Tom Tromey <tromey@redhat.com>
5681 * value.c (struct value) <regnum>: Move earlier.
5683 2014-01-16 Tom Tromey <tromey@redhat.com>
5685 * remote.c (extended_remote_create_inferior): Rename from
5686 extended_remote_create_inferior_1. Add "ops" argument. Remove
5689 2014-01-16 Pedro Alves <palves@redhat.com>
5691 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5692 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5695 2014-01-16 Doug Evans <dje@google.com>
5697 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5701 * btrace.h (btrace_thread_flag): New.
5702 (struct btrace_thread_info) <flags>: New.
5703 * record-btrace.c (record_btrace_resume_thread)
5704 (record_btrace_find_thread_to_move, btrace_step_no_history)
5705 (btrace_step_stopped, record_btrace_start_replaying)
5706 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5707 (record_btrace_find_resume_thread): New.
5708 (record_btrace_resume, record_btrace_wait): Extend.
5709 (record_btrace_can_execute_reverse): New.
5710 (record_btrace_open): Fail in non-stop mode.
5711 (record_btrace_set_replay): Split into this, ...
5712 (record_btrace_stop_replaying): ... this, ...
5713 (record_btrace_clear_histories): ... and this.
5714 (init_record_btrace_ops): Init to_can_execute_reverse.
5715 * NEWS: Announce it.
5717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5719 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5720 (forward_target_decr_pc_after_break)
5721 (target_decr_pc_after_break): New.
5722 * target.c (forward_target_decr_pc_after_break)
5723 (target_decr_pc_after_break): New.
5724 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5725 instead of gdbarch_decr_pc_after_break.
5726 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5727 instead of gdbarch_decr_pc_after_break.
5728 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5729 instead of gdbarch_decr_pc_after_break.
5730 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5731 instead of gdbarch_decr_pc_after_break.
5732 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5733 instead of gdbarch_decr_pc_after_break.
5734 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5735 instead of gdbarch_decr_pc_after_break.
5737 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5739 * btrace.c: Include regcache.h.
5740 (btrace_add_pc): New.
5741 (btrace_enable): Call btrace_add_pc.
5742 (btrace_is_empty): New.
5743 * btrace.h (btrace_is_empty): New.
5744 * record-btrace.c (require_btrace, record_btrace_info): Call
5747 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5749 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5750 Support delta reads.
5751 (linux_disable_btrace): Change return type.
5752 * common/linux-btrace.h (linux_read_btrace): Change parameters
5753 and return type to allow error reporting. Update users.
5754 (linux_disable_btrace): Change return type. Update users.
5755 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5757 (btrace_error): New.
5758 (btrace_block) <begin>: Comment on BEGIN == 0.
5759 * btrace.c (btrace_compute_ftrace): Start from the end of
5761 (btrace_stitch_trace, btrace_clear_history): New.
5762 (btrace_fetch): Read delta trace, return if replaying.
5763 (btrace_clear): Move clear history code to btrace_clear_history.
5764 (parse_xml_btrace): Throw an error if parsing failed.
5765 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5766 and return type to allow error reporting.
5767 (target_read_btrace): Change parameters and return type to allow
5769 * target.c (target_read_btrace): Update.
5770 * remote.c (remote_read_btrace): Support delta reads. Pass
5772 * NEWS: Announce it.
5774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5776 * record.h (record_btrace_frame_unwind)
5777 (record_btrace_tailcall_frame_unwind): New declarations.
5778 * dwarf2-frame: Include record.h
5779 (dwarf2_frame_cfa): Throw an error for btrace frames.
5780 * record-btrace.c: Include hashtab.h.
5781 (btrace_get_bfun_name): New.
5782 (btrace_call_history): Call btrace_get_bfun_name.
5783 (struct btrace_frame_cache): New.
5785 (bfcache_hash, bfcache_eq, bfcache_new): New.
5786 (btrace_get_frame_function): New.
5787 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5788 (record_btrace_frame_this_id): Compute own id.
5789 (record_btrace_frame_prev_register): Provide PC, throw_error
5790 for all other registers.
5791 (record_btrace_frame_sniffer): Detect btrace frames.
5792 (record_btrace_tailcall_frame_sniffer): New.
5793 (record_btrace_frame_dealloc_cache): New.
5794 (record_btrace_frame_unwind): Add new functions.
5795 (record_btrace_tailcall_frame_unwind): New.
5796 (_initialize_record_btrace): Allocate cache.
5797 * btrace.c (btrace_clear): Call reinit_frame_cache.
5798 * NEWS: Announce it.
5800 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5802 * record-btrace.c (record_btrace_set_replay)
5803 (record_btrace_goto_begin, record_btrace_goto_end)
5804 (record_btrace_goto): New.
5805 (init_record_btrace_ops): Initialize them.
5806 * NEWS: Announce it.
5808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5810 * record-btrace.c (record_btrace_find_new_threads)
5811 (record_btrace_thread_alive): New.
5812 (init_record_btrace_ops): Initialize to_find_new_threads and
5815 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5817 * record-btrace.c (record_btrace_resume): New.
5818 (record_btrace_wait): New.
5819 (init_record_btrace_ops): Initialize to_wait and to_resume.
5821 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5823 * record-btrace.c (record_btrace_xfer_partial)
5824 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5825 (record_btrace_allow_memory_access): New.
5826 (init_record_btrace_ops): Initialize new methods.
5827 * target.c (raw_memory_xfer_partial): Bail out if target reports
5828 that this memory is not available.
5830 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5832 * target.h (target_ops) <to_insert_breakpoint>
5833 <to_remove_breakpoint>: Add target_ops parameter.
5834 (forward_target_insert_breakpoint): New.
5835 (forward_target_remove_breakpoint): New.
5836 (memory_remove_breakpoint, memory_insert_breakpoint):
5837 Add target_ops parameter.
5838 * target.c (target_insert_breakpoint): Split into this and ...
5839 (forward_target_insert_breakpoint): ... this.
5840 (target_remove_breakpoint): Split into this and ...
5841 (forward_target_remove_breakpoint): ... this.
5842 (debug_to_insert_breakpoint): Add target_ops parameter.
5843 Call forward_target_insert_breakpoint.
5844 (debug_to_remove_breakpoint): Add target_ops parameter.
5845 Call forward_target_remove_breakpoint.
5846 (update_current_target): Do not inherit or default to_insert_breakpoint
5847 and to_remove_breakpoint.
5848 * corelow.c (ignore): Add target_ops parameter.
5849 * exec.c (ignore): Add target_ops parameter.
5850 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5851 Add target_ops parameter.
5852 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5853 Add target_ops parameter.
5854 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5855 Add target_ops parameter.
5856 * record-full.c (record_full_beneath_to_insert_breakpoint)
5857 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5858 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5859 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5860 (record_full_core_remove_breakpoint): Add target_ops parameter.
5862 (record_full_beneath_to_insert_breakpoint_ops)
5863 (record_full_beneath_to_remove_breakpoint_ops)
5864 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5865 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5866 tmp_to_remove_breakpoint_ops,
5867 record_full_beneath_to_insert_breakpoint_ops, and
5868 record_full_beneath_to_remove_breakpoint_ops.
5869 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5870 (m32r_remove_breakpoint): Add target_ops parameter.
5871 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5872 Add target_ops parameter.
5873 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5874 Add target_ops parameter.
5876 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5877 Markus Metzger <markus.t.metzger@intel.com>
5879 * record-btrace.c: Include frame-unwind.h.
5880 (record_btrace_frame_unwind_stop_reason)
5881 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5882 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5884 (init_record_btrace_ops): Install it.
5886 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5888 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5891 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5893 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5896 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5898 * frame-unwind.c: Include target.h.
5899 (frame_unwind_try_unwinder): New function with code from ...
5900 (frame_unwind_find_by_frame): ... here. New variable
5901 unwinder_from_target, call also target_get_unwinder)
5902 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5903 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5904 * target.h (struct target_ops): New fields to_get_unwinder and
5905 to_get_tailcall_unwinder.
5906 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5908 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5910 * record-btrace.c (record_btrace_fetch_registers)
5911 (record_btrace_store_registers)
5912 (record_btrace_to_prepare_to_store): New.
5913 (init_record_btrace_ops): Add the above.
5915 2014-01-16 Tom Tromey <tromey@redhat.com>
5917 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5918 * target.h (struct target_ops) <to_prepare_to_store>: Add
5920 (target_prepare_to_store): Add argument.
5921 * target.c (debug_to_prepare_to_store): Add argument.
5922 (update_current_target): Update.
5923 * remote.c (remote_prepare_to_store): Add 'self' argument.
5924 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5925 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5926 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5927 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5929 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5930 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5931 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5932 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5933 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5935 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5937 * btrace.h (replay) <replay>: New.
5938 (btrace_is_replaying): New.
5939 * btrace.c (btrace_clear): Free replay iterator.
5940 (btrace_is_replaying): New.
5941 * record-btrace.c (record_btrace_is_replaying): New.
5942 (record_btrace_info): Print insn number if replaying.
5943 (record_btrace_insn_history): Start at replay position.
5944 (record_btrace_call_history): Start at replay position.
5945 (init_record_btrace_ops): Init to_record_is_replaying.
5947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5949 * record-btrace.c (record_btrace_insn_history_range): Include
5951 (record_btrace_insn_history_from): Adjust range.
5952 (record_btrace_call_history_range): Include
5954 (record_btrace_call_history_from): Adjust range.
5955 * NEWS: Announce changes.
5957 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5959 * record.h (enum record_print_flag)
5960 <record_print_indent_calls>: New.
5961 * record.c (get_call_history_modifiers): Recognize /c modifier.
5962 (_initialize_record): Document /c modifier.
5963 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5964 Reorder fields. Optionally indent the function name. Update
5966 * NEWS: Announce changes.
5968 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5970 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5972 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5974 * btrace.c (ftrace_new_function): Start counting at one.
5975 * record-btrace.c (record_btrace_info): Adjust number of calls
5977 * NEWS: Announce it.
5979 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5981 * record-btrace.c (btrace_call_history_insn_range): Print
5982 insn range as [begin, end].
5984 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5986 * btrace.h (struct btrace_func_link): New.
5987 (enum btrace_function_flag): New.
5988 (struct btrace_inst): Rename to ...
5989 (struct btrace_insn): ...this. Update all users.
5990 (struct btrace_func) <ibegin, iend>: Remove.
5991 (struct btrace_func_link): New.
5992 (struct btrace_func): Rename to ...
5993 (struct btrace_function): ...this. Update all users.
5994 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5995 (number, level, flags>: New.
5996 (struct btrace_insn_iterator): Rename to ...
5997 (struct btrace_insn_history): ...this.
5999 (struct btrace_insn_iterator, btrace_call_iterator): New.
6000 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6001 (struct btrace_target_info) <begin, end, level>
6002 <insn_history, call_history>: New.
6003 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6004 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6005 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6006 (btrace_call_number, btrace_call_begin, btrace_call_end)
6007 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6008 (btrace_find_function_by_number, btrace_set_insn_history)
6009 (btrace_set_call_history): New.
6010 * btrace.c (btrace_init_insn_iterator)
6011 (btrace_init_func_iterator, compute_itrace): Remove.
6012 (ftrace_print_function_name, ftrace_print_filename)
6013 (ftrace_skip_file): Change
6015 (ftrace_init_func): Remove.
6016 (ftrace_debug): Use new btrace_function fields.
6017 (ftrace_function_switched): Also consider gaining and
6018 losing symbol information).
6019 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6020 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6021 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6023 (ftrace_new_function): Move. Remove debug print.
6024 (ftrace_update_lines, ftrace_update_insns): New.
6025 (ftrace_update_function): Check for call, ret, and jump.
6026 (compute_ftrace): Renamed to ...
6027 (btrace_compute_ftrace): ...this. Rewritten to compute call
6029 (btrace_fetch, btrace_clear): Updated.
6030 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6031 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6032 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6033 (btrace_call_number, btrace_call_begin, btrace_call_end)
6034 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6035 (btrace_find_function_by_number, btrace_set_insn_history)
6036 (btrace_set_call_history): New.
6037 * record-btrace.c (require_btrace): Use new btrace thread
6039 (record_btrace_info, btrace_insn_history)
6040 (record_btrace_insn_history, record_btrace_insn_history_range):
6041 Use new btrace thread info fields and new iterator.
6042 (btrace_func_history_src_line): Rename to ...
6043 (btrace_call_history_src_line): ...this. Use new btrace
6045 (btrace_func_history): Rename to ...
6046 (btrace_call_history): ...this. Use new btrace thread info
6047 fields and new iterator.
6048 (record_btrace_call_history, record_btrace_call_history_range):
6049 Use new btrace thread info fields and new iterator.
6051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6053 * frame.h (frame_id_build_unavailable_stack_special): New.
6054 * frame.c (frame_id_build_unavailable_stack_special): New.
6056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6058 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6059 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6060 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6062 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6063 (i386_insn_is_jump, i386_jmp_p): New.
6064 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6065 insn_is_jump to gdbarch.
6066 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6067 * gdbarch.h: Regenerated.
6068 * gdbarch.c: Regenerated.
6069 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6070 (default_insn_is_jump): New.
6071 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6072 (default_insn_is_jump): New.
6074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6076 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6078 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6079 (btrace_read_type) <btrace_read_new>: Change to ...
6080 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6082 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6084 * common/linux-btrace.c (linux_read_btrace): Free trace from
6087 2014-01-15 Doug Evans <dje@google.com>
6089 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6092 2014-01-15 Tom Tromey <tromey@redhat.com>
6094 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6095 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6096 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6097 (set_objfile_main_name): New function.
6098 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6099 language_of_main>: New fields.
6100 (set_objfile_main_name): Declare.
6101 * symtab.c (find_main_name): Loop over objfiles to find the main
6103 (set_main_name): Now static.
6104 (get_main_info): Add comment.
6105 * symtab.h (set_main_name): Don't declare.
6107 2014-01-15 Tom Tromey <tromey@redhat.com>
6109 * symtab.c (main_progspace_key): New global.
6110 (struct main_info): New.
6111 (name_of_main, language_of_main): Remove.
6112 (get_main_info, main_info_cleanup): New function.
6113 (set_main_name, main_name, main_language): Use get_main_info.
6114 (_initialize_symtab): Initialize main_progspace_key.
6116 2014-01-15 Tom Tromey <tromey@redhat.com>
6118 * dbxread.c (process_one_symbol): Update.
6119 * dwarf2read.c (read_partial_die): Update.
6120 * symfile.c (set_initial_language): Call main_language.
6121 * symtab.c (language_of_main): Now static.
6122 (set_main_name): Add 'lang' parameter.
6123 (find_main_name): Update.
6124 (main_language): New function.
6125 (symtab_observer_executable_changed): Update.
6126 * symtab.h (set_main_name): Update.
6127 (language_of_main): Remove.
6128 (main_language): Declare.
6130 2014-01-15 Tom Tromey <tromey@redhat.com>
6132 * symfile.c (init_entry_point_info): Use new "initialized" field.
6134 * objfiles.h (struct entry_point) <initialized>: New field.
6135 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6136 (struct objfile) <ei>: ...here. Remove.
6137 * objfiles.c (entry_point_address_query): Update.
6139 2014-01-15 Tom Tromey <tromey@redhat.com>
6141 * objfiles.c (entry_point_address_query): Relocate entry point
6143 (objfile_relocate1): Do not relocate entry point address.
6144 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6145 <the_bfd_section_index>: New field.
6146 * symfile.c (init_entry_point_info): Find the entry point's
6149 2014-01-15 Tom Tromey <tromey@redhat.com>
6151 * solib-frv.c (enable_break): Use entry_point_address_query.
6153 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6155 * NEWS: Add note on improved process record-replay on
6156 arm*-linux* targets.
6158 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6160 * arm-tdep.c (enum arm_record_result): New enum.
6161 (arm_record_unsupported_insn): New function.
6162 (arm_record_coproc_data_proc): Removed.
6163 (thumb2_record_ld_st_multiple): New function.
6164 (thumb2_record_ld_st_dual_ex_tbb): New function.
6165 (thumb2_record_data_proc_sreg_mimm): New function.
6166 (thumb2_record_ps_dest_generic): New function.
6167 (thumb2_record_branch_misc_cntrl): New function.
6168 (thumb2_record_str_single_data): New function.
6169 (thumb2_record_ld_mem_hints): New function.
6170 (thumb2_record_ld_word): New function.
6171 (thumb2_record_lmul_lmla_div): New function.
6172 (thumb2_record_decode_insn_handler): New function.
6173 (decode_insn): Add thumb32 instruction handlers.
6175 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6177 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6178 (struct arm_linux_record_tdep): Declare.
6179 (arm_canonicalize_syscall): New function.
6180 (arm_all_but_pc_registers_record): New function.
6181 (arm_linux_syscall_record): New function.
6182 (arm_linux_init_abi): Add syscall recording constructs.
6183 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6184 decoding. (arm_record_coproc_data_proc): Update arm syscall
6186 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6187 <arm_syscall_record>: New field.
6188 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6191 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6193 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6194 register for push instruction recording.
6196 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6198 * arm-tdep.c (thumb_record_misc): Update to correct logical
6199 error while recording ldm, ldmia and pop instructions.
6201 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6203 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6205 2014-01-15 Pedro Alves <palves@redhat.com>
6207 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6208 (go32_resume, go32_fetch_registers, store_register)
6209 (go32_store_registers, go32_prepare_to_store)
6210 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6211 (go32_create_inferior, go32_can_run, go32_terminal_init)
6212 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6215 2014-01-15 Tom Tromey <tromey@redhat.com>
6217 * target.h (async_callback_ftype): New typedef.
6218 (struct target_ops) <to_async>: Use it.
6220 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6222 * python/py-value.c (get_field_type): Remove unnecessary curly
6223 braces for single-statement if block.
6225 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6227 * python/py-type.c (convert_field): Add missing empty line
6230 2014-01-14 Doug Evans <dje@google.com>
6232 * symfile.h (expand_symtabs_matching): Renamed from
6233 expand_partial_symbol_names. Update prototype.
6234 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6235 * symfile.c (expand_symtabs_matching): Renamed from
6236 expand_partial_symbol_names. New args file_matcher, kind.
6237 Rename arg fun to symbol_matcher.
6238 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6239 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6240 ada_expand_partial_symbol_name.
6241 (ada_make_symbol_completion_list): Update to call
6242 expand_symtabs_matching.
6243 (ada_add_global_exceptions): Call expand_symtabs_matching.
6244 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6245 call map_symbol_filenames.
6246 * symtab.c (sources_info): Update to call map_symbol_filenames.
6247 (search_symbols): Call expand_symtabs_matching.
6248 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6249 (default_make_symbol_completion_list_break_on): Update to call
6250 expand_symtabs_matching.
6251 (make_source_files_completion_list): Update to call
6252 map_symbol_filenames.
6254 2014-01-14 Doug Evans <dje@google.com>
6256 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6257 (expand_symtabs_symbol_matcher_ftype): New typedef.
6258 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6259 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6260 * symfile.c (expand_partial_symbol_names): Update to use
6261 expand_symtabs_symbol_matcher_ftype.
6262 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6263 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6264 Arg name_matcher renamed to symbol_matcher.
6265 * psymtab.c (recursively_search_psymtabs): Update to use
6266 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6268 (expand_symtabs_matching_via_partial): Update to use
6269 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6270 Arg name_matcher renamed to symbol_matcher.
6272 2014-01-14 Doug Evans <dje@google.com>
6274 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6275 (map_partial_symbol_filenames): Ditto.
6276 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6277 (map_partial_symbol_filenames): Ditto.
6278 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6279 (map_partial_symbol_filenames): Ditto.
6280 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6281 (map_partial_symbol_filenames): Ditto.
6282 * symtab.c: Delete #include "psymtab.h".
6284 2014-01-14 Pedro Alves <palves@redhat.com>
6285 Tom Tromey <tromey@redhat.com>
6287 * infrun.c (use_displaced_stepping): Use find_record_target
6288 instead of RECORD_IS_USED.
6289 (adjust_pc_after_break): Use record_full_is_used instead of
6291 * record-btrace.c (record_btrace_open): Call record_preopen
6292 instead of checking RECORD_IS_USED.
6293 * record-full.c (record_full_shortname)
6294 (record_full_core_shortname): New globals.
6295 (record_full_is_used): New function.
6296 (find_full_open): Call record_preopen instead of checking
6298 (init_record_full_ops): Set the target's shortname to
6299 record_full_shortname.
6300 (init_record_full_core_ops): Set the target's shortname to
6301 record_full_core_shortname.
6302 * record-full.h (record_full_is_used): Declare.
6303 * record.c (find_record_target): Make extern.
6304 (record_preopen): New function.
6305 * record.h (RECORD_IS_USED): Delete macro.
6306 (find_record_target, record_preopen): Declare functions.
6308 2014-01-14 Yao Qi <yao@codesourcery.com>
6310 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6311 'len''s type to ULONGEST.
6312 (core_xfer_shared_libraries_aix): Likewise.
6313 * gdbarch.c, gdbarch.h: Regenerated.
6314 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6315 Change type of 'len' to ULONGEST.
6316 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6317 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6319 2014-01-14 Yao Qi <yao@codesourcery.com>
6321 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6322 type of 'len' to ULONGEST.
6323 (linux_xfer_osdata_processgroups): Likewise.
6324 (linux_xfer_osdata_threads): Likewise.
6325 (linux_xfer_osdata_fds): Likewise.
6326 (linux_xfer_osdata_isockets): Likewise.
6327 (linux_xfer_osdata_shm): Likewise.
6328 (linux_xfer_osdata_sem): Likewise.
6329 (linux_xfer_osdata_msg): Likewise.
6330 (linux_common_xfer_osdata): Likewise.
6331 (struct osdata_type) <getter>: Likewise.
6332 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6335 2014-01-14 Yao Qi <yao@codesourcery.com>
6337 * target.h (target_xfer_partial_ftype): Update.
6338 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6340 * aix-thread.c (aix_thread_xfer_partial): Change type of
6341 argument 'len' to ULONGEST.
6342 * auxv.c (procfs_xfer_auxv): Likewise.
6343 (ld_so_xfer_auxv): Likewise.
6344 (memory_xfer_auxv): Likewise.
6345 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6346 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6347 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6348 * corelow.c (core_xfer_partial): Likewise.
6349 * ctf.c (ctf_xfer_partial): Likewise.
6350 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6352 (darwin_read_dyld_info): Likewise.
6353 (darwin_xfer_partial): Likewise.
6354 * exec.c (section_table_xfer_memory_partial): Likewise.
6355 (exec_xfer_partial): Likewise.
6356 * exec.h (section_table_xfer_memory_partial): Update
6358 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6359 instead of plongest.
6360 (gnu_xfer_partial): Likewise.
6361 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6362 (ia64_hpux_xfer_solib_got): Likewise.
6363 (ia64_hpux_xfer_partial): Likewise.
6364 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6365 * inf-ptrace.c (inf_ptrace_xfer_partial):
6366 * inf-ttrace.c (inf_ttrace_xfer_partial):
6367 * linux-nat.c (linux_xfer_siginfo): Likewise.
6368 (linux_nat_xfer_partial): Likewise.
6369 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6370 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6371 * monitor.c (monitor_xfer_memory): Likewise.
6372 (monitor_xfer_partial): Likewise.
6373 * procfs.c (procfs_xfer_partial): Likewise.
6374 * record-full.c (record_full_xfer_partial): Likewise.
6375 (record_full_core_xfer_partial): Likewise.
6376 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6377 instead of plongest.
6378 (gdbsim_xfer_partial): Likewise.
6379 * remote.c (remote_xfer_partial): Likewise.
6380 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6381 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6383 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6384 (rs6000_xfer_shared_libraries): Likewise.
6385 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6386 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6387 (sparc_xfer_partial): Likewise.
6388 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6389 (spu_xfer_partial): Likewise.
6390 * spu-multiarch.c (spu_xfer_partial): Likewise.
6391 * target.c (target_read_live_memory): Likewise.
6392 (memory_xfer_live_readonly_partial): Likewise.
6393 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6394 (target_xfer_partial, default_xfer_partial): Likewise.
6395 (current_xfer_partial): Likewise.
6396 * tracepoint.c (tfile_xfer_partial): Likewise.
6397 * windows-nat.c (windows_xfer_memory): Likewise. Call
6398 pulongest instead of plongest.
6399 (windows_xfer_partial): Likewise.
6400 (windows_xfer_shared_libraries): Likewise.
6402 2014-01-14 Yao Qi <yao@codesourcery.com>
6404 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6405 target_xfer_partial_ftype.
6407 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6411 * valops.c (value_struct_elt_bitpos): New function
6412 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6413 object to 'None' if the field name is an empty string ("").
6414 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6415 attribute to look for a field when 'name' is 'None'.
6416 (get_field_type): New function
6418 2014-01-13 Doug Evans <dje@google.com>
6421 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6422 (try_open_dwop_file): Ditto.
6423 * gdb_bfd.c: #include "vec.h".
6424 (bfdp): New typedef.
6425 (struct gdb_bfd_data): New member included_bfds.
6426 (gdb_bfd_unref): Unref all included bfds.
6427 (gdb_bfd_record_inclusion): New function.
6428 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6430 2014-01-13 Tom Tromey <tromey@redhat.com>
6432 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6434 2014-01-13 Tom Tromey <tromey@redhat.com>
6436 * defs.h (use_windows): Remove.
6437 * gdb.c (main): Update.
6438 * main.c (captured_main, gdb_main): Update.
6439 * main.h (struct captured_main_args) <use_windows>: Remove.
6440 * top.c (use_windows): Remove.
6442 2014-01-13 Tom Tromey <tromey@redhat.com>
6444 * defs.h (deprecated_flush_hook): Remove.
6446 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6449 * linux-thread-db.c (try_thread_db_load): Add parameter
6450 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6451 (try_thread_db_load_from_pdir_1): Move it there from here.
6452 (try_thread_db_load_from_sdir): Update caller.
6453 (try_thread_db_load_from_dir): Move it there from here.
6455 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6457 * regformats/regdat.sh: Always rewrite the register file.
6459 2014-01-13 Pedro Alves <palves@redhat.com>
6461 * Makefile.in (CHECK_HEADERS): New variable.
6462 (check-headers:): New rule.
6464 2014-01-13 Tom Tromey <tromey@redhat.com>
6466 * cli/cli-setshow.c (do_set_command): Update.
6467 * defs.h (deprecated_set_hook): Remove.
6468 * top.c (deprecated_set_hook): Remove.
6470 2014-01-13 Pedro Alves <palves@redhat.com>
6472 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6473 the tracepoint if the PC is a pseudo-register.
6475 2014-01-13 Tom Tromey <tromey@redhat.com>
6477 * defs.h (XCALLOC): Remove.
6478 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6479 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6480 * dwarf2loc.c (allocate_piece_closure): Likewise.
6481 * elfread.c (elf_symfile_segments): Likewise.
6482 (elf_symfile_segments): Likewise.
6483 * gdbtypes.c (copy_type_recursive): Likewise.
6484 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6485 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6486 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6488 * mt-tdep.c (mt_gdbarch_init): Likewise.
6489 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6491 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6492 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6493 * registry.c (registry_alloc_data): Likewise.
6494 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6495 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6496 * serial.c (serial_fdopen_ops): Likewise.
6497 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6499 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6500 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6503 2014-01-13 Tom Tromey <tromey@redhat.com>
6505 * defs.h (XMALLOC): Remove.
6506 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6507 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6508 * cli-out.c (struct ui_out *): Likewise.
6509 * cli/cli-dump.c (add_dump_command): Likewise.
6510 (add_dump_command): Likewise.
6511 * complaints.c (get_complaints): Likewise.
6512 (find_complaint): Likewise.
6513 * dwarf2-frame.c (execute_cfa_program): Likewise.
6514 * dwarf2read.c (abbrev_table_read_table): Likewise.
6515 * gdbarch.sh: Likewise.
6516 * gdbarch.c: Rebuild.
6517 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6518 * interps.c (interp_new): Likewise.
6519 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6520 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6521 * mi/mi-console.c (mi_console_file_new): Likewise.
6522 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6523 * mi/mi-out.c (mi_out_new): Likewise.
6524 * mi/mi-parse.c (mi_parse): Likewise.
6525 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6526 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6527 * observer.c (xalloc_observer_list_node): Likewise.
6528 * regcache.c (regcache_xmalloc_1): Likewise.
6529 * reggroups.c (reggroup_new): Likewise.
6530 (_initialize_reggroup): Likewise.
6531 * registry.c (register_data_with_cleanup): Likewise.
6532 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6533 * ser-base.c (serial_ttystate): Likewise.
6534 * ser-mingw.c (make_pipe_state): Likewise.
6535 * ser-pipe.c (pipe_open): Likewise.
6536 * serial.c (serial_open): Likewise.
6537 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6538 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6539 (tui_alloc_win_info): Likewise.
6540 (tui_add_content_elements): Likewise.
6541 * tui/tui-file.c (tui_file_new): Likewise.
6542 * tui/tui-out.c (tui_out_new): Likewise.
6543 * ui-file.c (mem_file_new): Likewise.
6544 * ui-out.c (push_level): Likewise.
6545 (make_cleanup_ui_out_end): Likewise.
6546 (append_header_to_list): Likewise.
6547 (ui_out_new): Likewise.
6548 * user-regs.c (user_reg_add_builtin): Likewise.
6550 2014-01-13 Tom Tromey <tromey@redhat.com>
6552 * defs.h (XZALLOC): Remove.
6553 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6554 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6555 (get_ada_tasks_inferior_data): Likewise.
6556 * auto-load.c (get_auto_load_pspace_data): Likewise.
6557 * auxv.c (get_auxv_inferior_data): Likewise.
6558 * bfd-target.c (target_bfd_reopen): Likewise.
6559 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6560 (deprecated_insert_raw_breakpoint): Likewise.
6561 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6562 * corelow.c (core_open): Likewise.
6563 * darwin-nat.c (darwin_check_new_threads): Likewise.
6564 (darwin_attach_pid): Likewise.
6565 * dummy-frame.c (dummy_frame_push): Likewise.
6566 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6567 * dwarf2loc.c (allocate_piece_closure): Likewise.
6568 * elfread.c (elf_symfile_segments): Likewise.
6569 * eval.c (ptrmath_type_p): Likewise.
6570 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6571 * gdbtypes.c (alloc_type_arch): Likewise.
6572 (alloc_type_instance): Likewise.
6573 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6574 * inf-child.c (inf_child_can_use_agent): Likewise.
6575 * inflow.c (get_inflow_inferior_data): Likewise.
6576 * infrun.c (save_infcall_suspend_state): Likewise.
6577 * jit.c (jit_reader_load): Likewise.
6578 (get_jit_objfile_data): Likewise.
6579 (get_jit_program_space_data): Likewise.
6580 (jit_object_open_impl): Likewise.
6581 (jit_symtab_open_impl): Likewise.
6582 (jit_block_open_impl): Likewise.
6583 (jit_frame_sniffer): Likewise.
6584 * linux-fork.c (add_fork): Likewise.
6585 * maint.c (make_command_stats_cleanup): Likewise.
6586 * objfiles.c (get_objfile_pspace_data): Likewise.
6587 * opencl-lang.c (struct lval_closure): Likewise.
6588 * osdata.c (osdata_start_osdata): Likewise.
6589 * progspace.c (new_address_space): Likewise.
6590 (add_program_space): Likewise.
6591 * remote-sim.c (get_sim_inferior_data): Likewise.
6592 * sh-tdep.c (sh_gdbarch_init): Likewise.
6593 * skip.c (Ignore): Likewise.
6594 (skip_delete_command): Likewise.
6595 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6596 (library_list_start_library): Likewise.
6597 (solib_aix_current_sos): Likewise.
6598 * solib-darwin.c (get_darwin_info): Likewise.
6599 (darwin_current_sos): Likewise.
6600 * solib-dsbt.c (get_dsbt_info): Likewise.
6601 * solib-ia64-hpux.c (new_so_list): Likewise.
6602 (ia64_hpux_get_solib_linkage_addr): Likewise.
6603 * solib-spu.c (append_ocl_sos): Likewise.
6604 (spu_current_sos): Likewise.
6605 * solib-svr4.c (get_svr4_info): Likewise.
6606 (svr4_keep_data_in_core): Likewise.
6607 (library_list_start_library): Likewise.
6608 (svr4_default_sos): Likewise.
6609 (svr4_read_so_list): Likewise.
6610 * solib-target.c (library_list_start_library): Likewise.
6611 (solib_target_current_sos): Likewise.
6612 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6613 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6614 * symfile.c (default_symfile_segments): Likewise.
6615 * target-descriptions.c (tdesc_data_init): Likewise.
6616 (tdesc_create_reg): Likewise.
6617 (struct tdesc_type *): Likewise.
6618 (tdesc_create_vector): Likewise.
6619 (tdesc_set_struct_size): Likewise.
6620 (struct tdesc_type *): Likewise.
6621 (tdesc_free_feature): Likewise.
6622 (tdesc_create_feature): Likewise.
6623 * windows-nat.c (windows_add_thread): Likewise.
6624 (windows_make_so): Likewise.
6625 * xml-support.c (gdb_xml_body_text): Likewise.
6626 (gdb_xml_create_parser_and_cleanup): Likewise.
6627 (xml_process_xincludes): Likewise.
6628 * xml-syscall.c (allocate_syscalls_info): Likewise.
6629 (syscall_create_syscall_desc): Likewise.
6631 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6633 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6634 function, with code from i386_stap_parse_special_token.
6635 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6636 (i386_stap_parse_special_token): Move code to the two functions
6639 2014-01-09 Pedro Alves <palves@redhat.com>
6640 Hui Zhu <hui@codesourcery.com>
6643 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6644 bp_err_string. Don't mark the location shlib_disabled if the
6645 error thrown wasn't a generic or memory error. Catch errors
6646 thrown while inserting breakpoints in overlayed code. Output
6647 error message of software breakpoints.
6648 * remote.c (remote_insert_breakpoint): If this breakpoint has
6649 target-side commands but this stub doesn't support Z0 packets,
6650 throw NOT_SUPPORTED_ERROR error.
6651 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6652 * target.h (target_insert_breakpoint): Extend comment.
6653 (target_insert_hw_breakpoint): Add comment.
6655 2014-01-08 Pedro Alves <palves@redhat.com>
6657 * remote.c (remote_add_thread): Add threads silently if starting
6659 (remote_notice_new_inferior): If in all-stop, and starting up,
6660 don't call notice_new_inferior.
6661 (get_current_thread): New function, factored out from ...
6662 (add_current_inferior_and_thread): ... this. Adjust.
6663 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6664 found any thread, then select the remote's current thread as GDB's
6667 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6669 * NEWS: Create a new section for the next release branch.
6670 Rename the section of the current branch, now that it has
6673 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6675 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6676 * version.in: Bump version to 7.7.50.DATE-cvs.
6678 2014-01-08 Yao Qi <yao@codesourcery.com>
6680 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6681 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6682 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6684 2014-01-08 Yao Qi <yao@codesourcery.com>
6686 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6687 return value of bfd_get_filename to symbol_file_add_from_bfd.
6689 2014-01-08 Pierre Muller <muller@sourceware.org>
6692 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6693 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6694 to prim_record_mininal_symbol_and_info.
6695 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6696 in call to prim_record_minimal_symbol_and_info.
6697 (read_pe_exported_syms): Set index field of section_data.
6699 2014-01-07 Andrew Pinski <apinski@cavium.com>
6701 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6702 * features/aarch64.c: Regenerate.
6704 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6706 * target.c (return_null): Define.
6707 (update_current_target): Use it instead of return_zero for
6708 functions that return a pointer.
6710 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6712 * source.c (add_path): Fix check for duplicated paths in the previously
6715 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6717 * ada-lang.c: Remove duplicated include statements.
6718 * alphabsd-nat.c: Ditto.
6719 * amd64-darwin-tdep.c: Ditto.
6720 * amd64fbsd-nat.c: Ditto.
6721 * auto-load.c: Ditto.
6723 * breakpoint.c: Ditto.
6725 * fork-child.c: Ditto.
6726 * gdb_usleep.c: Ditto.
6727 * i386-darwin-tdep.c: Ditto.
6728 * i386fbsd-nat.c: Ditto.
6730 * inferior.c: Ditto.
6732 * linux-nat.c: Ditto.
6733 * linux-tdep.c: Ditto.
6734 * m68kbsd-nat.c: Ditto.
6735 * m68klinux-nat.c: Ditto.
6736 * microblaze-tdep.c: Ditto.
6737 * mips-linux-tdep.c: Ditto.
6738 * mn10300-tdep.c: Ditto.
6739 * nto-tdep.c: Ditto.
6740 * opencl-lang.c: Ditto.
6742 * printcmd.c: Ditto.
6743 * regcache.c: Ditto.
6744 * remote-m32r-sdi.c: Ditto.
6748 * tilegx-linux-nat.c: Ditto.
6749 * tilegx-tdep.c: Ditto.
6750 * tracepoint.c: Ditto.
6752 * vaxbsd-nat.c: Ditto.
6753 * windows-nat.c: Ditto.
6754 * xtensa-tdep.c: Ditto.
6756 2014-01-07 Yao Qi <yao@codesourcery.com>
6758 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6760 2014-01-07 Yao Qi <yao@codesourcery.com>
6761 Joel Brobecker <brobecker@adacore.com>
6763 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6764 (pdc_write_regs): Likewise.
6765 (fetch_regs_kernel_thread): Likewise.
6766 (store_regs_kernel_thread): Likewise.
6768 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6770 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6771 tagged type objects to their actual type.
6773 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6775 * ada-valprint.c (print_field_values): Add "language" parameter.
6776 Update calls to print_field_values and print_variant_part.
6777 Pass new parameter "language" in call to val_print instead
6778 of "current_language". Replace call to ada_val_print by call
6780 (print_variant_part): Add "language" parameter.
6781 (ada_val_print_struct_union): Update call to print_field_values.
6783 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6785 * ada-valprint.c (ui_memcpy): Delete.
6786 (ada_print_floating): Update documentation. Add empty line
6787 between between function documentation and implementation.
6788 Delete variable "buffer". Use ui_file_xstrdup in place of
6789 ui_file_put. Minor adjustments following this change.
6791 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6793 * ada-valprint.c (ada_val_print_string): New function,
6794 extracted from ada_val_print_array.
6795 (ada_val_print_array): Replace extracted code by call
6796 to ada_val_print_string followed by a return. Move
6797 "else" branch to the function's top block.
6799 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6801 * ada-valprint.c (ada_val_print_array): Move implementation
6802 down. Rename parameter "offset" and "val" into "offset_aligned"
6803 and "original_value" respectively. Add parameter "offset".
6805 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6807 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6808 re-organizing the code. Change the "???" message printed
6809 when target type is a TYPE_CODE_UNDEF into
6810 "<ref to undefined type>".
6812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6814 * ada-valprint.c (print_record): Delete, implementation inlined...
6815 (ada_val_print_struct_union): ... here. Remove call to
6816 ada_check_typedef in inlined implementation.
6818 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6820 * ada-valprint.c (ada_val_print_gnat_array): New function,
6821 extracted from ada_val_print_1;
6822 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6823 (ada_val_print_flt, ada_val_print_struct_union)
6824 (ada_val_print_ref): Likewise.
6825 (ada_val_print_1): Delete variables i and elttype.
6826 Replace extracted-out code by call to corresponding
6829 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6831 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6833 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6835 * ada-valprint.c (ada_val_print_1): Replace calls to
6836 ada_val_print_1 by calls to val_print.
6838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6840 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6841 Update calls to self accordingly. Replace calls to c_val_print
6842 by calls to val_print.
6844 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6846 * ada-valprint.c (print_record): Delete declaration.
6847 (adjust_type_signedness, ada_val_print_1): Likewise.
6848 (ada_val_print): Move function implementation down.
6849 (print_variant_part, print_field_values, print_record):
6850 Move function implementation up.
6852 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6854 * python/py-type.c (typy_get_name): New function.
6855 (type_object_getset): Add entry for attribute "name".
6856 * NEWS: Add entry mentioning this new attribute.
6858 2014-01-07 Yao Qi <yao@codesourcery.com>
6860 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6863 2014-01-07 Yao Qi <yao@codesourcery.com>
6865 * gnu-nat.c (info_port_rights): Add qualifier const to
6868 2014-01-07 Yao Qi <yao@codesourcery.com>
6870 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6872 2014-01-07 Yao Qi <yao@codesourcery.com>
6874 * gnu-nat.c (make_inf) Update declaration.
6875 (make_inf): Make it static.
6876 (inf_set_traced): Likewise.
6877 (inf_port_to_thread, inf_task_died_status): Likewise.
6879 2014-01-07 Yao Qi <yao@codesourcery.com>
6881 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6883 2014-01-07 Yao Qi <yao@codesourcery.com>
6885 * gnu-nat.c (_initialize_gnu_nat): Declare.
6887 2014-01-07 Yao Qi <yao@codesourcery.com>
6889 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6891 (struct gdbarch_info) <byte_order>: Change type to
6893 <byte_order_for_code>: Likewise.
6894 * gdbarch.c, gdbarch.h: Regenerated.
6896 2014-01-06 Sasha Smundak <asmundak@google.com>
6898 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6900 2014-01-06 Tom Tromey <tromey@redhat.com>
6902 * doublest.c (convert_doublest_to_floatformat): Use const, not
6904 * somread.c (som_symtab_read): Likewise.
6906 2014-01-07 Hui Zhu <hui@codesourcery.com>
6908 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6909 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6910 (gdb_bfd_fopen): Ditto.
6911 (gdb_bfd_openr): Ditto.
6912 (gdb_bfd_openw): Ditto.
6913 (gdb_bfd_openr_iovec): Ditto.
6914 (gdb_bfd_fdopenr): Ditto.
6915 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6916 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6918 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6920 * symfile-mem.c (symbol_file_add_from_memory): Removed
6921 gdb_bfd_stash_filename.
6923 2014-01-03 Doug Evans <dje@google.com>
6925 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6928 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6930 Update year range in copyright notice of all files.
6932 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6934 * top.c (print_gdb_version): Set copyright year to 2014.
6936 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6938 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6940 For older changes see ChangeLog-2013.
6946 version-control: never