1 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4 value and retrieve the dynamic type size.
6 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
9 passed to sizeof is dynamic evaluate the argument to compute the length.
11 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12 Joel Brobecker <brobecker@adacore.com>
14 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
15 (dwarf2_evaluate_property): New function.
16 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
17 * dwarf2read.c (attr_to_dynamic_prop): New function.
18 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
20 * gdbtypes.c: Include dwarf2loc.h.
21 (is_dynamic_type): New function.
22 (resolve_dynamic_type): New function.
23 (resolve_dynamic_bounds): New function.
24 (get_type_length): New function.
25 (check_typedef): Use get_type_length to compute type length.
26 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
27 (TYPE_LOW_BOUND_KIND): New macro.
28 (is_dynamic_type): New function prototype.
29 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
30 to resolve dynamic properties of the type. Update comment.
31 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
33 2014-04-14 Richard Henderson <rth@redhat.com>
35 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
37 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
38 Doug Evans <xdje42@gmail.com>
40 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
41 dereference TYPE_CODE_REF values.
43 2014-04-11 Joel Brobecker <brobecker@adacore.com>
45 Revert the following changes due to regressions:
47 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
48 (dwarf2_evaluate_property): New function.
49 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
50 * dwarf2read.c (attr_to_dynamic_prop): New function.
51 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
53 * gdbtypes.c: Include dwarf2loc.h.
54 (is_dynamic_type): New function.
55 (resolve_dynamic_type): New function.
56 (resolve_dynamic_bounds): New function.
57 (get_type_length): New function.
58 (check_typedef): Use get_type_length to compute type length.
59 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
60 (TYPE_LOW_BOUND_KIND): New macro.
61 (is_dynamic_type): New function prototype.
62 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
63 to resolve dynamic properties of the type. Update comment.
64 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
66 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
67 passed to sizeof is dynamic evaluate the argument to compute the length.
69 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
70 value and retrieve the dynamic type size.
72 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
73 (ada_template_to_fixed_record_type_1): Likewise.
74 (ada_to_fixed_type_1): Likewise.
75 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
76 (cp_print_value): Likewise.
77 * d-valprint.c (dynamic_array_type): Likewise.
78 * eval.c (evaluate_subexp_with_coercion): Likewise.
79 * findvar.c (address_of_variable): Likewise.
80 * jv-valprint.c (java_value_print): Likewise.
81 * valops.c (value_ind): Likewise.
82 * value.c (coerce_ref): Likewise.
84 * c-typeprint.c (c_type_print_varspec_suffix): Added
85 check for not yet resolved high bound. If unresolved, print
86 "variable length" string to the console instead of random
89 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
90 property and store it as the high bound and flag the range accordingly.
91 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
92 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
93 * gdbtypes.h (enum range_flags): New enum.
94 (struct range_bounds): Add flags member.
96 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
97 points to a constant blob.
99 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
100 (evaluate_subexp_standard): Pass noside argument.
101 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
102 if noside equals EVAL_NORMAL. If the subscript yields a vla type
103 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
104 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
105 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
107 2014-04-11 Keith Seitz <keiths@redhat.com>
110 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
111 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
116 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
117 (evaluate_subexp_standard): Pass noside argument.
118 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
119 if noside equals EVAL_NORMAL. If the subscript yields a vla type
120 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
121 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
122 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
124 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
126 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
127 points to a constant blob.
129 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
131 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
132 property and store it as the high bound and flag the range accordingly.
133 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
134 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
135 * gdbtypes.h (enum range_flags): New enum.
136 (struct range_bounds): Add flags member.
138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
140 * c-typeprint.c (c_type_print_varspec_suffix): Added
141 check for not yet resolved high bound. If unresolved, print
142 "variable length" string to the console instead of random
145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
147 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
148 (ada_template_to_fixed_record_type_1): Likewise.
149 (ada_to_fixed_type_1): Likewise.
150 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
151 (cp_print_value): Likewise.
152 * d-valprint.c (dynamic_array_type): Likewise.
153 * eval.c (evaluate_subexp_with_coercion): Likewise.
154 * findvar.c (address_of_variable): Likewise.
155 * jv-valprint.c (java_value_print): Likewise.
156 * valops.c (value_ind): Likewise.
157 * value.c (coerce_ref): Likewise.
159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
161 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
162 value and retrieve the dynamic type size.
164 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
166 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
167 passed to sizeof is dynamic evaluate the argument to compute the length.
169 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
171 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
172 (dwarf2_evaluate_property): New function.
173 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
174 * dwarf2read.c (attr_to_dynamic_prop): New function.
175 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
177 * gdbtypes.c: Include dwarf2loc.h.
178 (is_dynamic_type): New function.
179 (resolve_dynamic_type): New function.
180 (resolve_dynamic_bounds): New function.
181 (get_type_length): New function.
182 (check_typedef): Use get_type_length to compute type length.
183 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
184 (TYPE_LOW_BOUND_KIND): New macro.
185 (is_dynamic_type): New function prototype.
186 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
187 to resolve dynamic properties of the type. Update comment.
188 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
190 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
192 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
193 declaring high/low bounds and change uses accordingly. Call
194 create_range_type instead of create_static_range_type.
195 * gdbtypes.c (create_range_type): New function.
196 (create_range_type): Convert bounds into struct bound_prop and pass
197 them to create_range_type.
198 * gdbtypes.h (struct bound_prop): New struct.
199 (create_range_type): New function prototype.
200 (struct range_bounds): Use struct bound_prop instead of LONGEST for
201 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
202 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
204 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
206 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
208 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
209 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
210 * ada-lang.c: All uses of create_range_type updated.
211 * coffread.c: All uses of create_range_type updated.
212 * dwarf2read.c: All uses of create_range_type updated.
213 * f-exp.y: All uses of create_range_type updated.
214 * m2-valprint.c: All uses of create_range_type updated.
215 * mdebugread.c: All uses of create_range_type updated.
216 * stabsread.c: All uses of create_range_type updated.
217 * valops.c: All uses of create_range_type updated.
218 * valprint.c: All uses of create_range_type updated.
220 2014-04-10 Pedro Alves <palves@redhat.com>
222 * breakpoint.c (single_step_breakpoints)
223 (single_step_gdbarch): Move up in the file.
224 (one_breakpoint_xfer_memory): New function, factored out from ...
225 (breakpoint_xfer_memory): ... here. Also process single-step
228 2014-04-09 Tristan Gingold <gingold@adacore.com>
230 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
232 (darwin_decode_exception_message): Free port only after use.
234 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
236 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
237 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
238 when setting the size of call_length.
240 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
242 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
243 dereference TYPE_CODE_REF values.
245 2014-04-07 Joel Brobecker <brobecker@adacore.com>
247 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
248 end of warning message.
250 2014-04-03 Doug Evans <dje@google.com>
252 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
253 of stub_comp_unit_die, stub_comp_dir is non-NULL.
255 2014-04-02 Alan Modra <amodra@gmail.com>
257 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
258 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
259 (struct symbol_file_add_from_memory_args): Add size field.
260 (find_vdso_size): New function.
261 (add_vsyscall_page): Attempt to find vdso size.
263 2014-04-01 Doug Evans <dje@google.com>
265 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
267 2014-04-01 Tristan Gingold <gingold@adacore.com>
269 * darwin-nat.c (darwin_encode_reply): Add prototype.
270 (darwin_decode_exception_message): Reply to unknown inferiors.
271 (darwin_decode_message): Handle message by id. Ignore message
273 (darwin_wait): Discard unknown messages, add debug trace.
275 2014-03-31 Doug Evans <dje@google.com>
277 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
280 2014-03-31 Doug Evans <dje@google.com>
282 New option "set print symbol-loading".
284 * solib.c (solib_read_symbols): Only print symbol loading messages
286 (solib_add): If symbol loading is in "brief" mode, notify user
287 symbols are being loaded.
288 (reload_shared_libraries_1): Ditto.
289 * symfile.c (print_symbol_loading_off): New static global.
290 (print_symbol_loading_brief): New static global.
291 (print_symbol_loading_full): New static global.
292 (print_symbol_loading_enums): New static global.
293 (print_symbol_loading): New static global.
294 (print_symbol_loading_p): New function.
295 (symbol_file_add_with_addrs): Only print symbol loading messages
297 (_initialize_symfile): Register "print symbol-loading" set/show
299 * symfile.h (print_symbol_loading_p): Declare.
301 2014-03-30 Doug Evans <xdje42@gmail.com>
303 * infrun.c (set_last_target_status): New function.
304 (handle_inferior_event): Call it.
306 2014-03-30 Doug Evans <xdje42@gmail.com>
308 * inferior.h (enum stop_kind): Improve comment.
310 2014-03-28 Joel Brobecker <brobecker@adacore.com>
312 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
313 a reference, strip the reference layer before calling
314 the lang_ops value_has_mutated callback.
316 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
318 Remove some globals from our parser.
319 * language.c (unk_lang_parser): Add "struct parser_state"
321 * language.h (struct language_defn) <la_parser>: Likewise.
322 * parse.c (expout, expout_size, expout_ptr): Remove variables.
323 (initialize_expout): Add "struct parser_state" argument.
324 Rewrite function to use the parser state.
325 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
326 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
327 write_exp_elt_longcst, write_exp_elt_dblcst,
328 write_exp_elt_decfloatcst, write_exp_elt_type,
329 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
330 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
331 write_dollar_variable): Likewise.
332 (parse_exp_in_context_1): Use parser state.
333 (insert_type_address_space): Add "struct parser_state" argument.
335 (increase_expout_size): New function.
336 * parser-defs.h: Forward declare "struct language_defn" and
337 "struct parser_state".
338 (expout, expout_size, expout_ptr): Remove extern declarations.
339 (parse_gdbarch, parse_language): Rewrite macro declarations to
340 accept the parser state.
341 (struct parser_state): New struct.
342 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
343 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
344 write_exp_elt_decfloatcst, write_exp_elt_type,
345 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
346 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
347 write_exp_msymbol, write_dollar_variable,
348 mark_struct_expression, insert_type_address_space): Add "struct
349 parser_state" argument.
350 (increase_expout_size): New function.
351 * utils.c (do_clear_parser_state): New function.
352 (make_cleanup_clear_parser_state): Likewise.
353 * utils.h (make_cleanup_clear_parser_state): New function
355 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
356 Update calls to write_exp* in order to pass the parser state.
357 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
358 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
359 (i386_stap_parse_special_token_three_arg_disp): Likewise.
360 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
361 * stap-probe.c (stap_parse_register_operand): Likewise.
362 (stap_parse_single_operand): Likewise.
363 (stap_parse_argument_1): Likewise.
364 (stap_parse_argument): Use parser state.
365 * stap-probe.h: Include "parser-defs.h".
366 (struct stap_parse_info) <pstate>: New field.
367 * c-exp.y (parse_type): Rewrite to use parser state.
368 (yyparse): Redefine to c_parse_internal.
369 (pstate): New global variable.
370 (parse_number): Add "struct parser_state" argument.
371 (write_destructor_name): Likewise.
372 (type_exp): Update calls to write_exp* and similars in order to
374 (exp1, exp, variable, qualified_name, space_identifier,
375 typename, typebase): Likewise.
376 (write_destructor_name, parse_number, lex_one_token,
377 classify_name, classify_inner_name, c_parse): Add "struct
378 parser_state" argument. Update function to use parser state.
379 * c-lang.h: Forward declare "struct parser_state".
380 (c_parse): Add "struct parser_state" argument.
381 * ada-exp.y (parse_type): Rewrite macro to use parser state.
382 (yyparse): Redefine macro to ada_parse_internal.
383 (pstate): New variable.
384 (write_int, write_object_renaming, write_var_or_type,
385 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
386 type_int, type_long, type_long_long, type_float, type_double,
387 type_long_double, type_char, type_boolean, type_system_address):
388 Add "struct parser_state" argument.
389 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
390 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
391 var_or_type, aggregate, aggregate_component_list,
392 positional_list, others, component_group,
393 component_associations): Update calls to write_exp* and similar
394 functions in order to use parser state.
395 (ada_parse, write_var_from_sym, write_int,
396 write_exp_op_with_string, write_object_renaming,
397 find_primitive_type, write_selectors, write_ambiguous_var,
398 write_var_or_type, write_name_assoc, type_int, type_long,
399 type_long_long, type_float, type_double, type_long_double,
400 type_char, type_boolean, type_system_address): Add "struct
401 parser_state" argument. Adjust function to use parser state.
402 * ada-lang.c (parse): Likewise.
403 * ada-lang.h: Forward declare "struct parser_state".
404 (ada_parse): Add "struct parser_state" argument.
405 * ada-lex.l (processInt, processReal): Likewise. Adjust all
406 calls to both functions.
407 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
409 (yyparse): Redefine macro to f_parse_internal.
410 (pstate): New variable.
411 (parse_number): Add "struct parser_state" argument.
412 (type_exp, exp, subrange, typebase): Update calls to write_exp*
413 and similars in order to use parser state.
414 (parse_number): Adjust code to use parser state.
416 (f_parse): New function.
417 * f-lang.h: Forward declare "struct parser_state".
418 (f_parse): Add "struct parser_state" argument.
419 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
421 (yyparse): Redefine macro for java_parse_internal.
422 (pstate): New variable.
423 (push_expression_name, push_expression_name, insert_exp): Add
424 "struct parser_state" argument.
425 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
426 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
427 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
428 PostIncrementExpression, PostDecrementExpression,
429 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
430 UnaryExpressionNotPlusMinus, CastExpression,
431 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
432 RelationalExpression, EqualityExpression, AndExpression,
433 ExclusiveOrExpression, InclusiveOrExpression,
434 ConditionalAndExpression, ConditionalOrExpression,
435 ConditionalExpression, Assignment, LeftHandSide): Update
436 calls to write_exp* and similars in order to use parser state.
437 (parse_number): Ajust code to use parser state.
439 (java_parse): New function.
440 (push_variable): Add "struct parser_state" argument. Adjust
441 code to user parser state.
442 (push_fieldnames, push_qualified_expression_name,
443 push_expression_name, insert_exp): Likewise.
444 * jv-lang.h: Forward declare "struct parser_state".
445 (java_parse): Add "struct parser_state" argument.
446 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
448 (yyparse): Redefine macro to m2_parse_internal.
449 (pstate): New variable.
450 (type_exp, exp, fblock, variable, type): Update calls to
451 write_exp* and similars to use parser state.
453 (m2_parse): New function.
454 * m2-lang.h: Forward declare "struct parser_state".
455 (m2_parse): Add "struct parser_state" argument.
456 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
457 * objc-lang.h: Forward declare "struct parser_state".
458 (end_msglist): Add "struct parser_state" argument.
459 * p-exp.y (parse_type): Rewrite macro to use parser state.
460 (yyparse): Redefine macro to pascal_parse_internal.
461 (pstate): New variable.
462 (parse_number): Add "struct parser_state" argument.
463 (type_exp, exp1, exp, qualified_name, variable): Update calls to
464 write_exp* and similars in order to use parser state.
465 (parse_number, yylex): Adjust code to use parser state.
466 (pascal_parse): New function.
467 * p-lang.h: Forward declare "struct parser_state".
468 (pascal_parse): Add "struct parser_state" argument.
469 * go-exp.y (parse_type): Rewrite macro to use parser state.
470 (yyparse): Redefine macro to go_parse_internal.
471 (pstate): New variable.
472 (parse_number): Add "struct parser_state" argument.
473 (type_exp, exp1, exp, variable, type): Update calls to
474 write_exp* and similars in order to use parser state.
475 (parse_number, lex_one_token, classify_name, yylex): Adjust code
477 (go_parse): Likewise.
478 * go-lang.h: Forward declare "struct parser_state".
479 (go_parse): Add "struct parser_state" argument.
481 2014-03-27 Doug Evans <dje@google.com>
483 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
485 2014-03-27 Doug Evans <dje@google.com>
487 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
488 Remove argument abbrev_section. All callers updated.
490 2014-03-27 Doug Evans <dje@google.com>
492 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
493 addr_base, ranges_base.
495 2014-03-26 Keith Seitz <keiths@redhat.com>
497 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
498 types, not VAR_DOMAIN.
500 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
502 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
504 * features/nios2-linux.c: Regenerated.
505 * features/nios2.c: Regenerated.
507 2014-03-25 Pedro Alves <palves@redhat.com>
509 * cli/cli-script.c (script_from_file): Force the interpreter to
512 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
514 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
515 small stack allocation.
517 2014-03-24 Tristan Gingold <gingold@adacore.com>
519 * darwin-nat.c (exc_server): Remove unused prototype.
520 (darwin_dump_message): Correctly display data on x86_64.
521 (darwin_encode_reply): Fix style.
522 Add comments and fix indentation.
524 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
526 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
528 2014-03-22 Doug Evans <xdje42@gmail.com>
530 * infcmd.c: Whitespace fixes.
531 (interrupt_command): Merge two function comments into one.
533 2014-03-22 Doug Evans <xdje42@gmail.com>
535 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
538 2014-03-22 Yao Qi <yao@codesourcery.com>
540 * remote.c (target_read_live_memory): Remove.
541 (memory_xfer_live_readonly_partial): Rename it to
542 remote_xfer_live_readonly_partial. Remove argument 'object'.
543 All callers updated. Call remote_read_bytes_1
544 instead of target_read_live_memory.
545 * tracepoint.c (set_traceframe_number): Remove.
546 (make_cleanup_restore_traceframe_number): Likewise .
547 * tracepoint.h (set_traceframe_number): Remove declaration.
548 (make_cleanup_restore_traceframe_number): Likewise.
550 2014-03-22 Yao Qi <yao@codesourcery.com>
552 * remote.c (remote_read_bytes): Move code on reading from the
554 (remote_read_bytes_1): ... here. New function.
556 2014-03-22 Yao Qi <yao@codesourcery.com>
558 * ctf.c (ctf_xfer_partial): Check the return value of
559 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
560 return TARGET_XFER_UNAVAILABLE.
561 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
562 * target.c (target_read_live_memory): Move it to remote.c.
563 (memory_xfer_live_readonly_partial): Likewise.
564 (memory_xfer_partial_1): Move some code to remote_read_bytes.
565 * remote.c (target_read_live_memory): Moved from target.c.
566 (memory_xfer_live_readonly_partial): Likewise.
567 (remote_read_bytes): Factored out from
568 memory_xfer_partial_1.
570 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
572 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
575 2014-03-21 Pedro Alves <palves@redhat.com>
577 * infrun.c (normal_stop): Extend comment.
579 2014-03-21 Hui Zhu <hui@codesourcery.com>
580 Pedro Alves <palves@redhat.com>
582 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
584 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
585 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
586 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
588 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
590 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
591 `z' formatted output modifier.
593 2014-03-20 Tom Tromey <tromey@redhat.com>
594 Sergio Durigan Junior <sergiodj@redhat.com>
596 * probe.c (parse_probes): Turn assert into an ordinary error.
597 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
598 exceptions when parsing probes. Rearrange the code for clarity.
600 2014-03-20 Tom Tromey <tromey@redhat.com>
603 * top.c (execute_command): Only dispatch events if the command
606 2014-03-20 Tom Tromey <tromey@redhat.com>
609 * infcall.c: Include event-top.h.
610 (run_inferior_call): Call async_disable_stdin if needed.
612 2014-03-20 Pedro Alves <palves@redhat.com>
614 * infrun.c (prepare_to_proceed): Delete.
615 (thread_still_needs_step_over): New function.
616 (find_thread_needs_step_over): New function.
617 (proceed): If the current thread needs a step-over, set its
618 steping_over_breakpoint flag. Adjust to use
619 find_thread_needs_step_over instead of prepare_to_proceed.
620 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
621 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
623 (switch_back_to_stepped_thread): Step over breakpoints of all
624 threads not the stepping thread, before switching back to the
627 2014-03-20 Pedro Alves <palves@redhat.com>
629 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
631 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
632 * infrun.c (saved_singlestep_ptid)
633 (stepping_past_singlestep_breakpoint): Delete.
634 (resume): Remove stepping_past_singlestep_breakpoint handling.
635 (proceed): Store the prev_pc of the stepping thread too.
636 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
638 (enum infwait_states): Delete infwait_thread_hop_state.
639 (struct execution_control_state) <hit_singlestep_breakpoint>: New
641 (handle_inferior_event): Adjust.
642 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
643 handling and the thread-hop code. Before removing single-step
644 breakpoints, check whether the thread hit a single-step breakpoint
645 of another thread. If it did, the trap is not a random signal.
646 (switch_back_to_stepped_thread): If the event thread hit a
647 single-step breakpoint, unblock it before switching to the
648 stepping thread. Handle the case of the stepped thread having
650 (keep_going): Handle the case of the current thread moving past a
651 single-step breakpoint.
653 2014-03-20 Pedro Alves <palves@redhat.com>
656 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
657 are being stepped over.
658 (breakpoint_address_match): Make extern.
659 * breakpoint.h (breakpoint_address_match): New declaration.
660 * inferior.h (stepping_past_instruction_at): New declaration.
661 * infrun.c (struct step_over_info): New type.
662 (step_over_info): New global.
663 (set_step_over_info, clear_step_over_info)
664 (stepping_past_instruction_at): New functions.
665 (handle_inferior_event): Clear the step-over info when
666 trap_expected is cleared.
667 (resume): Remove now stale comment.
668 (clear_proceed_status): Clear step-over info.
669 (proceed): Adjust step-over handling to set or clear the step-over
670 info instead of removing all breakpoints.
671 (handle_signal_stop): When setting up a thread-hop, don't remove
673 (stop_stepping): Clear step-over info.
674 (keep_going): Adjust step-over handling to set or clear step-over
675 info and then always inserting breakpoints, instead of removing
676 all breakpoints when stepping over one.
678 2014-03-20 Pedro Alves <palves@redhat.com>
680 * infrun.c (previous_inferior_ptid): Adjust comment.
681 (deferred_step_ptid): Delete.
682 (infrun_thread_ptid_changed, prepare_to_proceed)
683 (init_wait_for_inferior): Adjust.
684 (handle_signal_stop): Delete deferred_step_ptid handling.
686 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
689 * defs.h (sync_quit_force_run): New declaration.
690 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
691 * event-top.c (async_sigterm_handler): New declaration.
692 (async_sigterm_token): New variable.
693 (async_init_signals): Create also async_sigterm_token.
694 (async_sigterm_handler): New function.
695 (sync_quit_force_run): New variable.
696 (handle_sigterm): Replace quit_force call by other calls.
697 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
699 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
701 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
702 offset into SPE pseudo registers.
704 2014-03-18 Pedro Alves <palves@redhat.com>
707 * inferior.h (print_stop_event): Declare.
708 * infrun.c (print_stop_event): New, factored out from ...
709 (normal_stop): ... this.
710 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
711 of bpstat_print/print_stack_frame.
713 2014-03-17 Tom Tromey <tromey@redhat.com>
715 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
717 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
719 * ada-lang.c (decode_constrained_packed_array): Perform a
720 minimal coercion for reference with coerce_ref instead of
723 2014-03-17 Tristan Gingold <gingold@adacore.com>
725 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
726 (darwin_solib_create_inferior_hook): Emit a warning if version
729 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
731 * python/py-value.c (get_field_flag): Cast flag_name argument to
732 PyObject_GetAttrString to support Python 2.4.
734 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
736 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
737 (Global Maintainers): Remove Jan Kratochvil.
739 2014-03-14 Pedro Alves <palves@redhat.com>
741 * inferior.h (terminal_ours_for_output): Rename to ...
742 (child_terminal_ours_for_output): ... this.
743 (terminal_save_ours): Rename to ...
744 (child_terminal_save_ours): ... this.
745 (terminal_ours): Rename to ...
746 (child_terminal_ours): ... this.
747 (terminal_inferior): Rename to ...
748 (child_terminal_inferior): ... this.
749 (terminal_init_inferior): Rename to ...
750 (child_terminal_init_inferior): ... this.
751 (terminal_init_inferior_with_pgrp): Rename to ...
752 (child_terminal_init_inferior_with_pgrp): ... this.
753 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
754 (child_terminal_init_with_pgrp): ... this.
755 (terminal_save_ours): Rename to ...
756 (child_terminal_save_ours): ... this.
757 (terminal_init_inferior): Rename to ...
758 (child_terminal_init): ... this. Adjust.
759 (terminal_inferior): Rename to ...
760 (child_terminal_inferior): ... this.
761 (terminal_ours_for_output): Rename to ...
762 (child_terminal_ours_for_output): ... this. Adjust.
763 (terminal_ours): Rename to ...
764 (child_terminal_ours): ... this.
765 (terminal_ours_1): Rename to ...
766 (child_terminal_ours_1): ... this. Adjust.
767 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
768 * windows-nat.c (do_initial_windows_stuff): Adjust.
769 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
770 (gnu_terminal_init): ... this. Adjust.
771 (gnu_target): Adjust.
772 * inf-child.c (inf_child_target): Adjust.
774 2014-03-13 Doug Evans <xdje42@gmail.com>
777 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
780 2014-03-13 Doug Evans <xdje42@gmail.com>
782 * value.c (record_latest_value): Call release_value_or_incref
783 instead of release_value.
785 2014-03-13 Pedro Alves <palves@redhat.com>
787 * procfs.c (procfs_target): Don't override to_shortname,
788 to_longname or to_doc.
790 2014-03-13 Pedro Alves <palves@redhat.com>
792 * inf-child.c (inf_child_open, inf_child_target): Don't mention
793 Unix in user visible strings.
795 2014-03-12 Stan Shebs <stan@codesourcery.com>
797 * gdbtypes.h: Annotate comments for Doxygen, add a page
798 block comment with some general info.
800 2014-03-12 Pedro Alves <palves@redhat.com>
802 * infcmd.c (prepare_execution_command): New function, factored out
803 from several execution commands.
804 (run_command_1, continue_command, step_1, jump_command)
805 (signal_command, until_command, advance_command, finish_command)
806 (attach_command): Use prepare_execution_command.
808 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
810 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
813 (struct arm_linux_thread_points): Removed.
814 (struct arm_linux_process_info): New.
815 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
816 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
817 (arm_linux_find_breakpoints_by_tid): Removed.
818 (struct arch_lwp_info): New.
819 (arm_linux_find_process_pid): New functions.
820 (arm_linux_add_process): New functions.
821 (arm_linux_process_info_get): New functions.
822 (arm_linux_forget_process): New function.
823 (arm_linux_get_debug_reg_state): New function.
824 (struct update_registers_data): New.
825 (update_registers_callback): New function.
826 (arm_linux_insert_hw_breakpoint1): Updated.
827 (arm_linux_remove_hw_breakpoint1): Updated.
828 (arm_linux_insert_hw_breakpoint): Updated.
829 (arm_linux_remove_hw_breakpoint): Updated.
830 (arm_linux_insert_watchpoint): Updated.
831 (arm_linux_remove_watchpoint): Updated.
832 (arm_linux_new_thread): Updated.
833 (arm_linux_prepare_to_resume): New function.
834 (arm_linux_new_fork): New function.
835 (_initialize_arm_linux_nat): Updated.
837 2014-03-12 Pedro Alves <palves@redhat.com>
839 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
841 2014-03-12 Tom Tromey <tromey@redhat.com>
843 * inf-child.c (return_zero): New function.
844 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
845 * aix-thread.c (aix_thread_inferior_created): New function.
846 (aix_thread_attach): Remove.
847 (init_aix_thread_ops): Don't set to_attach.
848 (_initialize_aix_thread): Register inferior_created observer.
849 * corelow.c (init_core_ops): Don't set to_attach or
851 * exec.c (init_exec_ops): Don't set to_attach or
853 * infcmd.c (run_command_1): Use find_run_target. Make direct
855 (attach_command): Use find_attach_target. Make direct target
857 * record-btrace.c (init_record_btrace_ops): Don't set
859 * record-full.c (record_full_can_async_p, record_full_is_async_p):
861 (init_record_full_ops, init_record_full_core_ops): Update. Don't
862 set to_create_inferior.
863 * target.c (complete_target_initialization): Add assertion.
864 (target_create_inferior): Remove.
865 (find_default_attach, find_default_create_inferior): Remove.
866 (find_attach_target, find_run_target): New functions.
867 (find_default_is_async_p, find_default_can_async_p)
868 (target_supports_non_stop, target_attach): Remove.
869 (init_dummy_target): Don't set to_create_inferior or
870 to_supports_non_stop.
871 * target.h (struct target_ops) <to_attach>: Add comment. Remove
873 <to_create_inferior>: Add comment.
874 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
875 TARGET_DEFAULT_RETURN.
876 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
877 (find_attach_target, find_run_target): Declare.
878 (target_create_inferior): Remove.
879 (target_has_execution_1): Update comment.
880 (target_supports_non_stop): Remove.
881 * target-delegates.c: Rebuild.
883 2014-03-12 Pedro Alves <palves@redhat.com>
885 * inf-child.h: Update comment to not mention Unix.
887 2014-03-12 Pedro Alves <palves@redhat.com>
889 * inf-child.c: Update top comment to not mention Unix. Add
890 generic comment describing how this target is meant to be used.
891 (inf_child_post_attach, inf_child_post_startup_inferior)
892 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
895 2014-03-12 Pedro Alves <palves@redhat.com>
897 * nto-procfs.c: Include inf-child.h.
898 (procfs_ops): Delete global.
899 (procfs_can_run): Delete method.
900 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
901 target pointer instead of referencing procfs_ops.
902 (procfs_prepare_to_store): Delete.
903 (init_procfs_ops): Delete function.
904 (procfs_target): New function, based on init_procfs_ops, but
905 inherit inf_child_target.
906 (_initialize_procfs): Use procfs_target.
908 2014-03-12 Pedro Alves <palves@redhat.com>
910 * windows-nat.c: Include inf-child.h.
911 (windows_ops): Delete global.
912 (windows_open, windows_prepare_to_store, windows_can_run): Delete
914 (init_windows_ops): Delete function.
915 (windows_target): New function, based on init_windows_ops, but
916 inherit inf_child_target.
917 (_initialize_windows_nat): Use windows_target. Install x86
918 specific target methods here.
920 2014-03-10 Doug Evans <xdje42@gmail.com>
922 * guile/guile.c (call_initialize_gdb_module): New function.
923 (initialize_guile): Replace call to scm_init_guile with call to
926 2014-03-10 Joel Brobecker <brobecker@adacore.com>
928 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
929 in call to TYPE_CODE macro.
931 2014-03-10 Jerome Guitton <guitton@adacore.com>
933 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
934 Resolve tagged types to full view.
936 2014-03-10 Hui Zhu <hui@codesourcery.com>
938 * target.h (target_insert_breakpoint): Remove "hardware" from its
941 2014-03-07 Doug Evans <dje@google.com>
943 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
945 2014-03-07 Doug Evans <dje@google.com>
947 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
948 Remove unused local comp_dir_attr. Assert exactly one of
949 stub_comp_unit_die, stub_comp_dir is non-NULL.
951 2014-03-07 Joel Brobecker <brobecker@adacore.com>
953 * target.h (complete_target_initialization, add_target):
956 2014-03-07 Pedro Alves <palves@redhat.com>
958 * go32-nat.c: Include inf-child.h.
959 (go32_ops): Delete global.
960 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
962 (go32_create_inferior): Push the passed in target pointer instead
963 of referencing go32_ops.
964 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
965 (go32_target): New function, based on init_go32_ops, but inherit
967 (_initialize_go32_nat): Use go32_target. Move parts of
970 2014-03-06 Joel Brobecker <brobecker@adacore.com>
972 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
973 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
974 SYMBOL_VALUE_ADDRESS.
975 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
977 2014-03-06 Yao Qi <yao@codesourcery.com>
979 * breakpoint.c (get_tracepoint_by_number): Remove argument
980 optional_p. All callers updated. Adjust comments. Update
982 * breakpoint.h (get_tracepoint_by_number): Update declaration.
984 2014-03-06 Yao Qi <yao@codesourcery.com>
986 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
987 early if get_number returns zero. Use 'p' instead of 'args'.
989 2014-03-06 Yao Qi <yao@codesourcery.com>
991 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
994 2014-03-06 Yao Qi <yao@codesourcery.com>
997 * tracepoint.c (check_trace_running): New function.
998 (trace_find_command): Move code to check_trace_running and
999 call check_trace_running.
1000 (trace_find_pc_command): Likewise.
1001 (trace_find_tracepoint_command): Likewise.
1002 (trace_find_line_command): Likewise.
1003 (trace_find_range_command): Likewise.
1004 * tracepoint.h (check_trace_running): Likewise.
1005 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1007 2014-03-06 Yao Qi <yao@codesourcery.com>
1009 * target.h (struct target_ops) <to_traceframe_info>: Use
1010 TARGET_DEFAULT_NORETURN (tcomplain ()).
1011 * target-delegates.c: Regenerated.
1013 2014-03-05 Pedro Alves <palves@redhat.com>
1016 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1017 void. Update comment.
1018 (dcache_xfer_memory): Delete.
1019 (dcache_read_memory_partial): New, based on the read bits of
1021 (dcache_update): Add status parameter. Use ULONGEST for len, and
1022 adjust. Discard cache lines if the reason for the update was
1024 * dcache.h (dcache_xfer_memory): Delete declaration.
1025 (dcache_read_memory_partial): New declaration.
1026 (dcache_update): Update prototype.
1027 * target.c (raw_memory_xfer_partial): Update the dcache here.
1028 (memory_xfer_partial_1): Don't handle dcache writes here.
1030 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1032 * remote-sim.c (gdbsim_load): Add const to prog.
1034 2014-03-03 Tom Tromey <tromey@redhat.com>
1036 * elfread.c (probe_key): Change to bfd_data.
1037 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1038 now per-BFD, not per-objfile.
1039 * stap-probe.c (stap_probe_destroy): Update comment.
1040 (handle_stap_probe): Allocate on the per-BFD obstack.
1042 2014-03-03 Tom Tromey <tromey@redhat.com>
1044 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1045 * breakpoint.c (create_longjmp_master_breakpoint): Use
1047 (add_location_to_breakpoint, bkpt_probe_insert_location)
1048 (bkpt_probe_remove_location): Update.
1049 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1050 * elfread.c (elf_symfile_relocate_probe): Remove.
1051 (elf_probe_fns): Update.
1052 (insert_exception_resume_breakpoint): Change type of "probe"
1053 parameter to bound_probe.
1054 (check_exception_resume): Update.
1055 * objfiles.c (objfile_relocate1): Don't relocate probes.
1056 * probe.c (bound_probe_s): New typedef.
1057 (parse_probes): Use get_probe_address. Set sal's objfile.
1058 (find_probe_by_pc): Return a bound_probe.
1059 (collect_probes): Return a VEC(bound_probe_s).
1060 (compare_probes): Update.
1061 (gen_ui_out_table_header_info): Change type of "probes"
1063 (info_probes_for_ops): Update.
1064 (get_probe_address): New function.
1065 (probe_safe_evaluate_at_pc): Update.
1066 * probe.h (struct probe_ops) <get_probe_address>: New field.
1067 <set_semaphore, clear_semaphore>: Add objfile parameter.
1068 (struct probe) <objfile>: Remove field.
1070 <address>: Update comment.
1071 (struct bound_probe): New.
1072 (find_probe_by_pc): Return a bound_probe.
1073 (get_probe_address): Declare.
1074 * solib-svr4.c (struct probe_and_action) <address>: New field.
1075 (hash_probe_and_action, equal_probe_and_action): Update.
1076 (register_solib_event_probe): Add address parameter.
1077 (solib_event_probe_at): Update.
1078 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1080 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1081 (stap_get_probe_address): New function.
1082 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1083 (compile_probe_arg): Update.
1084 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1086 (handle_stap_probe): Don't relocate the probe.
1087 (stap_relocate): Remove.
1088 (stap_gen_info_probes_table_values): Update.
1089 (stap_probe_ops): Remove stap_relocate.
1090 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1091 (debug_sym_probe_fns): Update.
1092 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1093 * symtab.c (init_sal): Use memset.
1094 * symtab.h (struct symtab_and_line) <objfile>: New field.
1095 * tracepoint.c (start_tracing, stop_tracing): Update.
1097 2014-03-03 Tom Tromey <tromey@redhat.com>
1099 * probe.h (parse_probes, find_probe_by_pc)
1100 (find_probes_in_objfile): Fix comments.
1102 2014-03-02 Doug Evans <xdje42@gmail.com>
1104 * infrun.c (handle_signal_stop): Replace test for
1105 TARGET_WAITKIND_STOPPED with an assert.
1107 2014-03-02 Doug Evans <xdje42@gmail.com>
1109 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1111 2014-03-02 Doug Evans <xdje42@gmail.com>
1113 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1115 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1117 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1119 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1121 * i386obsd-nat.c: Include "obsd-nat.h".
1122 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1124 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1126 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1128 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1130 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1132 * mips64obsd-nat.c: Include "obsd-nath".
1133 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1135 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1137 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1139 * amd64obsd-nat.c: Include "obsd-nat,h.
1140 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1142 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1144 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1146 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1147 (find_overload_match): Update call to find_oload_champ.
1148 (find_oload_champ_namespace_loop): Likewise
1150 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1152 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1154 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1155 * config/sparc/obsd64.mh: New file.
1156 * sparc64obsd-nat.c: New file.
1158 * obsd-nat.h: New file.
1159 * obsd-nat.c: New file.
1160 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1161 (ALLDEPFILES): Add obsd-nat.c.
1163 2014-02-28 Tom Tromey <tromey@redhat.com>
1165 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1166 * cli-out.h (cli_ui_out_impl): Now const.
1167 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1168 * ui-out.c (struct ui_out) <impl>: Now const.
1169 (default_ui_out_impl): Now const.
1170 (ui_out_new): Make 'impl' parameter const.
1171 * ui-out.h (ui_out_new): Update.
1173 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1175 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1177 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1179 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1181 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1183 Additional PR 8882 fix.
1184 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1186 2014-02-27 Pedro Alves <palves@redhat.com>
1188 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1191 2014-02-27 Pedro Alves <palves@redhat.com>
1194 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1195 * nat/linux-waitpid.c: Include string.h.
1196 (status_to_str): Moved here and made extern.
1197 * nat/linux-waitpid.h (status_to_str): New declaration.
1199 2014-02-27 Hui Zhu <hui@codesourcery.com>
1202 * infrun.c (ptid_match): Move ...
1203 * common/ptid.c (ptid_match): ... here.
1204 * inferior.h (ptid_match): Move ...
1205 * common/ptid.h (ptid_match): ... here.
1207 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1209 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1210 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1213 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1215 * obsd-tdep.c (obsd_auxv_parse): New function.
1216 (obsd_init_abi): Set auxv_parse.
1218 * gdbarch.sh (auxv_parse): New.
1219 * gdbarch.h: Regenerated.
1220 * gdbarch.c: Regenerated.
1221 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1223 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1225 * guile/scm-value.c (gdbscm_history_append_x): New function.
1226 (value_functions): Add it.
1228 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1230 * dwarf2read.c (attr_value_as_address): New function.
1231 (dwarf2_find_base_address, read_call_site_scope): Use
1232 attr_value_as_address in place of DW_ADDR.
1233 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1234 the low and high addresses. Slight rework of the handling
1235 of the high pc being a constant form, and limit it to
1236 DWARF verson 4 or higher.
1237 (dwarf2_record_block_ranges): Likewise.
1238 (read_partial_die): Likewise.
1239 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1241 2014-02-26 Tom Tromey <tromey@redhat.com>
1243 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1245 2014-02-26 Tom Tromey <tromey@redhat.com>
1247 * elfread.c (elf_read_minimal_symbols): Return early if
1248 minimal symbols have already been read. Add "ei" parameter.
1249 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1250 * minsyms.c (prim_record_minimal_symbol_full): Update.
1251 * objfiles.h (struct objstats) <n_minsyms>: Move...
1252 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1253 * symmisc.c (print_objfile_statistics): Update.
1255 2014-02-26 Tom Tromey <tromey@redhat.com>
1257 * elfread.c (elf_read_minimal_symbols): New function, from
1259 (elf_symfile_read): Call it.
1261 2014-02-26 Tom Tromey <tromey@redhat.com>
1263 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1264 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1265 (lookup_minimal_symbol_solib_trampoline)
1266 (lookup_minimal_symbol_by_pc_section_1)
1267 (lookup_minimal_symbol_and_objfile): Update.
1268 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1269 Don't allocate a minimal symbol if minsyms have already been read.
1270 (build_minimal_symbol_hash_tables): Update.
1271 (install_minimal_symbols): Do nothing if minsyms already read.
1272 Use the per-BFD obstack.
1273 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1274 * objfiles.c (allocate_objfile): Call
1275 terminate_minimal_symbol_table later.
1276 (have_minimal_symbols): Update.
1277 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1278 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1279 Move from struct objfile.
1280 <minsyms_read>: New field.
1281 (struct objfile) <msymbols, minimal_symbol_count,
1282 msymbol_hash, msymbol_demangled_hash>: Move.
1283 (ALL_OBJFILE_MSYMBOLS): Update.
1284 * symfile.c (read_symbols): Set minsyms_read.
1285 (reread_symbols): Update.
1286 * symmisc.c (dump_objfile, dump_msymbols): Update.
1288 2014-02-26 Tom Tromey <tromey@redhat.com>
1290 * minsyms.c (msymbols_sort): Remove.
1291 * minsyms.h (msymbols_sort): Remove.
1292 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1293 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1294 * elfread.c (elf_symtab_read): Don't add section offsets.
1295 * xcoffread.c (record_minimal_symbol): Don't add section offset
1296 to minimal symbol address.
1297 * somread.c (text_offset, data_offset): Remove.
1298 (som_symtab_read): Don't add section offsets to minimal symbol
1300 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1301 Don't add section offsets to minimal symbols.
1302 * coffread.c (coff_symtab_read): Don't add section offsets
1303 to minimal symbol addresses.
1304 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1305 to minimal symbol addresses.
1306 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1307 section offset to minimal symbol addresses.
1308 * mdebugread.c (parse_partial_symbols): Don't add section
1309 offset to minimal symbol addresses.
1310 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1311 offset to minimal symbol addresses.
1313 2014-02-26 Tom Tromey <tromey@redhat.com>
1315 * ada-lang.c (ada_main_name): Update.
1316 (ada_add_standard_exceptions): Update.
1317 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1318 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1319 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1320 * auxv.c (ld_so_xfer_auxv): Update.
1321 * avr-tdep.c (avr_scan_prologue): Update.
1322 * ax-gdb.c (gen_var_ref): Update.
1323 * blockframe.c (get_pc_function_start)
1324 (find_pc_partial_function_gnu_ifunc): Update.
1325 * breakpoint.c (create_overlay_event_breakpoint)
1326 (create_longjmp_master_breakpoint)
1327 (create_std_terminate_master_breakpoint)
1328 (create_exception_master_breakpoint): Update.
1329 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1330 * c-valprint.c (c_val_print): Update.
1331 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1332 * common/agent.c (agent_look_up_symbols): Update.
1333 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1334 * dwarf2loc.c (call_site_to_target_addr): Update.
1335 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1336 * elfread.c (elf_gnu_ifunc_record_cache)
1337 (elf_gnu_ifunc_resolve_by_got): Update.
1338 * findvar.c (default_read_var_value): Update.
1339 * frame.c (inside_main_func): Update.
1340 * frv-tdep.c (frv_frame_this_id): Update.
1341 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1342 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1344 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1345 (hppa_hpux_find_dummy_bpaddr): Update.
1346 * hppa-tdep.c (hppa_symbol_address): Update.
1347 * infcmd.c (until_next_command): Update.
1348 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1350 * linespec.c (minsym_found, add_minsym): Update.
1351 * linux-nat.c (get_signo): Update.
1352 * linux-thread-db.c (inferior_has_bug): Update.
1353 * m32c-tdep.c (m32c_return_value)
1354 (m32c_m16c_address_to_pointer): Update.
1355 * m32r-tdep.c (m32r_frame_this_id): Update.
1356 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1357 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1358 * maint.c (maintenance_translate_address): Update.
1359 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1360 (frob_address): New function.
1361 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1362 frob_address. Rename parameter to "pc_in".
1363 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1365 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1367 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1368 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1369 * objc-lang.c (find_objc_msgsend): Update.
1370 * objfiles.c (objfile_relocate1): Update.
1371 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1372 * p-valprint.c (pascal_val_print): Update.
1373 * parse.c (write_exp_msymbol): Update.
1374 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1375 (ppc_elfv2_skip_entrypoint): Update.
1376 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1377 * printcmd.c (build_address_symbolic, msym_info)
1378 (address_info): Update.
1379 * proc-service.c (ps_pglobal_lookup): Update.
1380 * psymtab.c (find_pc_sect_psymtab_closer)
1381 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1382 Change msymbol parameter to bound_minimal_symbol.
1383 * ravenscar-thread.c (get_running_thread_id): Update.
1384 * remote.c (remote_check_symbols): Update.
1385 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1387 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1388 * solib-dsbt.c (lm_base): Update.
1389 * solib-frv.c (lm_base, main_got): Update.
1390 * solib-irix.c (locate_base): Update.
1391 * solib-som.c (som_solib_create_inferior_hook)
1392 (link_map_start): Update.
1393 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1394 * solib-svr4.c (elf_locate_base, enable_break): Update.
1395 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1396 (flush_ea_cache): Update.
1397 * stabsread.c (define_symbol, scan_file_globals): Update.
1398 * stack.c (find_frame_funname): Update.
1399 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1400 (debug_qf_find_pc_sect_symtab): Update.
1401 * symfile.c (simple_read_overlay_table)
1402 (simple_overlay_update): Update.
1403 * symfile.h (struct quick_symbol_functions)
1404 <find_pc_sect_symtab>: Change type of msymbol to
1405 bound_minimal_symbol.
1406 * symmisc.c (dump_msymbols): Update.
1407 * symtab.c (find_pc_sect_symtab_via_partial)
1408 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1409 (search_symbols, print_msymbol_info): Update.
1410 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1411 (MSYMBOL_VALUE_ADDRESS): Redefine.
1412 (BMSYMBOL_VALUE_ADDRESS): New macro.
1413 * tracepoint.c (scope_info): Update.
1414 * tui/tui-disasm.c (tui_find_disassembly_address)
1415 (tui_get_begin_asm_address): Update.
1416 * valops.c (find_function_in_inferior): Update.
1417 * value.c (value_static_field, value_fn_field): Update.
1419 2014-02-26 Tom Tromey <tromey@redhat.com>
1421 * ada-lang.c (ada_update_initial_language): Update.
1422 (ada_main_name, ada_has_this_exception_support): Update.
1423 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1424 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1425 * arm-tdep.c (arm_skip_stub): Update.
1426 * auxv.c (ld_so_xfer_auxv): Update.
1427 * avr-tdep.c (avr_scan_prologue): Update.
1428 * ax-gdb.c (gen_var_ref): Update.
1429 * breakpoint.c (struct breakpoint_objfile_data)
1430 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1431 type to bound_minimal_symbol.
1432 (create_overlay_event_breakpoint)
1433 (create_longjmp_master_breakpoint)
1434 (create_std_terminate_master_breakpoint)
1435 (create_exception_master_breakpoint): Update.
1436 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1437 * c-exp.y (classify_name): Update.
1438 * coffread.c (coff_symfile_read): Update.
1439 * common/agent.c (agent_look_up_symbols): Update.
1440 * d-lang.c (d_main_name): Update.
1441 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1442 * dec-thread.c (enable_dec_thread): Update.
1443 * dwarf2loc.c (call_site_to_target_addr): Update.
1444 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1445 * eval.c (evaluate_subexp_standard): Update.
1446 * findvar.c (struct minsym_lookup_data) <result>: Change type
1447 to bound_minimal_symbol.
1449 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1450 * frame.c (inside_main_func): Update.
1451 * frv-tdep.c (frv_frame_this_id): Update.
1452 * gcore.c (call_target_sbrk): Update.
1453 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1454 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1456 * go-lang.c (go_main_name): Update.
1457 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1458 (hppa_hpux_find_import_stub_for_addr): Update.
1459 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1460 Update. Change return type.
1461 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1463 * jit.c (jit_breakpoint_re_set_internal): Update.
1464 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1466 * linux-nat.c (get_signo): Update.
1467 * linux-thread-db.c (inferior_has_bug): Update
1468 * m32c-tdep.c (m32c_return_value)
1469 (m32c_m16c_address_to_pointer): Update.
1470 * m32r-tdep.c (m32r_frame_this_id): Update.
1471 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1472 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1473 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1474 lookup_minimal_symbol. Change return type.
1475 (lookup_minimal_symbol): Remove.
1476 (lookup_bound_minimal_symbol): Update.
1477 (lookup_minimal_symbol_text): Change return type.
1478 (lookup_minimal_symbol_solib_trampoline): Change return type.
1479 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1480 (lookup_minimal_symbol_solib_trampoline): Change return type.
1481 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1482 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1483 (value_nsstring, find_imps): Update.
1484 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1485 * p-lang.c (pascal_main_name): Update.
1486 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1487 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1488 * proc-service.c (ps_pglobal_lookup): Update.
1489 * ravenscar-thread.c (get_running_thread_msymbol): Change
1491 (has_ravenscar_runtime, get_running_thread_id): Update.
1492 * remote.c (remote_check_symbols): Update.
1493 * sol-thread.c (ps_pglobal_lookup): Update.
1494 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1495 * solib-dsbt.c (lm_base): Update.
1496 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1498 * solib-irix.c (locate_base): Update.
1499 * solib-som.c (som_solib_create_inferior_hook)
1500 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1502 * solib-spu.c (spu_enable_break): Update.
1503 * solib-svr4.c (elf_locate_base, enable_break): Update.
1504 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1505 (flush_ea_cache): Update.
1506 * stabsread.c (define_symbol): Update.
1507 * symfile.c (simple_read_overlay_table): Update.
1508 * symtab.c (find_pc_sect_line): Update.
1509 * tracepoint.c (scope_info): Update.
1510 * tui-disasm.c (tui_get_begin_asm_address): Update.
1511 * value.c (value_static_field): Update.
1513 2014-02-26 Tom Tromey <tromey@redhat.com>
1515 * minsyms.c (prim_record_minimal_symbol_full): Use
1516 SET_MSYMBOL_VALUE_ADDRESS.
1517 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1518 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1519 SET_MSYMBOL_VALUE_ADDRESS.
1520 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1521 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1523 2014-02-26 Tom Tromey <tromey@redhat.com>
1525 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1526 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1527 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1528 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1529 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1530 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1531 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1532 * ada-lang.c (ada_main_name): Update.
1533 (ada_lookup_simple_minsym): Update.
1534 (ada_make_symbol_completion_list): Update.
1535 (ada_add_standard_exceptions): Update.
1536 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1537 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1538 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1539 * arm-tdep.c (skip_prologue_function): Update.
1540 (arm_skip_stack_protector, arm_skip_stub): Update.
1541 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1542 (arm_wince_skip_main_prologue): Update.
1543 * auxv.c (ld_so_xfer_auxv): Update.
1544 * avr-tdep.c (avr_scan_prologue): Update.
1545 * ax-gdb.c (gen_var_ref): Update.
1546 * block.c (call_site_for_pc): Update.
1547 * blockframe.c (get_pc_function_start): Update.
1548 (find_pc_partial_function_gnu_ifunc): Update.
1549 * breakpoint.c (create_overlay_event_breakpoint): Update.
1550 (create_longjmp_master_breakpoint): Update.
1551 (create_std_terminate_master_breakpoint): Update.
1552 (create_exception_master_breakpoint): Update.
1553 (resolve_sal_pc): Update.
1554 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1555 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1557 * c-valprint.c (c_val_print): Update.
1558 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1559 * coffread.c (coff_symfile_read): Update.
1560 * common/agent.c (agent_look_up_symbols): Update.
1561 * dbxread.c (find_stab_function_addr): Update.
1562 (end_psymtab): Update.
1563 * dwarf2loc.c (call_site_to_target_addr): Update.
1564 (func_verify_no_selftailcall): Update.
1565 (tailcall_dump): Update.
1566 (call_site_find_chain_1): Update.
1567 (dwarf_expr_reg_to_entry_parameter): Update.
1568 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1569 (elf_gnu_ifunc_resolve_by_got): Update.
1570 * f-valprint.c (info_common_command): Update.
1571 * findvar.c (read_var_value): Update.
1572 * frame.c (get_prev_frame_1): Update.
1573 (inside_main_func): Update.
1574 * frv-tdep.c (frv_skip_main_prologue): Update.
1575 (frv_frame_this_id): Update.
1576 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1577 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1578 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1579 (gnuv3_skip_trampoline): Update.
1580 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1581 (hppa64_hpux_in_solib_call_trampoline): Update.
1582 (hppa_hpux_skip_trampoline_code): Update.
1583 (hppa64_hpux_search_dummy_call_sequence): Update.
1584 (hppa_hpux_find_import_stub_for_addr): Update.
1585 (hppa_hpux_find_dummy_bpaddr): Update.
1586 * hppa-tdep.c (hppa_symbol_address)
1587 (hppa_lookup_stub_minimal_symbol): Update.
1588 * i386-tdep.c (i386_skip_main_prologue): Update.
1589 (i386_pe_skip_trampoline_code): Update.
1590 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1591 * infcall.c (get_function_name): Update.
1592 * infcmd.c (until_next_command): Update.
1593 * jit.c (jit_breakpoint_re_set_internal): Update.
1594 (jit_inferior_init): Update.
1595 * linespec.c (minsym_found): Update.
1596 (add_minsym): Update.
1597 * linux-fork.c (info_checkpoints_command): Update.
1598 * linux-nat.c (get_signo): Update.
1599 * linux-thread-db.c (inferior_has_bug): Update.
1600 * m32c-tdep.c (m32c_return_value): Update.
1601 (m32c_m16c_address_to_pointer): Update.
1602 (m32c_m16c_pointer_to_address): Update.
1603 * m32r-tdep.c (m32r_frame_this_id): Update.
1604 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1605 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1606 * maint.c (maintenance_translate_address): Update.
1607 * minsyms.c (add_minsym_to_hash_table): Update.
1608 (add_minsym_to_demangled_hash_table): Update.
1609 (msymbol_objfile): Update.
1610 (lookup_minimal_symbol): Update.
1611 (iterate_over_minimal_symbols): Update.
1612 (lookup_minimal_symbol_text): Update.
1613 (lookup_minimal_symbol_by_pc_name): Update.
1614 (lookup_minimal_symbol_solib_trampoline): Update.
1615 (lookup_minimal_symbol_by_pc_section_1): Update.
1616 (lookup_minimal_symbol_and_objfile): Update.
1617 (prim_record_minimal_symbol_full): Update.
1618 (compare_minimal_symbols): Update.
1619 (compact_minimal_symbols): Update.
1620 (build_minimal_symbol_hash_tables): Update.
1621 (install_minimal_symbols): Update.
1622 (terminate_minimal_symbol_table): Update.
1623 (find_solib_trampoline_target): Update.
1624 (minimal_symbol_upper_bound): Update.
1625 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1626 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1627 (mips_skip_pic_trampoline_code): Update.
1628 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1629 * objc-lang.c (selectors_info): Update.
1630 (classes_info): Update.
1631 (find_methods): Update.
1632 (find_imps): Update.
1633 (find_objc_msgsend): Update.
1634 * objfiles.c (objfile_relocate1): Update.
1635 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1636 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1637 * p-valprint.c (pascal_val_print): Update.
1638 * parse.c (write_exp_msymbol): Update.
1639 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1640 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1641 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1642 * printcmd.c (build_address_symbolic): Update.
1644 (address_info): Update.
1645 * proc-service.c (ps_pglobal_lookup): Update.
1646 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1647 (find_pc_sect_psymtab): Update.
1648 * python/py-framefilter.c (py_print_frame): Update.
1649 * ravenscar-thread.c (get_running_thread_id): Update.
1650 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1652 * remote.c (remote_check_symbols): Update.
1653 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1654 (rs6000_skip_trampoline_code): Update.
1655 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1656 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1657 * solib-dsbt.c (lm_base): Update.
1658 * solib-frv.c (lm_base): Update.
1660 * solib-irix.c (locate_base): Update.
1661 * solib-som.c (som_solib_create_inferior_hook): Update.
1662 (som_solib_desire_dynamic_linker_symbols): Update.
1663 (link_map_start): Update.
1664 * solib-spu.c (spu_enable_break): Update.
1665 (ocl_enable_break): Update.
1666 * solib-svr4.c (elf_locate_base): Update.
1667 (enable_break): Update.
1668 * spu-tdep.c (spu_get_overlay_table): Update.
1669 (spu_catch_start): Update.
1670 (flush_ea_cache): Update.
1671 * stabsread.c (define_symbol): Update.
1672 (scan_file_globals): Update.
1673 * stack.c (find_frame_funname): Update.
1674 (frame_info): Update.
1675 * symfile.c (simple_read_overlay_table): Update.
1676 (simple_overlay_update): Update.
1677 * symmisc.c (dump_msymbols): Update.
1678 * symtab.c (fixup_section): Update.
1679 (find_pc_sect_line): Update.
1680 (skip_prologue_sal): Update.
1681 (search_symbols): Update.
1682 (print_msymbol_info): Update.
1683 (rbreak_command): Update.
1684 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1685 (completion_list_objc_symbol): Update.
1686 (default_make_symbol_completion_list_break_on): Update.
1687 * tracepoint.c (scope_info): Update.
1688 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1689 (tui_get_begin_asm_address): Update.
1690 * valops.c (find_function_in_inferior): Update.
1691 * value.c (value_static_field): Update.
1692 (value_fn_field): Update.
1694 2014-02-26 Tom Tromey <tromey@redhat.com>
1696 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1697 bound minimal symbols. Move code that knows about minsym
1699 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1701 * minsyms.h (minimal_symbol_upper_bound): Declare.
1702 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1703 minimal_symbol_upper_bound.
1705 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1707 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1708 Use the type's name if its basic type does not have a tag.
1710 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1712 * dwarf2read.c (read_subrange_type): Add comment.
1714 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1716 * dwarf2read.c (update_enumeration_type_from_children): New
1717 function, mostly extracted from process_structure_scope.
1718 (read_enumeration_type): Call update_enumeration_type_from_children.
1719 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1720 and flag_flag_enum fields.
1722 2014-02-26 Pedro Alves <palves@redhat.com>
1724 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1725 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1726 to_xfer_partial method.
1728 2014-02-26 Pedro Alves <palves@redhat.com>
1730 * target.c (complete_target_initialization): Don't install
1731 default_xfer_partial as to_xfer_partial hook.
1733 (update_current_target): Don't INHERIT nor de_fault
1734 deprecated_xfer_memory. Delete de_fault macro.
1735 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1736 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1737 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1740 2014-02-26 Pedro Alves <palves@redhat.com>
1742 * go32-nat.c (my_write_child): New function.
1743 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1744 (go32_xfer_partial): New function.
1745 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1746 Instead install a to_xfer_partial hook.
1748 2014-02-26 Pedro Alves <palves@redhat.com>
1750 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1751 to_xfer_partial helper. Rewrite.
1752 (procfs_xfer_partial): New function.
1753 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1754 Install a to_xfer_partial hook.
1756 2014-02-26 Pedro Alves <palves@redhat.com>
1758 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1759 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1760 (m32r_xfer_partial): New function.
1761 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1762 Install a to_xfer_partial hook.
1764 2014-02-26 Pedro Alves <palves@redhat.com>
1766 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1768 (mips_xfer_partial): New function.
1769 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1770 hook. Install a to_xfer_partial hook.
1772 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1774 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1775 * gdbtypes.c (create_array_type_with_stride): New function,
1776 renaming create_array_type, but with an added parameter
1777 called "bit_stride".
1778 (create_array_type): Re-implement using
1779 create_array_type_with_stride.
1780 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1781 and DW_AT_bit_stride attributes.
1783 2014-02-26 Pedro Alves <palves@redhat.com>
1785 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1786 task-specific breakpoints.
1788 2014-02-25 Pedro Alves <palves@redhat.com>
1790 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1791 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1793 2014-02-25 Stan Shebs <stan@codesourcery.com>
1795 * defs.h: Annotate comments for Doxygen.
1797 2014-02-25 Tom Tromey <tromey@redhat.com>
1799 * target.h (target_ignore): Don't declare.
1800 * target.c (target_ignore): Remove.
1802 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1805 * auto-load.c (auto_load_objfile_script_1): Change filename to
1808 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1810 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1811 documentation. Adjust prototype to match the target_ops
1812 to_xfer_partial method. Adjust implementation accordingly.
1814 2014-02-25 Hui Zhu <hui@codesourcery.com>
1816 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1819 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1821 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1822 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1823 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1824 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1825 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1826 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1827 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1828 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1830 (rl78_register_type): Use a data pointer type for SP and
1831 new pseudo registers mentioned above. Use a 16 bit integer
1832 type for all other register pairs.
1833 (rl78_register_name, rl78_g10_register_name): Update for
1834 new pseudo registers.
1835 (rl78_pseudo_register_read): Likewise.
1836 (rl78_pseudo_register_write): Likewise.
1837 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1838 to the newly added pseudo registers.
1840 2014-02-24 Doug Evans <dje@google.com>
1842 * value.c (record_latest_value): Fix comment.
1843 * printcmd.c (print_command_1): Remove code to handle -1 return from
1844 record_latest_value.
1846 2014-02-24 Pedro Alves <palves@redhat.com>
1848 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1849 deprecated_xfer_memory hook.
1850 (procfs_xfer_partial): Call procfs_xfer_memory instead
1851 of the deprecated_xfer_memory target hook.
1852 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1855 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1857 * windows-nat.c (windows_xfer_shared_libraries): Return
1858 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1859 requested object is TARGET_OBJECT_LIBRARIES.
1861 2014-02-24 Yao Qi <yao@codesourcery.com>
1863 * target.h (enum target_xfer_status)
1864 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1865 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1867 * corefile.c (memory_error_message): User updated.
1868 * exec.c (section_table_read_available_memory): Likewise.
1869 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1870 * target.c (target_xfer_status_to_string): Likewise.
1871 (raw_memory_xfer_partial): Likewise.
1872 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1873 * valops.c (read_value_memory): Likewise.
1874 * exec.h: Update comments.
1876 2014-02-24 Yao Qi <yao@codesourcery.com>
1878 * target.c (target_xfer_status_to_string): Rename argument err
1880 * target.h (target_xfer_status_to_string): Update declaration.
1881 Replace target_xfer_error_to_string with
1882 target_xfer_status_to_string in comment.
1884 2014-02-24 Yao Qi <yao@codesourcery.com>
1886 * mips-linux-nat.c (super_close): Update its type.
1887 (mips_linux_close): Pass 'self' to super_close.
1889 2014-02-24 Yao Qi <yao@codesourcery.com>
1891 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1892 * corefile.c (read_memory): Adjusted.
1893 * target.c (target_write_with_progress): Adjusted.
1895 2014-02-23 Yao Qi <yao@codesourcery.com>
1899 2013-10-25 Yao Qi <yao@codesourcery.com>
1901 * remote.c (remote_traceframe_info): Return early if
1902 traceframe is not selected.
1904 2013-07-19 Yao Qi <yao@codesourcery.com>
1906 * target.c (update_current_target): Change the default action
1907 of 'to_traceframe_info' from tcomplain to return_zero.
1908 * target.h (struct target_ops) <to_traceframe_info>: Add more
1911 2014-02-23 Yao Qi <yao@codesourcery.com>
1913 * valops.c (read_value_memory): Rewrite it. Call
1914 target_xfer_partial in a loop.
1915 * exec.h (section_table_available_memory): Remove declaration.
1916 Move comments to ...
1917 * exec.c (section_table_available_memory): ... here. Make it
1920 2014-02-23 Yao Qi <yao@codesourcery.com>
1922 * exec.c (section_table_read_available_memory): New function.
1923 * exec.h (section_table_read_available_memory): Declare.
1924 * ctf.c (ctf_xfer_partial): Call
1925 section_table_read_available_memory.
1926 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1928 2014-02-23 Yao Qi <yao@codesourcery.com>
1930 * ctf.c (ctf_xfer_partial): Move code to ...
1931 * exec.c (exec_read_partial_read_only): ... it. New function.
1932 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1933 * tracefile.c: Include "exec.h".
1934 * exec.h (exec_read_partial_read_only): Declare.
1936 2014-02-23 Yao Qi <yao@codesourcery.com>
1938 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1939 (tfile_has_memory): Remove.
1940 (init_tfile_ops): Don't set fields to_has_all_memory and
1941 to_has_memory of tfile_ops.
1942 * tracefile.c (tracefile_has_all_memory): New function.
1943 (tracefile_has_memory): New function.
1944 (init_tracefile_ops): Initialize fields to_has_all_memory and
1945 to_has_memory of 'ops'.
1947 2014-02-23 Yao Qi <yao@codesourcery.com>
1949 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1950 (ctf_thread_alive, ctf_get_trace_status): Remove.
1951 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1953 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1954 (tfile_has_stack, tfile_has_registers): Remove.
1955 (tfile_thread_alive): Remove.
1956 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1958 * tracefile.c (tracefile_has_stack): New function.
1959 (tracefile_has_registers): New function.
1960 (tracefile_thread_alive): New function.
1961 (tracefile_get_trace_status): New function.
1962 (init_tracefile_ops): New function.
1963 * tracefile.h (init_tracefile_ops): Declare.
1965 2014-02-23 Yao Qi <yao@codesourcery.com>
1967 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1968 (O_LARGEFILE): Likewise.
1969 (tfile_ops): Likewise.
1970 (TRACE_HEADER_SIZE): Likewise.
1971 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1972 (cur_data_size): Likewise.
1973 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1974 (tfile_close, tfile_files_info): Likewise.
1975 (tfile_get_trace_status): Likewise.
1976 (tfile_get_tracepoint_status): Likewise.
1977 (tfile_get_traceframe_address): Likewise.
1978 (tfile_trace_find, match_blocktype): Likewise.
1979 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1980 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1981 (tfile_get_trace_state_variable_value): Likewise.
1982 (tfile_has_all_memory, tfile_has_memory): Likewise.
1983 (tfile_has_stack, tfile_has_registers): Likewise.
1984 (tfile_thread_alive, build_traceframe_info): Likewise.
1985 (tfile_traceframe_info, init_tfile_ops): Likewise.
1986 (_initialize_tracepoint): Don't call init_tfile_ops
1987 and add_target_with_completer.
1988 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1989 exec.h, completer.h and filenames.h.
1990 (_initialize_tracefile_tfile): New function.
1992 2014-02-23 Yao Qi <yao@codesourcery.com>
1994 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1996 (HFILES_NO_SRCDIR): Add tracefile.h.
1997 * ctf.c: Include "tracefile.h".
1998 * tracefile.h: New file.
1999 * tracefile.c: New file
2000 * tracefile-tfile.c: New file.
2001 * tracepoint.c: Include "tracefile.h".
2002 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2003 (stop_reason_names): Add const.
2004 (trace_file_writer_xfree): Move it to tracefile.c.
2005 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2006 (trace_save_ctf): Likewise.
2007 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2008 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2009 (tfile_write_header, tfile_write_regblock_type): Likewise.
2010 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2011 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2012 (tfile_write_raw_data, tfile_end): Likewise.
2013 (tfile_trace_file_writer_new): Likewise.
2014 (free_uploaded_tp): Make it extern.
2015 (free_uploaded_tsv): Make it extern.
2016 (_initialize_tracepoint): Move code to register command 'tsave'
2018 * tracepoint.h (stop_reason_names): Declare.
2019 (struct trace_frame_write_ops): Move it to tracefile.h.
2020 (struct trace_file_write_ops): Likewise.
2021 (struct trace_file_writer): Likewise.
2022 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2024 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2027 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2029 (get_cores_used_by_process): New parameter num_cores, use it.
2030 (linux_xfer_osdata_processes): Pass num_cores to it.
2031 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2034 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2036 * target.c (memory_xfer_partial): Fix length arg in call to
2037 breakpoint_xfer_memory.
2039 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2042 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2043 number comes after the + or - signs. Adjust length of register
2044 name to be extracted.
2046 2014-02-20 Tom Tromey <tromey@redhat.com>
2048 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2049 (ada_varobj_ops): Mark "extern".
2051 2014-02-20 Tom Tromey <tromey@redhat.com>
2053 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2055 2014-02-20 Doug Evans <xdje42@gmail.com>
2057 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2058 All callers updated.
2059 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2060 All callers updated.
2061 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2062 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2064 2014-02-20 lin zuojian <manjian2006@gmail.com>
2065 Joel Brobecker <brobecker@adacore.com>
2066 Doug Evans <xdje42@gmail.com>
2069 * dwarf2read.c (struct die_info): New member in_process.
2070 (reset_die_in_process): New function.
2071 (process_die): Set it at the start, reset when returning.
2072 (inherit_abstract_dies): Only call process_die if origin_child_die
2073 not already being processed.
2075 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2077 * windows-nat.c (handle_unload_dll): Add function documentation.
2078 (do_initial_windows_stuff): Add comment explaining why we wait
2079 until after inferior initialization has finished before
2080 processing all DLLs.
2082 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2084 * windows-nat.c (get_module_name): Delete.
2085 (windows_get_exec_module_filename): New function, mostly
2086 inspired from get_module_name.
2087 (windows_pid_to_exec_file): Replace call to get_module_name
2088 by call to windows_get_exec_module_filename.
2090 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2092 * windows-nat.c (handle_load_dll): Rewrite this function's
2093 introductory comment. Remove code using get_module_name
2094 to get the DLL's name.
2096 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2098 * windows-nat.c (get_windows_debug_event): Ignore
2099 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2100 if windows_initialization_done == 0.
2101 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2102 Adjust implementation to always load all DLLs.
2103 (do_initial_windows_stuff): Replace call to
2104 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2106 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2108 * windows-nat.c (_initialize_windows_nat): Deprecate the
2109 "dll-symbols" command. Turn the "add-shared-symbol-files"
2110 and "assf" aliases into commands, and deprecate them as well.
2111 * NEWS: Add entry explaining that "dll-symbols" and its two
2112 aliases are now deprecated.
2114 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2116 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2117 new-line in debug string. Remove trailing spaces.
2119 2014-02-19 Stan Shebs <stan@codesourcery.com>
2121 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2123 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2125 * NEWS: Add entry for the new feature
2126 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2129 2014-02-19 Stan Shebs <stan@codesourcery.com>
2131 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2133 2014-02-19 Pedro Alves <palves@redhat.com>
2135 * common/ptid.h (struct ptid): Mention that process_stratum
2136 targets should prefer ptid.lwp.
2138 2014-02-19 Pedro Alves <palves@redhat.com>
2140 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2141 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2142 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2143 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2144 store remote thread ids rather than ptid.tid.
2145 (_initialize_remote): Adjust.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target.c (target_get_unwinder): Rewrite.
2150 (target_get_tailcall_unwinder): Rewrite.
2151 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2152 (record_btrace_to_get_tailcall_unwinder): New function.
2153 (init_record_btrace_ops): Update.
2154 * target.h (struct target_ops) <to_get_unwinder,
2155 to_get_tailcall_unwinder>: Now function pointers. Use
2156 TARGET_DEFAULT_RETURN.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2162 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2168 * target-delegates.c: Rebuild.
2169 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2170 TARGET_DEFAULT_FUNC.
2171 * target.c (default_target_decr_pc_after_break): Rename from
2172 forward_target_decr_pc_after_break. Simplify.
2173 (target_decr_pc_after_break): Rely on delegation.
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * target.c (update_current_target): Do not INHERIT to_doc or
2178 to_magic. Do not de_fault to_open or to_close.
2180 2014-02-19 Tom Tromey <tromey@redhat.com>
2182 * gcore.h (objfile_find_memory_regions): Declare.
2183 * gcore.c (objfile_find_memory_regions): No longer static. Add
2185 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2186 * exec.c: Include gcore.h.
2187 (exec_set_find_memory_regions): Remove.
2188 (exec_find_memory_regions): Remove.
2189 (exec_do_find_memory_regions): Remove.
2190 (init_exec_ops): Update.
2191 * defs.h (exec_set_find_memory_regions): Remove.
2193 2014-02-19 Tom Tromey <tromey@redhat.com>
2195 * target-delegates.c: Rebuild.
2196 * target.h (struct target_ops) <to_extra_thread_info,
2197 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2198 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2199 not 0, in TARGET_DEFAULT_RETURN.
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target.c (complete_target_initialization): Remove casts. Use
2204 return_zero_has_execution.
2205 (return_zero): Add "ignore" argument.
2206 (return_zero_has_execution): New function.
2207 (init_dummy_target): Remove casts. Use
2208 return_zero_has_execution.
2210 2014-02-19 Tom Tromey <tromey@redhat.com>
2212 * target.c (update_current_target): Update comments. Do not
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2219 * corelow.c (core_read_description): Delegate when needed.
2220 * remote.c (remote_read_description): Delegate when needed.
2221 * target-delegates.c: Rebuild.
2222 * target.c (target_read_description): Rewrite.
2223 * target.h (struct target_ops) <to_read_description>: Update
2224 comment. Use TARGET_DEFAULT_RETURN.
2226 2014-02-19 Tom Tromey <tromey@redhat.com>
2228 * target-delegates.c: Rebuild.
2229 * target.c (update_current_target): Don't inherit or default
2231 (find_default_run_target): Check against delegate_can_run.
2232 * target.h (struct target_ops) <to_can_run>: Use
2233 TARGET_DEFAULT_RETURN.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target-delegates.c: Rebuild.
2238 * target.c (target_disconnect): Unconditionally delegate.
2239 * target.h (struct target_ops) <to_disconnect>: Use
2240 TARGET_DEFAULT_NORETURN.
2242 2014-02-19 Tom Tromey <tromey@redhat.com>
2244 * record.c (record_stop): Unconditionally delegate.
2245 * target-delegates.c: Rebuild.
2246 * target.c (target_stop_recording): Unconditionally delegate.
2247 * target.h (struct target_ops) <to_stop_recording>: Use
2248 TARGET_DEFAULT_IGNORE.
2250 2014-02-19 Tom Tromey <tromey@redhat.com>
2252 * target-delegates.c: Rebuild.
2253 * target.c (target_enable_btrace): Unconditionally delegate.
2254 * target.h (struct target_ops) <to_enable_btrace>: Use
2255 TARGET_DEFAULT_NORETURN.
2257 2014-02-19 Tom Tromey <tromey@redhat.com>
2259 * target-delegates.c: Rebuild.
2260 * target.c (target_read_btrace): Unconditionally delegate.
2261 * target.h (struct target_ops) <to_read_btrace>: Use
2262 TARGET_DEFAULT_NORETURN.
2264 2014-02-19 Tom Tromey <tromey@redhat.com>
2266 * target-delegates.c: Rebuild.
2267 * target.c (target_teardown_btrace): Unconditionally delegate.
2268 * target.h (struct target_ops) <to_teardown_btrace>: Use
2269 TARGET_DEFAULT_NORETURN.
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2273 * target-delegates.c: Rebuild.
2274 * target.c (target_disable_btrace): Unconditionally delegate.
2275 * target.h (struct target_ops) <to_disable_btrace>: Use
2276 TARGET_DEFAULT_NORETURN.
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2280 * target-delegates.c: Rebuild.
2281 * target.c (default_search_memory): New function.
2282 (simple_search_memory): Update comment.
2283 (target_search_memory): Unconditionally delegate.
2284 * target.h (struct target_ops) <to_search_memory>: Use
2285 TARGET_DEFAULT_FUNC.
2287 2014-02-19 Tom Tromey <tromey@redhat.com>
2289 * auxv.c (default_auxv_parse): No longer static.
2290 (target_auxv_parse): Unconditionally delegate.
2291 * auxv.h (default_auxv_parse): Declare.
2292 * target-delegates.c: Rebuild.
2293 * target.c: Include auxv.h.
2294 * target.h (struct target_ops) <to_auxv_parse>: Use
2295 TARGET_DEFAULT_FUNC.
2297 2014-02-19 Tom Tromey <tromey@redhat.com>
2299 * target-delegates.c: Rebuild.
2300 * target.c (target_memory_map): Unconditionally delegate.
2301 * target.h (struct target_ops) <to_memory_map>: Use
2302 TARGET_DEFAULT_RETURN.
2304 2014-02-19 Tom Tromey <tromey@redhat.com>
2306 * target-delegates.c: Rebuild.
2307 * target.c (target_thread_alive): Unconditionally delegate.
2308 * target.h (struct target_ops) <to_thread_alive>: Use
2309 TARGET_DEFAULT_RETURN.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (target_save_record): Unconditionally delegate.
2315 * target.h (struct target_ops) <to_save_record>: Use
2316 TARGET_DEFAULT_NORETURN.
2318 2014-02-19 Tom Tromey <tromey@redhat.com>
2320 * target-delegates.c: Rebuild.
2321 * target.c (target_delete_record): Unconditionally delegate.
2322 * target.h (struct target_ops) <to_delete_record>: Use
2323 TARGET_DEFAULT_NORETURN.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target-delegates.c: Rebuild.
2328 * target.c (target_record_is_replaying): Unconditionally
2330 * target.h (struct target_ops) <to_record_is_replaying>: Use
2331 TARGET_DEFAULT_RETURN.
2333 2014-02-19 Tom Tromey <tromey@redhat.com>
2335 * target-delegates.c: Rebuild.
2336 * target.c (target_goto_record_begin): Unconditionally delegate.
2337 * target.h (struct target_ops) <to_goto_record_begin>: Use
2338 TARGET_DEFAULT_NORETURN.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target-delegates.c: Rebuild.
2343 * target.c (target_goto_record_end): Unconditionally delegate.
2344 * target.h (struct target_ops) <to_goto_record_end>: Use
2345 TARGET_DEFAULT_NORETURN.
2347 2014-02-19 Tom Tromey <tromey@redhat.com>
2349 * target-delegates.c: Rebuild.
2350 * target.c (target_goto_record): Unconditionally delegate.
2351 * target.h (struct target_ops) <to_goto_record>: Use
2352 TARGET_DEFAULT_NORETURN.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (target_insn_history): Unconditionally delegate.
2358 * target.h (struct target_ops) <to_insn_history>: Use
2359 TARGET_DEFAULT_NORETURN.
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target-delegates.c: Rebuild.
2364 * target.c (target_insn_history_from): Unconditionally delegate.
2365 * target.h (struct target_ops) <to_insn_history_from>: 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_range): Unconditionally delegate.
2372 * target.h (struct target_ops) <to_insn_history_range>: Use
2373 TARGET_DEFAULT_NORETURN.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target-delegates.c: Rebuild.
2378 * target.c (target_call_history): Unconditionally delegate.
2379 * target.h (struct target_ops) <to_call_history>: Use
2380 TARGET_DEFAULT_NORETURN.
2382 2014-02-19 Tom Tromey <tromey@redhat.com>
2384 * target-delegates.c: Rebuild.
2385 * target.c (target_call_history_from): Unconditionally delegate.
2386 * target.h (struct target_ops) <to_call_history_from>: Use
2387 TARGET_DEFAULT_NORETURN.
2389 2014-02-19 Tom Tromey <tromey@redhat.com>
2391 * target-delegates.c: Rebuild.
2392 * target.c (target_call_history_range): Unconditionally delegate.
2393 * target.h (struct target_ops) <to_call_history_range>: Use
2394 TARGET_DEFAULT_NORETURN.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * target-delegates.c: Rebuild.
2399 * target.c (target_verify_memory): Unconditionally delegate.
2400 * target.h (struct target_ops) <to_verify_memory>: Use
2401 TARGET_DEFAULT_NORETURN.
2403 2014-02-19 Tom Tromey <tromey@redhat.com>
2405 * target-delegates.c: Rebuild.
2406 * target.c (target_core_of_thread): Unconditionally delegate.
2407 * target.h (struct target_ops) <to_core_of_thread>: Use
2408 TARGET_DEFAULT_RETURN.
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2412 * target-delegates.c: Rebuild.
2413 * target.c (target_flash_done): Unconditionally delegate.
2414 * target.h (struct target_ops) <to_flash_done>: Use
2415 TARGET_DEFAULT_NORETURN.
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2419 * target-delegates.c: Rebuild.
2420 * target.c (target_flash_erase): Unconditionally delegate.
2421 * target.h (struct target_ops) <to_flash_erase>: Use
2422 TARGET_DEFAULT_NORETURN.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target-delegates.c: Rebuild.
2427 * target.c (target_get_section_table): Unconditionally delegate.
2428 * target.h (struct target_ops) <to_get_section_table>: Use
2429 TARGET_DEFAULT_RETURN.
2431 2014-02-19 Tom Tromey <tromey@redhat.com>
2433 * target-delegates.c: Rebuild.
2434 * target.c (target_pid_to_str): Unconditionally delegate.
2435 (init_dummy_target): Don't initialize to_pid_to_str.
2436 (default_pid_to_str): Rename from dummy_pid_to_str.
2437 * target.h (struct target_ops) <to_pid_to_str>: Use
2438 TARGET_DEFAULT_FUNC.
2440 2014-02-19 Tom Tromey <tromey@redhat.com>
2442 * target-delegates.c: Rebuild.
2443 * target.c (target_find_new_threads): Unconditionally delegate.
2444 * target.h (struct target_ops) <to_find_new_threads>: Use
2445 TARGET_DEFAULT_RETURN.
2447 2014-02-19 Tom Tromey <tromey@redhat.com>
2449 * target-delegates.c: Rebuild.
2450 * target.c (target_program_signals): Unconditionally delegate.
2451 * target.h (struct target_ops) <to_program_signals>: Use
2452 TARGET_DEFAULT_IGNORE.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (target_pass_signals): Unconditionally delegate.
2458 * target.h (struct target_ops) <to_pass_signals>: Use
2459 TARGET_DEFAULT_IGNORE.
2461 2014-02-19 Tom Tromey <tromey@redhat.com>
2463 * target-delegates.c: Rebuild.
2464 * target.c (default_mourn_inferior): New function.
2465 (target_mourn_inferior): Unconditionally delegate.
2466 * target.h (struct target_ops) <to_mourn_inferior>: Use
2467 TARGET_DEFAULT_FUNC.
2469 2014-02-19 Tom Tromey <tromey@redhat.com>
2471 * target-delegates.c: Rebuild.
2472 * target.c (default_follow_fork): New function.
2473 (target_follow_fork): Unconditionally delegate.
2474 * target.h (struct target_ops) <to_follow_fork>: Use
2475 TARGET_DEFAULT_FUNC.
2477 2014-02-19 Tom Tromey <tromey@redhat.com>
2479 * target-delegates.c: Rebuild.
2480 * target.c (target_kill): Unconditionally delegate.
2481 * target.h (struct target_ops) <to_kill>: Use
2482 TARGET_DEFAULT_NORETURN.
2484 2014-02-19 Tom Tromey <tromey@redhat.com>
2486 * target-delegates.c: Rebuild.
2487 * target.c (target_masked_watch_num_registers): Unconditionally
2489 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2490 Use TARGET_DEFAULT_RETURN.
2492 2014-02-19 Tom Tromey <tromey@redhat.com>
2494 * target-delegates.c: Rebuild.
2495 * target.c (target_remove_mask_watchpoint): Unconditionally
2497 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2498 TARGET_DEFAULT_RETURN.
2500 2014-02-19 Tom Tromey <tromey@redhat.com>
2502 * target-delegates.c: Rebuild.
2503 * target.c (target_insert_mask_watchpoint): Unconditionally
2505 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2506 TARGET_DEFAULT_RETURN.
2508 2014-02-19 Tom Tromey <tromey@redhat.com>
2510 * target-delegates.c: Rebuild.
2511 * target.c (target_ranged_break_num_registers): Unconditionally
2513 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2514 Use TARGET_DEFAULT_RETURN.
2516 2014-02-19 Tom Tromey <tromey@redhat.com>
2518 * target-delegates.c: Rebuild.
2519 * target.c (target_fetch_registers): Unconditionally delegate.
2520 * target.h (struct target_ops) <to_fetch_registers>: Use
2521 TARGET_DEFAULT_NORETURN.
2523 2014-02-19 Tom Tromey <tromey@redhat.com>
2525 * target-delegates.c: Rebuild.
2526 * target.c (update_current_target): Don't inherit or default
2528 * target.h (struct target_ops) <to_stop>: Use
2529 TARGET_DEFAULT_IGNORE.
2531 2014-02-19 Tom Tromey <tromey@redhat.com>
2533 * target-delegates.c: Rebuild.
2534 * target.c (update_current_target): Don't inherit or default
2535 to_can_run_breakpoint_commands.
2536 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2537 Use TARGET_DEFAULT_RETURN.
2539 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * target-delegates.c: Rebuild.
2542 * target.c (update_current_target): Don't inherit or default
2543 to_supports_evaluation_of_breakpoint_conditions.
2544 * target.h (struct target_ops)
2545 <to_supports_evaluation_of_breakpoint_conditions>: Use
2546 TARGET_DEFAULT_RETURN.
2548 2014-02-19 Tom Tromey <tromey@redhat.com>
2550 * target-delegates.c: Rebuild.
2551 * target.c (update_current_target): Don't inherit or default
2552 to_augmented_libraries_svr4_read.
2553 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2554 Use TARGET_DEFAULT_RETURN.
2556 2014-02-19 Tom Tromey <tromey@redhat.com>
2558 * target-delegates.c: Rebuild.
2559 * target.c (update_current_target): Don't inherit or default
2561 * target.h (struct target_ops) <to_can_use_agent>: Use
2562 TARGET_DEFAULT_RETURN.
2564 2014-02-19 Tom Tromey <tromey@redhat.com>
2566 * target-delegates.c: Rebuild.
2567 * target.c (update_current_target): Don't inherit or default
2569 * target.h (struct target_ops) <to_use_agent>: Use
2570 TARGET_DEFAULT_NORETURN.
2572 2014-02-19 Tom Tromey <tromey@redhat.com>
2574 * target-delegates.c: Rebuild.
2575 * target.c (update_current_target): Don't inherit or default
2577 (return_null): Remove.
2578 * target.h (struct target_ops) <to_traceframe_info>: Use
2579 TARGET_DEFAULT_RETURN.
2581 2014-02-19 Tom Tromey <tromey@redhat.com>
2583 * target-delegates.c: Rebuild.
2584 * target.c (update_current_target): Don't inherit or default
2585 to_static_tracepoint_markers_by_strid.
2586 * target.h (struct target_ops)
2587 <to_static_tracepoint_markers_by_strid>: Use
2588 TARGET_DEFAULT_NORETURN.
2590 2014-02-19 Tom Tromey <tromey@redhat.com>
2592 * target-delegates.c: Rebuild.
2593 * target.c (update_current_target): Don't inherit or default
2594 to_static_tracepoint_marker_at.
2595 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2596 Use TARGET_DEFAULT_RETURN.
2598 2014-02-19 Tom Tromey <tromey@redhat.com>
2600 * target-delegates.c: Rebuild.
2601 * target.c (update_current_target): Don't inherit or default
2603 * target.h (struct target_ops) <to_set_permissions>: Use
2604 TARGET_DEFAULT_IGNORE.
2606 2014-02-19 Tom Tromey <tromey@redhat.com>
2608 * target-delegates.c: Rebuild.
2609 * target.c (update_current_target): Don't inherit or default
2611 * target.h (struct target_ops) <to_get_tib_address>: Use
2612 TARGET_DEFAULT_NORETURN.
2614 2014-02-19 Tom Tromey <tromey@redhat.com>
2616 * target-delegates.c: Rebuild.
2617 * target.c (update_current_target): Don't inherit or default
2619 * target.h (struct target_ops) <to_set_trace_notes>: Use
2620 TARGET_DEFAULT_RETURN.
2622 2014-02-19 Tom Tromey <tromey@redhat.com>
2624 * target-delegates.c: Rebuild.
2625 * target.c (update_current_target): Don't initialize
2626 to_set_trace_buffer_size.
2627 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2628 TARGET_DEFAULT_IGNORE.
2630 2014-02-19 Tom Tromey <tromey@redhat.com>
2632 * target-delegates.c: Rebuild.
2633 * target.c (update_current_target): Don't inherit or default
2634 to_set_circular_trace_buffer.
2635 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2636 TARGET_DEFAULT_IGNORE.
2638 2014-02-19 Tom Tromey <tromey@redhat.com>
2640 * target-delegates.c: Rebuild.
2641 * target.c (update_current_target): Don't inherit or default
2642 to_set_disconnected_tracing.
2643 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2644 TARGET_DEFAULT_IGNORE.
2646 2014-02-19 Tom Tromey <tromey@redhat.com>
2648 * target-delegates.c: Rebuild.
2649 * target.c (update_current_target): Don't inherit or default
2650 to_get_min_fast_tracepoint_insn_len.
2651 (return_minus_one): Remove.
2652 * target.h (struct target_ops)
2653 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2655 2014-02-19 Tom Tromey <tromey@redhat.com>
2657 * target-delegates.c: Rebuild.
2658 * target.c (update_current_target): Don't inherit or default
2659 to_get_raw_trace_data.
2660 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2661 TARGET_DEFAULT_NORETURN.
2663 2014-02-19 Tom Tromey <tromey@redhat.com>
2665 * target-delegates.c: Rebuild.
2666 * target.c (update_current_target): Don't inherit or default
2667 to_upload_trace_state_variables.
2668 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2669 Use TARGET_DEFAULT_RETURN.
2671 2014-02-19 Tom Tromey <tromey@redhat.com>
2673 * target-delegates.c: Rebuild.
2674 * target.c (update_current_target): Don't inherit or default
2675 to_upload_tracepoints.
2676 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2677 TARGET_DEFAULT_RETURN.
2679 2014-02-19 Tom Tromey <tromey@redhat.com>
2681 * target-delegates.c: Rebuild.
2682 * target.c (update_current_target): Don't inherit or default
2684 * target.h (struct target_ops) <to_save_trace_data>: Use
2685 TARGET_DEFAULT_NORETURN.
2687 2014-02-19 Tom Tromey <tromey@redhat.com>
2689 * target-delegates.c: Rebuild.
2690 * target.c (update_current_target): Don't inherit or default
2691 to_get_trace_state_variable_value.
2692 * target.h (struct target_ops)
2693 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2695 2014-02-19 Tom Tromey <tromey@redhat.com>
2697 * target-delegates.c: Rebuild.
2698 * target.c (update_current_target): Don't inherit or default
2700 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target-delegates.c: Rebuild.
2705 * target.c (update_current_target): Don't inherit or default
2707 * target.h (struct target_ops) <to_trace_stop>: Use
2708 TARGET_DEFAULT_NORETURN.
2710 2014-02-19 Tom Tromey <tromey@redhat.com>
2712 * target-delegates.c: Rebuild.
2713 * target.c (update_current_target): Don't inherit or default
2714 to_get_tracepoint_status.
2715 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2716 TARGET_DEFAULT_NORETURN.
2718 2014-02-19 Tom Tromey <tromey@redhat.com>
2720 * target-delegates.c: Rebuild.
2721 * target.c (update_current_target): Don't inherit or default
2722 to_get_trace_status.
2723 * target.h (struct target_ops) <to_get_trace_status>: Use
2724 TARGET_DEFAULT_RETURN.
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target-delegates.c: Rebuild.
2729 * target.c (update_current_target): Don't inherit or default
2731 * target.h (struct target_ops) <to_trace_start>: Use
2732 TARGET_DEFAULT_NORETURN.
2734 2014-02-19 Tom Tromey <tromey@redhat.com>
2736 * target-delegates.c: Rebuild.
2737 * target.c (update_current_target): Don't inherit or default
2738 to_trace_set_readonly_regions.
2739 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2740 Use TARGET_DEFAULT_NORETURN.
2742 2014-02-19 Tom Tromey <tromey@redhat.com>
2744 * target-delegates.c: Rebuild.
2745 * target.c (update_current_target): Don't inherit or default
2746 to_disable_tracepoint.
2747 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2748 TARGET_DEFAULT_NORETURN.
2750 2014-02-19 Tom Tromey <tromey@redhat.com>
2752 * target-delegates.c: Rebuild.
2753 * target.c (update_current_target): Don't inherit or default
2754 to_enable_tracepoint.
2755 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2756 TARGET_DEFAULT_NORETURN.
2758 2014-02-19 Tom Tromey <tromey@redhat.com>
2760 * target-delegates.c: Rebuild.
2761 * target.c (update_current_target): Don't inherit or default
2762 to_download_trace_state_variable.
2763 * target.h (struct target_ops) <to_download_trace_state_variable>:
2764 Use TARGET_DEFAULT_NORETURN.
2766 2014-02-19 Tom Tromey <tromey@redhat.com>
2768 * target-delegates.c: Rebuild.
2769 * target.c (update_current_target): Don't inherit or default
2770 to_can_download_tracepoint.
2771 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2772 TARGET_DEFAULT_RETURN.
2774 2014-02-19 Tom Tromey <tromey@redhat.com>
2776 * target-delegates.c: Rebuild.
2777 * target.c (update_current_target): Don't inherit or default
2778 to_download_tracepoint.
2779 * target.h (struct target_ops) <to_download_tracepoint>: Use
2780 TARGET_DEFAULT_NORETURN.
2782 2014-02-19 Tom Tromey <tromey@redhat.com>
2784 * target-delegates.c: Rebuild.
2785 * target.c (update_current_target): Don't inherit or default
2787 * target.h (struct target_ops) <to_trace_init>: Use
2788 TARGET_DEFAULT_RETURN.
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2792 * target-delegates.c: Rebuild.
2793 * target.c (update_current_target): Don't inherit or default
2794 to_supports_string_tracing.
2795 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2796 TARGET_DEFAULT_RETURN.
2798 2014-02-19 Tom Tromey <tromey@redhat.com>
2800 * target-delegates.c: Rebuild.
2801 * target.c (update_current_target): Don't inherit or default
2802 to_supports_enable_disable_tracepoint.
2803 * target.h (struct target_ops)
2804 <to_supports_enable_disable_tracepoint>: Use
2805 TARGET_DEFAULT_RETURN.
2807 2014-02-19 Tom Tromey <tromey@redhat.com>
2809 * target-delegates.c: Rebuild.
2810 * target.c (update_current_target): Don't inherit or default
2811 to_supports_multi_process.
2812 * target.h (struct target_ops) <to_supports_multi_process>: Use
2813 TARGET_DEFAULT_RETURN.
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2817 * target-delegates.c: Rebuild.
2818 * target.c (update_current_target): Don't inherit or default
2819 to_get_ada_task_ptid.
2820 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2821 TARGET_DEFAULT_FUNC.
2823 2014-02-19 Tom Tromey <tromey@redhat.com>
2825 * target-delegates.c: Rebuild.
2826 * target.c (update_current_target): Don't inherit or default
2827 to_thread_architecture.
2828 * target.h (struct target_ops) <to_thread_architecture>: Use
2829 TARGET_DEFAULT_FUNC.
2831 2014-02-19 Tom Tromey <tromey@redhat.com>
2833 * target-delegates.c: Rebuild.
2834 * target.c (update_current_target): Don't inherit or default
2835 to_execution_direction.
2836 * target.h (struct target_ops) <to_execution_direction>: Use
2837 TARGET_DEFAULT_FUNC.
2839 2014-02-19 Tom Tromey <tromey@redhat.com>
2841 * target-delegates.c: Rebuild.
2842 * target.c (update_current_target): Don't inherit or default
2843 to_can_execute_reverse.
2844 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2845 TARGET_DEFAULT_RETURN.
2846 (target_can_execute_reverse): Unconditionally delegate.
2848 2014-02-19 Tom Tromey <tromey@redhat.com>
2850 * target-delegates.c: Rebuild.
2851 * target.c (update_current_target): Don't inherit or default
2853 (dummy_goto_bookmark): Remove.
2854 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2855 * target.h (struct target_ops) <to_goto_bookmark>: Use
2856 TARGET_DEFAULT_NORETURN.
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * target-delegates.c: Rebuild.
2861 * target.c (update_current_target): Don't inherit or default
2863 (dummy_get_bookmark): Remove.
2864 (init_dummy_target): Don't inherit or default to_get_bookmark.
2865 * target.h (struct target_ops) <to_get_bookmark>: Use
2866 TARGET_DEFAULT_NORETURN
2868 2014-02-19 Tom Tromey <tromey@redhat.com>
2870 * target-delegates.c: Rebuild.
2871 * target.c (update_current_target): Don't inherit or default
2872 to_make_corefile_notes.
2873 (init_dummy_target): Don't initialize to_make_corefile_notes.
2874 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2875 TARGET_DEFAULT_FUNC.
2877 2014-02-19 Tom Tromey <tromey@redhat.com>
2879 * target-delegates.c: Rebuild.
2880 * target.c (update_current_target): Don't inherit or default
2881 to_find_memory_regions.
2882 (init_dummy_target): Don't initialize to_find_memory_regions.
2883 * target.h (struct target_ops) <to_find_memory_regions>: Use
2884 TARGET_DEFAULT_FUNC.
2886 2014-02-19 Tom Tromey <tromey@redhat.com>
2888 * target-delegates.c: Rebuild.
2889 * target.c (update_current_target): Don't inherit or default
2891 * target.h (struct target_ops) <to_log_command>: Use
2892 TARGET_DEFAULT_IGNORE.
2893 (target_log_command): Unconditionally delegate.
2895 2014-02-19 Tom Tromey <tromey@redhat.com>
2897 * target-delegates.c: Rebuild.
2898 * target.c (update_current_target): Don't inherit or default
2899 to_pid_to_exec_file.
2900 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2901 TARGET_DEFAULT_RETURN.
2903 2014-02-19 Tom Tromey <tromey@redhat.com>
2905 * target-delegates.c: Rebuild.
2906 * target.c (update_current_target): Don't inherit or default
2908 (target_thread_name): Unconditionally delegate.
2909 * target.h (struct target_ops) <to_thread_name>: Use
2910 TARGET_DEFAULT_RETURN.
2912 2014-02-19 Tom Tromey <tromey@redhat.com>
2914 * target-delegates.c: Rebuild.
2915 * target.c (update_current_target): Don't inherit or default
2916 to_extra_thread_info.
2917 * target.h (struct target_ops) <to_extra_thread_info>: Use
2918 TARGET_DEFAULT_RETURN.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * target-delegates.c: Rebuild.
2923 * target.c (update_current_target): Don't inherit or default
2925 * target.h (struct target_ops) <to_has_exited>: Use
2926 TARGET_DEFAULT_RETURN..
2928 2014-02-19 Tom Tromey <tromey@redhat.com>
2930 * target-delegates.c: Rebuild.
2931 * target.c (update_current_target): Don't inherit or default
2932 to_set_syscall_catchpoint.
2933 (return_one): Remove.
2934 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2935 TARGET_DEFAULT_RETURN.
2937 2014-02-19 Tom Tromey <tromey@redhat.com>
2939 * target-delegates.c: Rebuild.
2940 * target.c (update_current_target): Don't inherit or default
2941 to_insert_exec_catchpoint.
2942 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2943 TARGET_DEFAULT_RETURN.
2945 2014-01-08 Tom Tromey <tromey@redhat.com>
2947 * target-delegates.c: Rebuild.
2948 * target.c (update_current_target): Don't inherit or default
2949 to_insert_exec_catchpoint.
2950 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2951 TARGET_DEFAULT_RETURN.
2953 2014-02-19 Tom Tromey <tromey@redhat.com>
2955 * target-delegates.c: Rebuild.
2956 * target.c (update_current_target): Don't inherit or default
2957 to_remove_vfork_catchpoint.
2958 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2959 TARGET_DEFAULT_RETURN.
2961 2014-02-19 Tom Tromey <tromey@redhat.com>
2963 * target-delegates.c: Rebuild.
2964 * target.c (update_current_target): Don't inherit or default
2965 to_insert_vfork_catchpoint.
2966 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2967 TARGET_DEFAULT_RETURN.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * target-delegates.c: Rebuild.
2972 * target.c (update_current_target): Don't inherit or default
2973 to_remove_fork_catchpoint.
2974 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2975 TARGET_DEFAULT_RETURN.
2977 2014-02-19 Tom Tromey <tromey@redhat.com>
2979 * target-delegates.c: Rebuild.
2980 * target.c (update_current_target): Don't inherit or default
2981 to_insert_fork_catchpoint.
2982 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2983 TARGET_DEFAULT_RETURN.
2985 2014-02-19 Tom Tromey <tromey@redhat.com>
2987 * target-delegates.c: Rebuild.
2988 * target.c (update_current_target): Don't inherit or default
2989 to_post_startup_inferior.
2990 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2991 TARGET_DEFAULT_IGNORE.
2993 2014-02-19 Tom Tromey <tromey@redhat.com>
2995 * target-delegates.c: Rebuild.
2996 * target.c (update_current_target): Don't inherit or default
2998 * target.h (struct target_ops) <to_load>: Use
2999 TARGET_DEFAULT_NORETURN.
3001 2014-02-19 Tom Tromey <tromey@redhat.com>
3003 * target-delegates.c: Rebuild.
3004 * target.c (update_current_target): Don't inherit or default
3006 * target.h (struct target_ops) <to_terminal_info>: Use
3007 TARGET_DEFAULT_FUNC.
3009 2014-02-19 Tom Tromey <tromey@redhat.com>
3011 * target-delegates.c: Rebuild.
3012 * target.c (update_current_target): Don't inherit or default
3013 to_terminal_save_ours.
3014 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3015 TARGET_DEFAULT_IGNORE.
3017 2014-02-19 Tom Tromey <tromey@redhat.com>
3019 * target-delegates.c: Rebuild.
3020 * target.c (update_current_target): Don't inherit or default
3022 * target.h (struct target_ops) <to_terminal_ours>: Use
3023 TARGET_DEFAULT_IGNORE.
3025 2014-02-19 Tom Tromey <tromey@redhat.com>
3027 * target-delegates.c: Rebuild.
3028 * target.c (update_current_target): Don't inherit or default
3029 to_terminal_ours_for_output.
3030 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3031 TARGET_DEFAULT_IGNORE.
3033 2014-02-19 Tom Tromey <tromey@redhat.com>
3035 * target-delegates.c: Rebuild.
3036 * target.c (update_current_target): Don't inherit or default
3037 to_terminal_inferior.
3038 * target.h (struct target_ops) <to_terminal_inferior>: Use
3039 TARGET_DEFAULT_IGNORE.
3041 2014-02-19 Tom Tromey <tromey@redhat.com>
3043 * target-delegates.c: Rebuild.
3044 * target.c (update_current_target): Don't inherit or default
3046 * target.h (struct target_ops) <to_terminal_init>: Use
3047 TARGET_DEFAULT_IGNORE.
3049 2014-02-19 Tom Tromey <tromey@redhat.com>
3051 * target-delegates.c: Rebuild.
3052 * target.c (update_current_target): Don't inherit or default
3053 to_can_accel_watchpoint_condition.
3054 * target.h (struct target_ops)
3055 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3057 2014-02-19 Tom Tromey <tromey@redhat.com>
3059 * target-delegates.c: Rebuild.
3060 * target.c (update_current_target): Don't inherit or default
3061 to_region_ok_for_hw_watchpoint.
3062 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3063 Use TARGET_DEFAULT_FUNC.
3065 2014-02-19 Tom Tromey <tromey@redhat.com>
3067 * target-delegates.c: Rebuild.
3068 * target.c (update_current_target): Don't inherit or default
3069 to_watchpoint_addr_within_range.
3070 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3071 Use TARGET_DEFAULT_FUNC.
3073 2014-02-19 Tom Tromey <tromey@redhat.com>
3075 * target-delegates.c: Rebuild.
3076 * target.c (update_current_target): Don't inherit or default
3077 to_remove_watchpoint.
3078 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3079 TARGET_DEFAULT_NORETURN.
3081 2014-02-19 Tom Tromey <tromey@redhat.com>
3083 * target-delegates.c: Rebuild.
3084 * target.c (update_current_target): Don't inherit or default
3085 to_insert_watchpoint.
3086 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3087 TARGET_DEFAULT_RETURN.
3089 2014-02-19 Tom Tromey <tromey@redhat.com>
3091 * target-delegates.c: Rebuild.
3092 * target.c (update_current_target): Don't inherit or default
3093 to_remove_hw_breakpoint.
3094 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3095 TARGET_DEFAULT_RETURN.
3097 2014-02-19 Tom Tromey <tromey@redhat.com>
3099 * target-delegates.c: Rebuild.
3100 * target.c (update_current_target): Don't inherit or default
3101 to_insert_hw_breakpoint.
3102 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3103 TARGET_DEFAULT_RETURN.
3105 2014-02-19 Tom Tromey <tromey@redhat.com>
3107 * target-delegates.c: Rebuild.
3108 * target.c (update_current_target): Don't inherit or default
3109 to_can_use_hw_breakpoint.
3110 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3111 TARGET_DEFAULT_RETURN.
3113 2014-02-19 Tom Tromey <tromey@redhat.com>
3115 * target-delegates.c: Rebuild.
3116 * target.c (update_current_target): Don't inherit or default
3118 * target.h (struct target_ops) <to_files_info>: Use
3119 TARGET_DEFAULT_IGNORE.
3121 2014-02-19 Tom Tromey <tromey@redhat.com>
3123 * target-delegates.c: Rebuild.
3124 * target.c (update_current_target): Don't inherit or default
3126 * target.h (struct target_ops) <to_store>: Use
3127 TARGET_DEFAULT_NORETURN.
3129 2014-02-19 Tom Tromey <tromey@redhat.com>
3131 * target-delegates.c: Rebuild.
3132 * target.c (update_current_target): Don't inherit or default
3134 * target.h (struct target_ops) <to_post_attach>: Use
3135 TARGET_DEFAULT_IGNORE.
3137 2014-02-19 Tom Tromey <tromey@redhat.com>
3139 * target-delegates.c: Rebuild.
3140 * target.c (update_current_target): Don't inherit or default
3142 (default_rcmd): New function.
3143 (do_monitor_command): Unconditionally delegate.
3144 * target.h (struct target_ops) <to_rmcd>: Use
3145 TARGET_DEFAULT_FUNC.
3147 2014-02-19 Tom Tromey <tromey@redhat.com>
3149 * target-delegates.c: Rebuild.
3150 * target.c (init_dummy_target): Don't initialize to_attach.
3151 (target_attach): Unconditionally delegate.
3152 * target.h (struct target_ops) <to_attach>: Use
3153 TARGET_DEFAULT_FUNC.
3155 2014-02-19 Tom Tromey <tromey@redhat.com>
3157 * target-delegates.c: Rebuild.
3158 * target.c (target_detach): Unconditionally delegate.
3159 (init_dummy_target): Don't initialize to_detach.
3160 * target.h (struct target_ops) <to_detach>: Use
3161 TARGET_DEFAULT_IGNORE.
3163 2014-02-19 Tom Tromey <tromey@redhat.com>
3165 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3167 (target_augmented_libraries_svr4_read): Add argument.
3168 * target.c (update_current_target): Update.
3169 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3172 2014-02-19 Tom Tromey <tromey@redhat.com>
3174 * target.h (struct target_ops) <to_call_history_range>: Add
3176 * target.c (target_call_history_range): Add argument.
3177 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3179 (record_btrace_call_history_from): Update.
3181 2014-02-19 Tom Tromey <tromey@redhat.com>
3183 * target.h (struct target_ops) <to_call_history_from>: Add
3185 * target.c (target_call_history_from): Add argument.
3186 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3189 2014-02-19 Tom Tromey <tromey@redhat.com>
3191 * target.h (struct target_ops) <to_call_history>: Add argument.
3192 * target.c (target_call_history): Add argument.
3193 * record-btrace.c (record_btrace_call_history): Add 'self'
3196 2014-02-19 Tom Tromey <tromey@redhat.com>
3198 * target.h (struct target_ops) <to_insn_history_range>: Add
3200 * target.c (target_insn_history_range): Add argument.
3201 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3203 (record_btrace_insn_history_from): Update.
3205 2014-02-19 Tom Tromey <tromey@redhat.com>
3207 * target.h (struct target_ops) <to_insn_history_from>: Add
3209 * target.c (target_insn_history_from): Add argument.
3210 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3213 2014-02-19 Tom Tromey <tromey@redhat.com>
3215 * target.h (struct target_ops) <to_insn_history>: Add argument.
3216 * target.c (target_insn_history): Add argument.
3217 * record-btrace.c (record_btrace_insn_history): Add 'self'
3220 2014-02-19 Tom Tromey <tromey@redhat.com>
3222 * target.h (struct target_ops) <to_goto_record>: Add argument.
3223 * target.c (target_goto_record): Add argument.
3224 * record-full.c (record_full_goto): Add 'self' argument.
3225 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3227 2014-02-19 Tom Tromey <tromey@redhat.com>
3229 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3230 * target.c (target_goto_record_end): Add argument.
3231 * record-full.c (record_full_goto_end): Add 'self' argument.
3232 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3234 2014-02-19 Tom Tromey <tromey@redhat.com>
3236 * target.h (struct target_ops) <to_goto_record_begin>: Add
3238 * target.c (target_goto_record_begin): Add argument.
3239 * record-full.c (record_full_goto_begin): Add 'self' argument.
3240 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3243 2014-02-19 Tom Tromey <tromey@redhat.com>
3245 * target.h (struct target_ops) <to_record_is_replaying>: Add
3247 * target.c (target_record_is_replaying): Add argument.
3248 * record-full.c (record_full_is_replaying): Add 'self' argument.
3249 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3251 (record_btrace_xfer_partial, record_btrace_store_registers)
3252 (record_btrace_prepare_to_store, record_btrace_resume)
3253 (record_btrace_wait, record_btrace_decr_pc_after_break)
3254 (record_btrace_find_new_threads, record_btrace_thread_alive):
3257 2014-02-19 Tom Tromey <tromey@redhat.com>
3259 * target.h (struct target_ops) <to_delete_record>: Add argument.
3260 * target.c (target_delete_record): Add argument.
3261 * record-full.c (record_full_delete): Add 'self' argument.
3263 2014-02-19 Tom Tromey <tromey@redhat.com>
3265 * target.h (struct target_ops) <to_save_record>: Add argument.
3266 * target.c (target_save_record): Add argument.
3267 * record-full.c (record_full_save): Add 'self' argument.
3268 (record_full_save): Add 'self' argument.
3270 2014-02-19 Tom Tromey <tromey@redhat.com>
3272 * target.h (struct target_ops) <to_info_record>: Add argument.
3273 * target.c (target_info_record): Add argument.
3274 * record.c (info_record_command): Add argument.
3275 * record-full.c (record_full_info): Add 'self' argument.
3276 * record-btrace.c (record_btrace_info): Add 'self' argument.
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3280 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3281 * target.c (target_stop_recording): Add argument.
3282 * record.c (record_stop): Add argument.
3283 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3286 2014-02-19 Tom Tromey <tromey@redhat.com>
3288 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3289 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3290 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3292 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3293 (_initialize_amd64_linux_nat): Use it.
3294 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3295 (_initialize_i386_linux_nat): Use it.
3297 2014-02-19 Tom Tromey <tromey@redhat.com>
3299 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3300 * target.c (target_teardown_btrace): Add argument.
3301 * remote.c (remote_teardown_btrace): Add 'self' argument.
3302 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3304 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3307 2014-02-19 Tom Tromey <tromey@redhat.com>
3309 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3310 * target.c (target_disable_btrace): Add argument.
3311 * remote.c (remote_disable_btrace): Add 'self' argument.
3312 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3314 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3320 * target.c (target_enable_btrace): Add argument.
3321 * remote.c (remote_enable_btrace): Add 'self' argument.
3322 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3324 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3327 2014-02-19 Tom Tromey <tromey@redhat.com>
3329 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3330 (target_can_use_agent): Add argument.
3331 * target.c (update_current_target): Update.
3332 * remote.c (remote_can_use_agent): Add 'self' argument.
3333 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3335 2014-02-19 Tom Tromey <tromey@redhat.com>
3337 * target.h (struct target_ops) <to_use_agent>: Add argument.
3338 (target_use_agent): Add argument.
3339 * target.c (update_current_target): Update.
3340 * remote.c (remote_use_agent): Add 'self' argument.
3341 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3343 2014-02-19 Tom Tromey <tromey@redhat.com>
3345 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3346 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3347 (target_traceframe_info): Add argument.
3348 * target.c (update_current_target): Update.
3349 * remote.c (remote_traceframe_info): Add 'self' argument.
3350 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3352 2014-02-19 Tom Tromey <tromey@redhat.com>
3354 * target.h (target_static_tracepoint_markers_by_strid): Add
3356 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3358 * target.c (update_current_target): Update.
3359 * remote.c (struct target_ops)
3360 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3361 * linux-nat.c (struct target_ops)
3362 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3364 2014-02-19 Tom Tromey <tromey@redhat.com>
3366 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3368 (target_static_tracepoint_marker_at): Add argument.
3369 * target.c (update_current_target): Update.
3370 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3373 2014-02-19 Tom Tromey <tromey@redhat.com>
3375 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3376 (target_set_permissions): Add argument.
3377 * target.c (update_current_target): Update.
3378 * remote.c (remote_set_permissions): Add 'self' argument.
3379 (remote_start_remote): Update.
3381 2014-02-19 Tom Tromey <tromey@redhat.com>
3383 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3384 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3385 (target_get_tib_address): Add argument.
3386 * target.c (update_current_target): Update.
3387 * remote.c (remote_get_tib_address): Add 'self' argument.
3389 2014-02-19 Tom Tromey <tromey@redhat.com>
3391 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3392 (target_set_trace_notes): Add argument.
3393 * target.c (update_current_target): Update.
3394 * remote.c (remote_set_trace_notes): Add 'self' argument.
3396 2014-02-19 Tom Tromey <tromey@redhat.com>
3398 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3400 (target_set_trace_buffer_size): Add argument.
3401 * target.c (update_current_target): Update.
3402 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3404 2014-02-19 Tom Tromey <tromey@redhat.com>
3406 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3408 (target_set_circular_trace_buffer): Add argument.
3409 * target.c (update_current_target): Update.
3410 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3413 2014-02-19 Tom Tromey <tromey@redhat.com>
3415 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3417 (target_set_disconnected_tracing): Add argument.
3418 * target.c (update_current_target): Update.
3419 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3421 2014-02-19 Tom Tromey <tromey@redhat.com>
3423 * target.h (struct target_ops)
3424 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3425 (target_get_min_fast_tracepoint_insn_len): Add argument.
3426 * target.c (update_current_target): Update.
3427 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3430 2014-02-19 Tom Tromey <tromey@redhat.com>
3432 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3434 (target_get_raw_trace_data): Add argument.
3435 * target.c (update_current_target): Update.
3436 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3438 2014-02-19 Tom Tromey <tromey@redhat.com>
3440 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3442 (target_upload_trace_state_variables): Add argument.
3443 * target.c (update_current_target): Update.
3444 * remote.c (remote_upload_trace_state_variables): Add 'self'
3446 (remote_start_remote): Update.
3448 2014-02-19 Tom Tromey <tromey@redhat.com>
3450 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3452 (target_upload_tracepoints): Add argument.
3453 * target.c (update_current_target): Update.
3454 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3455 (remote_start_remote): Update.
3457 2014-02-19 Tom Tromey <tromey@redhat.com>
3459 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3460 (target_save_trace_data): Add argument.
3461 * target.c (update_current_target): Update.
3462 * remote.c (remote_save_trace_data): Add 'self' argument.
3464 2014-02-19 Tom Tromey <tromey@redhat.com>
3466 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3468 * target.h (struct target_ops)
3469 <to_get_trace_state_variable_value>: Add argument.
3470 (target_get_trace_state_variable_value): Add argument.
3471 * target.c (update_current_target): Update.
3472 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3474 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3476 2014-02-19 Tom Tromey <tromey@redhat.com>
3478 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3479 * target.h (struct target_ops) <to_trace_find>: Add argument.
3480 (target_trace_find): Add argument.
3481 * target.c (update_current_target): Update.
3482 * remote.c (remote_trace_find): Add 'self' argument.
3483 * ctf.c (ctf_trace_find): Add 'self' argument.
3485 2014-02-19 Tom Tromey <tromey@redhat.com>
3487 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3488 (target_trace_stop): Add argument.
3489 * target.c (update_current_target): Update.
3490 * remote.c (remote_trace_stop): Add 'self' argument.
3492 2014-02-19 Tom Tromey <tromey@redhat.com>
3494 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3495 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3497 (target_get_tracepoint_status): Add argument.
3498 * target.c (update_current_target): Update.
3499 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3501 2014-02-19 Tom Tromey <tromey@redhat.com>
3503 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3504 * target.h (struct target_ops) <to_get_trace_status>: Add
3506 (target_get_trace_status): Add argument.
3507 * target.c (update_current_target): Update.
3508 * remote.c (remote_get_trace_status): Add 'self' argument.
3509 (remote_start_remote, remote_can_download_tracepoint): Update.
3510 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3512 2014-02-19 Tom Tromey <tromey@redhat.com>
3514 * target.h (struct target_ops) <to_trace_start>: Add argument.
3515 (target_trace_start): Add argument.
3516 * target.c (update_current_target): Update.
3517 * remote.c (remote_trace_start): Add 'self' argument.
3519 2014-02-19 Tom Tromey <tromey@redhat.com>
3521 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3523 (target_trace_set_readonly_regions): Add argument.
3524 * target.c (update_current_target): Update.
3525 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3528 2014-02-19 Tom Tromey <tromey@redhat.com>
3530 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3532 (target_disable_tracepoint): Add argument.
3533 * target.c (update_current_target): Update.
3534 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3536 2014-02-19 Tom Tromey <tromey@redhat.com>
3538 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3540 (target_enable_tracepoint): Add argument.
3541 * target.c (update_current_target): Update.
3542 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3544 2014-02-19 Tom Tromey <tromey@redhat.com>
3546 * target.h (struct target_ops) <to_download_trace_state_variable>:
3548 (target_download_trace_state_variable): Add argument.
3549 * target.c (update_current_target): Update.
3550 * remote.c (remote_download_trace_state_variable): Add 'self'
3553 2014-02-19 Tom Tromey <tromey@redhat.com>
3555 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3557 (target_can_download_tracepoint): Add argument.
3558 * target.c (update_current_target): Update.
3559 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3561 2014-02-19 Tom Tromey <tromey@redhat.com>
3563 * target.h (struct target_ops) <to_download_tracepoint>: Add
3565 (target_download_tracepoint): Add argument.
3566 * target.c (update_current_target): Update.
3567 * remote.c (remote_download_tracepoint): Add 'self' argument.
3569 2014-02-19 Tom Tromey <tromey@redhat.com>
3571 * target.h (struct target_ops) <to_trace_init>: Add argument.
3572 (target_trace_init): Add argument.
3573 * target.c (update_current_target): Update.
3574 * remote.c (remote_trace_init): Add 'self' argument.
3576 2014-02-19 Tom Tromey <tromey@redhat.com>
3578 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3579 * target.c (target_fileio_readlink): Add argument.
3580 * remote.c (remote_hostio_readlink): Add 'self' argument.
3581 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3583 2014-02-19 Tom Tromey <tromey@redhat.com>
3585 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3586 * target.c (target_fileio_unlink): Add argument.
3587 * remote.c (remote_hostio_unlink): Add 'self' argument.
3588 (remote_file_delete): Update.
3589 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3591 2014-02-19 Tom Tromey <tromey@redhat.com>
3593 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3594 * target.c (target_fileio_close): Add argument.
3595 * remote.c (remote_hostio_close): Add 'self' argument.
3596 (remote_hostio_close_cleanup): Update.
3597 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3599 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3601 2014-02-19 Tom Tromey <tromey@redhat.com>
3603 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3604 * target.c (target_fileio_pread): Add argument.
3605 * remote.c (remote_hostio_pread): Add 'self' argument.
3606 (remote_bfd_iovec_pread, remote_file_get): Update.
3607 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3609 2014-02-19 Tom Tromey <tromey@redhat.com>
3611 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3612 * target.c (target_fileio_pwrite): Add argument.
3613 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3614 (remote_file_put): Update.
3615 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3617 2014-02-19 Tom Tromey <tromey@redhat.com>
3619 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3620 * target.c (target_fileio_open): Add argument.
3621 * remote.c (remote_hostio_open): Add 'self' argument.
3622 (remote_bfd_iovec_open): Add 'self' argument.
3623 (remote_file_put): Add 'self' argument.
3624 (remote_file_get): Add 'self' argument.
3625 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3627 2014-02-19 Tom Tromey <tromey@redhat.com>
3629 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3631 (target_can_run_breakpoint_commands): Add argument.
3632 * target.c (update_current_target): Update.
3633 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3635 (remote_insert_breakpoint): Add 'self' argument.
3636 (remote_insert_hw_breakpoint): Add 'self' argument.
3637 (remote_can_run_breakpoint_commands): Add 'self' argument.
3639 2014-02-19 Tom Tromey <tromey@redhat.com>
3641 * target.h (struct target_ops)
3642 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3643 (target_supports_evaluation_of_breakpoint_conditions): Add
3645 * target.c (update_current_target): Update.
3646 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3648 (remote_insert_breakpoint): Add 'self' argument.
3649 (remote_insert_hw_breakpoint): Add 'self' argument.
3650 (remote_supports_cond_breakpoints): Add 'self' argument.
3652 2014-02-19 Tom Tromey <tromey@redhat.com>
3654 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3656 (target_supports_string_tracing): Add argument.
3657 * target.c (update_current_target): Update.
3658 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3660 2014-02-19 Tom Tromey <tromey@redhat.com>
3662 * target.h (struct target_ops)
3663 <to_supports_disable_randomization>: Add argument.
3664 * target.c (find_default_supports_disable_randomization): Add
3666 (target_supports_disable_randomization): Add argument.
3667 (find_default_supports_disable_randomization): Add 'self'
3669 * remote.c (extended_remote_supports_disable_randomization): Add
3671 (remote_supports_disable_randomization): Add 'self' argument.
3672 (extended_remote_create_inferior): Update.
3673 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3676 2014-02-19 Tom Tromey <tromey@redhat.com>
3678 * target.h (struct target_ops)
3679 <to_supports_enable_disable_tracepoint>: Add argument.
3680 (target_supports_enable_disable_tracepoint): Add argument.
3681 * target.c (update_current_target): Update.
3682 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3685 2014-02-19 Tom Tromey <tromey@redhat.com>
3687 * target.h (struct target_ops) <to_supports_multi_process>: Add
3689 (target_supports_multi_process): Add argument.
3690 * target.c (update_current_target): Update.
3691 * remote.c (remote_supports_multi_process): Add 'self' argument.
3692 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3694 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3697 2014-02-19 Tom Tromey <tromey@redhat.com>
3699 * target.h (struct target_ops) <to_execution_direction>: Add
3701 (target_execution_direction): Add argument.
3702 * target.c (default_execution_direction): Add 'self' argument.
3703 * record-full.c (record_full_execution_direction): Add 'self'
3706 2014-02-19 Tom Tromey <tromey@redhat.com>
3708 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3710 (target_can_execute_reverse): Add argument.
3711 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3712 * record-full.c (record_full_can_execute_reverse): Add 'self'
3714 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3717 2014-02-19 Tom Tromey <tromey@redhat.com>
3719 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3720 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3722 (target_get_ada_task_ptid): Add argument.
3723 * target.c (update_current_target): Update.
3724 (default_get_ada_task_ptid): Add 'self' argument.
3725 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3726 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3727 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3729 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3731 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3733 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3735 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3736 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3739 2014-02-19 Tom Tromey <tromey@redhat.com>
3741 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3742 (target_goto_bookmark): Add argument.
3743 * target.c (dummy_goto_bookmark): Add 'self' argument.
3744 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3746 2014-02-19 Tom Tromey <tromey@redhat.com>
3748 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3749 (target_get_bookmark): Add argument.
3750 * target.c (dummy_get_bookmark): Add 'self' argument.
3751 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3753 2014-02-19 Tom Tromey <tromey@redhat.com>
3755 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3757 (target_make_corefile_notes): Add argument.
3758 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3759 * procfs.c (procfs_make_note_section): Add 'self' argument.
3760 (procfs_make_note_section): Add 'self' argument.
3761 (procfs_make_note_section): Add 'self' argument.
3762 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3764 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3765 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3766 * exec.c (exec_make_note_section): Add 'self' argument.
3767 (exec_make_note_section): Add 'self' argument.
3769 2014-02-19 Tom Tromey <tromey@redhat.com>
3771 * target.h (struct target_ops) <to_find_memory_regions>: Add
3773 (target_find_memory_regions): Add argument.
3774 * target.c (dummy_find_memory_regions): Add 'self' argument.
3775 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3776 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3777 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3778 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3779 * exec. (exec_do_find_memory_regions): New global.
3780 (exec_set_find_memory_regions): Rewrite.
3781 (exec_find_memory_regions): New function.
3782 (init_exec_ops): Use exec_find_memory_regions.
3784 2014-02-19 Tom Tromey <tromey@redhat.com>
3786 * target.h (struct target_ops) <to_supports_non_stop>: Add
3788 * target.c (find_default_supports_non_stop): Add argument.
3789 (target_supports_non_stop): Add argument.
3790 (find_default_supports_non_stop): Add 'self' argument.
3791 * remote.c (remote_supports_non_stop): Add 'self' argument.
3792 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3794 2014-02-19 Tom Tromey <tromey@redhat.com>
3796 * target.h (struct target_ops) <to_log_command>: Add argument.
3797 (target_log_command): Add argument.
3798 * serial.h (serial_log_command): Add 'self' argument.
3799 * serial.c (serial_log_command): Add 'self' argument.
3801 2014-02-19 Tom Tromey <tromey@redhat.com>
3803 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3804 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3806 (target_pid_to_exec_file): Add argument.
3807 * target.c (debug_to_pid_to_exec_file): Add argument.
3808 (update_current_target): Update.
3809 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3810 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3811 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3812 (linux_handle_extended_wait): Update.
3813 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3814 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3815 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3816 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3818 2014-02-19 Tom Tromey <tromey@redhat.com>
3820 * target.h (struct target_ops) <to_rcmd>: Add argument.
3821 (target_rcmd): Add argument.
3822 * target.c (debug_to_rcmd): Add argument.
3823 (update_current_target, do_monitor_command): Update.
3824 * remote.c (remote_rcmd): Add 'self' argument.
3825 * monitor.c (monitor_rcmd): Add 'self' argument.
3827 2014-02-19 Tom Tromey <tromey@redhat.com>
3829 * windows-nat.c (windows_stop): Add 'self' argument.
3830 * target.h (struct target_ops) <to_stop>: Add argument.
3831 * target.c (target_stop): Add argument.
3832 (debug_to_stop): Add argument.
3833 (update_current_target): Update.
3834 * remote.c (remote_stop): Add 'self' argument.
3835 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3836 (gdbsim_cntrl_c): Update.
3837 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3838 * procfs.c (procfs_stop): Add 'self' argument.
3839 * nto-procfs.c (procfs_stop): Add 'self' argument.
3840 * monitor.c (monitor_stop): Add 'self' argument.
3841 (monitor_open): Update.
3842 * linux-nat.c (linux_nat_stop): Add argument.
3843 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3844 * gnu-nat.c (gnu_stop): Add 'self' argument.
3845 * darwin-nat.c (darwin_stop): Add 'self' argument.
3847 2014-02-19 Tom Tromey <tromey@redhat.com>
3849 * target.h (struct target_ops) <to_thread_name>: Add argument.
3850 * target.c (target_thread_name): Add argument.
3851 (update_current_target): Update.
3852 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3854 2014-02-19 Tom Tromey <tromey@redhat.com>
3856 * target.h (struct target_ops) <to_extra_thread_info>: Add
3858 (target_extra_thread_info): Add argument.
3859 * target.c (update_current_target): Update.
3860 * remote.c (remote_threads_extra_info): Add 'self' argument.
3861 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3863 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3864 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3865 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3867 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3869 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3871 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3874 2014-02-19 Tom Tromey <tromey@redhat.com>
3876 * target.h (struct target_ops) <to_program_signals>: Add argument.
3877 * target.c (target_program_signals): Add argument.
3878 * remote.c (remote_program_signals): Add 'self' argument.
3880 2014-02-19 Tom Tromey <tromey@redhat.com>
3882 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3883 * target.c (target_pass_signals): Add argument.
3884 * remote.c (remote_pass_signals): Add 'self' argument.
3885 (remote_start_remote): Update.
3886 * procfs.c (procfs_pass_signals): Add 'self' argument.
3887 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3888 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3889 (linux_nat_create_inferior, linux_nat_attach): Update.
3891 2014-02-19 Tom Tromey <tromey@redhat.com>
3893 * windows-nat.c (windows_can_run): Add 'self' argument.
3894 * target.h (struct target_ops) <to_can_run>: Add argument.
3895 (target_can_run): Add argument.
3896 * target.c (debug_to_can_run): Add argument.
3897 (update_current_target): Update.
3898 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3899 * inf-child.c (inf_child_can_run): Add 'self' argument.
3900 * go32-nat.c (go32_can_run): Add 'self' argument.
3902 2014-02-19 Tom Tromey <tromey@redhat.com>
3904 * target.h (struct target_ops) <to_has_exited>: Add argument.
3905 (target_has_exited): Add argument.
3906 * target.c (debug_to_has_exited): Add argument.
3907 (update_current_target): Update.
3909 2014-02-19 Tom Tromey <tromey@redhat.com>
3911 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3913 (target_set_syscall_catchpoint): Add argument.
3914 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3916 * target.c (update_current_target): Update.
3918 2014-02-19 Tom Tromey <tromey@redhat.com>
3920 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3922 (target_remove_exec_catchpoint): Add argument.
3923 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3924 (update_current_target): Update.
3925 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3928 2014-02-19 Tom Tromey <tromey@redhat.com>
3930 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3932 (target_insert_exec_catchpoint): Add argument.
3933 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3934 (update_current_target): Update.
3935 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3938 2014-02-19 Tom Tromey <tromey@redhat.com>
3940 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3942 (target_remove_vfork_catchpoint): Add argument.
3943 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3944 (update_current_target): Update.
3945 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3948 2014-02-19 Tom Tromey <tromey@redhat.com>
3950 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3952 (target_insert_vfork_catchpoint): Add argument.
3953 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3954 (update_current_target): Update.
3955 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3958 2014-02-19 Tom Tromey <tromey@redhat.com>
3960 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3962 (target_remove_fork_catchpoint): Add argument.
3963 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3964 (update_current_target): Update.
3965 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3968 2014-02-19 Tom Tromey <tromey@redhat.com>
3970 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3972 (target_insert_fork_catchpoint): Add argument.
3973 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3974 (update_current_target): Update.
3975 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3978 2014-02-19 Tom Tromey <tromey@redhat.com>
3980 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3982 (target_post_startup_inferior): Add argument.
3983 * target.c (debug_to_post_startup_inferior): Add argument.
3984 (update_current_target): Update.
3985 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3987 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3989 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3991 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3993 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3995 (super_post_startup_inferior): Likewise.
3996 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3998 (super_post_startup_inferior): Likewise.
3999 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4000 Add 'self' argument.
4001 (super_post_startup_inferior): Likewise.
4003 2014-02-19 Tom Tromey <tromey@redhat.com>
4005 * target.h (struct target_ops) <to_load>: Add argument.
4006 * target.c (target_load): Add argument.
4007 (debug_to_load): Add argument.
4008 (update_current_target): Update.
4009 * remote.c (remote_load): Add 'self' argument.
4010 * remote-sim.c (gdbsim_load): Add 'self' argument.
4011 * remote-mips.c (mips_load): Add 'self' argument.
4012 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4013 * monitor.c (monitor_load): Add 'self' argument.
4014 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4016 2014-02-19 Tom Tromey <tromey@redhat.com>
4018 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4019 (target_terminal_info): Add argument.
4020 * target.c (debug_to_terminal_info): Add argument.
4021 (default_terminal_info): Likewise.
4022 * inflow.c (child_terminal_info): Add 'self' argument.
4023 * inferior.h (child_terminal_info): Add 'self' argument.
4024 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4026 2014-02-19 Tom Tromey <tromey@redhat.com>
4028 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4030 (target_terminal_save_ours): Add argument.
4031 * target.c (debug_to_terminal_save_ours): Add argument.
4032 (update_current_target): Update.
4033 * inflow.c (terminal_save_ours): Add 'self' argument.
4034 * inferior.h (terminal_save_ours): Add 'self' argument.
4036 2014-02-19 Tom Tromey <tromey@redhat.com>
4038 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4039 (target_terminal_ours): Add argument.
4040 * target.c (debug_to_terminal_ours): Add argument.
4041 (update_current_target): Update.
4042 * remote.c (remote_terminal_ours): Add 'self' argument.
4043 (remote_close): Update.
4044 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4045 * inflow.c (terminal_ours): Add 'self' argument.
4046 * inferior.h (terminal_ours): Add 'self' argument.
4047 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4049 2014-02-19 Pedro Alves <palves@redhat.com>
4050 Tom Tromey <tromey@redhat.com>
4052 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4054 (target_terminal_ours_for_output): Add argument.
4055 * target.c (debug_to_terminal_ours_for_output): Add argument.
4056 (update_current_target): Update.
4057 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4058 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4059 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4061 2014-02-19 Tom Tromey <tromey@redhat.com>
4063 * target.h (struct target_ops) <to_terminal_inferior>: Add
4065 * target.c (target_terminal_inferior): Add argument.
4066 (update_current_target): Update.
4067 * remote.c (remote_terminal_inferior): Add 'self' argument.
4068 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4069 * inflow.c (terminal_inferior): Add 'self' argument.
4070 * inferior.h (terminal_inferior): Add 'self' argument.
4071 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4072 (go32_terminal_inferior): Add 'self' argument.
4074 2014-02-19 Tom Tromey <tromey@redhat.com>
4076 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4077 (target_terminal_init): Add argument.
4078 * target.c (debug_to_terminal_init): Add argument.
4079 (update_current_target): Update.
4080 * inflow.c (terminal_init_inferior): Add 'self' argument.
4081 * inferior.h (terminal_init_inferior): Add 'self' argument.
4082 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4083 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4085 2014-02-19 Tom Tromey <tromey@redhat.com>
4087 * target.h (struct target_ops)
4088 <to_can_accel_watchpoint_condition>: Add argument.
4089 (target_can_accel_watchpoint_condition): Add argument.
4090 * target.c (debug_to_can_accel_watchpoint_condition): Add
4092 (update_current_target): Update.
4093 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4096 2014-02-19 Tom Tromey <tromey@redhat.com>
4098 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4100 (target_region_ok_for_hw_watchpoint): Add argument.
4101 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4102 (default_region_ok_for_hw_watchpoint): Add argument.
4103 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4104 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4106 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4108 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4110 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4112 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4114 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4116 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4117 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4119 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4120 Add 'self' argument.
4122 2014-02-19 Tom Tromey <tromey@redhat.com>
4124 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4126 (target_insert_watchpoint): Add argument.
4127 * target.c (debug_to_insert_watchpoint): Add argument.
4128 (update_current_target): Update.
4129 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4130 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4131 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4132 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4133 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4134 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4136 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4137 (procfs_insert_hw_watchpoint): Add 'self' argument.
4138 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4140 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4142 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4144 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4145 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4147 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4150 2014-02-19 Tom Tromey <tromey@redhat.com>
4152 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4154 (target_remove_watchpoint): Add argument.
4155 * target.c (debug_to_remove_watchpoint): Add argument.
4156 (update_current_target): Update.
4157 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4158 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4159 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4160 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4161 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4162 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4164 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4165 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4167 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4169 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4171 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4172 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4174 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4177 2014-02-19 Tom Tromey <tromey@redhat.com>
4179 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4181 (target_remove_hw_breakpoint): Add argument.
4182 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4183 (update_current_target): Update.
4184 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4185 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4187 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4188 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4190 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4193 2014-02-19 Tom Tromey <tromey@redhat.com>
4195 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4197 (target_insert_hw_breakpoint): Add argument.
4198 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4199 (update_current_target): Update.
4200 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4201 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4203 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4204 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4205 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4207 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4210 2014-02-19 Tom Tromey <tromey@redhat.com>
4212 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4214 (target_can_use_hardware_watchpoint): Add argument.
4215 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4216 (update_current_target): Update.
4217 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4219 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4221 * remote.c (remote_check_watch_resources): Add 'self' argument.
4222 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4223 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4225 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4226 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4228 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4230 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4232 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4234 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4236 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4238 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4239 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4241 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4244 2014-02-19 Tom Tromey <tromey@redhat.com>
4246 * target.h (struct target_ops) <to_post_attach>: Add argument.
4247 (target_post_attach): Add argument.
4248 * target.c (debug_to_post_attach): Add argument.
4249 (update_current_target): Update.
4250 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4251 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4252 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4253 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4254 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4256 2014-02-19 Tom Tromey <tromey@redhat.com>
4258 * windows-nat.c (windows_close): Add 'self' argument.
4259 * tracepoint.c (tfile_close): Add 'self' argument.
4260 * target.h (struct target_ops) <to_close>: Add argument.
4261 * target.c (target_close): Add argument.
4262 (update_current_target): Update.
4263 * remote.c (remote_close): Add 'self' argument.
4264 * remote-sim.c (gdbsim_close): Add 'self' argument.
4265 * remote-mips.c (mips_close): Add 'self' argument.
4266 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4267 * record-full.c (record_full_close): Add 'self' argument.
4268 * record-btrace.c (record_btrace_close): Add 'self' argument.
4269 * monitor.h (monitor_close): Add 'self' argument.
4270 * monitor.c (monitor_close): Add 'self' argument.
4271 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4272 * linux-nat.c (linux_nat_close): Add argument.
4273 * go32-nat.c (go32_close): Add 'self' argument.
4274 * exec.c (exec_close_1): Add 'self' argument.
4275 * ctf.c (ctf_close): Add 'self' argument.
4276 * corelow.c (core_close): Add 'self' argument.
4277 (core_close_cleanup): Update.
4278 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4279 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4281 2014-02-19 Tom Tromey <tromey@redhat.com>
4283 * remote.c (remote_load): New function.
4284 (init_remote_ops): Use it.
4286 2014-02-19 Tom Tromey <tromey@redhat.com>
4288 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4290 * common/linux-btrace.h (linux_supports_btrace): Update.
4291 * remote.c (remote_supports_btrace): Add "self" argument.
4292 * target-delegates.c: Rebuild.
4293 * target.c (target_supports_btrace): Remove.
4294 * target.h (struct target_ops) <to_supports_btrace>: Add
4295 target_ops argument.
4296 (target_supports_btrace): New define.
4298 2014-02-19 Tom Tromey <tromey@redhat.com>
4300 * record-full.c (record_full_beneath_to_resume_ops)
4301 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4302 (record_full_beneath_to_wait)
4303 (record_full_beneath_to_store_registers_ops)
4304 (record_full_beneath_to_store_registers)
4305 (record_full_beneath_to_xfer_partial_ops)
4306 (record_full_beneath_to_xfer_partial)
4307 (record_full_beneath_to_insert_breakpoint_ops)
4308 (record_full_beneath_to_insert_breakpoint)
4309 (record_full_beneath_to_remove_breakpoint_ops)
4310 (record_full_beneath_to_remove_breakpoint)
4311 (record_full_beneath_to_stopped_by_watchpoint)
4312 (record_full_beneath_to_stopped_data_address)
4313 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4314 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4315 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4316 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4317 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4318 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4319 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4320 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4321 (record_full_resume, record_full_wait_1)
4322 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4323 (record_full_store_registers, record_full_xfer_partial)
4324 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4325 (record_full_async, record_full_core_xfer_partial): Use target
4327 * target-delegates.c: Rebuild.
4328 * target.c (current_xfer_partial): Remove.
4329 (update_current_target): Do not INHERIT or de_fault
4330 to_insert_breakpoint, to_remove_breakpoint,
4331 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4332 to_is_async_p, to_async. Do not set to_xfer_partial field.
4333 (default_xfer_partial): Simplify.
4334 (current_xfer_partial): Remove.
4335 (target_wait, target_resume): Simplify.
4336 (find_default_can_async_p, find_default_is_async_p): Update.
4337 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4338 to_xfer_partial, to_stopped_by_watchpoint,
4339 to_stopped_data_address.
4340 (target_store_registers): Simplify.
4341 (forward_target_remove_breakpoint)
4342 (forward_target_insert_breakpoint): Remove.
4343 (target_remove_breakpoint, target_insert_breakpoint)
4344 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4345 * target.h (struct target_ops) <to_resume, to_wait,
4346 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4347 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4348 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4350 (forward_target_remove_breakpoint)
4351 (forward_target_insert_breakpoint): Remove.
4352 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4354 (record_btrace_insert_breakpoint): Delegate directly.
4356 2014-02-19 Tom Tromey <tromey@redhat.com>
4359 * target-delegates.c: New file.
4360 * target.c: Include target-delegates.c.
4361 (init_dummy_target): Call install_dummy_methods.
4362 (complete_target_initialization): Call install_delegators.
4363 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4364 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4365 * make-target-delegates: New file.
4367 2014-02-19 Tom Tromey <tromey@redhat.com>
4369 * record.c (find_record_target): Use find_target_at.
4370 * target.c (find_target_at): New function.
4371 * target.h (find_target_at): Declare.
4373 2014-02-19 Tom Tromey <tromey@redhat.com>
4375 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4377 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4379 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4380 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4382 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4384 * linux-nat.c (save_sigtrap): Update.
4385 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4386 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4387 (linux_nat_close): Update.
4388 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4390 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4392 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4393 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4394 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4395 (tmp_to_async): Add 'ops' argument.
4396 (record_full_stopped_by_watchpoint, record_full_async)
4397 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4399 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4400 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4401 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4402 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4403 (remote_is_async_p, remote_async): Add 'ops' argument.
4404 (remote_stopped_data_address): Update.
4405 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4406 * target.c (update_current_target)
4407 (find_default_can_async_p, find_default_is_async_p): Update.
4408 (init_dummy_target): Update.
4409 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4410 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4411 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4412 (target_can_async_p, target_is_async_p, target_async)
4413 (target_stopped_by_watchpoint): Update.
4415 2014-02-19 Yao Qi <yao@codesourcery.com>
4418 * gdbarch.sh: Remove startup_gdbarch.
4419 * gdbarch.c: Regenerated.
4420 * gdbarch.h: Likewise.
4422 2014-02-17 Kevin Buettner <kevinb@redhat.com>
4424 * rl78-tdep.c (rl78_g10_register_name): New function.
4425 (rl78_return_value): Add g10 support.
4426 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4429 2014-02-17 Doug Evans <xdje42@gmail.com>
4431 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4432 (SUBDIR_GUILE_SRCS): Ditto.
4433 (scm-gsmob.o): Ditto.
4435 2014-02-17 Yao Qi <yao@codesourcery.com>
4437 * gnu-nat.c (ILL_RPC): Declare defined function.
4439 2014-02-17 Yao Qi <yao@codesourcery.com>
4441 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4442 mach_msg_type_number_t.
4443 (gnu_write_inferior): Likewise.
4445 2014-02-17 Yao Qi <yao@codesourcery.com>
4447 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4449 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4450 (inf_validate_procs, inf_signal): Likewise.
4451 (S_exception_raise_request): Likewise.
4452 (do_mach_notify_dead_name): Likewise.
4453 (steal_exc_port): Likewise.
4454 (gnu_read_inferior): Change 'copy_count''s type to
4455 mach_msg_type_number_t.
4456 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4459 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4461 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4462 flag. Adjust all users; in particular...
4463 (gnu_wait): ..., don't decrement its value in here...
4464 (gnu_create_inferior): ..., and instead set the flag in here,
4465 around the startup_inferior call, and call that one with
4466 START_INFERIOR_TRAPS_EXPECTED.
4468 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4469 (ILL_RPC): ... new macro.
4470 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4471 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4472 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4473 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4474 functions with ILL_RPC macro.
4475 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4476 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4477 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4478 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4479 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4480 (S_proc_getlogin_reply, S_proc_getsid_reply)
4481 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4482 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4483 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4484 (S_proc_getnports_reply, S_proc_is_important_reply)
4485 (S_proc_get_code_reply): New stub functions, generated with
4488 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4489 collected the type check structures.
4491 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4493 2014-02-14 Doug Evans <dje@google.com>
4495 * target.c (target_write_partial): Fix result type.
4497 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4499 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4500 the proper offsets to access fpregset_t.
4502 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4504 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4505 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4506 * h8300-tdep.c (setmachinelist): Remove global.
4507 * hppa-tdep.c (hppa_sigtramp): Remove global.
4508 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4509 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4510 * ravenscar-thread.c (update_target_observer): Remove global.
4511 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4513 2014-02-12 Tom Tromey <tromey@redhat.com>
4515 * common/rsp-low.c: Update comments.
4516 * common/rsp-low.h: Update comments.
4518 2014-02-12 Tom Tromey <tromey@redhat.com>
4520 * common/rsp-low.c (convert_ascii_to_int): Remove.
4521 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4523 2014-02-12 Tom Tromey <tromey@redhat.com>
4525 * common/rsp-low.h (unhexify): Don't declare.
4526 * common/rsp-low.c (unhexify): Remove.
4528 2014-02-12 Tom Tromey <tromey@redhat.com>
4530 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4531 * common/rsp-low.c (convert_int_to_ascii): Remove.
4533 2014-02-12 Tom Tromey <tromey@redhat.com>
4535 * common/rsp-low.h (hexify): Don't declare.
4536 * common/rsp-low.c (hexify): Remove.
4538 2014-02-12 Tom Tromey <tromey@redhat.com>
4540 * common/rsp-low.c (hexify): Never take strlen of argument.
4542 2014-02-12 Tom Tromey <tromey@redhat.com>
4544 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4545 * remote.c (extended_remote_run, remote_rcmd)
4546 (remote_download_trace_state_variable, remote_save_trace_data)
4547 (remote_set_trace_notes): Update.
4548 * tracepoint.c (encode_source_string, tfile_write_status)
4549 (tfile_write_uploaded_tsv): Update.
4551 2014-02-12 Tom Tromey <tromey@redhat.com>
4553 * tracepoint.c: Include rsp-low.h.
4554 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4555 * remote.c: Include rsp-low.h.
4556 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4557 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4558 (remote_unescape_input): Move to common/rsp-low.c.
4559 * common/rsp-low.h: New file.
4560 * common/rsp-low.c: New file.
4561 * Makefile.in (SFILES): Add common/rsp-low.c.
4562 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4563 (COMMON_OBS): Add rsp-low.o.
4564 (rsp-low.o): New target.
4566 2014-02-12 Tom Tromey <tromey@redhat.com>
4568 * utils.h: Include print-utils.h.
4569 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4570 (int_string, core_addr_to_string, core_addr_to_string_nz)
4571 (hex_string, hex_string_custom): Don't declare.
4572 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4573 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4574 (hex_string_custom, int_string, core_addr_to_string)
4575 (core_addr_to_string_nz, host_address_to_string): Move to
4576 common/print-utils.c.
4577 * common/print-utils.h: New file.
4578 * common/print-utils.c: New file
4579 * Makefile.in (SFILES): Add common/print-utils.c.
4580 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4581 (COMMON_OBS): Add print-utils.o.
4582 (print-utils.o): New target.
4584 2014-02-12 Tom Tromey <tromey@redhat.com>
4586 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4588 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4590 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4592 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4594 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4595 if a PT_IO ptrace request returns sucessfully but indicates that 0
4596 bytes were transferred.
4598 2014-02-12 Pedro Alves <palves@redhat.com>
4599 Kevin Buettner <kevinb@redhat.com>
4601 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4602 TYPE_INSTANCE_FLAG_CODE_SPACE.
4604 2014-02-12 Pedro Alves <palves@redhat.com>
4606 * h8300-tdep.c (pseudo_from_raw_register)
4607 (raw_from_pseudo_register): New functions.
4608 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4611 2014-02-12 Pedro Alves <palves@redhat.com>
4613 * h8300-tdep.c (h8300_register_sim_regno): New function.
4614 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4615 gdbarch_register_sim_regno hook.
4617 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4619 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4621 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4623 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4625 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4627 * obsd-tdep.h (obsd_init_abi): New prototype.
4628 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4629 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4630 (obsd_init_abi): New functions.
4631 * i386obsd-tdep.c: Include "obsd-tdep.h".
4632 (i386obsd_init_abi): Call obsd_init_abi.
4633 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4634 (amd64obsd_init_abi): Call obsd_init_abi.
4635 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4636 obsd-tdep.c to gdb_target_obs.
4638 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4640 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4641 double float arguments to 16-byte in the argument slots.
4643 2014-02-11 Doug Evans <xdje42@gmail.com>
4645 * configure.ac: Don't crash if pkg-config is not found and guile
4646 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4648 * configure: Regenerate.
4650 2014-02-11 Yao Qi <yao@codesourcery.com>
4652 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4653 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4654 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4655 * gnu-nat.c (gnu_xfer_memory): Likewise.
4656 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4657 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4658 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4659 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4661 2014-02-11 Yao Qi <yao@codesourcery.com>
4663 * target.h (enum target_xfer_error): Rename to ...
4664 (enum target_xfer_status): ... it. New. All users updated.
4665 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4667 (TARGET_XFER_STATUS_ERROR_P): New macro.
4668 (target_xfer_error_to_string): Remove declaration.
4669 (target_xfer_status_to_string): Declare.
4670 (target_xfer_partial_ftype): Adjust it.
4671 (struct target_ops) <to_xfer_partial>: Return
4672 target_xfer_status. Add argument xfered_len. Update
4674 * target.c (target_xfer_error_to_string): Rename to ...
4675 (target_xfer_status_to_string): ... it. New. All callers
4677 (target_read_live_memory): Likewise. Call target_xfer_partial
4678 instead of target_read.
4679 (memory_xfer_live_readonly_partial): Return
4680 target_xfer_status. Add argument xfered_len.
4681 (raw_memory_xfer_partial): Likewise.
4682 (memory_xfer_partial_1): Likewise.
4683 (memory_xfer_partial): Likewise.
4684 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4685 properly. Update debug message.
4686 (default_xfer_partial, current_xfer_partial): Likewise.
4687 (target_write_partial): Likewise.
4688 (target_read_partial): Likewise. All callers updated.
4689 (read_whatever_is_readable): Likewise.
4690 (target_write_with_progress): Likewise.
4691 (target_read_alloc_1): Likewise.
4693 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4694 * auxv.c (procfs_xfer_auxv): Likewise.
4695 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4696 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4697 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4698 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4699 * corefile.c (read_memory): Adjust.
4700 * corelow.c (core_xfer_partial): Likewise.
4701 * ctf.c (ctf_xfer_partial): Likewise.
4702 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4704 (darwin_xfer_partial): Likewise.
4705 * exec.c (section_table_xfer_memory_partial): Likewise. All
4707 (exec_xfer_partial): Likewise.
4708 * exec.h (section_table_xfer_memory_partial): Update
4710 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4712 (gnu_xfer_partial): Likewise.
4713 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4714 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4715 (ia64_hpux_xfer_solib_got): Likewise.
4716 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4717 type of 'partial_len' to ULONGEST.
4718 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4719 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4720 (linux_nat_xfer_partial): Likewise.
4721 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4722 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4723 * monitor.c (monitor_xfer_memory): Likewise.
4724 (monitor_xfer_partial): Likewise.
4725 * procfs.c (procfs_xfer_partial): Likewise.
4726 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4727 * record-full.c (record_full_xfer_partial): Likewise.
4728 (record_full_core_xfer_partial): Likewise.
4729 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4730 (gdbsim_xfer_partial): Likewise.
4731 * remote.c (remote_write_bytes_aux): Likewise. All callers
4733 (remote_write_bytes, remote_read_bytes): Likewise. All
4735 (remote_flash_erase): Likewise. All callers updated.
4736 (remote_write_qxfer): Likewise. All callers updated.
4737 (remote_read_qxfer): Likewise. All callers updated.
4738 (remote_xfer_partial): Likewise.
4739 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4740 (rs6000_xfer_shared_libraries): Likewise.
4741 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4742 (sol_thread_xfer_partial): Likewise.
4743 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4744 (sparc_xfer_partial): Likewise.
4745 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4747 (spu_xfer_partial): Likewise.
4748 * spu-multiarch.c (spu_xfer_partial): Likewise.
4749 * tracepoint.c (tfile_xfer_partial): Likewise.
4750 * windows-nat.c (windows_xfer_memory): Likewise.
4751 (windows_xfer_shared_libraries): Likewise.
4752 (windows_xfer_partial): Likewise.
4753 * valprint.c: Replace 'target_xfer_error' with
4754 'target_xfer_status' in comments.
4756 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4758 Checked in by Joel Brobecker <brobecker@adacore.com>.
4759 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4761 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4763 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4764 function parameters.
4766 2014-02-10 Will Newton <will.newton@linaro.org>
4768 * elfread.c (elf_rel_plt_read): Look for a .got section if
4769 looking up .got.plt fails.
4770 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4771 on address passed to elf_gnu_ifunc_record_cache.
4772 (elf_gnu_ifunc_resolve_addr): Likewise.
4773 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4775 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4777 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4778 (X_RETTURN): New macro.
4779 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4781 * sparc64-tdep.c (sparc64_init_abi): Hook
4782 sparc_in_function_epilogue_p.
4784 2014-02-10 Gary Benson <gbenson@redhat.com>
4786 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4787 Rename name_matcher to symbol_matcher.
4789 2014-02-10 Gary Benson <gbenson@redhat.com>
4791 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4792 Use expand_symtabs_file_matcher_ftype and
4793 expand_symtabs_symbol_matcher_ftype.
4795 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4797 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4798 (struct ada_symbol_cache): New.
4799 (ada_free_symbol_cache): Forward declare.
4800 (struct ada_pspace_data): New.
4801 (ada_pspace_data_handle): New static global.
4802 (get_ada_pspace_data, ada_pspace_data_cleanup)
4803 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4804 (cache_space, cache): Delete, now folded inside struct
4806 (ada_get_symbol_cache): New function.
4807 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4809 (_initialize_ada_language): Remove initialization of cache_space.
4810 Move call to observer_attach_inferior_exit up, grouping it
4811 with the other observer registrations inside this function.
4812 Rename command to be more general. Add call to
4813 register_program_space_data_with_cleanup.
4815 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4817 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4818 ada_new_objfile_observer.
4819 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4820 (_initialize_tasks): Update uses of ada_new_objfile_observer
4821 and ada_tasks_normal_stop_observer.
4823 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4825 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4826 returned by the 'Length attribute to integer.
4828 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4830 * ada-lang.c (_initialize_ada_language): Initialize
4831 cache_space obstack.
4833 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4835 * ada-lang.c (HASH_SIZE): New macro.
4836 (struct cache_entry): New type.
4837 (cache_space, cache): New static globals.
4838 (ada_clear_symbol_cache, find_entry): New functions.
4839 (lookup_cached_symbol, cache_symbol): Implement.
4840 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4841 (_initialize_ada_language): Attach ada_new_objfile_observer
4842 and ada_free_objfile_observer.
4844 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4846 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4847 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4848 struct block * parameter.
4849 (ada_lookup_symbol_list_worker): Constify local variable "block".
4850 Remove cast which is no longer necessary.
4852 2014-02-10 Doug Evans <xdje42@gmail.com>
4854 Add Guile as an extension language.
4855 * NEWS: Mention Guile scripting.
4856 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4857 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4858 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4859 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4860 (CLIBS): Add GUILE_LIBS.
4861 (install-guile): New rule.
4862 (guile.o): New rule.
4863 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4864 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4865 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4866 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4867 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4868 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4869 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4870 * configure.ac: New option --with-guile.
4871 * configure: Regenerate.
4872 * config.in: Regenerate.
4873 * auto-load.c: Remove #include "python/python.h". Add #include
4874 "gdb/section-scripts.h".
4875 (source_section_scripts): Handle Guile scripts.
4876 (_initialize_auto_load): Add name of Guile objfile script to
4877 scripts-directory help text.
4878 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4879 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4880 (struct breakpoint): New member scm_bp_object.
4881 * defs.h (enum command_control_type): New value guile_control.
4882 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4884 (show_user): Update comment.
4885 (_initialize_cli_cmds): Update help text for "show user". Update help
4886 text for max-user-call-depth.
4887 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4889 (multi_line_command_p): Add guile_control.
4890 (print_command_lines): Handle guile_control.
4891 (execute_control_command, recurse_read_control_structure): Ditto.
4892 (process_next_line): Recognize "guile" commands.
4893 * disasm.c (gdb_disassemble_info): Make non-static.
4894 * disasm.h: #include "dis-asm.h".
4895 (struct gdbarch): Add forward decl.
4896 (gdb_disassemble_info): Declare.
4897 * extension.c: #include "guile/guile.h".
4898 (extension_languages): Add guile.
4899 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4900 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4901 * gdbtypes.c (get_unsigned_type_max): New function.
4902 (get_signed_type_minmax): New function.
4903 * gdbtypes.h (get_unsigned_type_max): Declare.
4904 (get_signed_type_minmax): Declare.
4905 * guile/README: New file.
4906 * guile/guile-internal.h: New file.
4907 * guile/guile.c: New file.
4908 * guile/guile.h: New file.
4909 * guile/scm-arch.c: New file.
4910 * guile/scm-auto-load.c: New file.
4911 * guile/scm-block.c: New file.
4912 * guile/scm-breakpoint.c: New file.
4913 * guile/scm-disasm.c: New file.
4914 * guile/scm-exception.c: New file.
4915 * guile/scm-frame.c: New file.
4916 * guile/scm-gsmob.c: New file.
4917 * guile/scm-iterator.c: New file.
4918 * guile/scm-lazy-string.c: New file.
4919 * guile/scm-math.c: New file.
4920 * guile/scm-objfile.c: New file.
4921 * guile/scm-ports.c: New file.
4922 * guile/scm-pretty-print.c: New file.
4923 * guile/scm-safe-call.c: New file.
4924 * guile/scm-string.c: New file.
4925 * guile/scm-symbol.c: New file.
4926 * guile/scm-symtab.c: New file.
4927 * guile/scm-type.c: New file.
4928 * guile/scm-utils.c: New file.
4929 * guile/scm-value.c: New file.
4930 * guile/lib/gdb.scm: New file.
4931 * guile/lib/gdb/boot.scm: New file.
4932 * guile/lib/gdb/experimental.scm: New file.
4933 * guile/lib/gdb/init.scm: New file.
4934 * guile/lib/gdb/iterator.scm: New file.
4935 * guile/lib/gdb/printing.scm: New file.
4936 * guile/lib/gdb/types.scm: New file.
4937 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4938 (VPATH): Add $(GUILE_SRCDIR).
4939 (GUILE_DIR): New variable.
4940 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4941 (all): Add stamp-guile dependency.
4942 (stamp-guile): New rule.
4943 (clean-guile, install-guile, uninstall-guile): New rules.
4944 (install-only): Add install-guile dependency.
4945 (uninstall): Add uninstall-guile dependency.
4946 (clean): Add clean-guile dependency.
4948 2014-02-09 Doug Evans <xdje42@gmail.com>
4950 Revert this patch (which I approved, mea culpa).
4952 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4954 * Makefile.in (all-lib): Remove.
4955 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4957 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4959 Fix Python stack corruption.
4960 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4963 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4965 * Makefile.in (all-lib): Remove.
4966 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4968 2014-02-07 Doug Evans <dje@google.com>
4970 * extension-priv.h (extension_language_script_ops): Add comment.
4971 (extension_language_ops): Add comment.
4972 (active_ext_lang_state): Fix typo in comment.
4974 2014-02-07 Pedro Alves <palves@redhat.com>
4976 PR breakpoints/16292
4977 * infrun.c (handle_signal_stop) <signal arrives while stepping
4978 over a breakpoint>: Switch back to the stepping thread.
4980 2014-02-07 Yao Qi <yao@codesourcery.com>
4982 * target.c (target_xfer_partial): Return zero if LEN is zero.
4984 2014-02-07 Yao Qi <yao@codesourcery.com>
4986 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4987 (ld_so_xfer_auxv): Likewise.
4988 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4989 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4990 * corelow.c (core_xfer_partial): Likewise.
4991 * ctf.c (ctf_xfer_partial): Likewise.
4992 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4993 (darwin_xfer_partial): Likewise.
4994 * exec.c (exec_xfer_partial): Likewise.
4995 * gnu-nat.c (gnu_xfer_partial): Likewise.
4996 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4997 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4998 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4999 * linux-nat.c (linux_xfer_siginfo): Likewise.
5000 (linux_proc_xfer_spu): Likewise.
5001 * procfs.c (procfs_xfer_partial): Likewise.
5002 * record-full.c (record_full_xfer_partial): Likewise.
5003 (record_full_core_xfer_partial): Likewise.
5004 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5005 * remote.c (remote_write_qxfer): Likewise.
5006 (remote_write_qxfer, remote_read_qxfer): Likewise.
5007 (remote_xfer_partial): Likewise.
5008 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5009 (rs6000_xfer_shared_libraries): Likewise.
5010 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5011 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5012 (spu_xfer_partial): Likewise.
5013 * target.c (memory_xfer_partial_1): Likewise.
5014 * tracepoint.c (tfile_xfer_partial): Likewise.
5015 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5016 (windows_xfer_partial): Likewise.
5018 2014-02-07 Yao Qi <yao@codesourcery.com>
5020 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5022 (core_xfer_shared_libraries_aix): Likewise.
5023 * gdbarch.c, gdbarch.h: Regenerated.
5024 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5025 ULONGEST. Change 'len_avail' type to ULONGEST.
5026 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5027 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5029 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5031 2014-02-07 Yao Qi <yao@codesourcery.com>
5033 * corefile.c (memory_error): Get 'exception' from ERR and pass
5034 'exception' to throw_error.
5036 2014-02-06 Doug Evans <xdje42@gmail.com>
5038 * configure.ac (libpython checking): Remove all but python.o from
5039 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5040 * configure: Regenerate.
5042 * Makefile.in (SFILES): Add extension.c.
5043 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5044 (COMMON_OBS): Add extension.o.
5045 * extension.h: New file.
5046 * extension-priv.h: New file.
5047 * extension.c: New file.
5049 * python/python-internal.h: #include "extension.h".
5050 (gdbpy_auto_load_enabled): Declare.
5051 (gdbpy_apply_val_pretty_printer): Declare.
5052 (gdbpy_apply_frame_filter): Declare.
5053 (gdbpy_preserve_values): Declare.
5054 (gdbpy_breakpoint_cond_says_stop): Declare.
5055 (gdbpy_breakpoint_has_cond): Declare.
5056 (void source_python_script_for_objfile): Delete.
5057 * python/python.c: #include "extension-priv.h".
5058 Delete inclusion of "observer.h".
5059 (extension_language_python): Moved here and renamed from
5060 script_language_python in py-auto-load.c.
5061 Redefined to be of type extension_language_defn.
5062 (python_extension_script_ops): New global.
5063 (python_extension_ops): New global.
5064 (struct python_env): New member previous_active.
5065 (restore_python_env): Call restore_active_ext_lang.
5066 (ensure_python_env): Call set_active_ext_lang.
5067 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5069 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5071 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5073 (gdbpy_eval_from_control_command): Renamed from
5074 eval_python_from_control_command, made static. New arg extlang.
5075 (gdbpy_source_script) Renamed from source_python_script, made static.
5077 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5078 result to int. New arg extlang.
5079 (gdbpy_source_objfile_script): Renamed from
5080 source_python_script_for_objfile, made static. New arg extlang.
5081 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5082 static. New args extlang, extlang_printers. Change result type to
5084 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5085 static. New arg extlang. Rename arg printers to extlang_printers
5086 and change type to ext_lang_type_printers *.
5087 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5088 static. Replace argument arg with extlang, extlang_printers.
5089 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5090 (!HAVE_PYTHON, source_python_script): Delete.
5091 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5092 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5093 (!HAVE_PYTHON, start_type_printers): Delete.
5094 (!HAVE_PYTHON, apply_type_printers): Delete.
5095 (!HAVE_PYTHON, free_type_printers): Delete.
5096 (_initialize_python): Delete call to observer_attach_before_prompt.
5097 (finalize_python): Set/restore active extension language.
5098 (gdbpy_finish_initialization) Renamed from
5099 finish_python_initialization, made static. New arg extlang.
5100 (gdbpy_initialized): New function.
5101 * python/python.h: #include "extension.h". Delete #include
5102 "value.h", "mi/mi-cmds.h".
5103 (extension_language_python): Declare.
5104 (GDBPY_AUTO_FILE_NAME): Delete.
5105 (enum py_bt_status): Moved to extension.h and renamed to
5107 (enum frame_filter_flags): Moved to extension.h.
5108 (enum py_frame_args): Moved to extension.h and renamed to
5109 ext_lang_frame_args.
5110 (finish_python_initialization): Delete.
5111 (eval_python_from_control_command): Delete.
5112 (source_python_script): Delete.
5113 (apply_val_pretty_printer): Delete.
5114 (apply_frame_filter): Delete.
5115 (preserve_python_values): Delete.
5116 (gdbpy_script_language_defn): Delete.
5117 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5118 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5120 * auto-load.c: #include "extension.h".
5121 (GDB_AUTO_FILE_NAME): Delete.
5122 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5123 (script_language_gdb): Delete, moved to extension.c and renamed to
5124 extension_language_gdb.
5125 (source_gdb_script_for_objfile): Delete.
5126 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5127 (loaded_script): Change type of language member to
5128 struct extension_language_defn *.
5129 (init_loaded_scripts_info): Initialize
5130 unsupported_script_warning_printed.
5131 (maybe_add_script): Make static. Change type of language arg to
5132 struct extension_language_defn *.
5133 (clear_section_scripts): Reset unsupported_script_warning_printed.
5134 (auto_load_objfile_script_1): Rewrite to use extension language API.
5135 (auto_load_objfile_script): Make public. Remove support-compiled-in
5136 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5137 (source_section_scripts): Rewrite to use extension language API.
5138 (load_auto_scripts_for_objfile): Rewrite to use
5139 auto_load_scripts_for_objfile.
5140 (collect_matching_scripts_data): Change type of language member to
5141 struct extension_language_defn *.
5142 (auto_load_info_scripts): Change type of language arg to
5143 struct extension_language_defn *.
5144 (unsupported_script_warning_print): New function.
5145 (script_not_found_warning_print): Make static.
5146 (_initialize_auto_load): Rewrite construction of scripts-directory
5148 * auto-load.h (struct objfile): Add forward decl.
5149 (struct script_language): Delete.
5150 (struct auto_load_pspace_info): Add forward decl.
5151 (struct extension_language_defn): Add forward decl.
5152 (maybe_add_script): Delete.
5153 (auto_load_objfile_script): Declare.
5154 (script_not_found_warning_print): Delete.
5155 (auto_load_info_scripts): Update prototype.
5156 (auto_load_gdb_scripts_enabled): Declare.
5157 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5158 auto_load_python_scripts_enabled and made public.
5159 (script_language_python): Delete, moved to python.c.
5160 (gdbpy_script_language_defn): Delete.
5161 (info_auto_load_python_scripts): Update to use
5162 extension_language_python.
5164 * breakpoint.c (condition_command): Replace call to
5165 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5166 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5167 with call to breakpoint_ext_lang_cond_says_stop.
5168 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5169 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5170 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5171 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5173 (local_setattro): Print name of extension language with existing
5176 * valprint.c (val_print, value_print): Update to call
5177 apply_ext_lang_val_pretty_printer.
5178 * cp-valprint.c (cp_print_value): Update call to
5179 apply_ext_lang_val_pretty_printer.
5180 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5181 (gdbpy_apply_val_pretty_printer): Renamed from
5182 apply_val_pretty_printer. New arg extlang.
5183 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5185 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5186 extension language API.
5187 * cli/cli-script.c (execute_control_command): Update to call
5188 eval_ext_lang_from_control_command.
5190 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5191 enum ext_lang_bt_status values. Update call to
5192 apply_ext_lang_frame_filter.
5193 (mi_cmd_stack_list_locals): Ditto.
5194 (mi_cmd_stack_list_args): Ditto.
5195 (mi_cmd_stack_list_variables): Ditto.
5196 * mi/mi-main.c: Delete #include "python/python-internal.h".
5197 Add #include "extension.h".
5198 (mi_cmd_list_features): Replace reference to python internal variable
5199 gdb_python_initialized with call to ext_lang_initialized_p.
5201 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5202 Update to use enum ext_lang_frame_args. Update to call
5203 apply_ext_lang_frame_filter.
5204 * python/py-framefilter.c (extract_sym): Update to use enum
5206 (extract_value, py_print_type, py_print_value): Ditto.
5207 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5208 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5209 (py_print_frame): Ditto.
5210 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5211 New arg extlang. Update to use enum ext_lang_bt_status.
5213 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5214 finish_python_initialization. Replace with call to
5215 finish_ext_lang_initialization.
5217 * typeprint.c (do_free_global_table): Update to call
5218 free_ext_lang_type_printers.
5219 (create_global_typedef_table): Update to call
5220 start_ext_lang_type_printers.
5221 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5222 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5223 (type_print_options): Change type of global_printers from "void *"
5224 to "struct ext_lang_type_printers *".
5226 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5227 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5228 (gdbpy_preserve_values): Renamed from preserve_python_values.
5230 (!HAVE_PYTHON, preserve_python_values): Delete.
5232 * utils.c (quit_flag): Delete, moved to extension.c.
5233 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5236 * eval.c: Delete #include "python/python.h".
5237 * main.c: Delete #include "python/python.h".
5239 * defs.h: Update comment.
5241 2014-02-06 Joel Brobecker <brobecker@adacore.com>
5245 2014-02-05 Mark Kettenis <kettenis@gnu.org>
5247 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5250 2014-02-05 Yao Qi <yao@codesourcery.com>
5252 * remote.c (remote_pass_signals): Remove local 'buf' and use
5254 (remote_program_signals): Likewise.
5256 2014-02-05 Yao Qi <yao@codesourcery.com>
5258 * ctf.c: Include "inferior.h" and "gdbthread.h".
5259 (CTF_PID): A new macro.
5260 (ctf_open): Call inferior_appeared and add_thread_silent.
5261 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5262 (ctf_thread_alive): New function.
5263 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5265 2014-02-05 Yao Qi <yao@codesourcery.com>
5269 2013-05-24 Yao Qi <yao@codesourcery.com>
5271 * tracepoint.c (TFILE_PID): Remove.
5272 (tfile_open): Don't add thread and inferior.
5273 (tfile_close): Don't set 'inferior_ptid'. Don't call
5274 exit_inferior_silent.
5275 (tfile_thread_alive): Remove.
5276 (init_tfile_ops): Don't set field 'to_thread_alive' of
5279 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5281 * remote.c (remote_start_remote): Call remote_check_symbols even
5282 if only symbol-file (not file) has been given.
5284 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5286 * gdbarch.sh (skip_entrypoint): New callback.
5287 * gdbarch.c, gdbarch.h: Regenerate.
5288 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5289 * infrun.c (fill_in_stop_func): Likewise.
5290 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5291 (ppc_elfv2_elf_make_msymbol_special): New function.
5292 (ppc_elfv2_skip_entrypoint): Likewise.
5293 (ppc_linux_init_abi): Install them for ELFv2.
5295 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5297 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5298 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5299 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5300 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5301 structures returned in GPRs.
5303 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5305 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5306 offset to the stack parameter list for the ELFv2 ABI.
5308 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5310 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5311 set_gdbarch_convert_from_func_ptr_addr and
5312 set_gdbarch_elf_make_msymbol_special for ELFv1.
5313 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5314 function descriptors on ELFv1.
5315 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5316 set up r12 at function entry.
5318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5320 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5321 (struct gdbarch_tdep): New member elf_abi.
5323 * rs6000-tdep.c: Include "elf/ppc64.h".
5324 (rs6000_gdbarch_init): Detect ELF ABI version.
5326 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5328 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5329 within a register pair holding a DFP 128-bit value on little-endian.
5330 (ppc64_sysv_abi_return_value_base): Likewise.
5331 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5332 (dfp_pseudo_register_write): Likewise.
5334 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5336 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5337 offset on little-endian when passing _Decimal32.
5338 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5340 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5342 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5343 of the overlapped FP register within the VSX register on little-
5345 (efpr_pseudo_register_write): Likewise.
5347 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5349 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5350 offset on little-endian when passing small structures.
5352 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5354 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5355 (struct ppc64_sysv_argpos): New data structure.
5356 (ppc64_sysv_abi_push_float): Remove.
5357 (ppc64_sysv_abi_push_val): New function.
5358 (ppc64_sysv_abi_push_integer): Likewise.
5359 (ppc64_sysv_abi_push_freg): Likewise.
5360 (ppc64_sysv_abi_push_vreg): Likewise.
5361 (ppc64_sysv_abi_push_param): Likewise.
5362 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5363 (ppc64_sysv_abi_return_value_base): New function.
5364 (ppc64_sysv_abi_return_value): Refactor to use it.
5366 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5368 * NEWS: Document new target powerpc64le-*-linux*.
5370 2014-02-04 Mark Kettenis <kettenis@gnu.org>
5372 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5373 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5375 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5376 register set used in ELF core dumps. Add floating-point register set.
5378 2014-02-03 Kevin Buettner <kevinb@redhat.com>
5380 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5381 dwarf2_to_gdb[] table using symbolic constants. Adjust
5382 penultimate entry from number representing the PC register
5383 to symbolic constant representing the MDR register. Add
5384 constant for the PC register to the end of the table.
5386 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5388 * bsd-kvm.c: Include <sys/param.h>
5390 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5392 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5394 2014-01-31 Joel Brobecker <brobecker@adacore.com>
5396 * ada-lang.h (clear_ada_sym_cache): Delete.
5398 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
5400 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5402 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5404 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5405 the sigreturn register save area only if the syscall is
5408 2014-01-29 Joel Brobecker <brobecker@adacore.com>
5410 * valops.c (value_slice): Minor reformatting.
5412 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
5414 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5416 2014-01-28 Joel Brobecker <brobecker@adacore.com>
5418 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5420 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5421 (ada_ignore_descriptive_types_p): New static global.
5422 (find_parallel_type_by_descriptive_type): Return immediately
5423 if ada_ignore_descriptive_types_p is set.
5424 (_initialize_ada_language): Register new commands "maintenance
5425 set ada", "maintenance show ada", "maintenance set ada
5426 ignore-descriptive-types" and "maintenance show ada
5427 ignore-descriptive-types".
5428 * NEWS: Add entry for new "maint ada set/show
5429 ignore-descriptive-types" commands.
5431 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5433 * record-btrace.c (record_btrace_close): Call btrace_teardown
5436 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5438 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5441 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5443 * ada-typeprint (type_is_full_subrange_of_target_type):
5445 (print_range): Add parameter bounds_prefered_p. If not set,
5446 try printing range types using the name of their base type.
5447 (print_range_type): Add parameter bounds_prefered_p.
5448 Use it in call to print_range.
5449 (print_array_type, ada_print_type): Update calls to print_range
5450 and print_range_type.
5452 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5454 * ada-typeprint.c (print_array_type, print_choices, print_range)
5455 (print_range_bound, print_dynamic_range_bound, print_range_type):
5458 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5460 * ada-typeprint.c (print_range): Add missing empty line
5461 after local declaration.
5463 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5465 * ada-valprint.c (print_optional_low_bound): Get index_type's
5466 target type for as long as it is a TYPE_CODE_RANGE.
5468 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5470 * procfs.c (procfs_make_note_section): Remove assertion and
5473 2014-01-24 Yao Qi <yao@codesourcery.com>
5475 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5476 * corelow.c (get_core_siginfo): Likewise.
5478 2014-01-24 Yao Qi <yao@codesourcery.com>
5480 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5481 ULONGEST. Don't check 'len' is negative.
5482 (remote_write_bytes): Change type of 'len' to ULONGEST.
5484 2014-01-23 Tom Tromey <tromey@redhat.com>
5487 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5488 Handle exception from frame.block.
5489 (FrameVars.fetch_frame_locals): Likewise.
5491 2014-01-23 Tom Tromey <tromey@redhat.com>
5494 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5495 on a NULL pointer. Move "goto error" to correct place.
5497 2014-01-23 Tom Tromey <tromey@redhat.com>
5500 * python/py-framefilter.c (apply_frame_filter): Call
5501 ensure_python_env after computing gdbarch.
5503 2014-01-23 Yao Qi <yao@codesourcery.com>
5505 * target.c (raw_memory_xfer_partial): Change argument type
5506 from void * to gdb_byte *.
5507 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5509 2014-01-22 Doug Evans <dje@google.com>
5511 New gdbserver option --debug-format=timestamp.
5514 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5516 * syscalls/s390x-linux.xml: New file.
5517 * syscalls/s390-linux.xml: New file.
5518 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5519 (XML_SYSCALL_FILENAME_S390X): Likewise.
5520 (op_svc): New enum value for SVC opcode.
5521 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5522 (s390_linux_get_syscall_number): New function.
5523 (s390_gdbarch_init): Register '*get_syscall_number' and the
5524 syscall xml file name.
5525 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5526 "s390-linux.xml" and "s390x-linux.xml".
5527 * NEWS: Announce new feature.
5529 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5531 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5533 2014-01-22 Pedro Alves <palves@redhat.com>
5535 * xtensa-config.c: Include defs.h.
5537 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5539 * common/common-utils.h: Add "ARI:" comment beside __func__
5542 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5544 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5545 documentation a bit.
5547 2014-01-21 Roland McGrath <mcgrathr@google.com>
5549 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5550 * configure: Regenerate.
5551 * aclocal.m4: Regenerate.
5552 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5553 New substituted variables.
5554 (install-strip): New target.
5555 (INSTALL_SCRIPT): New substituted variable.
5556 (FLAGS_TO_PASS): Add it.
5557 (install-only): Use $(INSTALL_SCRIPT) rather than
5558 $(INSTALL_PROGRAM) for gcore.
5560 2014-01-20 Tom Tromey <tromey@redhat.com>
5562 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5565 2014-01-20 Tom Tromey <tromey@redhat.com>
5567 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5568 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5569 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5570 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5571 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5572 (struct cmd_list_element) <flags>: Remove.
5573 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5574 doc_allocated>: New fields.
5575 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5577 * maint.c (maintenance_do_deprecate): Update.
5578 * top.c (execute_command): Update.
5580 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5582 * xtensa-linux-nat.c: Include asm/ptrace.h.
5584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5586 * Makefile.in (SFILES): Add d-support.c.
5587 (COMMON_OBS): Add d-support.o.
5588 * d-lang.h (d_parse_symbol): Add comment, now defined in
5590 * d-lang.c (parse_call_convention)
5591 (parse_attributes, parse_function_types)
5592 (parse_function_args, parse_type, parse_identifier)
5593 (call_convention_p, d_parse_symbol): Move functions to ...
5594 * d-support.c: ... New file.
5596 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5598 * d-lang.h (d_parse_symbol): Add declaration.
5599 * d-lang.c (extract_identifiers)
5600 (extract_type_info): Remove functions.
5601 (parse_call_convention, parse_attributes)
5602 (parse_function_types, parse_function_args)
5603 (parse_type, parse_identifier, call_convention_p)
5604 (d_parse_symbol): New functions.
5605 (d_demangle): Use d_parse_symbol to demangle D symbols.
5607 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5609 * d-lang.h (struct builtin_d_type): New data type.
5610 (builtin_d_type): Add declaration.
5611 * d-lang.c (d_language_arch_info, build_d_types)
5612 (builtin_d_type): New functions.
5613 (enum d_primitive_types): New data type.
5614 (d_language_defn): Change c_language_arch_info to
5615 d_language_arch_info.
5616 (d_type_data): New static variable.
5617 (_initialize_d_language): Initialize d_type_data.
5619 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5621 * d-lang.h (d_main_name): Add declaration.
5622 * d-lang.c (d_main_name): New function.
5623 * symtab.c (find_main_name): Add call to d_main_name.
5625 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5627 * d-lang.c (d_language_defn): Change macro_expansion_c to
5630 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5632 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5634 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5636 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5637 gdb_exception" declaration.
5638 * remote.c (getpkt_or_notif_sane): Likewise.
5640 2014-01-17 Doug Evans <dje@google.com>
5642 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5643 function, contents of dirnames_to_char_ptr_vec_append moved here.
5644 (delim_string_to_char_ptr_vec): New function.
5645 (dirnames_to_char_ptr_vec_append): Rewrite.
5646 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5648 2014-01-17 Doug Evans <dje@google.com>
5650 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5652 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5653 #include "common-utils.h".
5654 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5655 * common/vec.h (VEC_ASSERT_PASS): Update.
5656 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5657 (MACH_CHECK_ERROR): Update.
5659 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5661 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5663 * gdbarch.h: Regenerate.
5665 2014-01-16 Tom Tromey <tromey@redhat.com>
5667 * value.c (struct value) <regnum>: Move earlier.
5669 2014-01-16 Tom Tromey <tromey@redhat.com>
5671 * remote.c (extended_remote_create_inferior): Rename from
5672 extended_remote_create_inferior_1. Add "ops" argument. Remove
5675 2014-01-16 Pedro Alves <palves@redhat.com>
5677 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5678 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5681 2014-01-16 Doug Evans <dje@google.com>
5683 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5685 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5687 * btrace.h (btrace_thread_flag): New.
5688 (struct btrace_thread_info) <flags>: New.
5689 * record-btrace.c (record_btrace_resume_thread)
5690 (record_btrace_find_thread_to_move, btrace_step_no_history)
5691 (btrace_step_stopped, record_btrace_start_replaying)
5692 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5693 (record_btrace_find_resume_thread): New.
5694 (record_btrace_resume, record_btrace_wait): Extend.
5695 (record_btrace_can_execute_reverse): New.
5696 (record_btrace_open): Fail in non-stop mode.
5697 (record_btrace_set_replay): Split into this, ...
5698 (record_btrace_stop_replaying): ... this, ...
5699 (record_btrace_clear_histories): ... and this.
5700 (init_record_btrace_ops): Init to_can_execute_reverse.
5701 * NEWS: Announce it.
5703 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5705 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5706 (forward_target_decr_pc_after_break)
5707 (target_decr_pc_after_break): New.
5708 * target.c (forward_target_decr_pc_after_break)
5709 (target_decr_pc_after_break): New.
5710 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5711 instead of gdbarch_decr_pc_after_break.
5712 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5713 instead of gdbarch_decr_pc_after_break.
5714 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5715 instead of gdbarch_decr_pc_after_break.
5716 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5717 instead of gdbarch_decr_pc_after_break.
5718 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5719 instead of gdbarch_decr_pc_after_break.
5720 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5721 instead of gdbarch_decr_pc_after_break.
5723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5725 * btrace.c: Include regcache.h.
5726 (btrace_add_pc): New.
5727 (btrace_enable): Call btrace_add_pc.
5728 (btrace_is_empty): New.
5729 * btrace.h (btrace_is_empty): New.
5730 * record-btrace.c (require_btrace, record_btrace_info): Call
5733 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5735 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5736 Support delta reads.
5737 (linux_disable_btrace): Change return type.
5738 * common/linux-btrace.h (linux_read_btrace): Change parameters
5739 and return type to allow error reporting. Update users.
5740 (linux_disable_btrace): Change return type. Update users.
5741 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5743 (btrace_error): New.
5744 (btrace_block) <begin>: Comment on BEGIN == 0.
5745 * btrace.c (btrace_compute_ftrace): Start from the end of
5747 (btrace_stitch_trace, btrace_clear_history): New.
5748 (btrace_fetch): Read delta trace, return if replaying.
5749 (btrace_clear): Move clear history code to btrace_clear_history.
5750 (parse_xml_btrace): Throw an error if parsing failed.
5751 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5752 and return type to allow error reporting.
5753 (target_read_btrace): Change parameters and return type to allow
5755 * target.c (target_read_btrace): Update.
5756 * remote.c (remote_read_btrace): Support delta reads. Pass
5758 * NEWS: Announce it.
5760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5762 * record.h (record_btrace_frame_unwind)
5763 (record_btrace_tailcall_frame_unwind): New declarations.
5764 * dwarf2-frame: Include record.h
5765 (dwarf2_frame_cfa): Throw an error for btrace frames.
5766 * record-btrace.c: Include hashtab.h.
5767 (btrace_get_bfun_name): New.
5768 (btrace_call_history): Call btrace_get_bfun_name.
5769 (struct btrace_frame_cache): New.
5771 (bfcache_hash, bfcache_eq, bfcache_new): New.
5772 (btrace_get_frame_function): New.
5773 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5774 (record_btrace_frame_this_id): Compute own id.
5775 (record_btrace_frame_prev_register): Provide PC, throw_error
5776 for all other registers.
5777 (record_btrace_frame_sniffer): Detect btrace frames.
5778 (record_btrace_tailcall_frame_sniffer): New.
5779 (record_btrace_frame_dealloc_cache): New.
5780 (record_btrace_frame_unwind): Add new functions.
5781 (record_btrace_tailcall_frame_unwind): New.
5782 (_initialize_record_btrace): Allocate cache.
5783 * btrace.c (btrace_clear): Call reinit_frame_cache.
5784 * NEWS: Announce it.
5786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5788 * record-btrace.c (record_btrace_set_replay)
5789 (record_btrace_goto_begin, record_btrace_goto_end)
5790 (record_btrace_goto): New.
5791 (init_record_btrace_ops): Initialize them.
5792 * NEWS: Announce it.
5794 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5796 * record-btrace.c (record_btrace_find_new_threads)
5797 (record_btrace_thread_alive): New.
5798 (init_record_btrace_ops): Initialize to_find_new_threads and
5801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5803 * record-btrace.c (record_btrace_resume): New.
5804 (record_btrace_wait): New.
5805 (init_record_btrace_ops): Initialize to_wait and to_resume.
5807 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5809 * record-btrace.c (record_btrace_xfer_partial)
5810 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5811 (record_btrace_allow_memory_access): New.
5812 (init_record_btrace_ops): Initialize new methods.
5813 * target.c (raw_memory_xfer_partial): Bail out if target reports
5814 that this memory is not available.
5816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5818 * target.h (target_ops) <to_insert_breakpoint>
5819 <to_remove_breakpoint>: Add target_ops parameter.
5820 (forward_target_insert_breakpoint): New.
5821 (forward_target_remove_breakpoint): New.
5822 (memory_remove_breakpoint, memory_insert_breakpoint):
5823 Add target_ops parameter.
5824 * target.c (target_insert_breakpoint): Split into this and ...
5825 (forward_target_insert_breakpoint): ... this.
5826 (target_remove_breakpoint): Split into this and ...
5827 (forward_target_remove_breakpoint): ... this.
5828 (debug_to_insert_breakpoint): Add target_ops parameter.
5829 Call forward_target_insert_breakpoint.
5830 (debug_to_remove_breakpoint): Add target_ops parameter.
5831 Call forward_target_remove_breakpoint.
5832 (update_current_target): Do not inherit or default to_insert_breakpoint
5833 and to_remove_breakpoint.
5834 * corelow.c (ignore): Add target_ops parameter.
5835 * exec.c (ignore): Add target_ops parameter.
5836 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5837 Add target_ops parameter.
5838 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5839 Add target_ops parameter.
5840 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5841 Add target_ops parameter.
5842 * record-full.c (record_full_beneath_to_insert_breakpoint)
5843 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5844 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5845 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5846 (record_full_core_remove_breakpoint): Add target_ops parameter.
5848 (record_full_beneath_to_insert_breakpoint_ops)
5849 (record_full_beneath_to_remove_breakpoint_ops)
5850 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5851 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5852 tmp_to_remove_breakpoint_ops,
5853 record_full_beneath_to_insert_breakpoint_ops, and
5854 record_full_beneath_to_remove_breakpoint_ops.
5855 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5856 (m32r_remove_breakpoint): Add target_ops parameter.
5857 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5858 Add target_ops parameter.
5859 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5860 Add target_ops parameter.
5862 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5863 Markus Metzger <markus.t.metzger@intel.com>
5865 * record-btrace.c: Include frame-unwind.h.
5866 (record_btrace_frame_unwind_stop_reason)
5867 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5868 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5870 (init_record_btrace_ops): Install it.
5872 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5874 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5877 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5879 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5882 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5884 * frame-unwind.c: Include target.h.
5885 (frame_unwind_try_unwinder): New function with code from ...
5886 (frame_unwind_find_by_frame): ... here. New variable
5887 unwinder_from_target, call also target_get_unwinder)
5888 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5889 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5890 * target.h (struct target_ops): New fields to_get_unwinder and
5891 to_get_tailcall_unwinder.
5892 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5894 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5896 * record-btrace.c (record_btrace_fetch_registers)
5897 (record_btrace_store_registers)
5898 (record_btrace_to_prepare_to_store): New.
5899 (init_record_btrace_ops): Add the above.
5901 2014-01-16 Tom Tromey <tromey@redhat.com>
5903 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5904 * target.h (struct target_ops) <to_prepare_to_store>: Add
5906 (target_prepare_to_store): Add argument.
5907 * target.c (debug_to_prepare_to_store): Add argument.
5908 (update_current_target): Update.
5909 * remote.c (remote_prepare_to_store): Add 'self' argument.
5910 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5911 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5912 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5913 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5915 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5916 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5917 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5918 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5919 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5923 * btrace.h (replay) <replay>: New.
5924 (btrace_is_replaying): New.
5925 * btrace.c (btrace_clear): Free replay iterator.
5926 (btrace_is_replaying): New.
5927 * record-btrace.c (record_btrace_is_replaying): New.
5928 (record_btrace_info): Print insn number if replaying.
5929 (record_btrace_insn_history): Start at replay position.
5930 (record_btrace_call_history): Start at replay position.
5931 (init_record_btrace_ops): Init to_record_is_replaying.
5933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5935 * record-btrace.c (record_btrace_insn_history_range): Include
5937 (record_btrace_insn_history_from): Adjust range.
5938 (record_btrace_call_history_range): Include
5940 (record_btrace_call_history_from): Adjust range.
5941 * NEWS: Announce changes.
5943 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5945 * record.h (enum record_print_flag)
5946 <record_print_indent_calls>: New.
5947 * record.c (get_call_history_modifiers): Recognize /c modifier.
5948 (_initialize_record): Document /c modifier.
5949 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5950 Reorder fields. Optionally indent the function name. Update
5952 * NEWS: Announce changes.
5954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5956 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5958 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5960 * btrace.c (ftrace_new_function): Start counting at one.
5961 * record-btrace.c (record_btrace_info): Adjust number of calls
5963 * NEWS: Announce it.
5965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5967 * record-btrace.c (btrace_call_history_insn_range): Print
5968 insn range as [begin, end].
5970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5972 * btrace.h (struct btrace_func_link): New.
5973 (enum btrace_function_flag): New.
5974 (struct btrace_inst): Rename to ...
5975 (struct btrace_insn): ...this. Update all users.
5976 (struct btrace_func) <ibegin, iend>: Remove.
5977 (struct btrace_func_link): New.
5978 (struct btrace_func): Rename to ...
5979 (struct btrace_function): ...this. Update all users.
5980 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5981 (number, level, flags>: New.
5982 (struct btrace_insn_iterator): Rename to ...
5983 (struct btrace_insn_history): ...this.
5985 (struct btrace_insn_iterator, btrace_call_iterator): New.
5986 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5987 (struct btrace_target_info) <begin, end, level>
5988 <insn_history, call_history>: New.
5989 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5990 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5991 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5992 (btrace_call_number, btrace_call_begin, btrace_call_end)
5993 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5994 (btrace_find_function_by_number, btrace_set_insn_history)
5995 (btrace_set_call_history): New.
5996 * btrace.c (btrace_init_insn_iterator)
5997 (btrace_init_func_iterator, compute_itrace): Remove.
5998 (ftrace_print_function_name, ftrace_print_filename)
5999 (ftrace_skip_file): Change
6001 (ftrace_init_func): Remove.
6002 (ftrace_debug): Use new btrace_function fields.
6003 (ftrace_function_switched): Also consider gaining and
6004 losing symbol information).
6005 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6006 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6007 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6009 (ftrace_new_function): Move. Remove debug print.
6010 (ftrace_update_lines, ftrace_update_insns): New.
6011 (ftrace_update_function): Check for call, ret, and jump.
6012 (compute_ftrace): Renamed to ...
6013 (btrace_compute_ftrace): ...this. Rewritten to compute call
6015 (btrace_fetch, btrace_clear): Updated.
6016 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6017 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6018 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6019 (btrace_call_number, btrace_call_begin, btrace_call_end)
6020 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6021 (btrace_find_function_by_number, btrace_set_insn_history)
6022 (btrace_set_call_history): New.
6023 * record-btrace.c (require_btrace): Use new btrace thread
6025 (record_btrace_info, btrace_insn_history)
6026 (record_btrace_insn_history, record_btrace_insn_history_range):
6027 Use new btrace thread info fields and new iterator.
6028 (btrace_func_history_src_line): Rename to ...
6029 (btrace_call_history_src_line): ...this. Use new btrace
6031 (btrace_func_history): Rename to ...
6032 (btrace_call_history): ...this. Use new btrace thread info
6033 fields and new iterator.
6034 (record_btrace_call_history, record_btrace_call_history_range):
6035 Use new btrace thread info fields and new iterator.
6037 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6039 * frame.h (frame_id_build_unavailable_stack_special): New.
6040 * frame.c (frame_id_build_unavailable_stack_special): New.
6042 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6044 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6045 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6046 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6048 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6049 (i386_insn_is_jump, i386_jmp_p): New.
6050 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6051 insn_is_jump to gdbarch.
6052 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6053 * gdbarch.h: Regenerated.
6054 * gdbarch.c: Regenerated.
6055 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6056 (default_insn_is_jump): New.
6057 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6058 (default_insn_is_jump): New.
6060 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6062 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6064 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6065 (btrace_read_type) <btrace_read_new>: Change to ...
6066 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6070 * common/linux-btrace.c (linux_read_btrace): Free trace from
6073 2014-01-15 Doug Evans <dje@google.com>
6075 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6078 2014-01-15 Tom Tromey <tromey@redhat.com>
6080 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6081 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6082 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6083 (set_objfile_main_name): New function.
6084 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6085 language_of_main>: New fields.
6086 (set_objfile_main_name): Declare.
6087 * symtab.c (find_main_name): Loop over objfiles to find the main
6089 (set_main_name): Now static.
6090 (get_main_info): Add comment.
6091 * symtab.h (set_main_name): Don't declare.
6093 2014-01-15 Tom Tromey <tromey@redhat.com>
6095 * symtab.c (main_progspace_key): New global.
6096 (struct main_info): New.
6097 (name_of_main, language_of_main): Remove.
6098 (get_main_info, main_info_cleanup): New function.
6099 (set_main_name, main_name, main_language): Use get_main_info.
6100 (_initialize_symtab): Initialize main_progspace_key.
6102 2014-01-15 Tom Tromey <tromey@redhat.com>
6104 * dbxread.c (process_one_symbol): Update.
6105 * dwarf2read.c (read_partial_die): Update.
6106 * symfile.c (set_initial_language): Call main_language.
6107 * symtab.c (language_of_main): Now static.
6108 (set_main_name): Add 'lang' parameter.
6109 (find_main_name): Update.
6110 (main_language): New function.
6111 (symtab_observer_executable_changed): Update.
6112 * symtab.h (set_main_name): Update.
6113 (language_of_main): Remove.
6114 (main_language): Declare.
6116 2014-01-15 Tom Tromey <tromey@redhat.com>
6118 * symfile.c (init_entry_point_info): Use new "initialized" field.
6120 * objfiles.h (struct entry_point) <initialized>: New field.
6121 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6122 (struct objfile) <ei>: ...here. Remove.
6123 * objfiles.c (entry_point_address_query): Update.
6125 2014-01-15 Tom Tromey <tromey@redhat.com>
6127 * objfiles.c (entry_point_address_query): Relocate entry point
6129 (objfile_relocate1): Do not relocate entry point address.
6130 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6131 <the_bfd_section_index>: New field.
6132 * symfile.c (init_entry_point_info): Find the entry point's
6135 2014-01-15 Tom Tromey <tromey@redhat.com>
6137 * solib-frv.c (enable_break): Use entry_point_address_query.
6139 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6141 * NEWS: Add note on improved process record-replay on
6142 arm*-linux* targets.
6144 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6146 * arm-tdep.c (enum arm_record_result): New enum.
6147 (arm_record_unsupported_insn): New function.
6148 (arm_record_coproc_data_proc): Removed.
6149 (thumb2_record_ld_st_multiple): New function.
6150 (thumb2_record_ld_st_dual_ex_tbb): New function.
6151 (thumb2_record_data_proc_sreg_mimm): New function.
6152 (thumb2_record_ps_dest_generic): New function.
6153 (thumb2_record_branch_misc_cntrl): New function.
6154 (thumb2_record_str_single_data): New function.
6155 (thumb2_record_ld_mem_hints): New function.
6156 (thumb2_record_ld_word): New function.
6157 (thumb2_record_lmul_lmla_div): New function.
6158 (thumb2_record_decode_insn_handler): New function.
6159 (decode_insn): Add thumb32 instruction handlers.
6161 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6163 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6164 (struct arm_linux_record_tdep): Declare.
6165 (arm_canonicalize_syscall): New function.
6166 (arm_all_but_pc_registers_record): New function.
6167 (arm_linux_syscall_record): New function.
6168 (arm_linux_init_abi): Add syscall recording constructs.
6169 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6170 decoding. (arm_record_coproc_data_proc): Update arm syscall
6172 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6173 <arm_syscall_record>: New field.
6174 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6177 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6179 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6180 register for push instruction recording.
6182 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6184 * arm-tdep.c (thumb_record_misc): Update to correct logical
6185 error while recording ldm, ldmia and pop instructions.
6187 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6189 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6191 2014-01-15 Pedro Alves <palves@redhat.com>
6193 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6194 (go32_resume, go32_fetch_registers, store_register)
6195 (go32_store_registers, go32_prepare_to_store)
6196 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6197 (go32_create_inferior, go32_can_run, go32_terminal_init)
6198 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6201 2014-01-15 Tom Tromey <tromey@redhat.com>
6203 * target.h (async_callback_ftype): New typedef.
6204 (struct target_ops) <to_async>: Use it.
6206 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6208 * python/py-value.c (get_field_type): Remove unnecessary curly
6209 braces for single-statement if block.
6211 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6213 * python/py-type.c (convert_field): Add missing empty line
6216 2014-01-14 Doug Evans <dje@google.com>
6218 * symfile.h (expand_symtabs_matching): Renamed from
6219 expand_partial_symbol_names. Update prototype.
6220 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6221 * symfile.c (expand_symtabs_matching): Renamed from
6222 expand_partial_symbol_names. New args file_matcher, kind.
6223 Rename arg fun to symbol_matcher.
6224 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6225 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6226 ada_expand_partial_symbol_name.
6227 (ada_make_symbol_completion_list): Update to call
6228 expand_symtabs_matching.
6229 (ada_add_global_exceptions): Call expand_symtabs_matching.
6230 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6231 call map_symbol_filenames.
6232 * symtab.c (sources_info): Update to call map_symbol_filenames.
6233 (search_symbols): Call expand_symtabs_matching.
6234 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6235 (default_make_symbol_completion_list_break_on): Update to call
6236 expand_symtabs_matching.
6237 (make_source_files_completion_list): Update to call
6238 map_symbol_filenames.
6240 2014-01-14 Doug Evans <dje@google.com>
6242 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6243 (expand_symtabs_symbol_matcher_ftype): New typedef.
6244 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6245 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6246 * symfile.c (expand_partial_symbol_names): Update to use
6247 expand_symtabs_symbol_matcher_ftype.
6248 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6249 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6250 Arg name_matcher renamed to symbol_matcher.
6251 * psymtab.c (recursively_search_psymtabs): Update to use
6252 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6254 (expand_symtabs_matching_via_partial): Update to use
6255 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6256 Arg name_matcher renamed to symbol_matcher.
6258 2014-01-14 Doug Evans <dje@google.com>
6260 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6261 (map_partial_symbol_filenames): Ditto.
6262 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6263 (map_partial_symbol_filenames): Ditto.
6264 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6265 (map_partial_symbol_filenames): Ditto.
6266 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6267 (map_partial_symbol_filenames): Ditto.
6268 * symtab.c: Delete #include "psymtab.h".
6270 2014-01-14 Pedro Alves <palves@redhat.com>
6271 Tom Tromey <tromey@redhat.com>
6273 * infrun.c (use_displaced_stepping): Use find_record_target
6274 instead of RECORD_IS_USED.
6275 (adjust_pc_after_break): Use record_full_is_used instead of
6277 * record-btrace.c (record_btrace_open): Call record_preopen
6278 instead of checking RECORD_IS_USED.
6279 * record-full.c (record_full_shortname)
6280 (record_full_core_shortname): New globals.
6281 (record_full_is_used): New function.
6282 (find_full_open): Call record_preopen instead of checking
6284 (init_record_full_ops): Set the target's shortname to
6285 record_full_shortname.
6286 (init_record_full_core_ops): Set the target's shortname to
6287 record_full_core_shortname.
6288 * record-full.h (record_full_is_used): Declare.
6289 * record.c (find_record_target): Make extern.
6290 (record_preopen): New function.
6291 * record.h (RECORD_IS_USED): Delete macro.
6292 (find_record_target, record_preopen): Declare functions.
6294 2014-01-14 Yao Qi <yao@codesourcery.com>
6296 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6297 'len''s type to ULONGEST.
6298 (core_xfer_shared_libraries_aix): Likewise.
6299 * gdbarch.c, gdbarch.h: Regenerated.
6300 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6301 Change type of 'len' to ULONGEST.
6302 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6303 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6305 2014-01-14 Yao Qi <yao@codesourcery.com>
6307 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6308 type of 'len' to ULONGEST.
6309 (linux_xfer_osdata_processgroups): Likewise.
6310 (linux_xfer_osdata_threads): Likewise.
6311 (linux_xfer_osdata_fds): Likewise.
6312 (linux_xfer_osdata_isockets): Likewise.
6313 (linux_xfer_osdata_shm): Likewise.
6314 (linux_xfer_osdata_sem): Likewise.
6315 (linux_xfer_osdata_msg): Likewise.
6316 (linux_common_xfer_osdata): Likewise.
6317 (struct osdata_type) <getter>: Likewise.
6318 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6321 2014-01-14 Yao Qi <yao@codesourcery.com>
6323 * target.h (target_xfer_partial_ftype): Update.
6324 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6326 * aix-thread.c (aix_thread_xfer_partial): Change type of
6327 argument 'len' to ULONGEST.
6328 * auxv.c (procfs_xfer_auxv): Likewise.
6329 (ld_so_xfer_auxv): Likewise.
6330 (memory_xfer_auxv): Likewise.
6331 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6332 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6333 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6334 * corelow.c (core_xfer_partial): Likewise.
6335 * ctf.c (ctf_xfer_partial): Likewise.
6336 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6338 (darwin_read_dyld_info): Likewise.
6339 (darwin_xfer_partial): Likewise.
6340 * exec.c (section_table_xfer_memory_partial): Likewise.
6341 (exec_xfer_partial): Likewise.
6342 * exec.h (section_table_xfer_memory_partial): Update
6344 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6345 instead of plongest.
6346 (gnu_xfer_partial): Likewise.
6347 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6348 (ia64_hpux_xfer_solib_got): Likewise.
6349 (ia64_hpux_xfer_partial): Likewise.
6350 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6351 * inf-ptrace.c (inf_ptrace_xfer_partial):
6352 * inf-ttrace.c (inf_ttrace_xfer_partial):
6353 * linux-nat.c (linux_xfer_siginfo): Likewise.
6354 (linux_nat_xfer_partial): Likewise.
6355 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6356 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6357 * monitor.c (monitor_xfer_memory): Likewise.
6358 (monitor_xfer_partial): Likewise.
6359 * procfs.c (procfs_xfer_partial): Likewise.
6360 * record-full.c (record_full_xfer_partial): Likewise.
6361 (record_full_core_xfer_partial): Likewise.
6362 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6363 instead of plongest.
6364 (gdbsim_xfer_partial): Likewise.
6365 * remote.c (remote_xfer_partial): Likewise.
6366 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6367 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6369 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6370 (rs6000_xfer_shared_libraries): Likewise.
6371 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6372 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6373 (sparc_xfer_partial): Likewise.
6374 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6375 (spu_xfer_partial): Likewise.
6376 * spu-multiarch.c (spu_xfer_partial): Likewise.
6377 * target.c (target_read_live_memory): Likewise.
6378 (memory_xfer_live_readonly_partial): Likewise.
6379 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6380 (target_xfer_partial, default_xfer_partial): Likewise.
6381 (current_xfer_partial): Likewise.
6382 * tracepoint.c (tfile_xfer_partial): Likewise.
6383 * windows-nat.c (windows_xfer_memory): Likewise. Call
6384 pulongest instead of plongest.
6385 (windows_xfer_partial): Likewise.
6386 (windows_xfer_shared_libraries): Likewise.
6388 2014-01-14 Yao Qi <yao@codesourcery.com>
6390 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6391 target_xfer_partial_ftype.
6393 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6397 * valops.c (value_struct_elt_bitpos): New function
6398 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6399 object to 'None' if the field name is an empty string ("").
6400 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6401 attribute to look for a field when 'name' is 'None'.
6402 (get_field_type): New function
6404 2014-01-13 Doug Evans <dje@google.com>
6407 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6408 (try_open_dwop_file): Ditto.
6409 * gdb_bfd.c: #include "vec.h".
6410 (bfdp): New typedef.
6411 (struct gdb_bfd_data): New member included_bfds.
6412 (gdb_bfd_unref): Unref all included bfds.
6413 (gdb_bfd_record_inclusion): New function.
6414 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6416 2014-01-13 Tom Tromey <tromey@redhat.com>
6418 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6420 2014-01-13 Tom Tromey <tromey@redhat.com>
6422 * defs.h (use_windows): Remove.
6423 * gdb.c (main): Update.
6424 * main.c (captured_main, gdb_main): Update.
6425 * main.h (struct captured_main_args) <use_windows>: Remove.
6426 * top.c (use_windows): Remove.
6428 2014-01-13 Tom Tromey <tromey@redhat.com>
6430 * defs.h (deprecated_flush_hook): Remove.
6432 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6435 * linux-thread-db.c (try_thread_db_load): Add parameter
6436 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6437 (try_thread_db_load_from_pdir_1): Move it there from here.
6438 (try_thread_db_load_from_sdir): Update caller.
6439 (try_thread_db_load_from_dir): Move it there from here.
6441 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6443 * regformats/regdat.sh: Always rewrite the register file.
6445 2014-01-13 Pedro Alves <palves@redhat.com>
6447 * Makefile.in (CHECK_HEADERS): New variable.
6448 (check-headers:): New rule.
6450 2014-01-13 Tom Tromey <tromey@redhat.com>
6452 * cli/cli-setshow.c (do_set_command): Update.
6453 * defs.h (deprecated_set_hook): Remove.
6454 * top.c (deprecated_set_hook): Remove.
6456 2014-01-13 Pedro Alves <palves@redhat.com>
6458 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6459 the tracepoint if the PC is a pseudo-register.
6461 2014-01-13 Tom Tromey <tromey@redhat.com>
6463 * defs.h (XCALLOC): Remove.
6464 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6465 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6466 * dwarf2loc.c (allocate_piece_closure): Likewise.
6467 * elfread.c (elf_symfile_segments): Likewise.
6468 (elf_symfile_segments): Likewise.
6469 * gdbtypes.c (copy_type_recursive): Likewise.
6470 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6471 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6472 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6474 * mt-tdep.c (mt_gdbarch_init): Likewise.
6475 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6477 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6478 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6479 * registry.c (registry_alloc_data): Likewise.
6480 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6481 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6482 * serial.c (serial_fdopen_ops): Likewise.
6483 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6485 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6486 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6489 2014-01-13 Tom Tromey <tromey@redhat.com>
6491 * defs.h (XMALLOC): Remove.
6492 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6493 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6494 * cli-out.c (struct ui_out *): Likewise.
6495 * cli/cli-dump.c (add_dump_command): Likewise.
6496 (add_dump_command): Likewise.
6497 * complaints.c (get_complaints): Likewise.
6498 (find_complaint): Likewise.
6499 * dwarf2-frame.c (execute_cfa_program): Likewise.
6500 * dwarf2read.c (abbrev_table_read_table): Likewise.
6501 * gdbarch.sh: Likewise.
6502 * gdbarch.c: Rebuild.
6503 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6504 * interps.c (interp_new): Likewise.
6505 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6506 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6507 * mi/mi-console.c (mi_console_file_new): Likewise.
6508 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6509 * mi/mi-out.c (mi_out_new): Likewise.
6510 * mi/mi-parse.c (mi_parse): Likewise.
6511 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6512 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6513 * observer.c (xalloc_observer_list_node): Likewise.
6514 * regcache.c (regcache_xmalloc_1): Likewise.
6515 * reggroups.c (reggroup_new): Likewise.
6516 (_initialize_reggroup): Likewise.
6517 * registry.c (register_data_with_cleanup): Likewise.
6518 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6519 * ser-base.c (serial_ttystate): Likewise.
6520 * ser-mingw.c (make_pipe_state): Likewise.
6521 * ser-pipe.c (pipe_open): Likewise.
6522 * serial.c (serial_open): Likewise.
6523 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6524 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6525 (tui_alloc_win_info): Likewise.
6526 (tui_add_content_elements): Likewise.
6527 * tui/tui-file.c (tui_file_new): Likewise.
6528 * tui/tui-out.c (tui_out_new): Likewise.
6529 * ui-file.c (mem_file_new): Likewise.
6530 * ui-out.c (push_level): Likewise.
6531 (make_cleanup_ui_out_end): Likewise.
6532 (append_header_to_list): Likewise.
6533 (ui_out_new): Likewise.
6534 * user-regs.c (user_reg_add_builtin): Likewise.
6536 2014-01-13 Tom Tromey <tromey@redhat.com>
6538 * defs.h (XZALLOC): Remove.
6539 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6540 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6541 (get_ada_tasks_inferior_data): Likewise.
6542 * auto-load.c (get_auto_load_pspace_data): Likewise.
6543 * auxv.c (get_auxv_inferior_data): Likewise.
6544 * bfd-target.c (target_bfd_reopen): Likewise.
6545 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6546 (deprecated_insert_raw_breakpoint): Likewise.
6547 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6548 * corelow.c (core_open): Likewise.
6549 * darwin-nat.c (darwin_check_new_threads): Likewise.
6550 (darwin_attach_pid): Likewise.
6551 * dummy-frame.c (dummy_frame_push): Likewise.
6552 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6553 * dwarf2loc.c (allocate_piece_closure): Likewise.
6554 * elfread.c (elf_symfile_segments): Likewise.
6555 * eval.c (ptrmath_type_p): Likewise.
6556 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6557 * gdbtypes.c (alloc_type_arch): Likewise.
6558 (alloc_type_instance): Likewise.
6559 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6560 * inf-child.c (inf_child_can_use_agent): Likewise.
6561 * inflow.c (get_inflow_inferior_data): Likewise.
6562 * infrun.c (save_infcall_suspend_state): Likewise.
6563 * jit.c (jit_reader_load): Likewise.
6564 (get_jit_objfile_data): Likewise.
6565 (get_jit_program_space_data): Likewise.
6566 (jit_object_open_impl): Likewise.
6567 (jit_symtab_open_impl): Likewise.
6568 (jit_block_open_impl): Likewise.
6569 (jit_frame_sniffer): Likewise.
6570 * linux-fork.c (add_fork): Likewise.
6571 * maint.c (make_command_stats_cleanup): Likewise.
6572 * objfiles.c (get_objfile_pspace_data): Likewise.
6573 * opencl-lang.c (struct lval_closure): Likewise.
6574 * osdata.c (osdata_start_osdata): Likewise.
6575 * progspace.c (new_address_space): Likewise.
6576 (add_program_space): Likewise.
6577 * remote-sim.c (get_sim_inferior_data): Likewise.
6578 * sh-tdep.c (sh_gdbarch_init): Likewise.
6579 * skip.c (Ignore): Likewise.
6580 (skip_delete_command): Likewise.
6581 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6582 (library_list_start_library): Likewise.
6583 (solib_aix_current_sos): Likewise.
6584 * solib-darwin.c (get_darwin_info): Likewise.
6585 (darwin_current_sos): Likewise.
6586 * solib-dsbt.c (get_dsbt_info): Likewise.
6587 * solib-ia64-hpux.c (new_so_list): Likewise.
6588 (ia64_hpux_get_solib_linkage_addr): Likewise.
6589 * solib-spu.c (append_ocl_sos): Likewise.
6590 (spu_current_sos): Likewise.
6591 * solib-svr4.c (get_svr4_info): Likewise.
6592 (svr4_keep_data_in_core): Likewise.
6593 (library_list_start_library): Likewise.
6594 (svr4_default_sos): Likewise.
6595 (svr4_read_so_list): Likewise.
6596 * solib-target.c (library_list_start_library): Likewise.
6597 (solib_target_current_sos): Likewise.
6598 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6599 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6600 * symfile.c (default_symfile_segments): Likewise.
6601 * target-descriptions.c (tdesc_data_init): Likewise.
6602 (tdesc_create_reg): Likewise.
6603 (struct tdesc_type *): Likewise.
6604 (tdesc_create_vector): Likewise.
6605 (tdesc_set_struct_size): Likewise.
6606 (struct tdesc_type *): Likewise.
6607 (tdesc_free_feature): Likewise.
6608 (tdesc_create_feature): Likewise.
6609 * windows-nat.c (windows_add_thread): Likewise.
6610 (windows_make_so): Likewise.
6611 * xml-support.c (gdb_xml_body_text): Likewise.
6612 (gdb_xml_create_parser_and_cleanup): Likewise.
6613 (xml_process_xincludes): Likewise.
6614 * xml-syscall.c (allocate_syscalls_info): Likewise.
6615 (syscall_create_syscall_desc): Likewise.
6617 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6619 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6620 function, with code from i386_stap_parse_special_token.
6621 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6622 (i386_stap_parse_special_token): Move code to the two functions
6625 2014-01-09 Pedro Alves <palves@redhat.com>
6626 Hui Zhu <hui@codesourcery.com>
6629 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6630 bp_err_string. Don't mark the location shlib_disabled if the
6631 error thrown wasn't a generic or memory error. Catch errors
6632 thrown while inserting breakpoints in overlayed code. Output
6633 error message of software breakpoints.
6634 * remote.c (remote_insert_breakpoint): If this breakpoint has
6635 target-side commands but this stub doesn't support Z0 packets,
6636 throw NOT_SUPPORTED_ERROR error.
6637 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6638 * target.h (target_insert_breakpoint): Extend comment.
6639 (target_insert_hw_breakpoint): Add comment.
6641 2014-01-08 Pedro Alves <palves@redhat.com>
6643 * remote.c (remote_add_thread): Add threads silently if starting
6645 (remote_notice_new_inferior): If in all-stop, and starting up,
6646 don't call notice_new_inferior.
6647 (get_current_thread): New function, factored out from ...
6648 (add_current_inferior_and_thread): ... this. Adjust.
6649 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6650 found any thread, then select the remote's current thread as GDB's
6653 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6655 * NEWS: Create a new section for the next release branch.
6656 Rename the section of the current branch, now that it has
6659 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6661 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6662 * version.in: Bump version to 7.7.50.DATE-cvs.
6664 2014-01-08 Yao Qi <yao@codesourcery.com>
6666 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6667 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6668 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6670 2014-01-08 Yao Qi <yao@codesourcery.com>
6672 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6673 return value of bfd_get_filename to symbol_file_add_from_bfd.
6675 2014-01-08 Pierre Muller <muller@sourceware.org>
6678 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6679 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6680 to prim_record_mininal_symbol_and_info.
6681 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6682 in call to prim_record_minimal_symbol_and_info.
6683 (read_pe_exported_syms): Set index field of section_data.
6685 2014-01-07 Andrew Pinski <apinski@cavium.com>
6687 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6688 * features/aarch64.c: Regenerate.
6690 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6692 * target.c (return_null): Define.
6693 (update_current_target): Use it instead of return_zero for
6694 functions that return a pointer.
6696 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6698 * source.c (add_path): Fix check for duplicated paths in the previously
6701 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6703 * ada-lang.c: Remove duplicated include statements.
6704 * alphabsd-nat.c: Ditto.
6705 * amd64-darwin-tdep.c: Ditto.
6706 * amd64fbsd-nat.c: Ditto.
6707 * auto-load.c: Ditto.
6709 * breakpoint.c: Ditto.
6711 * fork-child.c: Ditto.
6712 * gdb_usleep.c: Ditto.
6713 * i386-darwin-tdep.c: Ditto.
6714 * i386fbsd-nat.c: Ditto.
6716 * inferior.c: Ditto.
6718 * linux-nat.c: Ditto.
6719 * linux-tdep.c: Ditto.
6720 * m68kbsd-nat.c: Ditto.
6721 * m68klinux-nat.c: Ditto.
6722 * microblaze-tdep.c: Ditto.
6723 * mips-linux-tdep.c: Ditto.
6724 * mn10300-tdep.c: Ditto.
6725 * nto-tdep.c: Ditto.
6726 * opencl-lang.c: Ditto.
6728 * printcmd.c: Ditto.
6729 * regcache.c: Ditto.
6730 * remote-m32r-sdi.c: Ditto.
6734 * tilegx-linux-nat.c: Ditto.
6735 * tilegx-tdep.c: Ditto.
6736 * tracepoint.c: Ditto.
6738 * vaxbsd-nat.c: Ditto.
6739 * windows-nat.c: Ditto.
6740 * xtensa-tdep.c: Ditto.
6742 2014-01-07 Yao Qi <yao@codesourcery.com>
6744 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6746 2014-01-07 Yao Qi <yao@codesourcery.com>
6747 Joel Brobecker <brobecker@adacore.com>
6749 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6750 (pdc_write_regs): Likewise.
6751 (fetch_regs_kernel_thread): Likewise.
6752 (store_regs_kernel_thread): Likewise.
6754 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6756 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6757 tagged type objects to their actual type.
6759 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6761 * ada-valprint.c (print_field_values): Add "language" parameter.
6762 Update calls to print_field_values and print_variant_part.
6763 Pass new parameter "language" in call to val_print instead
6764 of "current_language". Replace call to ada_val_print by call
6766 (print_variant_part): Add "language" parameter.
6767 (ada_val_print_struct_union): Update call to print_field_values.
6769 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6771 * ada-valprint.c (ui_memcpy): Delete.
6772 (ada_print_floating): Update documentation. Add empty line
6773 between between function documentation and implementation.
6774 Delete variable "buffer". Use ui_file_xstrdup in place of
6775 ui_file_put. Minor adjustments following this change.
6777 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6779 * ada-valprint.c (ada_val_print_string): New function,
6780 extracted from ada_val_print_array.
6781 (ada_val_print_array): Replace extracted code by call
6782 to ada_val_print_string followed by a return. Move
6783 "else" branch to the function's top block.
6785 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6787 * ada-valprint.c (ada_val_print_array): Move implementation
6788 down. Rename parameter "offset" and "val" into "offset_aligned"
6789 and "original_value" respectively. Add parameter "offset".
6791 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6793 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6794 re-organizing the code. Change the "???" message printed
6795 when target type is a TYPE_CODE_UNDEF into
6796 "<ref to undefined type>".
6798 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6800 * ada-valprint.c (print_record): Delete, implementation inlined...
6801 (ada_val_print_struct_union): ... here. Remove call to
6802 ada_check_typedef in inlined implementation.
6804 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6806 * ada-valprint.c (ada_val_print_gnat_array): New function,
6807 extracted from ada_val_print_1;
6808 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6809 (ada_val_print_flt, ada_val_print_struct_union)
6810 (ada_val_print_ref): Likewise.
6811 (ada_val_print_1): Delete variables i and elttype.
6812 Replace extracted-out code by call to corresponding
6815 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6817 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6819 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6821 * ada-valprint.c (ada_val_print_1): Replace calls to
6822 ada_val_print_1 by calls to val_print.
6824 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6826 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6827 Update calls to self accordingly. Replace calls to c_val_print
6828 by calls to val_print.
6830 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6832 * ada-valprint.c (print_record): Delete declaration.
6833 (adjust_type_signedness, ada_val_print_1): Likewise.
6834 (ada_val_print): Move function implementation down.
6835 (print_variant_part, print_field_values, print_record):
6836 Move function implementation up.
6838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6840 * python/py-type.c (typy_get_name): New function.
6841 (type_object_getset): Add entry for attribute "name".
6842 * NEWS: Add entry mentioning this new attribute.
6844 2014-01-07 Yao Qi <yao@codesourcery.com>
6846 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6849 2014-01-07 Yao Qi <yao@codesourcery.com>
6851 * gnu-nat.c (info_port_rights): Add qualifier const to
6854 2014-01-07 Yao Qi <yao@codesourcery.com>
6856 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6858 2014-01-07 Yao Qi <yao@codesourcery.com>
6860 * gnu-nat.c (make_inf) Update declaration.
6861 (make_inf): Make it static.
6862 (inf_set_traced): Likewise.
6863 (inf_port_to_thread, inf_task_died_status): Likewise.
6865 2014-01-07 Yao Qi <yao@codesourcery.com>
6867 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6869 2014-01-07 Yao Qi <yao@codesourcery.com>
6871 * gnu-nat.c (_initialize_gnu_nat): Declare.
6873 2014-01-07 Yao Qi <yao@codesourcery.com>
6875 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6877 (struct gdbarch_info) <byte_order>: Change type to
6879 <byte_order_for_code>: Likewise.
6880 * gdbarch.c, gdbarch.h: Regenerated.
6882 2014-01-06 Sasha Smundak <asmundak@google.com>
6884 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6886 2014-01-06 Tom Tromey <tromey@redhat.com>
6888 * doublest.c (convert_doublest_to_floatformat): Use const, not
6890 * somread.c (som_symtab_read): Likewise.
6892 2014-01-07 Hui Zhu <hui@codesourcery.com>
6894 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6895 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6896 (gdb_bfd_fopen): Ditto.
6897 (gdb_bfd_openr): Ditto.
6898 (gdb_bfd_openw): Ditto.
6899 (gdb_bfd_openr_iovec): Ditto.
6900 (gdb_bfd_fdopenr): Ditto.
6901 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6902 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6904 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6906 * symfile-mem.c (symbol_file_add_from_memory): Removed
6907 gdb_bfd_stash_filename.
6909 2014-01-03 Doug Evans <dje@google.com>
6911 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6914 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6916 Update year range in copyright notice of all files.
6918 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6920 * top.c (print_gdb_version): Set copyright year to 2014.
6922 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6924 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6926 For older changes see ChangeLog-2013.
6932 version-control: never