1 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2 Joel Brobecker <brobecker@adacore.com>
4 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5 (dwarf2_evaluate_property): New function.
6 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7 * dwarf2read.c (attr_to_dynamic_prop): New function.
8 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
10 * gdbtypes.c: Include dwarf2loc.h.
11 (is_dynamic_type): New function.
12 (resolve_dynamic_type): New function.
13 (resolve_dynamic_bounds): New function.
14 (get_type_length): New function.
15 (check_typedef): Use get_type_length to compute type length.
16 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
17 (TYPE_LOW_BOUND_KIND): New macro.
18 (is_dynamic_type): New function prototype.
19 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
20 to resolve dynamic properties of the type. Update comment.
21 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
23 2014-04-14 Richard Henderson <rth@redhat.com>
25 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
27 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
28 Doug Evans <xdje42@gmail.com>
30 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
31 dereference TYPE_CODE_REF values.
33 2014-04-11 Joel Brobecker <brobecker@adacore.com>
35 Revert the following changes due to regressions:
37 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
38 (dwarf2_evaluate_property): New function.
39 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
40 * dwarf2read.c (attr_to_dynamic_prop): New function.
41 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
43 * gdbtypes.c: Include dwarf2loc.h.
44 (is_dynamic_type): New function.
45 (resolve_dynamic_type): New function.
46 (resolve_dynamic_bounds): New function.
47 (get_type_length): New function.
48 (check_typedef): Use get_type_length to compute type length.
49 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
50 (TYPE_LOW_BOUND_KIND): New macro.
51 (is_dynamic_type): New function prototype.
52 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
53 to resolve dynamic properties of the type. Update comment.
54 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
56 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
57 passed to sizeof is dynamic evaluate the argument to compute the length.
59 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
60 value and retrieve the dynamic type size.
62 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
63 (ada_template_to_fixed_record_type_1): Likewise.
64 (ada_to_fixed_type_1): Likewise.
65 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
66 (cp_print_value): Likewise.
67 * d-valprint.c (dynamic_array_type): Likewise.
68 * eval.c (evaluate_subexp_with_coercion): Likewise.
69 * findvar.c (address_of_variable): Likewise.
70 * jv-valprint.c (java_value_print): Likewise.
71 * valops.c (value_ind): Likewise.
72 * value.c (coerce_ref): Likewise.
74 * c-typeprint.c (c_type_print_varspec_suffix): Added
75 check for not yet resolved high bound. If unresolved, print
76 "variable length" string to the console instead of random
79 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
80 property and store it as the high bound and flag the range accordingly.
81 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
82 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
83 * gdbtypes.h (enum range_flags): New enum.
84 (struct range_bounds): Add flags member.
86 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
87 points to a constant blob.
89 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
90 (evaluate_subexp_standard): Pass noside argument.
91 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
92 if noside equals EVAL_NORMAL. If the subscript yields a vla type
93 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
94 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
95 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
97 2014-04-11 Keith Seitz <keiths@redhat.com>
100 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
101 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
104 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
106 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
107 (evaluate_subexp_standard): Pass noside argument.
108 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
109 if noside equals EVAL_NORMAL. If the subscript yields a vla type
110 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
111 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
112 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
116 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
117 points to a constant blob.
119 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
121 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
122 property and store it as the high bound and flag the range accordingly.
123 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
124 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
125 * gdbtypes.h (enum range_flags): New enum.
126 (struct range_bounds): Add flags member.
128 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
130 * c-typeprint.c (c_type_print_varspec_suffix): Added
131 check for not yet resolved high bound. If unresolved, print
132 "variable length" string to the console instead of random
135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
137 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
138 (ada_template_to_fixed_record_type_1): Likewise.
139 (ada_to_fixed_type_1): Likewise.
140 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
141 (cp_print_value): Likewise.
142 * d-valprint.c (dynamic_array_type): Likewise.
143 * eval.c (evaluate_subexp_with_coercion): Likewise.
144 * findvar.c (address_of_variable): Likewise.
145 * jv-valprint.c (java_value_print): Likewise.
146 * valops.c (value_ind): Likewise.
147 * value.c (coerce_ref): Likewise.
149 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
151 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
152 value and retrieve the dynamic type size.
154 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
156 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
157 passed to sizeof is dynamic evaluate the argument to compute the length.
159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
161 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
162 (dwarf2_evaluate_property): New function.
163 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
164 * dwarf2read.c (attr_to_dynamic_prop): New function.
165 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
167 * gdbtypes.c: Include dwarf2loc.h.
168 (is_dynamic_type): New function.
169 (resolve_dynamic_type): New function.
170 (resolve_dynamic_bounds): New function.
171 (get_type_length): New function.
172 (check_typedef): Use get_type_length to compute type length.
173 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
174 (TYPE_LOW_BOUND_KIND): New macro.
175 (is_dynamic_type): New function prototype.
176 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
177 to resolve dynamic properties of the type. Update comment.
178 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
180 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
182 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
183 declaring high/low bounds and change uses accordingly. Call
184 create_range_type instead of create_static_range_type.
185 * gdbtypes.c (create_range_type): New function.
186 (create_range_type): Convert bounds into struct bound_prop and pass
187 them to create_range_type.
188 * gdbtypes.h (struct bound_prop): New struct.
189 (create_range_type): New function prototype.
190 (struct range_bounds): Use struct bound_prop instead of LONGEST for
191 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
192 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
194 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
196 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
198 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
199 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
200 * ada-lang.c: All uses of create_range_type updated.
201 * coffread.c: All uses of create_range_type updated.
202 * dwarf2read.c: All uses of create_range_type updated.
203 * f-exp.y: All uses of create_range_type updated.
204 * m2-valprint.c: All uses of create_range_type updated.
205 * mdebugread.c: All uses of create_range_type updated.
206 * stabsread.c: All uses of create_range_type updated.
207 * valops.c: All uses of create_range_type updated.
208 * valprint.c: All uses of create_range_type updated.
210 2014-04-10 Pedro Alves <palves@redhat.com>
212 * breakpoint.c (single_step_breakpoints)
213 (single_step_gdbarch): Move up in the file.
214 (one_breakpoint_xfer_memory): New function, factored out from ...
215 (breakpoint_xfer_memory): ... here. Also process single-step
218 2014-04-09 Tristan Gingold <gingold@adacore.com>
220 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
222 (darwin_decode_exception_message): Free port only after use.
224 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
226 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
227 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
228 when setting the size of call_length.
230 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
232 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
233 dereference TYPE_CODE_REF values.
235 2014-04-07 Joel Brobecker <brobecker@adacore.com>
237 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
238 end of warning message.
240 2014-04-03 Doug Evans <dje@google.com>
242 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
243 of stub_comp_unit_die, stub_comp_dir is non-NULL.
245 2014-04-02 Alan Modra <amodra@gmail.com>
247 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
248 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
249 (struct symbol_file_add_from_memory_args): Add size field.
250 (find_vdso_size): New function.
251 (add_vsyscall_page): Attempt to find vdso size.
253 2014-04-01 Doug Evans <dje@google.com>
255 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
257 2014-04-01 Tristan Gingold <gingold@adacore.com>
259 * darwin-nat.c (darwin_encode_reply): Add prototype.
260 (darwin_decode_exception_message): Reply to unknown inferiors.
261 (darwin_decode_message): Handle message by id. Ignore message
263 (darwin_wait): Discard unknown messages, add debug trace.
265 2014-03-31 Doug Evans <dje@google.com>
267 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
270 2014-03-31 Doug Evans <dje@google.com>
272 New option "set print symbol-loading".
274 * solib.c (solib_read_symbols): Only print symbol loading messages
276 (solib_add): If symbol loading is in "brief" mode, notify user
277 symbols are being loaded.
278 (reload_shared_libraries_1): Ditto.
279 * symfile.c (print_symbol_loading_off): New static global.
280 (print_symbol_loading_brief): New static global.
281 (print_symbol_loading_full): New static global.
282 (print_symbol_loading_enums): New static global.
283 (print_symbol_loading): New static global.
284 (print_symbol_loading_p): New function.
285 (symbol_file_add_with_addrs): Only print symbol loading messages
287 (_initialize_symfile): Register "print symbol-loading" set/show
289 * symfile.h (print_symbol_loading_p): Declare.
291 2014-03-30 Doug Evans <xdje42@gmail.com>
293 * infrun.c (set_last_target_status): New function.
294 (handle_inferior_event): Call it.
296 2014-03-30 Doug Evans <xdje42@gmail.com>
298 * inferior.h (enum stop_kind): Improve comment.
300 2014-03-28 Joel Brobecker <brobecker@adacore.com>
302 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
303 a reference, strip the reference layer before calling
304 the lang_ops value_has_mutated callback.
306 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
308 Remove some globals from our parser.
309 * language.c (unk_lang_parser): Add "struct parser_state"
311 * language.h (struct language_defn) <la_parser>: Likewise.
312 * parse.c (expout, expout_size, expout_ptr): Remove variables.
313 (initialize_expout): Add "struct parser_state" argument.
314 Rewrite function to use the parser state.
315 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
316 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
317 write_exp_elt_longcst, write_exp_elt_dblcst,
318 write_exp_elt_decfloatcst, write_exp_elt_type,
319 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
320 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
321 write_dollar_variable): Likewise.
322 (parse_exp_in_context_1): Use parser state.
323 (insert_type_address_space): Add "struct parser_state" argument.
325 (increase_expout_size): New function.
326 * parser-defs.h: Forward declare "struct language_defn" and
327 "struct parser_state".
328 (expout, expout_size, expout_ptr): Remove extern declarations.
329 (parse_gdbarch, parse_language): Rewrite macro declarations to
330 accept the parser state.
331 (struct parser_state): New struct.
332 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
333 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
334 write_exp_elt_decfloatcst, write_exp_elt_type,
335 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
336 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
337 write_exp_msymbol, write_dollar_variable,
338 mark_struct_expression, insert_type_address_space): Add "struct
339 parser_state" argument.
340 (increase_expout_size): New function.
341 * utils.c (do_clear_parser_state): New function.
342 (make_cleanup_clear_parser_state): Likewise.
343 * utils.h (make_cleanup_clear_parser_state): New function
345 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
346 Update calls to write_exp* in order to pass the parser state.
347 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
348 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
349 (i386_stap_parse_special_token_three_arg_disp): Likewise.
350 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
351 * stap-probe.c (stap_parse_register_operand): Likewise.
352 (stap_parse_single_operand): Likewise.
353 (stap_parse_argument_1): Likewise.
354 (stap_parse_argument): Use parser state.
355 * stap-probe.h: Include "parser-defs.h".
356 (struct stap_parse_info) <pstate>: New field.
357 * c-exp.y (parse_type): Rewrite to use parser state.
358 (yyparse): Redefine to c_parse_internal.
359 (pstate): New global variable.
360 (parse_number): Add "struct parser_state" argument.
361 (write_destructor_name): Likewise.
362 (type_exp): Update calls to write_exp* and similars in order to
364 (exp1, exp, variable, qualified_name, space_identifier,
365 typename, typebase): Likewise.
366 (write_destructor_name, parse_number, lex_one_token,
367 classify_name, classify_inner_name, c_parse): Add "struct
368 parser_state" argument. Update function to use parser state.
369 * c-lang.h: Forward declare "struct parser_state".
370 (c_parse): Add "struct parser_state" argument.
371 * ada-exp.y (parse_type): Rewrite macro to use parser state.
372 (yyparse): Redefine macro to ada_parse_internal.
373 (pstate): New variable.
374 (write_int, write_object_renaming, write_var_or_type,
375 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
376 type_int, type_long, type_long_long, type_float, type_double,
377 type_long_double, type_char, type_boolean, type_system_address):
378 Add "struct parser_state" argument.
379 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
380 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
381 var_or_type, aggregate, aggregate_component_list,
382 positional_list, others, component_group,
383 component_associations): Update calls to write_exp* and similar
384 functions in order to use parser state.
385 (ada_parse, write_var_from_sym, write_int,
386 write_exp_op_with_string, write_object_renaming,
387 find_primitive_type, write_selectors, write_ambiguous_var,
388 write_var_or_type, write_name_assoc, type_int, type_long,
389 type_long_long, type_float, type_double, type_long_double,
390 type_char, type_boolean, type_system_address): Add "struct
391 parser_state" argument. Adjust function to use parser state.
392 * ada-lang.c (parse): Likewise.
393 * ada-lang.h: Forward declare "struct parser_state".
394 (ada_parse): Add "struct parser_state" argument.
395 * ada-lex.l (processInt, processReal): Likewise. Adjust all
396 calls to both functions.
397 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
399 (yyparse): Redefine macro to f_parse_internal.
400 (pstate): New variable.
401 (parse_number): Add "struct parser_state" argument.
402 (type_exp, exp, subrange, typebase): Update calls to write_exp*
403 and similars in order to use parser state.
404 (parse_number): Adjust code to use parser state.
406 (f_parse): New function.
407 * f-lang.h: Forward declare "struct parser_state".
408 (f_parse): Add "struct parser_state" argument.
409 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
411 (yyparse): Redefine macro for java_parse_internal.
412 (pstate): New variable.
413 (push_expression_name, push_expression_name, insert_exp): Add
414 "struct parser_state" argument.
415 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
416 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
417 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
418 PostIncrementExpression, PostDecrementExpression,
419 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
420 UnaryExpressionNotPlusMinus, CastExpression,
421 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
422 RelationalExpression, EqualityExpression, AndExpression,
423 ExclusiveOrExpression, InclusiveOrExpression,
424 ConditionalAndExpression, ConditionalOrExpression,
425 ConditionalExpression, Assignment, LeftHandSide): Update
426 calls to write_exp* and similars in order to use parser state.
427 (parse_number): Ajust code to use parser state.
429 (java_parse): New function.
430 (push_variable): Add "struct parser_state" argument. Adjust
431 code to user parser state.
432 (push_fieldnames, push_qualified_expression_name,
433 push_expression_name, insert_exp): Likewise.
434 * jv-lang.h: Forward declare "struct parser_state".
435 (java_parse): Add "struct parser_state" argument.
436 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
438 (yyparse): Redefine macro to m2_parse_internal.
439 (pstate): New variable.
440 (type_exp, exp, fblock, variable, type): Update calls to
441 write_exp* and similars to use parser state.
443 (m2_parse): New function.
444 * m2-lang.h: Forward declare "struct parser_state".
445 (m2_parse): Add "struct parser_state" argument.
446 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
447 * objc-lang.h: Forward declare "struct parser_state".
448 (end_msglist): Add "struct parser_state" argument.
449 * p-exp.y (parse_type): Rewrite macro to use parser state.
450 (yyparse): Redefine macro to pascal_parse_internal.
451 (pstate): New variable.
452 (parse_number): Add "struct parser_state" argument.
453 (type_exp, exp1, exp, qualified_name, variable): Update calls to
454 write_exp* and similars in order to use parser state.
455 (parse_number, yylex): Adjust code to use parser state.
456 (pascal_parse): New function.
457 * p-lang.h: Forward declare "struct parser_state".
458 (pascal_parse): Add "struct parser_state" argument.
459 * go-exp.y (parse_type): Rewrite macro to use parser state.
460 (yyparse): Redefine macro to go_parse_internal.
461 (pstate): New variable.
462 (parse_number): Add "struct parser_state" argument.
463 (type_exp, exp1, exp, variable, type): Update calls to
464 write_exp* and similars in order to use parser state.
465 (parse_number, lex_one_token, classify_name, yylex): Adjust code
467 (go_parse): Likewise.
468 * go-lang.h: Forward declare "struct parser_state".
469 (go_parse): Add "struct parser_state" argument.
471 2014-03-27 Doug Evans <dje@google.com>
473 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
475 2014-03-27 Doug Evans <dje@google.com>
477 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
478 Remove argument abbrev_section. All callers updated.
480 2014-03-27 Doug Evans <dje@google.com>
482 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
483 addr_base, ranges_base.
485 2014-03-26 Keith Seitz <keiths@redhat.com>
487 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
488 types, not VAR_DOMAIN.
490 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
492 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
494 * features/nios2-linux.c: Regenerated.
495 * features/nios2.c: Regenerated.
497 2014-03-25 Pedro Alves <palves@redhat.com>
499 * cli/cli-script.c (script_from_file): Force the interpreter to
502 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
504 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
505 small stack allocation.
507 2014-03-24 Tristan Gingold <gingold@adacore.com>
509 * darwin-nat.c (exc_server): Remove unused prototype.
510 (darwin_dump_message): Correctly display data on x86_64.
511 (darwin_encode_reply): Fix style.
512 Add comments and fix indentation.
514 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
516 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
518 2014-03-22 Doug Evans <xdje42@gmail.com>
520 * infcmd.c: Whitespace fixes.
521 (interrupt_command): Merge two function comments into one.
523 2014-03-22 Doug Evans <xdje42@gmail.com>
525 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
528 2014-03-22 Yao Qi <yao@codesourcery.com>
530 * remote.c (target_read_live_memory): Remove.
531 (memory_xfer_live_readonly_partial): Rename it to
532 remote_xfer_live_readonly_partial. Remove argument 'object'.
533 All callers updated. Call remote_read_bytes_1
534 instead of target_read_live_memory.
535 * tracepoint.c (set_traceframe_number): Remove.
536 (make_cleanup_restore_traceframe_number): Likewise .
537 * tracepoint.h (set_traceframe_number): Remove declaration.
538 (make_cleanup_restore_traceframe_number): Likewise.
540 2014-03-22 Yao Qi <yao@codesourcery.com>
542 * remote.c (remote_read_bytes): Move code on reading from the
544 (remote_read_bytes_1): ... here. New function.
546 2014-03-22 Yao Qi <yao@codesourcery.com>
548 * ctf.c (ctf_xfer_partial): Check the return value of
549 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
550 return TARGET_XFER_UNAVAILABLE.
551 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
552 * target.c (target_read_live_memory): Move it to remote.c.
553 (memory_xfer_live_readonly_partial): Likewise.
554 (memory_xfer_partial_1): Move some code to remote_read_bytes.
555 * remote.c (target_read_live_memory): Moved from target.c.
556 (memory_xfer_live_readonly_partial): Likewise.
557 (remote_read_bytes): Factored out from
558 memory_xfer_partial_1.
560 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
562 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
565 2014-03-21 Pedro Alves <palves@redhat.com>
567 * infrun.c (normal_stop): Extend comment.
569 2014-03-21 Hui Zhu <hui@codesourcery.com>
570 Pedro Alves <palves@redhat.com>
572 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
574 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
575 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
576 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
578 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
580 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
581 `z' formatted output modifier.
583 2014-03-20 Tom Tromey <tromey@redhat.com>
584 Sergio Durigan Junior <sergiodj@redhat.com>
586 * probe.c (parse_probes): Turn assert into an ordinary error.
587 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
588 exceptions when parsing probes. Rearrange the code for clarity.
590 2014-03-20 Tom Tromey <tromey@redhat.com>
593 * top.c (execute_command): Only dispatch events if the command
596 2014-03-20 Tom Tromey <tromey@redhat.com>
599 * infcall.c: Include event-top.h.
600 (run_inferior_call): Call async_disable_stdin if needed.
602 2014-03-20 Pedro Alves <palves@redhat.com>
604 * infrun.c (prepare_to_proceed): Delete.
605 (thread_still_needs_step_over): New function.
606 (find_thread_needs_step_over): New function.
607 (proceed): If the current thread needs a step-over, set its
608 steping_over_breakpoint flag. Adjust to use
609 find_thread_needs_step_over instead of prepare_to_proceed.
610 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
611 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
613 (switch_back_to_stepped_thread): Step over breakpoints of all
614 threads not the stepping thread, before switching back to the
617 2014-03-20 Pedro Alves <palves@redhat.com>
619 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
621 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
622 * infrun.c (saved_singlestep_ptid)
623 (stepping_past_singlestep_breakpoint): Delete.
624 (resume): Remove stepping_past_singlestep_breakpoint handling.
625 (proceed): Store the prev_pc of the stepping thread too.
626 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
628 (enum infwait_states): Delete infwait_thread_hop_state.
629 (struct execution_control_state) <hit_singlestep_breakpoint>: New
631 (handle_inferior_event): Adjust.
632 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
633 handling and the thread-hop code. Before removing single-step
634 breakpoints, check whether the thread hit a single-step breakpoint
635 of another thread. If it did, the trap is not a random signal.
636 (switch_back_to_stepped_thread): If the event thread hit a
637 single-step breakpoint, unblock it before switching to the
638 stepping thread. Handle the case of the stepped thread having
640 (keep_going): Handle the case of the current thread moving past a
641 single-step breakpoint.
643 2014-03-20 Pedro Alves <palves@redhat.com>
646 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
647 are being stepped over.
648 (breakpoint_address_match): Make extern.
649 * breakpoint.h (breakpoint_address_match): New declaration.
650 * inferior.h (stepping_past_instruction_at): New declaration.
651 * infrun.c (struct step_over_info): New type.
652 (step_over_info): New global.
653 (set_step_over_info, clear_step_over_info)
654 (stepping_past_instruction_at): New functions.
655 (handle_inferior_event): Clear the step-over info when
656 trap_expected is cleared.
657 (resume): Remove now stale comment.
658 (clear_proceed_status): Clear step-over info.
659 (proceed): Adjust step-over handling to set or clear the step-over
660 info instead of removing all breakpoints.
661 (handle_signal_stop): When setting up a thread-hop, don't remove
663 (stop_stepping): Clear step-over info.
664 (keep_going): Adjust step-over handling to set or clear step-over
665 info and then always inserting breakpoints, instead of removing
666 all breakpoints when stepping over one.
668 2014-03-20 Pedro Alves <palves@redhat.com>
670 * infrun.c (previous_inferior_ptid): Adjust comment.
671 (deferred_step_ptid): Delete.
672 (infrun_thread_ptid_changed, prepare_to_proceed)
673 (init_wait_for_inferior): Adjust.
674 (handle_signal_stop): Delete deferred_step_ptid handling.
676 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
679 * defs.h (sync_quit_force_run): New declaration.
680 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
681 * event-top.c (async_sigterm_handler): New declaration.
682 (async_sigterm_token): New variable.
683 (async_init_signals): Create also async_sigterm_token.
684 (async_sigterm_handler): New function.
685 (sync_quit_force_run): New variable.
686 (handle_sigterm): Replace quit_force call by other calls.
687 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
689 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
691 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
692 offset into SPE pseudo registers.
694 2014-03-18 Pedro Alves <palves@redhat.com>
697 * inferior.h (print_stop_event): Declare.
698 * infrun.c (print_stop_event): New, factored out from ...
699 (normal_stop): ... this.
700 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
701 of bpstat_print/print_stack_frame.
703 2014-03-17 Tom Tromey <tromey@redhat.com>
705 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
707 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
709 * ada-lang.c (decode_constrained_packed_array): Perform a
710 minimal coercion for reference with coerce_ref instead of
713 2014-03-17 Tristan Gingold <gingold@adacore.com>
715 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
716 (darwin_solib_create_inferior_hook): Emit a warning if version
719 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
721 * python/py-value.c (get_field_flag): Cast flag_name argument to
722 PyObject_GetAttrString to support Python 2.4.
724 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
726 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
727 (Global Maintainers): Remove Jan Kratochvil.
729 2014-03-14 Pedro Alves <palves@redhat.com>
731 * inferior.h (terminal_ours_for_output): Rename to ...
732 (child_terminal_ours_for_output): ... this.
733 (terminal_save_ours): Rename to ...
734 (child_terminal_save_ours): ... this.
735 (terminal_ours): Rename to ...
736 (child_terminal_ours): ... this.
737 (terminal_inferior): Rename to ...
738 (child_terminal_inferior): ... this.
739 (terminal_init_inferior): Rename to ...
740 (child_terminal_init_inferior): ... this.
741 (terminal_init_inferior_with_pgrp): Rename to ...
742 (child_terminal_init_inferior_with_pgrp): ... this.
743 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
744 (child_terminal_init_with_pgrp): ... this.
745 (terminal_save_ours): Rename to ...
746 (child_terminal_save_ours): ... this.
747 (terminal_init_inferior): Rename to ...
748 (child_terminal_init): ... this. Adjust.
749 (terminal_inferior): Rename to ...
750 (child_terminal_inferior): ... this.
751 (terminal_ours_for_output): Rename to ...
752 (child_terminal_ours_for_output): ... this. Adjust.
753 (terminal_ours): Rename to ...
754 (child_terminal_ours): ... this.
755 (terminal_ours_1): Rename to ...
756 (child_terminal_ours_1): ... this. Adjust.
757 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
758 * windows-nat.c (do_initial_windows_stuff): Adjust.
759 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
760 (gnu_terminal_init): ... this. Adjust.
761 (gnu_target): Adjust.
762 * inf-child.c (inf_child_target): Adjust.
764 2014-03-13 Doug Evans <xdje42@gmail.com>
767 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
770 2014-03-13 Doug Evans <xdje42@gmail.com>
772 * value.c (record_latest_value): Call release_value_or_incref
773 instead of release_value.
775 2014-03-13 Pedro Alves <palves@redhat.com>
777 * procfs.c (procfs_target): Don't override to_shortname,
778 to_longname or to_doc.
780 2014-03-13 Pedro Alves <palves@redhat.com>
782 * inf-child.c (inf_child_open, inf_child_target): Don't mention
783 Unix in user visible strings.
785 2014-03-12 Stan Shebs <stan@codesourcery.com>
787 * gdbtypes.h: Annotate comments for Doxygen, add a page
788 block comment with some general info.
790 2014-03-12 Pedro Alves <palves@redhat.com>
792 * infcmd.c (prepare_execution_command): New function, factored out
793 from several execution commands.
794 (run_command_1, continue_command, step_1, jump_command)
795 (signal_command, until_command, advance_command, finish_command)
796 (attach_command): Use prepare_execution_command.
798 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
800 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
803 (struct arm_linux_thread_points): Removed.
804 (struct arm_linux_process_info): New.
805 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
806 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
807 (arm_linux_find_breakpoints_by_tid): Removed.
808 (struct arch_lwp_info): New.
809 (arm_linux_find_process_pid): New functions.
810 (arm_linux_add_process): New functions.
811 (arm_linux_process_info_get): New functions.
812 (arm_linux_forget_process): New function.
813 (arm_linux_get_debug_reg_state): New function.
814 (struct update_registers_data): New.
815 (update_registers_callback): New function.
816 (arm_linux_insert_hw_breakpoint1): Updated.
817 (arm_linux_remove_hw_breakpoint1): Updated.
818 (arm_linux_insert_hw_breakpoint): Updated.
819 (arm_linux_remove_hw_breakpoint): Updated.
820 (arm_linux_insert_watchpoint): Updated.
821 (arm_linux_remove_watchpoint): Updated.
822 (arm_linux_new_thread): Updated.
823 (arm_linux_prepare_to_resume): New function.
824 (arm_linux_new_fork): New function.
825 (_initialize_arm_linux_nat): Updated.
827 2014-03-12 Pedro Alves <palves@redhat.com>
829 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
831 2014-03-12 Tom Tromey <tromey@redhat.com>
833 * inf-child.c (return_zero): New function.
834 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
835 * aix-thread.c (aix_thread_inferior_created): New function.
836 (aix_thread_attach): Remove.
837 (init_aix_thread_ops): Don't set to_attach.
838 (_initialize_aix_thread): Register inferior_created observer.
839 * corelow.c (init_core_ops): Don't set to_attach or
841 * exec.c (init_exec_ops): Don't set to_attach or
843 * infcmd.c (run_command_1): Use find_run_target. Make direct
845 (attach_command): Use find_attach_target. Make direct target
847 * record-btrace.c (init_record_btrace_ops): Don't set
849 * record-full.c (record_full_can_async_p, record_full_is_async_p):
851 (init_record_full_ops, init_record_full_core_ops): Update. Don't
852 set to_create_inferior.
853 * target.c (complete_target_initialization): Add assertion.
854 (target_create_inferior): Remove.
855 (find_default_attach, find_default_create_inferior): Remove.
856 (find_attach_target, find_run_target): New functions.
857 (find_default_is_async_p, find_default_can_async_p)
858 (target_supports_non_stop, target_attach): Remove.
859 (init_dummy_target): Don't set to_create_inferior or
860 to_supports_non_stop.
861 * target.h (struct target_ops) <to_attach>: Add comment. Remove
863 <to_create_inferior>: Add comment.
864 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
865 TARGET_DEFAULT_RETURN.
866 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
867 (find_attach_target, find_run_target): Declare.
868 (target_create_inferior): Remove.
869 (target_has_execution_1): Update comment.
870 (target_supports_non_stop): Remove.
871 * target-delegates.c: Rebuild.
873 2014-03-12 Pedro Alves <palves@redhat.com>
875 * inf-child.h: Update comment to not mention Unix.
877 2014-03-12 Pedro Alves <palves@redhat.com>
879 * inf-child.c: Update top comment to not mention Unix. Add
880 generic comment describing how this target is meant to be used.
881 (inf_child_post_attach, inf_child_post_startup_inferior)
882 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
885 2014-03-12 Pedro Alves <palves@redhat.com>
887 * nto-procfs.c: Include inf-child.h.
888 (procfs_ops): Delete global.
889 (procfs_can_run): Delete method.
890 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
891 target pointer instead of referencing procfs_ops.
892 (procfs_prepare_to_store): Delete.
893 (init_procfs_ops): Delete function.
894 (procfs_target): New function, based on init_procfs_ops, but
895 inherit inf_child_target.
896 (_initialize_procfs): Use procfs_target.
898 2014-03-12 Pedro Alves <palves@redhat.com>
900 * windows-nat.c: Include inf-child.h.
901 (windows_ops): Delete global.
902 (windows_open, windows_prepare_to_store, windows_can_run): Delete
904 (init_windows_ops): Delete function.
905 (windows_target): New function, based on init_windows_ops, but
906 inherit inf_child_target.
907 (_initialize_windows_nat): Use windows_target. Install x86
908 specific target methods here.
910 2014-03-10 Doug Evans <xdje42@gmail.com>
912 * guile/guile.c (call_initialize_gdb_module): New function.
913 (initialize_guile): Replace call to scm_init_guile with call to
916 2014-03-10 Joel Brobecker <brobecker@adacore.com>
918 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
919 in call to TYPE_CODE macro.
921 2014-03-10 Jerome Guitton <guitton@adacore.com>
923 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
924 Resolve tagged types to full view.
926 2014-03-10 Hui Zhu <hui@codesourcery.com>
928 * target.h (target_insert_breakpoint): Remove "hardware" from its
931 2014-03-07 Doug Evans <dje@google.com>
933 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
935 2014-03-07 Doug Evans <dje@google.com>
937 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
938 Remove unused local comp_dir_attr. Assert exactly one of
939 stub_comp_unit_die, stub_comp_dir is non-NULL.
941 2014-03-07 Joel Brobecker <brobecker@adacore.com>
943 * target.h (complete_target_initialization, add_target):
946 2014-03-07 Pedro Alves <palves@redhat.com>
948 * go32-nat.c: Include inf-child.h.
949 (go32_ops): Delete global.
950 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
952 (go32_create_inferior): Push the passed in target pointer instead
953 of referencing go32_ops.
954 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
955 (go32_target): New function, based on init_go32_ops, but inherit
957 (_initialize_go32_nat): Use go32_target. Move parts of
960 2014-03-06 Joel Brobecker <brobecker@adacore.com>
962 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
963 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
964 SYMBOL_VALUE_ADDRESS.
965 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
967 2014-03-06 Yao Qi <yao@codesourcery.com>
969 * breakpoint.c (get_tracepoint_by_number): Remove argument
970 optional_p. All callers updated. Adjust comments. Update
972 * breakpoint.h (get_tracepoint_by_number): Update declaration.
974 2014-03-06 Yao Qi <yao@codesourcery.com>
976 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
977 early if get_number returns zero. Use 'p' instead of 'args'.
979 2014-03-06 Yao Qi <yao@codesourcery.com>
981 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
984 2014-03-06 Yao Qi <yao@codesourcery.com>
987 * tracepoint.c (check_trace_running): New function.
988 (trace_find_command): Move code to check_trace_running and
989 call check_trace_running.
990 (trace_find_pc_command): Likewise.
991 (trace_find_tracepoint_command): Likewise.
992 (trace_find_line_command): Likewise.
993 (trace_find_range_command): Likewise.
994 * tracepoint.h (check_trace_running): Likewise.
995 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
997 2014-03-06 Yao Qi <yao@codesourcery.com>
999 * target.h (struct target_ops) <to_traceframe_info>: Use
1000 TARGET_DEFAULT_NORETURN (tcomplain ()).
1001 * target-delegates.c: Regenerated.
1003 2014-03-05 Pedro Alves <palves@redhat.com>
1006 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1007 void. Update comment.
1008 (dcache_xfer_memory): Delete.
1009 (dcache_read_memory_partial): New, based on the read bits of
1011 (dcache_update): Add status parameter. Use ULONGEST for len, and
1012 adjust. Discard cache lines if the reason for the update was
1014 * dcache.h (dcache_xfer_memory): Delete declaration.
1015 (dcache_read_memory_partial): New declaration.
1016 (dcache_update): Update prototype.
1017 * target.c (raw_memory_xfer_partial): Update the dcache here.
1018 (memory_xfer_partial_1): Don't handle dcache writes here.
1020 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1022 * remote-sim.c (gdbsim_load): Add const to prog.
1024 2014-03-03 Tom Tromey <tromey@redhat.com>
1026 * elfread.c (probe_key): Change to bfd_data.
1027 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1028 now per-BFD, not per-objfile.
1029 * stap-probe.c (stap_probe_destroy): Update comment.
1030 (handle_stap_probe): Allocate on the per-BFD obstack.
1032 2014-03-03 Tom Tromey <tromey@redhat.com>
1034 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1035 * breakpoint.c (create_longjmp_master_breakpoint): Use
1037 (add_location_to_breakpoint, bkpt_probe_insert_location)
1038 (bkpt_probe_remove_location): Update.
1039 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1040 * elfread.c (elf_symfile_relocate_probe): Remove.
1041 (elf_probe_fns): Update.
1042 (insert_exception_resume_breakpoint): Change type of "probe"
1043 parameter to bound_probe.
1044 (check_exception_resume): Update.
1045 * objfiles.c (objfile_relocate1): Don't relocate probes.
1046 * probe.c (bound_probe_s): New typedef.
1047 (parse_probes): Use get_probe_address. Set sal's objfile.
1048 (find_probe_by_pc): Return a bound_probe.
1049 (collect_probes): Return a VEC(bound_probe_s).
1050 (compare_probes): Update.
1051 (gen_ui_out_table_header_info): Change type of "probes"
1053 (info_probes_for_ops): Update.
1054 (get_probe_address): New function.
1055 (probe_safe_evaluate_at_pc): Update.
1056 * probe.h (struct probe_ops) <get_probe_address>: New field.
1057 <set_semaphore, clear_semaphore>: Add objfile parameter.
1058 (struct probe) <objfile>: Remove field.
1060 <address>: Update comment.
1061 (struct bound_probe): New.
1062 (find_probe_by_pc): Return a bound_probe.
1063 (get_probe_address): Declare.
1064 * solib-svr4.c (struct probe_and_action) <address>: New field.
1065 (hash_probe_and_action, equal_probe_and_action): Update.
1066 (register_solib_event_probe): Add address parameter.
1067 (solib_event_probe_at): Update.
1068 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1070 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1071 (stap_get_probe_address): New function.
1072 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1073 (compile_probe_arg): Update.
1074 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1076 (handle_stap_probe): Don't relocate the probe.
1077 (stap_relocate): Remove.
1078 (stap_gen_info_probes_table_values): Update.
1079 (stap_probe_ops): Remove stap_relocate.
1080 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1081 (debug_sym_probe_fns): Update.
1082 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1083 * symtab.c (init_sal): Use memset.
1084 * symtab.h (struct symtab_and_line) <objfile>: New field.
1085 * tracepoint.c (start_tracing, stop_tracing): Update.
1087 2014-03-03 Tom Tromey <tromey@redhat.com>
1089 * probe.h (parse_probes, find_probe_by_pc)
1090 (find_probes_in_objfile): Fix comments.
1092 2014-03-02 Doug Evans <xdje42@gmail.com>
1094 * infrun.c (handle_signal_stop): Replace test for
1095 TARGET_WAITKIND_STOPPED with an assert.
1097 2014-03-02 Doug Evans <xdje42@gmail.com>
1099 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1101 2014-03-02 Doug Evans <xdje42@gmail.com>
1103 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1105 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1107 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1109 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1111 * i386obsd-nat.c: Include "obsd-nat.h".
1112 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1114 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1116 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1118 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1120 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1122 * mips64obsd-nat.c: Include "obsd-nath".
1123 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1125 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1127 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1129 * amd64obsd-nat.c: Include "obsd-nat,h.
1130 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1132 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1134 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1136 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1137 (find_overload_match): Update call to find_oload_champ.
1138 (find_oload_champ_namespace_loop): Likewise
1140 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1142 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1144 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1145 * config/sparc/obsd64.mh: New file.
1146 * sparc64obsd-nat.c: New file.
1148 * obsd-nat.h: New file.
1149 * obsd-nat.c: New file.
1150 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1151 (ALLDEPFILES): Add obsd-nat.c.
1153 2014-02-28 Tom Tromey <tromey@redhat.com>
1155 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1156 * cli-out.h (cli_ui_out_impl): Now const.
1157 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1158 * ui-out.c (struct ui_out) <impl>: Now const.
1159 (default_ui_out_impl): Now const.
1160 (ui_out_new): Make 'impl' parameter const.
1161 * ui-out.h (ui_out_new): Update.
1163 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1165 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1167 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1169 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1171 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1173 Additional PR 8882 fix.
1174 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1176 2014-02-27 Pedro Alves <palves@redhat.com>
1178 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1181 2014-02-27 Pedro Alves <palves@redhat.com>
1184 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1185 * nat/linux-waitpid.c: Include string.h.
1186 (status_to_str): Moved here and made extern.
1187 * nat/linux-waitpid.h (status_to_str): New declaration.
1189 2014-02-27 Hui Zhu <hui@codesourcery.com>
1192 * infrun.c (ptid_match): Move ...
1193 * common/ptid.c (ptid_match): ... here.
1194 * inferior.h (ptid_match): Move ...
1195 * common/ptid.h (ptid_match): ... here.
1197 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1199 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1200 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1203 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1205 * obsd-tdep.c (obsd_auxv_parse): New function.
1206 (obsd_init_abi): Set auxv_parse.
1208 * gdbarch.sh (auxv_parse): New.
1209 * gdbarch.h: Regenerated.
1210 * gdbarch.c: Regenerated.
1211 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1213 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1215 * guile/scm-value.c (gdbscm_history_append_x): New function.
1216 (value_functions): Add it.
1218 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1220 * dwarf2read.c (attr_value_as_address): New function.
1221 (dwarf2_find_base_address, read_call_site_scope): Use
1222 attr_value_as_address in place of DW_ADDR.
1223 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1224 the low and high addresses. Slight rework of the handling
1225 of the high pc being a constant form, and limit it to
1226 DWARF verson 4 or higher.
1227 (dwarf2_record_block_ranges): Likewise.
1228 (read_partial_die): Likewise.
1229 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1231 2014-02-26 Tom Tromey <tromey@redhat.com>
1233 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1235 2014-02-26 Tom Tromey <tromey@redhat.com>
1237 * elfread.c (elf_read_minimal_symbols): Return early if
1238 minimal symbols have already been read. Add "ei" parameter.
1239 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1240 * minsyms.c (prim_record_minimal_symbol_full): Update.
1241 * objfiles.h (struct objstats) <n_minsyms>: Move...
1242 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1243 * symmisc.c (print_objfile_statistics): Update.
1245 2014-02-26 Tom Tromey <tromey@redhat.com>
1247 * elfread.c (elf_read_minimal_symbols): New function, from
1249 (elf_symfile_read): Call it.
1251 2014-02-26 Tom Tromey <tromey@redhat.com>
1253 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1254 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1255 (lookup_minimal_symbol_solib_trampoline)
1256 (lookup_minimal_symbol_by_pc_section_1)
1257 (lookup_minimal_symbol_and_objfile): Update.
1258 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1259 Don't allocate a minimal symbol if minsyms have already been read.
1260 (build_minimal_symbol_hash_tables): Update.
1261 (install_minimal_symbols): Do nothing if minsyms already read.
1262 Use the per-BFD obstack.
1263 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1264 * objfiles.c (allocate_objfile): Call
1265 terminate_minimal_symbol_table later.
1266 (have_minimal_symbols): Update.
1267 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1268 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1269 Move from struct objfile.
1270 <minsyms_read>: New field.
1271 (struct objfile) <msymbols, minimal_symbol_count,
1272 msymbol_hash, msymbol_demangled_hash>: Move.
1273 (ALL_OBJFILE_MSYMBOLS): Update.
1274 * symfile.c (read_symbols): Set minsyms_read.
1275 (reread_symbols): Update.
1276 * symmisc.c (dump_objfile, dump_msymbols): Update.
1278 2014-02-26 Tom Tromey <tromey@redhat.com>
1280 * minsyms.c (msymbols_sort): Remove.
1281 * minsyms.h (msymbols_sort): Remove.
1282 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1283 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1284 * elfread.c (elf_symtab_read): Don't add section offsets.
1285 * xcoffread.c (record_minimal_symbol): Don't add section offset
1286 to minimal symbol address.
1287 * somread.c (text_offset, data_offset): Remove.
1288 (som_symtab_read): Don't add section offsets to minimal symbol
1290 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1291 Don't add section offsets to minimal symbols.
1292 * coffread.c (coff_symtab_read): Don't add section offsets
1293 to minimal symbol addresses.
1294 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1295 to minimal symbol addresses.
1296 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1297 section offset to minimal symbol addresses.
1298 * mdebugread.c (parse_partial_symbols): Don't add section
1299 offset to minimal symbol addresses.
1300 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1301 offset to minimal symbol addresses.
1303 2014-02-26 Tom Tromey <tromey@redhat.com>
1305 * ada-lang.c (ada_main_name): Update.
1306 (ada_add_standard_exceptions): Update.
1307 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1308 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1309 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1310 * auxv.c (ld_so_xfer_auxv): Update.
1311 * avr-tdep.c (avr_scan_prologue): Update.
1312 * ax-gdb.c (gen_var_ref): Update.
1313 * blockframe.c (get_pc_function_start)
1314 (find_pc_partial_function_gnu_ifunc): Update.
1315 * breakpoint.c (create_overlay_event_breakpoint)
1316 (create_longjmp_master_breakpoint)
1317 (create_std_terminate_master_breakpoint)
1318 (create_exception_master_breakpoint): Update.
1319 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1320 * c-valprint.c (c_val_print): Update.
1321 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1322 * common/agent.c (agent_look_up_symbols): Update.
1323 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1324 * dwarf2loc.c (call_site_to_target_addr): Update.
1325 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1326 * elfread.c (elf_gnu_ifunc_record_cache)
1327 (elf_gnu_ifunc_resolve_by_got): Update.
1328 * findvar.c (default_read_var_value): Update.
1329 * frame.c (inside_main_func): Update.
1330 * frv-tdep.c (frv_frame_this_id): Update.
1331 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1332 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1334 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1335 (hppa_hpux_find_dummy_bpaddr): Update.
1336 * hppa-tdep.c (hppa_symbol_address): Update.
1337 * infcmd.c (until_next_command): Update.
1338 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1340 * linespec.c (minsym_found, add_minsym): Update.
1341 * linux-nat.c (get_signo): Update.
1342 * linux-thread-db.c (inferior_has_bug): Update.
1343 * m32c-tdep.c (m32c_return_value)
1344 (m32c_m16c_address_to_pointer): Update.
1345 * m32r-tdep.c (m32r_frame_this_id): Update.
1346 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1347 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1348 * maint.c (maintenance_translate_address): Update.
1349 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1350 (frob_address): New function.
1351 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1352 frob_address. Rename parameter to "pc_in".
1353 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1355 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1357 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1358 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1359 * objc-lang.c (find_objc_msgsend): Update.
1360 * objfiles.c (objfile_relocate1): Update.
1361 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1362 * p-valprint.c (pascal_val_print): Update.
1363 * parse.c (write_exp_msymbol): Update.
1364 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1365 (ppc_elfv2_skip_entrypoint): Update.
1366 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1367 * printcmd.c (build_address_symbolic, msym_info)
1368 (address_info): Update.
1369 * proc-service.c (ps_pglobal_lookup): Update.
1370 * psymtab.c (find_pc_sect_psymtab_closer)
1371 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1372 Change msymbol parameter to bound_minimal_symbol.
1373 * ravenscar-thread.c (get_running_thread_id): Update.
1374 * remote.c (remote_check_symbols): Update.
1375 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1377 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1378 * solib-dsbt.c (lm_base): Update.
1379 * solib-frv.c (lm_base, main_got): Update.
1380 * solib-irix.c (locate_base): Update.
1381 * solib-som.c (som_solib_create_inferior_hook)
1382 (link_map_start): Update.
1383 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1384 * solib-svr4.c (elf_locate_base, enable_break): Update.
1385 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1386 (flush_ea_cache): Update.
1387 * stabsread.c (define_symbol, scan_file_globals): Update.
1388 * stack.c (find_frame_funname): Update.
1389 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1390 (debug_qf_find_pc_sect_symtab): Update.
1391 * symfile.c (simple_read_overlay_table)
1392 (simple_overlay_update): Update.
1393 * symfile.h (struct quick_symbol_functions)
1394 <find_pc_sect_symtab>: Change type of msymbol to
1395 bound_minimal_symbol.
1396 * symmisc.c (dump_msymbols): Update.
1397 * symtab.c (find_pc_sect_symtab_via_partial)
1398 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1399 (search_symbols, print_msymbol_info): Update.
1400 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1401 (MSYMBOL_VALUE_ADDRESS): Redefine.
1402 (BMSYMBOL_VALUE_ADDRESS): New macro.
1403 * tracepoint.c (scope_info): Update.
1404 * tui/tui-disasm.c (tui_find_disassembly_address)
1405 (tui_get_begin_asm_address): Update.
1406 * valops.c (find_function_in_inferior): Update.
1407 * value.c (value_static_field, value_fn_field): Update.
1409 2014-02-26 Tom Tromey <tromey@redhat.com>
1411 * ada-lang.c (ada_update_initial_language): Update.
1412 (ada_main_name, ada_has_this_exception_support): Update.
1413 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1414 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1415 * arm-tdep.c (arm_skip_stub): Update.
1416 * auxv.c (ld_so_xfer_auxv): Update.
1417 * avr-tdep.c (avr_scan_prologue): Update.
1418 * ax-gdb.c (gen_var_ref): Update.
1419 * breakpoint.c (struct breakpoint_objfile_data)
1420 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1421 type to bound_minimal_symbol.
1422 (create_overlay_event_breakpoint)
1423 (create_longjmp_master_breakpoint)
1424 (create_std_terminate_master_breakpoint)
1425 (create_exception_master_breakpoint): Update.
1426 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1427 * c-exp.y (classify_name): Update.
1428 * coffread.c (coff_symfile_read): Update.
1429 * common/agent.c (agent_look_up_symbols): Update.
1430 * d-lang.c (d_main_name): Update.
1431 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1432 * dec-thread.c (enable_dec_thread): Update.
1433 * dwarf2loc.c (call_site_to_target_addr): Update.
1434 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1435 * eval.c (evaluate_subexp_standard): Update.
1436 * findvar.c (struct minsym_lookup_data) <result>: Change type
1437 to bound_minimal_symbol.
1439 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1440 * frame.c (inside_main_func): Update.
1441 * frv-tdep.c (frv_frame_this_id): Update.
1442 * gcore.c (call_target_sbrk): Update.
1443 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1444 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1446 * go-lang.c (go_main_name): Update.
1447 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1448 (hppa_hpux_find_import_stub_for_addr): Update.
1449 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1450 Update. Change return type.
1451 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1453 * jit.c (jit_breakpoint_re_set_internal): Update.
1454 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1456 * linux-nat.c (get_signo): Update.
1457 * linux-thread-db.c (inferior_has_bug): Update
1458 * m32c-tdep.c (m32c_return_value)
1459 (m32c_m16c_address_to_pointer): Update.
1460 * m32r-tdep.c (m32r_frame_this_id): Update.
1461 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1462 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1463 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1464 lookup_minimal_symbol. Change return type.
1465 (lookup_minimal_symbol): Remove.
1466 (lookup_bound_minimal_symbol): Update.
1467 (lookup_minimal_symbol_text): Change return type.
1468 (lookup_minimal_symbol_solib_trampoline): Change return type.
1469 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1470 (lookup_minimal_symbol_solib_trampoline): Change return type.
1471 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1472 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1473 (value_nsstring, find_imps): Update.
1474 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1475 * p-lang.c (pascal_main_name): Update.
1476 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1477 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1478 * proc-service.c (ps_pglobal_lookup): Update.
1479 * ravenscar-thread.c (get_running_thread_msymbol): Change
1481 (has_ravenscar_runtime, get_running_thread_id): Update.
1482 * remote.c (remote_check_symbols): Update.
1483 * sol-thread.c (ps_pglobal_lookup): Update.
1484 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1485 * solib-dsbt.c (lm_base): Update.
1486 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1488 * solib-irix.c (locate_base): Update.
1489 * solib-som.c (som_solib_create_inferior_hook)
1490 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1492 * solib-spu.c (spu_enable_break): Update.
1493 * solib-svr4.c (elf_locate_base, enable_break): Update.
1494 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1495 (flush_ea_cache): Update.
1496 * stabsread.c (define_symbol): Update.
1497 * symfile.c (simple_read_overlay_table): Update.
1498 * symtab.c (find_pc_sect_line): Update.
1499 * tracepoint.c (scope_info): Update.
1500 * tui-disasm.c (tui_get_begin_asm_address): Update.
1501 * value.c (value_static_field): Update.
1503 2014-02-26 Tom Tromey <tromey@redhat.com>
1505 * minsyms.c (prim_record_minimal_symbol_full): Use
1506 SET_MSYMBOL_VALUE_ADDRESS.
1507 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1508 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1509 SET_MSYMBOL_VALUE_ADDRESS.
1510 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1511 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1513 2014-02-26 Tom Tromey <tromey@redhat.com>
1515 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1516 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1517 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1518 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1519 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1520 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1521 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1522 * ada-lang.c (ada_main_name): Update.
1523 (ada_lookup_simple_minsym): Update.
1524 (ada_make_symbol_completion_list): Update.
1525 (ada_add_standard_exceptions): Update.
1526 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1527 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1528 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1529 * arm-tdep.c (skip_prologue_function): Update.
1530 (arm_skip_stack_protector, arm_skip_stub): Update.
1531 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1532 (arm_wince_skip_main_prologue): Update.
1533 * auxv.c (ld_so_xfer_auxv): Update.
1534 * avr-tdep.c (avr_scan_prologue): Update.
1535 * ax-gdb.c (gen_var_ref): Update.
1536 * block.c (call_site_for_pc): Update.
1537 * blockframe.c (get_pc_function_start): Update.
1538 (find_pc_partial_function_gnu_ifunc): Update.
1539 * breakpoint.c (create_overlay_event_breakpoint): Update.
1540 (create_longjmp_master_breakpoint): Update.
1541 (create_std_terminate_master_breakpoint): Update.
1542 (create_exception_master_breakpoint): Update.
1543 (resolve_sal_pc): Update.
1544 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1545 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1547 * c-valprint.c (c_val_print): Update.
1548 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1549 * coffread.c (coff_symfile_read): Update.
1550 * common/agent.c (agent_look_up_symbols): Update.
1551 * dbxread.c (find_stab_function_addr): Update.
1552 (end_psymtab): Update.
1553 * dwarf2loc.c (call_site_to_target_addr): Update.
1554 (func_verify_no_selftailcall): Update.
1555 (tailcall_dump): Update.
1556 (call_site_find_chain_1): Update.
1557 (dwarf_expr_reg_to_entry_parameter): Update.
1558 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1559 (elf_gnu_ifunc_resolve_by_got): Update.
1560 * f-valprint.c (info_common_command): Update.
1561 * findvar.c (read_var_value): Update.
1562 * frame.c (get_prev_frame_1): Update.
1563 (inside_main_func): Update.
1564 * frv-tdep.c (frv_skip_main_prologue): Update.
1565 (frv_frame_this_id): Update.
1566 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1567 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1568 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1569 (gnuv3_skip_trampoline): Update.
1570 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1571 (hppa64_hpux_in_solib_call_trampoline): Update.
1572 (hppa_hpux_skip_trampoline_code): Update.
1573 (hppa64_hpux_search_dummy_call_sequence): Update.
1574 (hppa_hpux_find_import_stub_for_addr): Update.
1575 (hppa_hpux_find_dummy_bpaddr): Update.
1576 * hppa-tdep.c (hppa_symbol_address)
1577 (hppa_lookup_stub_minimal_symbol): Update.
1578 * i386-tdep.c (i386_skip_main_prologue): Update.
1579 (i386_pe_skip_trampoline_code): Update.
1580 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1581 * infcall.c (get_function_name): Update.
1582 * infcmd.c (until_next_command): Update.
1583 * jit.c (jit_breakpoint_re_set_internal): Update.
1584 (jit_inferior_init): Update.
1585 * linespec.c (minsym_found): Update.
1586 (add_minsym): Update.
1587 * linux-fork.c (info_checkpoints_command): Update.
1588 * linux-nat.c (get_signo): Update.
1589 * linux-thread-db.c (inferior_has_bug): Update.
1590 * m32c-tdep.c (m32c_return_value): Update.
1591 (m32c_m16c_address_to_pointer): Update.
1592 (m32c_m16c_pointer_to_address): Update.
1593 * m32r-tdep.c (m32r_frame_this_id): Update.
1594 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1595 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1596 * maint.c (maintenance_translate_address): Update.
1597 * minsyms.c (add_minsym_to_hash_table): Update.
1598 (add_minsym_to_demangled_hash_table): Update.
1599 (msymbol_objfile): Update.
1600 (lookup_minimal_symbol): Update.
1601 (iterate_over_minimal_symbols): Update.
1602 (lookup_minimal_symbol_text): Update.
1603 (lookup_minimal_symbol_by_pc_name): Update.
1604 (lookup_minimal_symbol_solib_trampoline): Update.
1605 (lookup_minimal_symbol_by_pc_section_1): Update.
1606 (lookup_minimal_symbol_and_objfile): Update.
1607 (prim_record_minimal_symbol_full): Update.
1608 (compare_minimal_symbols): Update.
1609 (compact_minimal_symbols): Update.
1610 (build_minimal_symbol_hash_tables): Update.
1611 (install_minimal_symbols): Update.
1612 (terminate_minimal_symbol_table): Update.
1613 (find_solib_trampoline_target): Update.
1614 (minimal_symbol_upper_bound): Update.
1615 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1616 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1617 (mips_skip_pic_trampoline_code): Update.
1618 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1619 * objc-lang.c (selectors_info): Update.
1620 (classes_info): Update.
1621 (find_methods): Update.
1622 (find_imps): Update.
1623 (find_objc_msgsend): Update.
1624 * objfiles.c (objfile_relocate1): Update.
1625 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1626 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1627 * p-valprint.c (pascal_val_print): Update.
1628 * parse.c (write_exp_msymbol): Update.
1629 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1630 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1631 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1632 * printcmd.c (build_address_symbolic): Update.
1634 (address_info): Update.
1635 * proc-service.c (ps_pglobal_lookup): Update.
1636 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1637 (find_pc_sect_psymtab): Update.
1638 * python/py-framefilter.c (py_print_frame): Update.
1639 * ravenscar-thread.c (get_running_thread_id): Update.
1640 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1642 * remote.c (remote_check_symbols): Update.
1643 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1644 (rs6000_skip_trampoline_code): Update.
1645 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1646 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1647 * solib-dsbt.c (lm_base): Update.
1648 * solib-frv.c (lm_base): Update.
1650 * solib-irix.c (locate_base): Update.
1651 * solib-som.c (som_solib_create_inferior_hook): Update.
1652 (som_solib_desire_dynamic_linker_symbols): Update.
1653 (link_map_start): Update.
1654 * solib-spu.c (spu_enable_break): Update.
1655 (ocl_enable_break): Update.
1656 * solib-svr4.c (elf_locate_base): Update.
1657 (enable_break): Update.
1658 * spu-tdep.c (spu_get_overlay_table): Update.
1659 (spu_catch_start): Update.
1660 (flush_ea_cache): Update.
1661 * stabsread.c (define_symbol): Update.
1662 (scan_file_globals): Update.
1663 * stack.c (find_frame_funname): Update.
1664 (frame_info): Update.
1665 * symfile.c (simple_read_overlay_table): Update.
1666 (simple_overlay_update): Update.
1667 * symmisc.c (dump_msymbols): Update.
1668 * symtab.c (fixup_section): Update.
1669 (find_pc_sect_line): Update.
1670 (skip_prologue_sal): Update.
1671 (search_symbols): Update.
1672 (print_msymbol_info): Update.
1673 (rbreak_command): Update.
1674 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1675 (completion_list_objc_symbol): Update.
1676 (default_make_symbol_completion_list_break_on): Update.
1677 * tracepoint.c (scope_info): Update.
1678 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1679 (tui_get_begin_asm_address): Update.
1680 * valops.c (find_function_in_inferior): Update.
1681 * value.c (value_static_field): Update.
1682 (value_fn_field): Update.
1684 2014-02-26 Tom Tromey <tromey@redhat.com>
1686 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1687 bound minimal symbols. Move code that knows about minsym
1689 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1691 * minsyms.h (minimal_symbol_upper_bound): Declare.
1692 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1693 minimal_symbol_upper_bound.
1695 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1697 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1698 Use the type's name if its basic type does not have a tag.
1700 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1702 * dwarf2read.c (read_subrange_type): Add comment.
1704 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1706 * dwarf2read.c (update_enumeration_type_from_children): New
1707 function, mostly extracted from process_structure_scope.
1708 (read_enumeration_type): Call update_enumeration_type_from_children.
1709 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1710 and flag_flag_enum fields.
1712 2014-02-26 Pedro Alves <palves@redhat.com>
1714 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1715 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1716 to_xfer_partial method.
1718 2014-02-26 Pedro Alves <palves@redhat.com>
1720 * target.c (complete_target_initialization): Don't install
1721 default_xfer_partial as to_xfer_partial hook.
1723 (update_current_target): Don't INHERIT nor de_fault
1724 deprecated_xfer_memory. Delete de_fault macro.
1725 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1726 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1727 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1730 2014-02-26 Pedro Alves <palves@redhat.com>
1732 * go32-nat.c (my_write_child): New function.
1733 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1734 (go32_xfer_partial): New function.
1735 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1736 Instead install a to_xfer_partial hook.
1738 2014-02-26 Pedro Alves <palves@redhat.com>
1740 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1741 to_xfer_partial helper. Rewrite.
1742 (procfs_xfer_partial): New function.
1743 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1744 Install a to_xfer_partial hook.
1746 2014-02-26 Pedro Alves <palves@redhat.com>
1748 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1749 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1750 (m32r_xfer_partial): New function.
1751 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1752 Install a to_xfer_partial hook.
1754 2014-02-26 Pedro Alves <palves@redhat.com>
1756 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1758 (mips_xfer_partial): New function.
1759 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1760 hook. Install a to_xfer_partial hook.
1762 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1764 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1765 * gdbtypes.c (create_array_type_with_stride): New function,
1766 renaming create_array_type, but with an added parameter
1767 called "bit_stride".
1768 (create_array_type): Re-implement using
1769 create_array_type_with_stride.
1770 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1771 and DW_AT_bit_stride attributes.
1773 2014-02-26 Pedro Alves <palves@redhat.com>
1775 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1776 task-specific breakpoints.
1778 2014-02-25 Pedro Alves <palves@redhat.com>
1780 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1781 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1783 2014-02-25 Stan Shebs <stan@codesourcery.com>
1785 * defs.h: Annotate comments for Doxygen.
1787 2014-02-25 Tom Tromey <tromey@redhat.com>
1789 * target.h (target_ignore): Don't declare.
1790 * target.c (target_ignore): Remove.
1792 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1795 * auto-load.c (auto_load_objfile_script_1): Change filename to
1798 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1800 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1801 documentation. Adjust prototype to match the target_ops
1802 to_xfer_partial method. Adjust implementation accordingly.
1804 2014-02-25 Hui Zhu <hui@codesourcery.com>
1806 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1809 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1811 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1812 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1813 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1814 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1815 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1816 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1817 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1818 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1820 (rl78_register_type): Use a data pointer type for SP and
1821 new pseudo registers mentioned above. Use a 16 bit integer
1822 type for all other register pairs.
1823 (rl78_register_name, rl78_g10_register_name): Update for
1824 new pseudo registers.
1825 (rl78_pseudo_register_read): Likewise.
1826 (rl78_pseudo_register_write): Likewise.
1827 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1828 to the newly added pseudo registers.
1830 2014-02-24 Doug Evans <dje@google.com>
1832 * value.c (record_latest_value): Fix comment.
1833 * printcmd.c (print_command_1): Remove code to handle -1 return from
1834 record_latest_value.
1836 2014-02-24 Pedro Alves <palves@redhat.com>
1838 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1839 deprecated_xfer_memory hook.
1840 (procfs_xfer_partial): Call procfs_xfer_memory instead
1841 of the deprecated_xfer_memory target hook.
1842 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1845 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1847 * windows-nat.c (windows_xfer_shared_libraries): Return
1848 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1849 requested object is TARGET_OBJECT_LIBRARIES.
1851 2014-02-24 Yao Qi <yao@codesourcery.com>
1853 * target.h (enum target_xfer_status)
1854 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1855 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1857 * corefile.c (memory_error_message): User updated.
1858 * exec.c (section_table_read_available_memory): Likewise.
1859 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1860 * target.c (target_xfer_status_to_string): Likewise.
1861 (raw_memory_xfer_partial): Likewise.
1862 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1863 * valops.c (read_value_memory): Likewise.
1864 * exec.h: Update comments.
1866 2014-02-24 Yao Qi <yao@codesourcery.com>
1868 * target.c (target_xfer_status_to_string): Rename argument err
1870 * target.h (target_xfer_status_to_string): Update declaration.
1871 Replace target_xfer_error_to_string with
1872 target_xfer_status_to_string in comment.
1874 2014-02-24 Yao Qi <yao@codesourcery.com>
1876 * mips-linux-nat.c (super_close): Update its type.
1877 (mips_linux_close): Pass 'self' to super_close.
1879 2014-02-24 Yao Qi <yao@codesourcery.com>
1881 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1882 * corefile.c (read_memory): Adjusted.
1883 * target.c (target_write_with_progress): Adjusted.
1885 2014-02-23 Yao Qi <yao@codesourcery.com>
1889 2013-10-25 Yao Qi <yao@codesourcery.com>
1891 * remote.c (remote_traceframe_info): Return early if
1892 traceframe is not selected.
1894 2013-07-19 Yao Qi <yao@codesourcery.com>
1896 * target.c (update_current_target): Change the default action
1897 of 'to_traceframe_info' from tcomplain to return_zero.
1898 * target.h (struct target_ops) <to_traceframe_info>: Add more
1901 2014-02-23 Yao Qi <yao@codesourcery.com>
1903 * valops.c (read_value_memory): Rewrite it. Call
1904 target_xfer_partial in a loop.
1905 * exec.h (section_table_available_memory): Remove declaration.
1906 Move comments to ...
1907 * exec.c (section_table_available_memory): ... here. Make it
1910 2014-02-23 Yao Qi <yao@codesourcery.com>
1912 * exec.c (section_table_read_available_memory): New function.
1913 * exec.h (section_table_read_available_memory): Declare.
1914 * ctf.c (ctf_xfer_partial): Call
1915 section_table_read_available_memory.
1916 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1918 2014-02-23 Yao Qi <yao@codesourcery.com>
1920 * ctf.c (ctf_xfer_partial): Move code to ...
1921 * exec.c (exec_read_partial_read_only): ... it. New function.
1922 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1923 * tracefile.c: Include "exec.h".
1924 * exec.h (exec_read_partial_read_only): Declare.
1926 2014-02-23 Yao Qi <yao@codesourcery.com>
1928 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1929 (tfile_has_memory): Remove.
1930 (init_tfile_ops): Don't set fields to_has_all_memory and
1931 to_has_memory of tfile_ops.
1932 * tracefile.c (tracefile_has_all_memory): New function.
1933 (tracefile_has_memory): New function.
1934 (init_tracefile_ops): Initialize fields to_has_all_memory and
1935 to_has_memory of 'ops'.
1937 2014-02-23 Yao Qi <yao@codesourcery.com>
1939 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1940 (ctf_thread_alive, ctf_get_trace_status): Remove.
1941 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1943 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1944 (tfile_has_stack, tfile_has_registers): Remove.
1945 (tfile_thread_alive): Remove.
1946 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1948 * tracefile.c (tracefile_has_stack): New function.
1949 (tracefile_has_registers): New function.
1950 (tracefile_thread_alive): New function.
1951 (tracefile_get_trace_status): New function.
1952 (init_tracefile_ops): New function.
1953 * tracefile.h (init_tracefile_ops): Declare.
1955 2014-02-23 Yao Qi <yao@codesourcery.com>
1957 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1958 (O_LARGEFILE): Likewise.
1959 (tfile_ops): Likewise.
1960 (TRACE_HEADER_SIZE): Likewise.
1961 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1962 (cur_data_size): Likewise.
1963 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1964 (tfile_close, tfile_files_info): Likewise.
1965 (tfile_get_trace_status): Likewise.
1966 (tfile_get_tracepoint_status): Likewise.
1967 (tfile_get_traceframe_address): Likewise.
1968 (tfile_trace_find, match_blocktype): Likewise.
1969 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1970 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1971 (tfile_get_trace_state_variable_value): Likewise.
1972 (tfile_has_all_memory, tfile_has_memory): Likewise.
1973 (tfile_has_stack, tfile_has_registers): Likewise.
1974 (tfile_thread_alive, build_traceframe_info): Likewise.
1975 (tfile_traceframe_info, init_tfile_ops): Likewise.
1976 (_initialize_tracepoint): Don't call init_tfile_ops
1977 and add_target_with_completer.
1978 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1979 exec.h, completer.h and filenames.h.
1980 (_initialize_tracefile_tfile): New function.
1982 2014-02-23 Yao Qi <yao@codesourcery.com>
1984 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1986 (HFILES_NO_SRCDIR): Add tracefile.h.
1987 * ctf.c: Include "tracefile.h".
1988 * tracefile.h: New file.
1989 * tracefile.c: New file
1990 * tracefile-tfile.c: New file.
1991 * tracepoint.c: Include "tracefile.h".
1992 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1993 (stop_reason_names): Add const.
1994 (trace_file_writer_xfree): Move it to tracefile.c.
1995 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1996 (trace_save_ctf): Likewise.
1997 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1998 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1999 (tfile_write_header, tfile_write_regblock_type): Likewise.
2000 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2001 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2002 (tfile_write_raw_data, tfile_end): Likewise.
2003 (tfile_trace_file_writer_new): Likewise.
2004 (free_uploaded_tp): Make it extern.
2005 (free_uploaded_tsv): Make it extern.
2006 (_initialize_tracepoint): Move code to register command 'tsave'
2008 * tracepoint.h (stop_reason_names): Declare.
2009 (struct trace_frame_write_ops): Move it to tracefile.h.
2010 (struct trace_file_write_ops): Likewise.
2011 (struct trace_file_writer): Likewise.
2012 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2014 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2017 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2019 (get_cores_used_by_process): New parameter num_cores, use it.
2020 (linux_xfer_osdata_processes): Pass num_cores to it.
2021 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2024 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2026 * target.c (memory_xfer_partial): Fix length arg in call to
2027 breakpoint_xfer_memory.
2029 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2032 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2033 number comes after the + or - signs. Adjust length of register
2034 name to be extracted.
2036 2014-02-20 Tom Tromey <tromey@redhat.com>
2038 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2039 (ada_varobj_ops): Mark "extern".
2041 2014-02-20 Tom Tromey <tromey@redhat.com>
2043 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2045 2014-02-20 Doug Evans <xdje42@gmail.com>
2047 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2048 All callers updated.
2049 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2050 All callers updated.
2051 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2052 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2054 2014-02-20 lin zuojian <manjian2006@gmail.com>
2055 Joel Brobecker <brobecker@adacore.com>
2056 Doug Evans <xdje42@gmail.com>
2059 * dwarf2read.c (struct die_info): New member in_process.
2060 (reset_die_in_process): New function.
2061 (process_die): Set it at the start, reset when returning.
2062 (inherit_abstract_dies): Only call process_die if origin_child_die
2063 not already being processed.
2065 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2067 * windows-nat.c (handle_unload_dll): Add function documentation.
2068 (do_initial_windows_stuff): Add comment explaining why we wait
2069 until after inferior initialization has finished before
2070 processing all DLLs.
2072 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2074 * windows-nat.c (get_module_name): Delete.
2075 (windows_get_exec_module_filename): New function, mostly
2076 inspired from get_module_name.
2077 (windows_pid_to_exec_file): Replace call to get_module_name
2078 by call to windows_get_exec_module_filename.
2080 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2082 * windows-nat.c (handle_load_dll): Rewrite this function's
2083 introductory comment. Remove code using get_module_name
2084 to get the DLL's name.
2086 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2088 * windows-nat.c (get_windows_debug_event): Ignore
2089 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2090 if windows_initialization_done == 0.
2091 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2092 Adjust implementation to always load all DLLs.
2093 (do_initial_windows_stuff): Replace call to
2094 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2096 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2098 * windows-nat.c (_initialize_windows_nat): Deprecate the
2099 "dll-symbols" command. Turn the "add-shared-symbol-files"
2100 and "assf" aliases into commands, and deprecate them as well.
2101 * NEWS: Add entry explaining that "dll-symbols" and its two
2102 aliases are now deprecated.
2104 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2106 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2107 new-line in debug string. Remove trailing spaces.
2109 2014-02-19 Stan Shebs <stan@codesourcery.com>
2111 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2113 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2115 * NEWS: Add entry for the new feature
2116 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2119 2014-02-19 Stan Shebs <stan@codesourcery.com>
2121 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2123 2014-02-19 Pedro Alves <palves@redhat.com>
2125 * common/ptid.h (struct ptid): Mention that process_stratum
2126 targets should prefer ptid.lwp.
2128 2014-02-19 Pedro Alves <palves@redhat.com>
2130 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2131 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2132 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2133 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2134 store remote thread ids rather than ptid.tid.
2135 (_initialize_remote): Adjust.
2137 2014-02-19 Tom Tromey <tromey@redhat.com>
2139 * target.c (target_get_unwinder): Rewrite.
2140 (target_get_tailcall_unwinder): Rewrite.
2141 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2142 (record_btrace_to_get_tailcall_unwinder): New function.
2143 (init_record_btrace_ops): Update.
2144 * target.h (struct target_ops) <to_get_unwinder,
2145 to_get_tailcall_unwinder>: Now function pointers. Use
2146 TARGET_DEFAULT_RETURN.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2152 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2154 2014-02-19 Tom Tromey <tromey@redhat.com>
2156 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2158 * target-delegates.c: Rebuild.
2159 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2160 TARGET_DEFAULT_FUNC.
2161 * target.c (default_target_decr_pc_after_break): Rename from
2162 forward_target_decr_pc_after_break. Simplify.
2163 (target_decr_pc_after_break): Rely on delegation.
2165 2014-02-19 Tom Tromey <tromey@redhat.com>
2167 * target.c (update_current_target): Do not INHERIT to_doc or
2168 to_magic. Do not de_fault to_open or to_close.
2170 2014-02-19 Tom Tromey <tromey@redhat.com>
2172 * gcore.h (objfile_find_memory_regions): Declare.
2173 * gcore.c (objfile_find_memory_regions): No longer static. Add
2175 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2176 * exec.c: Include gcore.h.
2177 (exec_set_find_memory_regions): Remove.
2178 (exec_find_memory_regions): Remove.
2179 (exec_do_find_memory_regions): Remove.
2180 (init_exec_ops): Update.
2181 * defs.h (exec_set_find_memory_regions): Remove.
2183 2014-02-19 Tom Tromey <tromey@redhat.com>
2185 * target-delegates.c: Rebuild.
2186 * target.h (struct target_ops) <to_extra_thread_info,
2187 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2188 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2189 not 0, in TARGET_DEFAULT_RETURN.
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target.c (complete_target_initialization): Remove casts. Use
2194 return_zero_has_execution.
2195 (return_zero): Add "ignore" argument.
2196 (return_zero_has_execution): New function.
2197 (init_dummy_target): Remove casts. Use
2198 return_zero_has_execution.
2200 2014-02-19 Tom Tromey <tromey@redhat.com>
2202 * target.c (update_current_target): Update comments. Do not
2205 2014-02-19 Tom Tromey <tromey@redhat.com>
2207 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2209 * corelow.c (core_read_description): Delegate when needed.
2210 * remote.c (remote_read_description): Delegate when needed.
2211 * target-delegates.c: Rebuild.
2212 * target.c (target_read_description): Rewrite.
2213 * target.h (struct target_ops) <to_read_description>: Update
2214 comment. Use TARGET_DEFAULT_RETURN.
2216 2014-02-19 Tom Tromey <tromey@redhat.com>
2218 * target-delegates.c: Rebuild.
2219 * target.c (update_current_target): Don't inherit or default
2221 (find_default_run_target): Check against delegate_can_run.
2222 * target.h (struct target_ops) <to_can_run>: Use
2223 TARGET_DEFAULT_RETURN.
2225 2014-02-19 Tom Tromey <tromey@redhat.com>
2227 * target-delegates.c: Rebuild.
2228 * target.c (target_disconnect): Unconditionally delegate.
2229 * target.h (struct target_ops) <to_disconnect>: Use
2230 TARGET_DEFAULT_NORETURN.
2232 2014-02-19 Tom Tromey <tromey@redhat.com>
2234 * record.c (record_stop): Unconditionally delegate.
2235 * target-delegates.c: Rebuild.
2236 * target.c (target_stop_recording): Unconditionally delegate.
2237 * target.h (struct target_ops) <to_stop_recording>: Use
2238 TARGET_DEFAULT_IGNORE.
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target-delegates.c: Rebuild.
2243 * target.c (target_enable_btrace): Unconditionally delegate.
2244 * target.h (struct target_ops) <to_enable_btrace>: Use
2245 TARGET_DEFAULT_NORETURN.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target-delegates.c: Rebuild.
2250 * target.c (target_read_btrace): Unconditionally delegate.
2251 * target.h (struct target_ops) <to_read_btrace>: Use
2252 TARGET_DEFAULT_NORETURN.
2254 2014-02-19 Tom Tromey <tromey@redhat.com>
2256 * target-delegates.c: Rebuild.
2257 * target.c (target_teardown_btrace): Unconditionally delegate.
2258 * target.h (struct target_ops) <to_teardown_btrace>: Use
2259 TARGET_DEFAULT_NORETURN.
2261 2014-02-19 Tom Tromey <tromey@redhat.com>
2263 * target-delegates.c: Rebuild.
2264 * target.c (target_disable_btrace): Unconditionally delegate.
2265 * target.h (struct target_ops) <to_disable_btrace>: Use
2266 TARGET_DEFAULT_NORETURN.
2268 2014-02-19 Tom Tromey <tromey@redhat.com>
2270 * target-delegates.c: Rebuild.
2271 * target.c (default_search_memory): New function.
2272 (simple_search_memory): Update comment.
2273 (target_search_memory): Unconditionally delegate.
2274 * target.h (struct target_ops) <to_search_memory>: Use
2275 TARGET_DEFAULT_FUNC.
2277 2014-02-19 Tom Tromey <tromey@redhat.com>
2279 * auxv.c (default_auxv_parse): No longer static.
2280 (target_auxv_parse): Unconditionally delegate.
2281 * auxv.h (default_auxv_parse): Declare.
2282 * target-delegates.c: Rebuild.
2283 * target.c: Include auxv.h.
2284 * target.h (struct target_ops) <to_auxv_parse>: Use
2285 TARGET_DEFAULT_FUNC.
2287 2014-02-19 Tom Tromey <tromey@redhat.com>
2289 * target-delegates.c: Rebuild.
2290 * target.c (target_memory_map): Unconditionally delegate.
2291 * target.h (struct target_ops) <to_memory_map>: Use
2292 TARGET_DEFAULT_RETURN.
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target-delegates.c: Rebuild.
2297 * target.c (target_thread_alive): Unconditionally delegate.
2298 * target.h (struct target_ops) <to_thread_alive>: Use
2299 TARGET_DEFAULT_RETURN.
2301 2014-02-19 Tom Tromey <tromey@redhat.com>
2303 * target-delegates.c: Rebuild.
2304 * target.c (target_save_record): Unconditionally delegate.
2305 * target.h (struct target_ops) <to_save_record>: Use
2306 TARGET_DEFAULT_NORETURN.
2308 2014-02-19 Tom Tromey <tromey@redhat.com>
2310 * target-delegates.c: Rebuild.
2311 * target.c (target_delete_record): Unconditionally delegate.
2312 * target.h (struct target_ops) <to_delete_record>: Use
2313 TARGET_DEFAULT_NORETURN.
2315 2014-02-19 Tom Tromey <tromey@redhat.com>
2317 * target-delegates.c: Rebuild.
2318 * target.c (target_record_is_replaying): Unconditionally
2320 * target.h (struct target_ops) <to_record_is_replaying>: Use
2321 TARGET_DEFAULT_RETURN.
2323 2014-02-19 Tom Tromey <tromey@redhat.com>
2325 * target-delegates.c: Rebuild.
2326 * target.c (target_goto_record_begin): Unconditionally delegate.
2327 * target.h (struct target_ops) <to_goto_record_begin>: Use
2328 TARGET_DEFAULT_NORETURN.
2330 2014-02-19 Tom Tromey <tromey@redhat.com>
2332 * target-delegates.c: Rebuild.
2333 * target.c (target_goto_record_end): Unconditionally delegate.
2334 * target.h (struct target_ops) <to_goto_record_end>: Use
2335 TARGET_DEFAULT_NORETURN.
2337 2014-02-19 Tom Tromey <tromey@redhat.com>
2339 * target-delegates.c: Rebuild.
2340 * target.c (target_goto_record): Unconditionally delegate.
2341 * target.h (struct target_ops) <to_goto_record>: Use
2342 TARGET_DEFAULT_NORETURN.
2344 2014-02-19 Tom Tromey <tromey@redhat.com>
2346 * target-delegates.c: Rebuild.
2347 * target.c (target_insn_history): Unconditionally delegate.
2348 * target.h (struct target_ops) <to_insn_history>: Use
2349 TARGET_DEFAULT_NORETURN.
2351 2014-02-19 Tom Tromey <tromey@redhat.com>
2353 * target-delegates.c: Rebuild.
2354 * target.c (target_insn_history_from): Unconditionally delegate.
2355 * target.h (struct target_ops) <to_insn_history_from>: Use
2356 TARGET_DEFAULT_NORETURN.
2358 2014-02-19 Tom Tromey <tromey@redhat.com>
2360 * target-delegates.c: Rebuild.
2361 * target.c (target_insn_history_range): Unconditionally delegate.
2362 * target.h (struct target_ops) <to_insn_history_range>: Use
2363 TARGET_DEFAULT_NORETURN.
2365 2014-02-19 Tom Tromey <tromey@redhat.com>
2367 * target-delegates.c: Rebuild.
2368 * target.c (target_call_history): Unconditionally delegate.
2369 * target.h (struct target_ops) <to_call_history>: Use
2370 TARGET_DEFAULT_NORETURN.
2372 2014-02-19 Tom Tromey <tromey@redhat.com>
2374 * target-delegates.c: Rebuild.
2375 * target.c (target_call_history_from): Unconditionally delegate.
2376 * target.h (struct target_ops) <to_call_history_from>: Use
2377 TARGET_DEFAULT_NORETURN.
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2381 * target-delegates.c: Rebuild.
2382 * target.c (target_call_history_range): Unconditionally delegate.
2383 * target.h (struct target_ops) <to_call_history_range>: Use
2384 TARGET_DEFAULT_NORETURN.
2386 2014-02-19 Tom Tromey <tromey@redhat.com>
2388 * target-delegates.c: Rebuild.
2389 * target.c (target_verify_memory): Unconditionally delegate.
2390 * target.h (struct target_ops) <to_verify_memory>: Use
2391 TARGET_DEFAULT_NORETURN.
2393 2014-02-19 Tom Tromey <tromey@redhat.com>
2395 * target-delegates.c: Rebuild.
2396 * target.c (target_core_of_thread): Unconditionally delegate.
2397 * target.h (struct target_ops) <to_core_of_thread>: Use
2398 TARGET_DEFAULT_RETURN.
2400 2014-02-19 Tom Tromey <tromey@redhat.com>
2402 * target-delegates.c: Rebuild.
2403 * target.c (target_flash_done): Unconditionally delegate.
2404 * target.h (struct target_ops) <to_flash_done>: Use
2405 TARGET_DEFAULT_NORETURN.
2407 2014-02-19 Tom Tromey <tromey@redhat.com>
2409 * target-delegates.c: Rebuild.
2410 * target.c (target_flash_erase): Unconditionally delegate.
2411 * target.h (struct target_ops) <to_flash_erase>: Use
2412 TARGET_DEFAULT_NORETURN.
2414 2014-02-19 Tom Tromey <tromey@redhat.com>
2416 * target-delegates.c: Rebuild.
2417 * target.c (target_get_section_table): Unconditionally delegate.
2418 * target.h (struct target_ops) <to_get_section_table>: Use
2419 TARGET_DEFAULT_RETURN.
2421 2014-02-19 Tom Tromey <tromey@redhat.com>
2423 * target-delegates.c: Rebuild.
2424 * target.c (target_pid_to_str): Unconditionally delegate.
2425 (init_dummy_target): Don't initialize to_pid_to_str.
2426 (default_pid_to_str): Rename from dummy_pid_to_str.
2427 * target.h (struct target_ops) <to_pid_to_str>: Use
2428 TARGET_DEFAULT_FUNC.
2430 2014-02-19 Tom Tromey <tromey@redhat.com>
2432 * target-delegates.c: Rebuild.
2433 * target.c (target_find_new_threads): Unconditionally delegate.
2434 * target.h (struct target_ops) <to_find_new_threads>: Use
2435 TARGET_DEFAULT_RETURN.
2437 2014-02-19 Tom Tromey <tromey@redhat.com>
2439 * target-delegates.c: Rebuild.
2440 * target.c (target_program_signals): Unconditionally delegate.
2441 * target.h (struct target_ops) <to_program_signals>: Use
2442 TARGET_DEFAULT_IGNORE.
2444 2014-02-19 Tom Tromey <tromey@redhat.com>
2446 * target-delegates.c: Rebuild.
2447 * target.c (target_pass_signals): Unconditionally delegate.
2448 * target.h (struct target_ops) <to_pass_signals>: Use
2449 TARGET_DEFAULT_IGNORE.
2451 2014-02-19 Tom Tromey <tromey@redhat.com>
2453 * target-delegates.c: Rebuild.
2454 * target.c (default_mourn_inferior): New function.
2455 (target_mourn_inferior): Unconditionally delegate.
2456 * target.h (struct target_ops) <to_mourn_inferior>: Use
2457 TARGET_DEFAULT_FUNC.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * target-delegates.c: Rebuild.
2462 * target.c (default_follow_fork): New function.
2463 (target_follow_fork): Unconditionally delegate.
2464 * target.h (struct target_ops) <to_follow_fork>: Use
2465 TARGET_DEFAULT_FUNC.
2467 2014-02-19 Tom Tromey <tromey@redhat.com>
2469 * target-delegates.c: Rebuild.
2470 * target.c (target_kill): Unconditionally delegate.
2471 * target.h (struct target_ops) <to_kill>: Use
2472 TARGET_DEFAULT_NORETURN.
2474 2014-02-19 Tom Tromey <tromey@redhat.com>
2476 * target-delegates.c: Rebuild.
2477 * target.c (target_masked_watch_num_registers): Unconditionally
2479 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2480 Use TARGET_DEFAULT_RETURN.
2482 2014-02-19 Tom Tromey <tromey@redhat.com>
2484 * target-delegates.c: Rebuild.
2485 * target.c (target_remove_mask_watchpoint): Unconditionally
2487 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2488 TARGET_DEFAULT_RETURN.
2490 2014-02-19 Tom Tromey <tromey@redhat.com>
2492 * target-delegates.c: Rebuild.
2493 * target.c (target_insert_mask_watchpoint): Unconditionally
2495 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2496 TARGET_DEFAULT_RETURN.
2498 2014-02-19 Tom Tromey <tromey@redhat.com>
2500 * target-delegates.c: Rebuild.
2501 * target.c (target_ranged_break_num_registers): Unconditionally
2503 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2504 Use TARGET_DEFAULT_RETURN.
2506 2014-02-19 Tom Tromey <tromey@redhat.com>
2508 * target-delegates.c: Rebuild.
2509 * target.c (target_fetch_registers): Unconditionally delegate.
2510 * target.h (struct target_ops) <to_fetch_registers>: Use
2511 TARGET_DEFAULT_NORETURN.
2513 2014-02-19 Tom Tromey <tromey@redhat.com>
2515 * target-delegates.c: Rebuild.
2516 * target.c (update_current_target): Don't inherit or default
2518 * target.h (struct target_ops) <to_stop>: Use
2519 TARGET_DEFAULT_IGNORE.
2521 2014-02-19 Tom Tromey <tromey@redhat.com>
2523 * target-delegates.c: Rebuild.
2524 * target.c (update_current_target): Don't inherit or default
2525 to_can_run_breakpoint_commands.
2526 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2527 Use TARGET_DEFAULT_RETURN.
2529 2014-02-19 Tom Tromey <tromey@redhat.com>
2531 * target-delegates.c: Rebuild.
2532 * target.c (update_current_target): Don't inherit or default
2533 to_supports_evaluation_of_breakpoint_conditions.
2534 * target.h (struct target_ops)
2535 <to_supports_evaluation_of_breakpoint_conditions>: Use
2536 TARGET_DEFAULT_RETURN.
2538 2014-02-19 Tom Tromey <tromey@redhat.com>
2540 * target-delegates.c: Rebuild.
2541 * target.c (update_current_target): Don't inherit or default
2542 to_augmented_libraries_svr4_read.
2543 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2544 Use TARGET_DEFAULT_RETURN.
2546 2014-02-19 Tom Tromey <tromey@redhat.com>
2548 * target-delegates.c: Rebuild.
2549 * target.c (update_current_target): Don't inherit or default
2551 * target.h (struct target_ops) <to_can_use_agent>: Use
2552 TARGET_DEFAULT_RETURN.
2554 2014-02-19 Tom Tromey <tromey@redhat.com>
2556 * target-delegates.c: Rebuild.
2557 * target.c (update_current_target): Don't inherit or default
2559 * target.h (struct target_ops) <to_use_agent>: Use
2560 TARGET_DEFAULT_NORETURN.
2562 2014-02-19 Tom Tromey <tromey@redhat.com>
2564 * target-delegates.c: Rebuild.
2565 * target.c (update_current_target): Don't inherit or default
2567 (return_null): Remove.
2568 * target.h (struct target_ops) <to_traceframe_info>: Use
2569 TARGET_DEFAULT_RETURN.
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2573 * target-delegates.c: Rebuild.
2574 * target.c (update_current_target): Don't inherit or default
2575 to_static_tracepoint_markers_by_strid.
2576 * target.h (struct target_ops)
2577 <to_static_tracepoint_markers_by_strid>: Use
2578 TARGET_DEFAULT_NORETURN.
2580 2014-02-19 Tom Tromey <tromey@redhat.com>
2582 * target-delegates.c: Rebuild.
2583 * target.c (update_current_target): Don't inherit or default
2584 to_static_tracepoint_marker_at.
2585 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2586 Use TARGET_DEFAULT_RETURN.
2588 2014-02-19 Tom Tromey <tromey@redhat.com>
2590 * target-delegates.c: Rebuild.
2591 * target.c (update_current_target): Don't inherit or default
2593 * target.h (struct target_ops) <to_set_permissions>: Use
2594 TARGET_DEFAULT_IGNORE.
2596 2014-02-19 Tom Tromey <tromey@redhat.com>
2598 * target-delegates.c: Rebuild.
2599 * target.c (update_current_target): Don't inherit or default
2601 * target.h (struct target_ops) <to_get_tib_address>: Use
2602 TARGET_DEFAULT_NORETURN.
2604 2014-02-19 Tom Tromey <tromey@redhat.com>
2606 * target-delegates.c: Rebuild.
2607 * target.c (update_current_target): Don't inherit or default
2609 * target.h (struct target_ops) <to_set_trace_notes>: Use
2610 TARGET_DEFAULT_RETURN.
2612 2014-02-19 Tom Tromey <tromey@redhat.com>
2614 * target-delegates.c: Rebuild.
2615 * target.c (update_current_target): Don't initialize
2616 to_set_trace_buffer_size.
2617 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2618 TARGET_DEFAULT_IGNORE.
2620 2014-02-19 Tom Tromey <tromey@redhat.com>
2622 * target-delegates.c: Rebuild.
2623 * target.c (update_current_target): Don't inherit or default
2624 to_set_circular_trace_buffer.
2625 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2626 TARGET_DEFAULT_IGNORE.
2628 2014-02-19 Tom Tromey <tromey@redhat.com>
2630 * target-delegates.c: Rebuild.
2631 * target.c (update_current_target): Don't inherit or default
2632 to_set_disconnected_tracing.
2633 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2634 TARGET_DEFAULT_IGNORE.
2636 2014-02-19 Tom Tromey <tromey@redhat.com>
2638 * target-delegates.c: Rebuild.
2639 * target.c (update_current_target): Don't inherit or default
2640 to_get_min_fast_tracepoint_insn_len.
2641 (return_minus_one): Remove.
2642 * target.h (struct target_ops)
2643 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2645 2014-02-19 Tom Tromey <tromey@redhat.com>
2647 * target-delegates.c: Rebuild.
2648 * target.c (update_current_target): Don't inherit or default
2649 to_get_raw_trace_data.
2650 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2651 TARGET_DEFAULT_NORETURN.
2653 2014-02-19 Tom Tromey <tromey@redhat.com>
2655 * target-delegates.c: Rebuild.
2656 * target.c (update_current_target): Don't inherit or default
2657 to_upload_trace_state_variables.
2658 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2659 Use TARGET_DEFAULT_RETURN.
2661 2014-02-19 Tom Tromey <tromey@redhat.com>
2663 * target-delegates.c: Rebuild.
2664 * target.c (update_current_target): Don't inherit or default
2665 to_upload_tracepoints.
2666 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2667 TARGET_DEFAULT_RETURN.
2669 2014-02-19 Tom Tromey <tromey@redhat.com>
2671 * target-delegates.c: Rebuild.
2672 * target.c (update_current_target): Don't inherit or default
2674 * target.h (struct target_ops) <to_save_trace_data>: Use
2675 TARGET_DEFAULT_NORETURN.
2677 2014-02-19 Tom Tromey <tromey@redhat.com>
2679 * target-delegates.c: Rebuild.
2680 * target.c (update_current_target): Don't inherit or default
2681 to_get_trace_state_variable_value.
2682 * target.h (struct target_ops)
2683 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2685 2014-02-19 Tom Tromey <tromey@redhat.com>
2687 * target-delegates.c: Rebuild.
2688 * target.c (update_current_target): Don't inherit or default
2690 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2692 2014-02-19 Tom Tromey <tromey@redhat.com>
2694 * target-delegates.c: Rebuild.
2695 * target.c (update_current_target): Don't inherit or default
2697 * target.h (struct target_ops) <to_trace_stop>: Use
2698 TARGET_DEFAULT_NORETURN.
2700 2014-02-19 Tom Tromey <tromey@redhat.com>
2702 * target-delegates.c: Rebuild.
2703 * target.c (update_current_target): Don't inherit or default
2704 to_get_tracepoint_status.
2705 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2706 TARGET_DEFAULT_NORETURN.
2708 2014-02-19 Tom Tromey <tromey@redhat.com>
2710 * target-delegates.c: Rebuild.
2711 * target.c (update_current_target): Don't inherit or default
2712 to_get_trace_status.
2713 * target.h (struct target_ops) <to_get_trace_status>: Use
2714 TARGET_DEFAULT_RETURN.
2716 2014-02-19 Tom Tromey <tromey@redhat.com>
2718 * target-delegates.c: Rebuild.
2719 * target.c (update_current_target): Don't inherit or default
2721 * target.h (struct target_ops) <to_trace_start>: Use
2722 TARGET_DEFAULT_NORETURN.
2724 2014-02-19 Tom Tromey <tromey@redhat.com>
2726 * target-delegates.c: Rebuild.
2727 * target.c (update_current_target): Don't inherit or default
2728 to_trace_set_readonly_regions.
2729 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2730 Use TARGET_DEFAULT_NORETURN.
2732 2014-02-19 Tom Tromey <tromey@redhat.com>
2734 * target-delegates.c: Rebuild.
2735 * target.c (update_current_target): Don't inherit or default
2736 to_disable_tracepoint.
2737 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2738 TARGET_DEFAULT_NORETURN.
2740 2014-02-19 Tom Tromey <tromey@redhat.com>
2742 * target-delegates.c: Rebuild.
2743 * target.c (update_current_target): Don't inherit or default
2744 to_enable_tracepoint.
2745 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2746 TARGET_DEFAULT_NORETURN.
2748 2014-02-19 Tom Tromey <tromey@redhat.com>
2750 * target-delegates.c: Rebuild.
2751 * target.c (update_current_target): Don't inherit or default
2752 to_download_trace_state_variable.
2753 * target.h (struct target_ops) <to_download_trace_state_variable>:
2754 Use TARGET_DEFAULT_NORETURN.
2756 2014-02-19 Tom Tromey <tromey@redhat.com>
2758 * target-delegates.c: Rebuild.
2759 * target.c (update_current_target): Don't inherit or default
2760 to_can_download_tracepoint.
2761 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2762 TARGET_DEFAULT_RETURN.
2764 2014-02-19 Tom Tromey <tromey@redhat.com>
2766 * target-delegates.c: Rebuild.
2767 * target.c (update_current_target): Don't inherit or default
2768 to_download_tracepoint.
2769 * target.h (struct target_ops) <to_download_tracepoint>: Use
2770 TARGET_DEFAULT_NORETURN.
2772 2014-02-19 Tom Tromey <tromey@redhat.com>
2774 * target-delegates.c: Rebuild.
2775 * target.c (update_current_target): Don't inherit or default
2777 * target.h (struct target_ops) <to_trace_init>: Use
2778 TARGET_DEFAULT_RETURN.
2780 2014-02-19 Tom Tromey <tromey@redhat.com>
2782 * target-delegates.c: Rebuild.
2783 * target.c (update_current_target): Don't inherit or default
2784 to_supports_string_tracing.
2785 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2786 TARGET_DEFAULT_RETURN.
2788 2014-02-19 Tom Tromey <tromey@redhat.com>
2790 * target-delegates.c: Rebuild.
2791 * target.c (update_current_target): Don't inherit or default
2792 to_supports_enable_disable_tracepoint.
2793 * target.h (struct target_ops)
2794 <to_supports_enable_disable_tracepoint>: Use
2795 TARGET_DEFAULT_RETURN.
2797 2014-02-19 Tom Tromey <tromey@redhat.com>
2799 * target-delegates.c: Rebuild.
2800 * target.c (update_current_target): Don't inherit or default
2801 to_supports_multi_process.
2802 * target.h (struct target_ops) <to_supports_multi_process>: Use
2803 TARGET_DEFAULT_RETURN.
2805 2014-02-19 Tom Tromey <tromey@redhat.com>
2807 * target-delegates.c: Rebuild.
2808 * target.c (update_current_target): Don't inherit or default
2809 to_get_ada_task_ptid.
2810 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2811 TARGET_DEFAULT_FUNC.
2813 2014-02-19 Tom Tromey <tromey@redhat.com>
2815 * target-delegates.c: Rebuild.
2816 * target.c (update_current_target): Don't inherit or default
2817 to_thread_architecture.
2818 * target.h (struct target_ops) <to_thread_architecture>: Use
2819 TARGET_DEFAULT_FUNC.
2821 2014-02-19 Tom Tromey <tromey@redhat.com>
2823 * target-delegates.c: Rebuild.
2824 * target.c (update_current_target): Don't inherit or default
2825 to_execution_direction.
2826 * target.h (struct target_ops) <to_execution_direction>: Use
2827 TARGET_DEFAULT_FUNC.
2829 2014-02-19 Tom Tromey <tromey@redhat.com>
2831 * target-delegates.c: Rebuild.
2832 * target.c (update_current_target): Don't inherit or default
2833 to_can_execute_reverse.
2834 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2835 TARGET_DEFAULT_RETURN.
2836 (target_can_execute_reverse): Unconditionally delegate.
2838 2014-02-19 Tom Tromey <tromey@redhat.com>
2840 * target-delegates.c: Rebuild.
2841 * target.c (update_current_target): Don't inherit or default
2843 (dummy_goto_bookmark): Remove.
2844 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2845 * target.h (struct target_ops) <to_goto_bookmark>: Use
2846 TARGET_DEFAULT_NORETURN.
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_get_bookmark): Remove.
2854 (init_dummy_target): Don't inherit or default to_get_bookmark.
2855 * target.h (struct target_ops) <to_get_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
2862 to_make_corefile_notes.
2863 (init_dummy_target): Don't initialize to_make_corefile_notes.
2864 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2865 TARGET_DEFAULT_FUNC.
2867 2014-02-19 Tom Tromey <tromey@redhat.com>
2869 * target-delegates.c: Rebuild.
2870 * target.c (update_current_target): Don't inherit or default
2871 to_find_memory_regions.
2872 (init_dummy_target): Don't initialize to_find_memory_regions.
2873 * target.h (struct target_ops) <to_find_memory_regions>: Use
2874 TARGET_DEFAULT_FUNC.
2876 2014-02-19 Tom Tromey <tromey@redhat.com>
2878 * target-delegates.c: Rebuild.
2879 * target.c (update_current_target): Don't inherit or default
2881 * target.h (struct target_ops) <to_log_command>: Use
2882 TARGET_DEFAULT_IGNORE.
2883 (target_log_command): Unconditionally delegate.
2885 2014-02-19 Tom Tromey <tromey@redhat.com>
2887 * target-delegates.c: Rebuild.
2888 * target.c (update_current_target): Don't inherit or default
2889 to_pid_to_exec_file.
2890 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2891 TARGET_DEFAULT_RETURN.
2893 2014-02-19 Tom Tromey <tromey@redhat.com>
2895 * target-delegates.c: Rebuild.
2896 * target.c (update_current_target): Don't inherit or default
2898 (target_thread_name): Unconditionally delegate.
2899 * target.h (struct target_ops) <to_thread_name>: Use
2900 TARGET_DEFAULT_RETURN.
2902 2014-02-19 Tom Tromey <tromey@redhat.com>
2904 * target-delegates.c: Rebuild.
2905 * target.c (update_current_target): Don't inherit or default
2906 to_extra_thread_info.
2907 * target.h (struct target_ops) <to_extra_thread_info>: Use
2908 TARGET_DEFAULT_RETURN.
2910 2014-02-19 Tom Tromey <tromey@redhat.com>
2912 * target-delegates.c: Rebuild.
2913 * target.c (update_current_target): Don't inherit or default
2915 * target.h (struct target_ops) <to_has_exited>: Use
2916 TARGET_DEFAULT_RETURN..
2918 2014-02-19 Tom Tromey <tromey@redhat.com>
2920 * target-delegates.c: Rebuild.
2921 * target.c (update_current_target): Don't inherit or default
2922 to_set_syscall_catchpoint.
2923 (return_one): Remove.
2924 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2925 TARGET_DEFAULT_RETURN.
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * target-delegates.c: Rebuild.
2930 * target.c (update_current_target): Don't inherit or default
2931 to_insert_exec_catchpoint.
2932 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2933 TARGET_DEFAULT_RETURN.
2935 2014-01-08 Tom Tromey <tromey@redhat.com>
2937 * target-delegates.c: Rebuild.
2938 * target.c (update_current_target): Don't inherit or default
2939 to_insert_exec_catchpoint.
2940 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2941 TARGET_DEFAULT_RETURN.
2943 2014-02-19 Tom Tromey <tromey@redhat.com>
2945 * target-delegates.c: Rebuild.
2946 * target.c (update_current_target): Don't inherit or default
2947 to_remove_vfork_catchpoint.
2948 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2949 TARGET_DEFAULT_RETURN.
2951 2014-02-19 Tom Tromey <tromey@redhat.com>
2953 * target-delegates.c: Rebuild.
2954 * target.c (update_current_target): Don't inherit or default
2955 to_insert_vfork_catchpoint.
2956 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2957 TARGET_DEFAULT_RETURN.
2959 2014-02-19 Tom Tromey <tromey@redhat.com>
2961 * target-delegates.c: Rebuild.
2962 * target.c (update_current_target): Don't inherit or default
2963 to_remove_fork_catchpoint.
2964 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2965 TARGET_DEFAULT_RETURN.
2967 2014-02-19 Tom Tromey <tromey@redhat.com>
2969 * target-delegates.c: Rebuild.
2970 * target.c (update_current_target): Don't inherit or default
2971 to_insert_fork_catchpoint.
2972 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2973 TARGET_DEFAULT_RETURN.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target-delegates.c: Rebuild.
2978 * target.c (update_current_target): Don't inherit or default
2979 to_post_startup_inferior.
2980 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2981 TARGET_DEFAULT_IGNORE.
2983 2014-02-19 Tom Tromey <tromey@redhat.com>
2985 * target-delegates.c: Rebuild.
2986 * target.c (update_current_target): Don't inherit or default
2988 * target.h (struct target_ops) <to_load>: Use
2989 TARGET_DEFAULT_NORETURN.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target-delegates.c: Rebuild.
2994 * target.c (update_current_target): Don't inherit or default
2996 * target.h (struct target_ops) <to_terminal_info>: Use
2997 TARGET_DEFAULT_FUNC.
2999 2014-02-19 Tom Tromey <tromey@redhat.com>
3001 * target-delegates.c: Rebuild.
3002 * target.c (update_current_target): Don't inherit or default
3003 to_terminal_save_ours.
3004 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3005 TARGET_DEFAULT_IGNORE.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * target-delegates.c: Rebuild.
3010 * target.c (update_current_target): Don't inherit or default
3012 * target.h (struct target_ops) <to_terminal_ours>: Use
3013 TARGET_DEFAULT_IGNORE.
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3017 * target-delegates.c: Rebuild.
3018 * target.c (update_current_target): Don't inherit or default
3019 to_terminal_ours_for_output.
3020 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3021 TARGET_DEFAULT_IGNORE.
3023 2014-02-19 Tom Tromey <tromey@redhat.com>
3025 * target-delegates.c: Rebuild.
3026 * target.c (update_current_target): Don't inherit or default
3027 to_terminal_inferior.
3028 * target.h (struct target_ops) <to_terminal_inferior>: Use
3029 TARGET_DEFAULT_IGNORE.
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target-delegates.c: Rebuild.
3034 * target.c (update_current_target): Don't inherit or default
3036 * target.h (struct target_ops) <to_terminal_init>: Use
3037 TARGET_DEFAULT_IGNORE.
3039 2014-02-19 Tom Tromey <tromey@redhat.com>
3041 * target-delegates.c: Rebuild.
3042 * target.c (update_current_target): Don't inherit or default
3043 to_can_accel_watchpoint_condition.
3044 * target.h (struct target_ops)
3045 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3047 2014-02-19 Tom Tromey <tromey@redhat.com>
3049 * target-delegates.c: Rebuild.
3050 * target.c (update_current_target): Don't inherit or default
3051 to_region_ok_for_hw_watchpoint.
3052 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3053 Use TARGET_DEFAULT_FUNC.
3055 2014-02-19 Tom Tromey <tromey@redhat.com>
3057 * target-delegates.c: Rebuild.
3058 * target.c (update_current_target): Don't inherit or default
3059 to_watchpoint_addr_within_range.
3060 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3061 Use TARGET_DEFAULT_FUNC.
3063 2014-02-19 Tom Tromey <tromey@redhat.com>
3065 * target-delegates.c: Rebuild.
3066 * target.c (update_current_target): Don't inherit or default
3067 to_remove_watchpoint.
3068 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3069 TARGET_DEFAULT_NORETURN.
3071 2014-02-19 Tom Tromey <tromey@redhat.com>
3073 * target-delegates.c: Rebuild.
3074 * target.c (update_current_target): Don't inherit or default
3075 to_insert_watchpoint.
3076 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3077 TARGET_DEFAULT_RETURN.
3079 2014-02-19 Tom Tromey <tromey@redhat.com>
3081 * target-delegates.c: Rebuild.
3082 * target.c (update_current_target): Don't inherit or default
3083 to_remove_hw_breakpoint.
3084 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3085 TARGET_DEFAULT_RETURN.
3087 2014-02-19 Tom Tromey <tromey@redhat.com>
3089 * target-delegates.c: Rebuild.
3090 * target.c (update_current_target): Don't inherit or default
3091 to_insert_hw_breakpoint.
3092 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3093 TARGET_DEFAULT_RETURN.
3095 2014-02-19 Tom Tromey <tromey@redhat.com>
3097 * target-delegates.c: Rebuild.
3098 * target.c (update_current_target): Don't inherit or default
3099 to_can_use_hw_breakpoint.
3100 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3101 TARGET_DEFAULT_RETURN.
3103 2014-02-19 Tom Tromey <tromey@redhat.com>
3105 * target-delegates.c: Rebuild.
3106 * target.c (update_current_target): Don't inherit or default
3108 * target.h (struct target_ops) <to_files_info>: Use
3109 TARGET_DEFAULT_IGNORE.
3111 2014-02-19 Tom Tromey <tromey@redhat.com>
3113 * target-delegates.c: Rebuild.
3114 * target.c (update_current_target): Don't inherit or default
3116 * target.h (struct target_ops) <to_store>: Use
3117 TARGET_DEFAULT_NORETURN.
3119 2014-02-19 Tom Tromey <tromey@redhat.com>
3121 * target-delegates.c: Rebuild.
3122 * target.c (update_current_target): Don't inherit or default
3124 * target.h (struct target_ops) <to_post_attach>: Use
3125 TARGET_DEFAULT_IGNORE.
3127 2014-02-19 Tom Tromey <tromey@redhat.com>
3129 * target-delegates.c: Rebuild.
3130 * target.c (update_current_target): Don't inherit or default
3132 (default_rcmd): New function.
3133 (do_monitor_command): Unconditionally delegate.
3134 * target.h (struct target_ops) <to_rmcd>: Use
3135 TARGET_DEFAULT_FUNC.
3137 2014-02-19 Tom Tromey <tromey@redhat.com>
3139 * target-delegates.c: Rebuild.
3140 * target.c (init_dummy_target): Don't initialize to_attach.
3141 (target_attach): Unconditionally delegate.
3142 * target.h (struct target_ops) <to_attach>: Use
3143 TARGET_DEFAULT_FUNC.
3145 2014-02-19 Tom Tromey <tromey@redhat.com>
3147 * target-delegates.c: Rebuild.
3148 * target.c (target_detach): Unconditionally delegate.
3149 (init_dummy_target): Don't initialize to_detach.
3150 * target.h (struct target_ops) <to_detach>: Use
3151 TARGET_DEFAULT_IGNORE.
3153 2014-02-19 Tom Tromey <tromey@redhat.com>
3155 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3157 (target_augmented_libraries_svr4_read): Add argument.
3158 * target.c (update_current_target): Update.
3159 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * target.h (struct target_ops) <to_call_history_range>: Add
3166 * target.c (target_call_history_range): Add argument.
3167 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3169 (record_btrace_call_history_from): Update.
3171 2014-02-19 Tom Tromey <tromey@redhat.com>
3173 * target.h (struct target_ops) <to_call_history_from>: Add
3175 * target.c (target_call_history_from): Add argument.
3176 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3179 2014-02-19 Tom Tromey <tromey@redhat.com>
3181 * target.h (struct target_ops) <to_call_history>: Add argument.
3182 * target.c (target_call_history): Add argument.
3183 * record-btrace.c (record_btrace_call_history): Add 'self'
3186 2014-02-19 Tom Tromey <tromey@redhat.com>
3188 * target.h (struct target_ops) <to_insn_history_range>: Add
3190 * target.c (target_insn_history_range): Add argument.
3191 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3193 (record_btrace_insn_history_from): Update.
3195 2014-02-19 Tom Tromey <tromey@redhat.com>
3197 * target.h (struct target_ops) <to_insn_history_from>: Add
3199 * target.c (target_insn_history_from): Add argument.
3200 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3203 2014-02-19 Tom Tromey <tromey@redhat.com>
3205 * target.h (struct target_ops) <to_insn_history>: Add argument.
3206 * target.c (target_insn_history): Add argument.
3207 * record-btrace.c (record_btrace_insn_history): Add 'self'
3210 2014-02-19 Tom Tromey <tromey@redhat.com>
3212 * target.h (struct target_ops) <to_goto_record>: Add argument.
3213 * target.c (target_goto_record): Add argument.
3214 * record-full.c (record_full_goto): Add 'self' argument.
3215 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3217 2014-02-19 Tom Tromey <tromey@redhat.com>
3219 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3220 * target.c (target_goto_record_end): Add argument.
3221 * record-full.c (record_full_goto_end): Add 'self' argument.
3222 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3224 2014-02-19 Tom Tromey <tromey@redhat.com>
3226 * target.h (struct target_ops) <to_goto_record_begin>: Add
3228 * target.c (target_goto_record_begin): Add argument.
3229 * record-full.c (record_full_goto_begin): Add 'self' argument.
3230 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3233 2014-02-19 Tom Tromey <tromey@redhat.com>
3235 * target.h (struct target_ops) <to_record_is_replaying>: Add
3237 * target.c (target_record_is_replaying): Add argument.
3238 * record-full.c (record_full_is_replaying): Add 'self' argument.
3239 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3241 (record_btrace_xfer_partial, record_btrace_store_registers)
3242 (record_btrace_prepare_to_store, record_btrace_resume)
3243 (record_btrace_wait, record_btrace_decr_pc_after_break)
3244 (record_btrace_find_new_threads, record_btrace_thread_alive):
3247 2014-02-19 Tom Tromey <tromey@redhat.com>
3249 * target.h (struct target_ops) <to_delete_record>: Add argument.
3250 * target.c (target_delete_record): Add argument.
3251 * record-full.c (record_full_delete): Add 'self' argument.
3253 2014-02-19 Tom Tromey <tromey@redhat.com>
3255 * target.h (struct target_ops) <to_save_record>: Add argument.
3256 * target.c (target_save_record): Add argument.
3257 * record-full.c (record_full_save): Add 'self' argument.
3258 (record_full_save): Add 'self' argument.
3260 2014-02-19 Tom Tromey <tromey@redhat.com>
3262 * target.h (struct target_ops) <to_info_record>: Add argument.
3263 * target.c (target_info_record): Add argument.
3264 * record.c (info_record_command): Add argument.
3265 * record-full.c (record_full_info): Add 'self' argument.
3266 * record-btrace.c (record_btrace_info): Add 'self' argument.
3268 2014-02-19 Tom Tromey <tromey@redhat.com>
3270 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3271 * target.c (target_stop_recording): Add argument.
3272 * record.c (record_stop): Add argument.
3273 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3276 2014-02-19 Tom Tromey <tromey@redhat.com>
3278 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3279 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3280 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3282 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3283 (_initialize_amd64_linux_nat): Use it.
3284 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3285 (_initialize_i386_linux_nat): Use it.
3287 2014-02-19 Tom Tromey <tromey@redhat.com>
3289 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3290 * target.c (target_teardown_btrace): Add argument.
3291 * remote.c (remote_teardown_btrace): Add 'self' argument.
3292 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3294 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3297 2014-02-19 Tom Tromey <tromey@redhat.com>
3299 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3300 * target.c (target_disable_btrace): Add argument.
3301 * remote.c (remote_disable_btrace): Add 'self' argument.
3302 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3304 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3307 2014-02-19 Tom Tromey <tromey@redhat.com>
3309 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3310 * target.c (target_enable_btrace): Add argument.
3311 * remote.c (remote_enable_btrace): Add 'self' argument.
3312 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3314 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3320 (target_can_use_agent): Add argument.
3321 * target.c (update_current_target): Update.
3322 * remote.c (remote_can_use_agent): Add 'self' argument.
3323 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3325 2014-02-19 Tom Tromey <tromey@redhat.com>
3327 * target.h (struct target_ops) <to_use_agent>: Add argument.
3328 (target_use_agent): Add argument.
3329 * target.c (update_current_target): Update.
3330 * remote.c (remote_use_agent): Add 'self' argument.
3331 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3333 2014-02-19 Tom Tromey <tromey@redhat.com>
3335 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3336 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3337 (target_traceframe_info): Add argument.
3338 * target.c (update_current_target): Update.
3339 * remote.c (remote_traceframe_info): Add 'self' argument.
3340 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3342 2014-02-19 Tom Tromey <tromey@redhat.com>
3344 * target.h (target_static_tracepoint_markers_by_strid): Add
3346 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3348 * target.c (update_current_target): Update.
3349 * remote.c (struct target_ops)
3350 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3351 * linux-nat.c (struct target_ops)
3352 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3354 2014-02-19 Tom Tromey <tromey@redhat.com>
3356 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3358 (target_static_tracepoint_marker_at): Add argument.
3359 * target.c (update_current_target): Update.
3360 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3363 2014-02-19 Tom Tromey <tromey@redhat.com>
3365 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3366 (target_set_permissions): Add argument.
3367 * target.c (update_current_target): Update.
3368 * remote.c (remote_set_permissions): Add 'self' argument.
3369 (remote_start_remote): Update.
3371 2014-02-19 Tom Tromey <tromey@redhat.com>
3373 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3374 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3375 (target_get_tib_address): Add argument.
3376 * target.c (update_current_target): Update.
3377 * remote.c (remote_get_tib_address): Add 'self' argument.
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3382 (target_set_trace_notes): Add argument.
3383 * target.c (update_current_target): Update.
3384 * remote.c (remote_set_trace_notes): Add 'self' argument.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3390 (target_set_trace_buffer_size): Add argument.
3391 * target.c (update_current_target): Update.
3392 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3394 2014-02-19 Tom Tromey <tromey@redhat.com>
3396 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3398 (target_set_circular_trace_buffer): Add argument.
3399 * target.c (update_current_target): Update.
3400 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3403 2014-02-19 Tom Tromey <tromey@redhat.com>
3405 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3407 (target_set_disconnected_tracing): Add argument.
3408 * target.c (update_current_target): Update.
3409 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3411 2014-02-19 Tom Tromey <tromey@redhat.com>
3413 * target.h (struct target_ops)
3414 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3415 (target_get_min_fast_tracepoint_insn_len): Add argument.
3416 * target.c (update_current_target): Update.
3417 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3420 2014-02-19 Tom Tromey <tromey@redhat.com>
3422 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3424 (target_get_raw_trace_data): Add argument.
3425 * target.c (update_current_target): Update.
3426 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3428 2014-02-19 Tom Tromey <tromey@redhat.com>
3430 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3432 (target_upload_trace_state_variables): Add argument.
3433 * target.c (update_current_target): Update.
3434 * remote.c (remote_upload_trace_state_variables): Add 'self'
3436 (remote_start_remote): Update.
3438 2014-02-19 Tom Tromey <tromey@redhat.com>
3440 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3442 (target_upload_tracepoints): Add argument.
3443 * target.c (update_current_target): Update.
3444 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3445 (remote_start_remote): Update.
3447 2014-02-19 Tom Tromey <tromey@redhat.com>
3449 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3450 (target_save_trace_data): Add argument.
3451 * target.c (update_current_target): Update.
3452 * remote.c (remote_save_trace_data): Add 'self' argument.
3454 2014-02-19 Tom Tromey <tromey@redhat.com>
3456 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3458 * target.h (struct target_ops)
3459 <to_get_trace_state_variable_value>: Add argument.
3460 (target_get_trace_state_variable_value): Add argument.
3461 * target.c (update_current_target): Update.
3462 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3464 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3466 2014-02-19 Tom Tromey <tromey@redhat.com>
3468 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3469 * target.h (struct target_ops) <to_trace_find>: Add argument.
3470 (target_trace_find): Add argument.
3471 * target.c (update_current_target): Update.
3472 * remote.c (remote_trace_find): Add 'self' argument.
3473 * ctf.c (ctf_trace_find): Add 'self' argument.
3475 2014-02-19 Tom Tromey <tromey@redhat.com>
3477 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3478 (target_trace_stop): Add argument.
3479 * target.c (update_current_target): Update.
3480 * remote.c (remote_trace_stop): Add 'self' argument.
3482 2014-02-19 Tom Tromey <tromey@redhat.com>
3484 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3485 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3487 (target_get_tracepoint_status): Add argument.
3488 * target.c (update_current_target): Update.
3489 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3491 2014-02-19 Tom Tromey <tromey@redhat.com>
3493 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3494 * target.h (struct target_ops) <to_get_trace_status>: Add
3496 (target_get_trace_status): Add argument.
3497 * target.c (update_current_target): Update.
3498 * remote.c (remote_get_trace_status): Add 'self' argument.
3499 (remote_start_remote, remote_can_download_tracepoint): Update.
3500 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3502 2014-02-19 Tom Tromey <tromey@redhat.com>
3504 * target.h (struct target_ops) <to_trace_start>: Add argument.
3505 (target_trace_start): Add argument.
3506 * target.c (update_current_target): Update.
3507 * remote.c (remote_trace_start): Add 'self' argument.
3509 2014-02-19 Tom Tromey <tromey@redhat.com>
3511 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3513 (target_trace_set_readonly_regions): Add argument.
3514 * target.c (update_current_target): Update.
3515 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3518 2014-02-19 Tom Tromey <tromey@redhat.com>
3520 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3522 (target_disable_tracepoint): Add argument.
3523 * target.c (update_current_target): Update.
3524 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3526 2014-02-19 Tom Tromey <tromey@redhat.com>
3528 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3530 (target_enable_tracepoint): Add argument.
3531 * target.c (update_current_target): Update.
3532 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3534 2014-02-19 Tom Tromey <tromey@redhat.com>
3536 * target.h (struct target_ops) <to_download_trace_state_variable>:
3538 (target_download_trace_state_variable): Add argument.
3539 * target.c (update_current_target): Update.
3540 * remote.c (remote_download_trace_state_variable): Add 'self'
3543 2014-02-19 Tom Tromey <tromey@redhat.com>
3545 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3547 (target_can_download_tracepoint): Add argument.
3548 * target.c (update_current_target): Update.
3549 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3551 2014-02-19 Tom Tromey <tromey@redhat.com>
3553 * target.h (struct target_ops) <to_download_tracepoint>: Add
3555 (target_download_tracepoint): Add argument.
3556 * target.c (update_current_target): Update.
3557 * remote.c (remote_download_tracepoint): Add 'self' argument.
3559 2014-02-19 Tom Tromey <tromey@redhat.com>
3561 * target.h (struct target_ops) <to_trace_init>: Add argument.
3562 (target_trace_init): Add argument.
3563 * target.c (update_current_target): Update.
3564 * remote.c (remote_trace_init): Add 'self' argument.
3566 2014-02-19 Tom Tromey <tromey@redhat.com>
3568 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3569 * target.c (target_fileio_readlink): Add argument.
3570 * remote.c (remote_hostio_readlink): Add 'self' argument.
3571 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3573 2014-02-19 Tom Tromey <tromey@redhat.com>
3575 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3576 * target.c (target_fileio_unlink): Add argument.
3577 * remote.c (remote_hostio_unlink): Add 'self' argument.
3578 (remote_file_delete): Update.
3579 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3581 2014-02-19 Tom Tromey <tromey@redhat.com>
3583 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3584 * target.c (target_fileio_close): Add argument.
3585 * remote.c (remote_hostio_close): Add 'self' argument.
3586 (remote_hostio_close_cleanup): Update.
3587 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3589 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3591 2014-02-19 Tom Tromey <tromey@redhat.com>
3593 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3594 * target.c (target_fileio_pread): Add argument.
3595 * remote.c (remote_hostio_pread): Add 'self' argument.
3596 (remote_bfd_iovec_pread, remote_file_get): Update.
3597 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3599 2014-02-19 Tom Tromey <tromey@redhat.com>
3601 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3602 * target.c (target_fileio_pwrite): Add argument.
3603 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3604 (remote_file_put): Update.
3605 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3607 2014-02-19 Tom Tromey <tromey@redhat.com>
3609 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3610 * target.c (target_fileio_open): Add argument.
3611 * remote.c (remote_hostio_open): Add 'self' argument.
3612 (remote_bfd_iovec_open): Add 'self' argument.
3613 (remote_file_put): Add 'self' argument.
3614 (remote_file_get): Add 'self' argument.
3615 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3617 2014-02-19 Tom Tromey <tromey@redhat.com>
3619 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3621 (target_can_run_breakpoint_commands): Add argument.
3622 * target.c (update_current_target): Update.
3623 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3625 (remote_insert_breakpoint): Add 'self' argument.
3626 (remote_insert_hw_breakpoint): Add 'self' argument.
3627 (remote_can_run_breakpoint_commands): Add 'self' argument.
3629 2014-02-19 Tom Tromey <tromey@redhat.com>
3631 * target.h (struct target_ops)
3632 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3633 (target_supports_evaluation_of_breakpoint_conditions): Add
3635 * target.c (update_current_target): Update.
3636 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3638 (remote_insert_breakpoint): Add 'self' argument.
3639 (remote_insert_hw_breakpoint): Add 'self' argument.
3640 (remote_supports_cond_breakpoints): Add 'self' argument.
3642 2014-02-19 Tom Tromey <tromey@redhat.com>
3644 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3646 (target_supports_string_tracing): Add argument.
3647 * target.c (update_current_target): Update.
3648 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3650 2014-02-19 Tom Tromey <tromey@redhat.com>
3652 * target.h (struct target_ops)
3653 <to_supports_disable_randomization>: Add argument.
3654 * target.c (find_default_supports_disable_randomization): Add
3656 (target_supports_disable_randomization): Add argument.
3657 (find_default_supports_disable_randomization): Add 'self'
3659 * remote.c (extended_remote_supports_disable_randomization): Add
3661 (remote_supports_disable_randomization): Add 'self' argument.
3662 (extended_remote_create_inferior): Update.
3663 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3666 2014-02-19 Tom Tromey <tromey@redhat.com>
3668 * target.h (struct target_ops)
3669 <to_supports_enable_disable_tracepoint>: Add argument.
3670 (target_supports_enable_disable_tracepoint): Add argument.
3671 * target.c (update_current_target): Update.
3672 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3675 2014-02-19 Tom Tromey <tromey@redhat.com>
3677 * target.h (struct target_ops) <to_supports_multi_process>: Add
3679 (target_supports_multi_process): Add argument.
3680 * target.c (update_current_target): Update.
3681 * remote.c (remote_supports_multi_process): Add 'self' argument.
3682 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3684 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3687 2014-02-19 Tom Tromey <tromey@redhat.com>
3689 * target.h (struct target_ops) <to_execution_direction>: Add
3691 (target_execution_direction): Add argument.
3692 * target.c (default_execution_direction): Add 'self' argument.
3693 * record-full.c (record_full_execution_direction): Add 'self'
3696 2014-02-19 Tom Tromey <tromey@redhat.com>
3698 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3700 (target_can_execute_reverse): Add argument.
3701 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3702 * record-full.c (record_full_can_execute_reverse): Add 'self'
3704 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3707 2014-02-19 Tom Tromey <tromey@redhat.com>
3709 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3710 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3712 (target_get_ada_task_ptid): Add argument.
3713 * target.c (update_current_target): Update.
3714 (default_get_ada_task_ptid): Add 'self' argument.
3715 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3716 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3717 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3719 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3721 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3723 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3725 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3726 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3729 2014-02-19 Tom Tromey <tromey@redhat.com>
3731 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3732 (target_goto_bookmark): Add argument.
3733 * target.c (dummy_goto_bookmark): Add 'self' argument.
3734 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3736 2014-02-19 Tom Tromey <tromey@redhat.com>
3738 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3739 (target_get_bookmark): Add argument.
3740 * target.c (dummy_get_bookmark): Add 'self' argument.
3741 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3743 2014-02-19 Tom Tromey <tromey@redhat.com>
3745 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3747 (target_make_corefile_notes): Add argument.
3748 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3749 * procfs.c (procfs_make_note_section): Add 'self' argument.
3750 (procfs_make_note_section): Add 'self' argument.
3751 (procfs_make_note_section): Add 'self' argument.
3752 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3754 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3755 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3756 * exec.c (exec_make_note_section): Add 'self' argument.
3757 (exec_make_note_section): Add 'self' argument.
3759 2014-02-19 Tom Tromey <tromey@redhat.com>
3761 * target.h (struct target_ops) <to_find_memory_regions>: Add
3763 (target_find_memory_regions): Add argument.
3764 * target.c (dummy_find_memory_regions): Add 'self' argument.
3765 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3766 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3767 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3768 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3769 * exec. (exec_do_find_memory_regions): New global.
3770 (exec_set_find_memory_regions): Rewrite.
3771 (exec_find_memory_regions): New function.
3772 (init_exec_ops): Use exec_find_memory_regions.
3774 2014-02-19 Tom Tromey <tromey@redhat.com>
3776 * target.h (struct target_ops) <to_supports_non_stop>: Add
3778 * target.c (find_default_supports_non_stop): Add argument.
3779 (target_supports_non_stop): Add argument.
3780 (find_default_supports_non_stop): Add 'self' argument.
3781 * remote.c (remote_supports_non_stop): Add 'self' argument.
3782 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3784 2014-02-19 Tom Tromey <tromey@redhat.com>
3786 * target.h (struct target_ops) <to_log_command>: Add argument.
3787 (target_log_command): Add argument.
3788 * serial.h (serial_log_command): Add 'self' argument.
3789 * serial.c (serial_log_command): Add 'self' argument.
3791 2014-02-19 Tom Tromey <tromey@redhat.com>
3793 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3794 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3796 (target_pid_to_exec_file): Add argument.
3797 * target.c (debug_to_pid_to_exec_file): Add argument.
3798 (update_current_target): Update.
3799 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3800 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3801 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3802 (linux_handle_extended_wait): Update.
3803 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3804 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3805 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3806 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3808 2014-02-19 Tom Tromey <tromey@redhat.com>
3810 * target.h (struct target_ops) <to_rcmd>: Add argument.
3811 (target_rcmd): Add argument.
3812 * target.c (debug_to_rcmd): Add argument.
3813 (update_current_target, do_monitor_command): Update.
3814 * remote.c (remote_rcmd): Add 'self' argument.
3815 * monitor.c (monitor_rcmd): Add 'self' argument.
3817 2014-02-19 Tom Tromey <tromey@redhat.com>
3819 * windows-nat.c (windows_stop): Add 'self' argument.
3820 * target.h (struct target_ops) <to_stop>: Add argument.
3821 * target.c (target_stop): Add argument.
3822 (debug_to_stop): Add argument.
3823 (update_current_target): Update.
3824 * remote.c (remote_stop): Add 'self' argument.
3825 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3826 (gdbsim_cntrl_c): Update.
3827 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3828 * procfs.c (procfs_stop): Add 'self' argument.
3829 * nto-procfs.c (procfs_stop): Add 'self' argument.
3830 * monitor.c (monitor_stop): Add 'self' argument.
3831 (monitor_open): Update.
3832 * linux-nat.c (linux_nat_stop): Add argument.
3833 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3834 * gnu-nat.c (gnu_stop): Add 'self' argument.
3835 * darwin-nat.c (darwin_stop): Add 'self' argument.
3837 2014-02-19 Tom Tromey <tromey@redhat.com>
3839 * target.h (struct target_ops) <to_thread_name>: Add argument.
3840 * target.c (target_thread_name): Add argument.
3841 (update_current_target): Update.
3842 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3844 2014-02-19 Tom Tromey <tromey@redhat.com>
3846 * target.h (struct target_ops) <to_extra_thread_info>: Add
3848 (target_extra_thread_info): Add argument.
3849 * target.c (update_current_target): Update.
3850 * remote.c (remote_threads_extra_info): Add 'self' argument.
3851 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3853 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3854 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3855 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3857 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3859 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3861 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3864 2014-02-19 Tom Tromey <tromey@redhat.com>
3866 * target.h (struct target_ops) <to_program_signals>: Add argument.
3867 * target.c (target_program_signals): Add argument.
3868 * remote.c (remote_program_signals): Add 'self' argument.
3870 2014-02-19 Tom Tromey <tromey@redhat.com>
3872 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3873 * target.c (target_pass_signals): Add argument.
3874 * remote.c (remote_pass_signals): Add 'self' argument.
3875 (remote_start_remote): Update.
3876 * procfs.c (procfs_pass_signals): Add 'self' argument.
3877 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3878 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3879 (linux_nat_create_inferior, linux_nat_attach): Update.
3881 2014-02-19 Tom Tromey <tromey@redhat.com>
3883 * windows-nat.c (windows_can_run): Add 'self' argument.
3884 * target.h (struct target_ops) <to_can_run>: Add argument.
3885 (target_can_run): Add argument.
3886 * target.c (debug_to_can_run): Add argument.
3887 (update_current_target): Update.
3888 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3889 * inf-child.c (inf_child_can_run): Add 'self' argument.
3890 * go32-nat.c (go32_can_run): Add 'self' argument.
3892 2014-02-19 Tom Tromey <tromey@redhat.com>
3894 * target.h (struct target_ops) <to_has_exited>: Add argument.
3895 (target_has_exited): Add argument.
3896 * target.c (debug_to_has_exited): Add argument.
3897 (update_current_target): Update.
3899 2014-02-19 Tom Tromey <tromey@redhat.com>
3901 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3903 (target_set_syscall_catchpoint): Add argument.
3904 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3906 * target.c (update_current_target): Update.
3908 2014-02-19 Tom Tromey <tromey@redhat.com>
3910 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3912 (target_remove_exec_catchpoint): Add argument.
3913 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3914 (update_current_target): Update.
3915 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3918 2014-02-19 Tom Tromey <tromey@redhat.com>
3920 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3922 (target_insert_exec_catchpoint): Add argument.
3923 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3924 (update_current_target): Update.
3925 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3928 2014-02-19 Tom Tromey <tromey@redhat.com>
3930 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3932 (target_remove_vfork_catchpoint): Add argument.
3933 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3934 (update_current_target): Update.
3935 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3938 2014-02-19 Tom Tromey <tromey@redhat.com>
3940 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3942 (target_insert_vfork_catchpoint): Add argument.
3943 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3944 (update_current_target): Update.
3945 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3948 2014-02-19 Tom Tromey <tromey@redhat.com>
3950 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3952 (target_remove_fork_catchpoint): Add argument.
3953 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3954 (update_current_target): Update.
3955 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3958 2014-02-19 Tom Tromey <tromey@redhat.com>
3960 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3962 (target_insert_fork_catchpoint): Add argument.
3963 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3964 (update_current_target): Update.
3965 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3968 2014-02-19 Tom Tromey <tromey@redhat.com>
3970 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3972 (target_post_startup_inferior): Add argument.
3973 * target.c (debug_to_post_startup_inferior): Add argument.
3974 (update_current_target): Update.
3975 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3977 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3979 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3981 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3983 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3985 (super_post_startup_inferior): Likewise.
3986 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3988 (super_post_startup_inferior): Likewise.
3989 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3990 Add 'self' argument.
3991 (super_post_startup_inferior): Likewise.
3993 2014-02-19 Tom Tromey <tromey@redhat.com>
3995 * target.h (struct target_ops) <to_load>: Add argument.
3996 * target.c (target_load): Add argument.
3997 (debug_to_load): Add argument.
3998 (update_current_target): Update.
3999 * remote.c (remote_load): Add 'self' argument.
4000 * remote-sim.c (gdbsim_load): Add 'self' argument.
4001 * remote-mips.c (mips_load): Add 'self' argument.
4002 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4003 * monitor.c (monitor_load): Add 'self' argument.
4004 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4006 2014-02-19 Tom Tromey <tromey@redhat.com>
4008 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4009 (target_terminal_info): Add argument.
4010 * target.c (debug_to_terminal_info): Add argument.
4011 (default_terminal_info): Likewise.
4012 * inflow.c (child_terminal_info): Add 'self' argument.
4013 * inferior.h (child_terminal_info): Add 'self' argument.
4014 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4016 2014-02-19 Tom Tromey <tromey@redhat.com>
4018 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4020 (target_terminal_save_ours): Add argument.
4021 * target.c (debug_to_terminal_save_ours): Add argument.
4022 (update_current_target): Update.
4023 * inflow.c (terminal_save_ours): Add 'self' argument.
4024 * inferior.h (terminal_save_ours): Add 'self' argument.
4026 2014-02-19 Tom Tromey <tromey@redhat.com>
4028 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4029 (target_terminal_ours): Add argument.
4030 * target.c (debug_to_terminal_ours): Add argument.
4031 (update_current_target): Update.
4032 * remote.c (remote_terminal_ours): Add 'self' argument.
4033 (remote_close): Update.
4034 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4035 * inflow.c (terminal_ours): Add 'self' argument.
4036 * inferior.h (terminal_ours): Add 'self' argument.
4037 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4039 2014-02-19 Pedro Alves <palves@redhat.com>
4040 Tom Tromey <tromey@redhat.com>
4042 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4044 (target_terminal_ours_for_output): Add argument.
4045 * target.c (debug_to_terminal_ours_for_output): Add argument.
4046 (update_current_target): Update.
4047 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4048 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4049 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4051 2014-02-19 Tom Tromey <tromey@redhat.com>
4053 * target.h (struct target_ops) <to_terminal_inferior>: Add
4055 * target.c (target_terminal_inferior): Add argument.
4056 (update_current_target): Update.
4057 * remote.c (remote_terminal_inferior): Add 'self' argument.
4058 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4059 * inflow.c (terminal_inferior): Add 'self' argument.
4060 * inferior.h (terminal_inferior): Add 'self' argument.
4061 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4062 (go32_terminal_inferior): Add 'self' argument.
4064 2014-02-19 Tom Tromey <tromey@redhat.com>
4066 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4067 (target_terminal_init): Add argument.
4068 * target.c (debug_to_terminal_init): Add argument.
4069 (update_current_target): Update.
4070 * inflow.c (terminal_init_inferior): Add 'self' argument.
4071 * inferior.h (terminal_init_inferior): Add 'self' argument.
4072 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4073 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4075 2014-02-19 Tom Tromey <tromey@redhat.com>
4077 * target.h (struct target_ops)
4078 <to_can_accel_watchpoint_condition>: Add argument.
4079 (target_can_accel_watchpoint_condition): Add argument.
4080 * target.c (debug_to_can_accel_watchpoint_condition): Add
4082 (update_current_target): Update.
4083 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4086 2014-02-19 Tom Tromey <tromey@redhat.com>
4088 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4090 (target_region_ok_for_hw_watchpoint): Add argument.
4091 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4092 (default_region_ok_for_hw_watchpoint): Add argument.
4093 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4094 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4096 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4098 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4100 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4102 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4104 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4106 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4107 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4109 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4110 Add 'self' argument.
4112 2014-02-19 Tom Tromey <tromey@redhat.com>
4114 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4116 (target_insert_watchpoint): Add argument.
4117 * target.c (debug_to_insert_watchpoint): Add argument.
4118 (update_current_target): Update.
4119 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4120 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4121 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4122 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4123 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4124 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4126 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4127 (procfs_insert_hw_watchpoint): Add 'self' argument.
4128 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4130 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4132 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4134 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4135 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4137 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4140 2014-02-19 Tom Tromey <tromey@redhat.com>
4142 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4144 (target_remove_watchpoint): Add argument.
4145 * target.c (debug_to_remove_watchpoint): Add argument.
4146 (update_current_target): Update.
4147 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4148 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4149 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4150 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4151 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4152 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4154 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4155 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4157 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4159 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4161 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4162 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4164 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4167 2014-02-19 Tom Tromey <tromey@redhat.com>
4169 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4171 (target_remove_hw_breakpoint): Add argument.
4172 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4173 (update_current_target): Update.
4174 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4175 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4177 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4178 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4180 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4183 2014-02-19 Tom Tromey <tromey@redhat.com>
4185 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4187 (target_insert_hw_breakpoint): Add argument.
4188 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4189 (update_current_target): Update.
4190 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4191 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4193 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4194 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4195 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4197 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4200 2014-02-19 Tom Tromey <tromey@redhat.com>
4202 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4204 (target_can_use_hardware_watchpoint): Add argument.
4205 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4206 (update_current_target): Update.
4207 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4209 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4211 * remote.c (remote_check_watch_resources): Add 'self' argument.
4212 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4213 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4215 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4216 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4218 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4220 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4222 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4224 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4226 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4228 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4229 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4231 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4234 2014-02-19 Tom Tromey <tromey@redhat.com>
4236 * target.h (struct target_ops) <to_post_attach>: Add argument.
4237 (target_post_attach): Add argument.
4238 * target.c (debug_to_post_attach): Add argument.
4239 (update_current_target): Update.
4240 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4241 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4242 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4243 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4244 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4246 2014-02-19 Tom Tromey <tromey@redhat.com>
4248 * windows-nat.c (windows_close): Add 'self' argument.
4249 * tracepoint.c (tfile_close): Add 'self' argument.
4250 * target.h (struct target_ops) <to_close>: Add argument.
4251 * target.c (target_close): Add argument.
4252 (update_current_target): Update.
4253 * remote.c (remote_close): Add 'self' argument.
4254 * remote-sim.c (gdbsim_close): Add 'self' argument.
4255 * remote-mips.c (mips_close): Add 'self' argument.
4256 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4257 * record-full.c (record_full_close): Add 'self' argument.
4258 * record-btrace.c (record_btrace_close): Add 'self' argument.
4259 * monitor.h (monitor_close): Add 'self' argument.
4260 * monitor.c (monitor_close): Add 'self' argument.
4261 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4262 * linux-nat.c (linux_nat_close): Add argument.
4263 * go32-nat.c (go32_close): Add 'self' argument.
4264 * exec.c (exec_close_1): Add 'self' argument.
4265 * ctf.c (ctf_close): Add 'self' argument.
4266 * corelow.c (core_close): Add 'self' argument.
4267 (core_close_cleanup): Update.
4268 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4269 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4271 2014-02-19 Tom Tromey <tromey@redhat.com>
4273 * remote.c (remote_load): New function.
4274 (init_remote_ops): Use it.
4276 2014-02-19 Tom Tromey <tromey@redhat.com>
4278 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4280 * common/linux-btrace.h (linux_supports_btrace): Update.
4281 * remote.c (remote_supports_btrace): Add "self" argument.
4282 * target-delegates.c: Rebuild.
4283 * target.c (target_supports_btrace): Remove.
4284 * target.h (struct target_ops) <to_supports_btrace>: Add
4285 target_ops argument.
4286 (target_supports_btrace): New define.
4288 2014-02-19 Tom Tromey <tromey@redhat.com>
4290 * record-full.c (record_full_beneath_to_resume_ops)
4291 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4292 (record_full_beneath_to_wait)
4293 (record_full_beneath_to_store_registers_ops)
4294 (record_full_beneath_to_store_registers)
4295 (record_full_beneath_to_xfer_partial_ops)
4296 (record_full_beneath_to_xfer_partial)
4297 (record_full_beneath_to_insert_breakpoint_ops)
4298 (record_full_beneath_to_insert_breakpoint)
4299 (record_full_beneath_to_remove_breakpoint_ops)
4300 (record_full_beneath_to_remove_breakpoint)
4301 (record_full_beneath_to_stopped_by_watchpoint)
4302 (record_full_beneath_to_stopped_data_address)
4303 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4304 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4305 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4306 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4307 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4308 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4309 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4310 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4311 (record_full_resume, record_full_wait_1)
4312 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4313 (record_full_store_registers, record_full_xfer_partial)
4314 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4315 (record_full_async, record_full_core_xfer_partial): Use target
4317 * target-delegates.c: Rebuild.
4318 * target.c (current_xfer_partial): Remove.
4319 (update_current_target): Do not INHERIT or de_fault
4320 to_insert_breakpoint, to_remove_breakpoint,
4321 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4322 to_is_async_p, to_async. Do not set to_xfer_partial field.
4323 (default_xfer_partial): Simplify.
4324 (current_xfer_partial): Remove.
4325 (target_wait, target_resume): Simplify.
4326 (find_default_can_async_p, find_default_is_async_p): Update.
4327 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4328 to_xfer_partial, to_stopped_by_watchpoint,
4329 to_stopped_data_address.
4330 (target_store_registers): Simplify.
4331 (forward_target_remove_breakpoint)
4332 (forward_target_insert_breakpoint): Remove.
4333 (target_remove_breakpoint, target_insert_breakpoint)
4334 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4335 * target.h (struct target_ops) <to_resume, to_wait,
4336 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4337 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4338 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4340 (forward_target_remove_breakpoint)
4341 (forward_target_insert_breakpoint): Remove.
4342 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4344 (record_btrace_insert_breakpoint): Delegate directly.
4346 2014-02-19 Tom Tromey <tromey@redhat.com>
4349 * target-delegates.c: New file.
4350 * target.c: Include target-delegates.c.
4351 (init_dummy_target): Call install_dummy_methods.
4352 (complete_target_initialization): Call install_delegators.
4353 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4354 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4355 * make-target-delegates: New file.
4357 2014-02-19 Tom Tromey <tromey@redhat.com>
4359 * record.c (find_record_target): Use find_target_at.
4360 * target.c (find_target_at): New function.
4361 * target.h (find_target_at): Declare.
4363 2014-02-19 Tom Tromey <tromey@redhat.com>
4365 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4367 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4369 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4370 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4372 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4374 * linux-nat.c (save_sigtrap): Update.
4375 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4376 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4377 (linux_nat_close): Update.
4378 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4380 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4382 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4383 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4384 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4385 (tmp_to_async): Add 'ops' argument.
4386 (record_full_stopped_by_watchpoint, record_full_async)
4387 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4389 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4390 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4391 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4392 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4393 (remote_is_async_p, remote_async): Add 'ops' argument.
4394 (remote_stopped_data_address): Update.
4395 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4396 * target.c (update_current_target)
4397 (find_default_can_async_p, find_default_is_async_p): Update.
4398 (init_dummy_target): Update.
4399 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4400 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4401 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4402 (target_can_async_p, target_is_async_p, target_async)
4403 (target_stopped_by_watchpoint): Update.
4405 2014-02-19 Yao Qi <yao@codesourcery.com>
4408 * gdbarch.sh: Remove startup_gdbarch.
4409 * gdbarch.c: Regenerated.
4410 * gdbarch.h: Likewise.
4412 2014-02-17 Kevin Buettner <kevinb@redhat.com>
4414 * rl78-tdep.c (rl78_g10_register_name): New function.
4415 (rl78_return_value): Add g10 support.
4416 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4419 2014-02-17 Doug Evans <xdje42@gmail.com>
4421 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4422 (SUBDIR_GUILE_SRCS): Ditto.
4423 (scm-gsmob.o): Ditto.
4425 2014-02-17 Yao Qi <yao@codesourcery.com>
4427 * gnu-nat.c (ILL_RPC): Declare defined function.
4429 2014-02-17 Yao Qi <yao@codesourcery.com>
4431 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4432 mach_msg_type_number_t.
4433 (gnu_write_inferior): Likewise.
4435 2014-02-17 Yao Qi <yao@codesourcery.com>
4437 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4439 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4440 (inf_validate_procs, inf_signal): Likewise.
4441 (S_exception_raise_request): Likewise.
4442 (do_mach_notify_dead_name): Likewise.
4443 (steal_exc_port): Likewise.
4444 (gnu_read_inferior): Change 'copy_count''s type to
4445 mach_msg_type_number_t.
4446 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4449 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4451 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4452 flag. Adjust all users; in particular...
4453 (gnu_wait): ..., don't decrement its value in here...
4454 (gnu_create_inferior): ..., and instead set the flag in here,
4455 around the startup_inferior call, and call that one with
4456 START_INFERIOR_TRAPS_EXPECTED.
4458 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4459 (ILL_RPC): ... new macro.
4460 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4461 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4462 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4463 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4464 functions with ILL_RPC macro.
4465 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4466 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4467 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4468 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4469 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4470 (S_proc_getlogin_reply, S_proc_getsid_reply)
4471 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4472 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4473 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4474 (S_proc_getnports_reply, S_proc_is_important_reply)
4475 (S_proc_get_code_reply): New stub functions, generated with
4478 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4479 collected the type check structures.
4481 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4483 2014-02-14 Doug Evans <dje@google.com>
4485 * target.c (target_write_partial): Fix result type.
4487 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4489 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4490 the proper offsets to access fpregset_t.
4492 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4494 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4495 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4496 * h8300-tdep.c (setmachinelist): Remove global.
4497 * hppa-tdep.c (hppa_sigtramp): Remove global.
4498 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4499 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4500 * ravenscar-thread.c (update_target_observer): Remove global.
4501 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4503 2014-02-12 Tom Tromey <tromey@redhat.com>
4505 * common/rsp-low.c: Update comments.
4506 * common/rsp-low.h: Update comments.
4508 2014-02-12 Tom Tromey <tromey@redhat.com>
4510 * common/rsp-low.c (convert_ascii_to_int): Remove.
4511 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4513 2014-02-12 Tom Tromey <tromey@redhat.com>
4515 * common/rsp-low.h (unhexify): Don't declare.
4516 * common/rsp-low.c (unhexify): Remove.
4518 2014-02-12 Tom Tromey <tromey@redhat.com>
4520 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4521 * common/rsp-low.c (convert_int_to_ascii): Remove.
4523 2014-02-12 Tom Tromey <tromey@redhat.com>
4525 * common/rsp-low.h (hexify): Don't declare.
4526 * common/rsp-low.c (hexify): Remove.
4528 2014-02-12 Tom Tromey <tromey@redhat.com>
4530 * common/rsp-low.c (hexify): Never take strlen of argument.
4532 2014-02-12 Tom Tromey <tromey@redhat.com>
4534 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4535 * remote.c (extended_remote_run, remote_rcmd)
4536 (remote_download_trace_state_variable, remote_save_trace_data)
4537 (remote_set_trace_notes): Update.
4538 * tracepoint.c (encode_source_string, tfile_write_status)
4539 (tfile_write_uploaded_tsv): Update.
4541 2014-02-12 Tom Tromey <tromey@redhat.com>
4543 * tracepoint.c: Include rsp-low.h.
4544 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4545 * remote.c: Include rsp-low.h.
4546 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4547 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4548 (remote_unescape_input): Move to common/rsp-low.c.
4549 * common/rsp-low.h: New file.
4550 * common/rsp-low.c: New file.
4551 * Makefile.in (SFILES): Add common/rsp-low.c.
4552 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4553 (COMMON_OBS): Add rsp-low.o.
4554 (rsp-low.o): New target.
4556 2014-02-12 Tom Tromey <tromey@redhat.com>
4558 * utils.h: Include print-utils.h.
4559 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4560 (int_string, core_addr_to_string, core_addr_to_string_nz)
4561 (hex_string, hex_string_custom): Don't declare.
4562 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4563 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4564 (hex_string_custom, int_string, core_addr_to_string)
4565 (core_addr_to_string_nz, host_address_to_string): Move to
4566 common/print-utils.c.
4567 * common/print-utils.h: New file.
4568 * common/print-utils.c: New file
4569 * Makefile.in (SFILES): Add common/print-utils.c.
4570 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4571 (COMMON_OBS): Add print-utils.o.
4572 (print-utils.o): New target.
4574 2014-02-12 Tom Tromey <tromey@redhat.com>
4576 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4578 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4580 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4582 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4584 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4585 if a PT_IO ptrace request returns sucessfully but indicates that 0
4586 bytes were transferred.
4588 2014-02-12 Pedro Alves <palves@redhat.com>
4589 Kevin Buettner <kevinb@redhat.com>
4591 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4592 TYPE_INSTANCE_FLAG_CODE_SPACE.
4594 2014-02-12 Pedro Alves <palves@redhat.com>
4596 * h8300-tdep.c (pseudo_from_raw_register)
4597 (raw_from_pseudo_register): New functions.
4598 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4601 2014-02-12 Pedro Alves <palves@redhat.com>
4603 * h8300-tdep.c (h8300_register_sim_regno): New function.
4604 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4605 gdbarch_register_sim_regno hook.
4607 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4609 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4611 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4613 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4615 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4617 * obsd-tdep.h (obsd_init_abi): New prototype.
4618 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4619 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4620 (obsd_init_abi): New functions.
4621 * i386obsd-tdep.c: Include "obsd-tdep.h".
4622 (i386obsd_init_abi): Call obsd_init_abi.
4623 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4624 (amd64obsd_init_abi): Call obsd_init_abi.
4625 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4626 obsd-tdep.c to gdb_target_obs.
4628 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4630 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4631 double float arguments to 16-byte in the argument slots.
4633 2014-02-11 Doug Evans <xdje42@gmail.com>
4635 * configure.ac: Don't crash if pkg-config is not found and guile
4636 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4638 * configure: Regenerate.
4640 2014-02-11 Yao Qi <yao@codesourcery.com>
4642 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4643 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4644 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4645 * gnu-nat.c (gnu_xfer_memory): Likewise.
4646 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4647 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4648 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4649 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4651 2014-02-11 Yao Qi <yao@codesourcery.com>
4653 * target.h (enum target_xfer_error): Rename to ...
4654 (enum target_xfer_status): ... it. New. All users updated.
4655 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4657 (TARGET_XFER_STATUS_ERROR_P): New macro.
4658 (target_xfer_error_to_string): Remove declaration.
4659 (target_xfer_status_to_string): Declare.
4660 (target_xfer_partial_ftype): Adjust it.
4661 (struct target_ops) <to_xfer_partial>: Return
4662 target_xfer_status. Add argument xfered_len. Update
4664 * target.c (target_xfer_error_to_string): Rename to ...
4665 (target_xfer_status_to_string): ... it. New. All callers
4667 (target_read_live_memory): Likewise. Call target_xfer_partial
4668 instead of target_read.
4669 (memory_xfer_live_readonly_partial): Return
4670 target_xfer_status. Add argument xfered_len.
4671 (raw_memory_xfer_partial): Likewise.
4672 (memory_xfer_partial_1): Likewise.
4673 (memory_xfer_partial): Likewise.
4674 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4675 properly. Update debug message.
4676 (default_xfer_partial, current_xfer_partial): Likewise.
4677 (target_write_partial): Likewise.
4678 (target_read_partial): Likewise. All callers updated.
4679 (read_whatever_is_readable): Likewise.
4680 (target_write_with_progress): Likewise.
4681 (target_read_alloc_1): Likewise.
4683 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4684 * auxv.c (procfs_xfer_auxv): Likewise.
4685 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4686 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4687 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4688 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4689 * corefile.c (read_memory): Adjust.
4690 * corelow.c (core_xfer_partial): Likewise.
4691 * ctf.c (ctf_xfer_partial): Likewise.
4692 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4694 (darwin_xfer_partial): Likewise.
4695 * exec.c (section_table_xfer_memory_partial): Likewise. All
4697 (exec_xfer_partial): Likewise.
4698 * exec.h (section_table_xfer_memory_partial): Update
4700 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4702 (gnu_xfer_partial): Likewise.
4703 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4704 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4705 (ia64_hpux_xfer_solib_got): Likewise.
4706 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4707 type of 'partial_len' to ULONGEST.
4708 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4709 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4710 (linux_nat_xfer_partial): Likewise.
4711 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4712 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4713 * monitor.c (monitor_xfer_memory): Likewise.
4714 (monitor_xfer_partial): Likewise.
4715 * procfs.c (procfs_xfer_partial): Likewise.
4716 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4717 * record-full.c (record_full_xfer_partial): Likewise.
4718 (record_full_core_xfer_partial): Likewise.
4719 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4720 (gdbsim_xfer_partial): Likewise.
4721 * remote.c (remote_write_bytes_aux): Likewise. All callers
4723 (remote_write_bytes, remote_read_bytes): Likewise. All
4725 (remote_flash_erase): Likewise. All callers updated.
4726 (remote_write_qxfer): Likewise. All callers updated.
4727 (remote_read_qxfer): Likewise. All callers updated.
4728 (remote_xfer_partial): Likewise.
4729 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4730 (rs6000_xfer_shared_libraries): Likewise.
4731 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4732 (sol_thread_xfer_partial): Likewise.
4733 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4734 (sparc_xfer_partial): Likewise.
4735 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4737 (spu_xfer_partial): Likewise.
4738 * spu-multiarch.c (spu_xfer_partial): Likewise.
4739 * tracepoint.c (tfile_xfer_partial): Likewise.
4740 * windows-nat.c (windows_xfer_memory): Likewise.
4741 (windows_xfer_shared_libraries): Likewise.
4742 (windows_xfer_partial): Likewise.
4743 * valprint.c: Replace 'target_xfer_error' with
4744 'target_xfer_status' in comments.
4746 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4748 Checked in by Joel Brobecker <brobecker@adacore.com>.
4749 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4751 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4753 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4754 function parameters.
4756 2014-02-10 Will Newton <will.newton@linaro.org>
4758 * elfread.c (elf_rel_plt_read): Look for a .got section if
4759 looking up .got.plt fails.
4760 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4761 on address passed to elf_gnu_ifunc_record_cache.
4762 (elf_gnu_ifunc_resolve_addr): Likewise.
4763 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4765 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4767 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4768 (X_RETTURN): New macro.
4769 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4771 * sparc64-tdep.c (sparc64_init_abi): Hook
4772 sparc_in_function_epilogue_p.
4774 2014-02-10 Gary Benson <gbenson@redhat.com>
4776 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4777 Rename name_matcher to symbol_matcher.
4779 2014-02-10 Gary Benson <gbenson@redhat.com>
4781 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4782 Use expand_symtabs_file_matcher_ftype and
4783 expand_symtabs_symbol_matcher_ftype.
4785 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4787 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4788 (struct ada_symbol_cache): New.
4789 (ada_free_symbol_cache): Forward declare.
4790 (struct ada_pspace_data): New.
4791 (ada_pspace_data_handle): New static global.
4792 (get_ada_pspace_data, ada_pspace_data_cleanup)
4793 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4794 (cache_space, cache): Delete, now folded inside struct
4796 (ada_get_symbol_cache): New function.
4797 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4799 (_initialize_ada_language): Remove initialization of cache_space.
4800 Move call to observer_attach_inferior_exit up, grouping it
4801 with the other observer registrations inside this function.
4802 Rename command to be more general. Add call to
4803 register_program_space_data_with_cleanup.
4805 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4807 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4808 ada_new_objfile_observer.
4809 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4810 (_initialize_tasks): Update uses of ada_new_objfile_observer
4811 and ada_tasks_normal_stop_observer.
4813 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4815 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4816 returned by the 'Length attribute to integer.
4818 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4820 * ada-lang.c (_initialize_ada_language): Initialize
4821 cache_space obstack.
4823 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4825 * ada-lang.c (HASH_SIZE): New macro.
4826 (struct cache_entry): New type.
4827 (cache_space, cache): New static globals.
4828 (ada_clear_symbol_cache, find_entry): New functions.
4829 (lookup_cached_symbol, cache_symbol): Implement.
4830 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4831 (_initialize_ada_language): Attach ada_new_objfile_observer
4832 and ada_free_objfile_observer.
4834 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4836 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4837 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4838 struct block * parameter.
4839 (ada_lookup_symbol_list_worker): Constify local variable "block".
4840 Remove cast which is no longer necessary.
4842 2014-02-10 Doug Evans <xdje42@gmail.com>
4844 Add Guile as an extension language.
4845 * NEWS: Mention Guile scripting.
4846 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4847 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4848 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4849 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4850 (CLIBS): Add GUILE_LIBS.
4851 (install-guile): New rule.
4852 (guile.o): New rule.
4853 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4854 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4855 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4856 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4857 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4858 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4859 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4860 * configure.ac: New option --with-guile.
4861 * configure: Regenerate.
4862 * config.in: Regenerate.
4863 * auto-load.c: Remove #include "python/python.h". Add #include
4864 "gdb/section-scripts.h".
4865 (source_section_scripts): Handle Guile scripts.
4866 (_initialize_auto_load): Add name of Guile objfile script to
4867 scripts-directory help text.
4868 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4869 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4870 (struct breakpoint): New member scm_bp_object.
4871 * defs.h (enum command_control_type): New value guile_control.
4872 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4874 (show_user): Update comment.
4875 (_initialize_cli_cmds): Update help text for "show user". Update help
4876 text for max-user-call-depth.
4877 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4879 (multi_line_command_p): Add guile_control.
4880 (print_command_lines): Handle guile_control.
4881 (execute_control_command, recurse_read_control_structure): Ditto.
4882 (process_next_line): Recognize "guile" commands.
4883 * disasm.c (gdb_disassemble_info): Make non-static.
4884 * disasm.h: #include "dis-asm.h".
4885 (struct gdbarch): Add forward decl.
4886 (gdb_disassemble_info): Declare.
4887 * extension.c: #include "guile/guile.h".
4888 (extension_languages): Add guile.
4889 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4890 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4891 * gdbtypes.c (get_unsigned_type_max): New function.
4892 (get_signed_type_minmax): New function.
4893 * gdbtypes.h (get_unsigned_type_max): Declare.
4894 (get_signed_type_minmax): Declare.
4895 * guile/README: New file.
4896 * guile/guile-internal.h: New file.
4897 * guile/guile.c: New file.
4898 * guile/guile.h: New file.
4899 * guile/scm-arch.c: New file.
4900 * guile/scm-auto-load.c: New file.
4901 * guile/scm-block.c: New file.
4902 * guile/scm-breakpoint.c: New file.
4903 * guile/scm-disasm.c: New file.
4904 * guile/scm-exception.c: New file.
4905 * guile/scm-frame.c: New file.
4906 * guile/scm-gsmob.c: New file.
4907 * guile/scm-iterator.c: New file.
4908 * guile/scm-lazy-string.c: New file.
4909 * guile/scm-math.c: New file.
4910 * guile/scm-objfile.c: New file.
4911 * guile/scm-ports.c: New file.
4912 * guile/scm-pretty-print.c: New file.
4913 * guile/scm-safe-call.c: New file.
4914 * guile/scm-string.c: New file.
4915 * guile/scm-symbol.c: New file.
4916 * guile/scm-symtab.c: New file.
4917 * guile/scm-type.c: New file.
4918 * guile/scm-utils.c: New file.
4919 * guile/scm-value.c: New file.
4920 * guile/lib/gdb.scm: New file.
4921 * guile/lib/gdb/boot.scm: New file.
4922 * guile/lib/gdb/experimental.scm: New file.
4923 * guile/lib/gdb/init.scm: New file.
4924 * guile/lib/gdb/iterator.scm: New file.
4925 * guile/lib/gdb/printing.scm: New file.
4926 * guile/lib/gdb/types.scm: New file.
4927 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4928 (VPATH): Add $(GUILE_SRCDIR).
4929 (GUILE_DIR): New variable.
4930 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4931 (all): Add stamp-guile dependency.
4932 (stamp-guile): New rule.
4933 (clean-guile, install-guile, uninstall-guile): New rules.
4934 (install-only): Add install-guile dependency.
4935 (uninstall): Add uninstall-guile dependency.
4936 (clean): Add clean-guile dependency.
4938 2014-02-09 Doug Evans <xdje42@gmail.com>
4940 Revert this patch (which I approved, mea culpa).
4942 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4944 * Makefile.in (all-lib): Remove.
4945 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4947 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4949 Fix Python stack corruption.
4950 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4953 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4955 * Makefile.in (all-lib): Remove.
4956 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4958 2014-02-07 Doug Evans <dje@google.com>
4960 * extension-priv.h (extension_language_script_ops): Add comment.
4961 (extension_language_ops): Add comment.
4962 (active_ext_lang_state): Fix typo in comment.
4964 2014-02-07 Pedro Alves <palves@redhat.com>
4966 PR breakpoints/16292
4967 * infrun.c (handle_signal_stop) <signal arrives while stepping
4968 over a breakpoint>: Switch back to the stepping thread.
4970 2014-02-07 Yao Qi <yao@codesourcery.com>
4972 * target.c (target_xfer_partial): Return zero if LEN is zero.
4974 2014-02-07 Yao Qi <yao@codesourcery.com>
4976 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4977 (ld_so_xfer_auxv): Likewise.
4978 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4979 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4980 * corelow.c (core_xfer_partial): Likewise.
4981 * ctf.c (ctf_xfer_partial): Likewise.
4982 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4983 (darwin_xfer_partial): Likewise.
4984 * exec.c (exec_xfer_partial): Likewise.
4985 * gnu-nat.c (gnu_xfer_partial): Likewise.
4986 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4987 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4988 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4989 * linux-nat.c (linux_xfer_siginfo): Likewise.
4990 (linux_proc_xfer_spu): Likewise.
4991 * procfs.c (procfs_xfer_partial): Likewise.
4992 * record-full.c (record_full_xfer_partial): Likewise.
4993 (record_full_core_xfer_partial): Likewise.
4994 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4995 * remote.c (remote_write_qxfer): Likewise.
4996 (remote_write_qxfer, remote_read_qxfer): Likewise.
4997 (remote_xfer_partial): Likewise.
4998 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4999 (rs6000_xfer_shared_libraries): Likewise.
5000 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5001 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5002 (spu_xfer_partial): Likewise.
5003 * target.c (memory_xfer_partial_1): Likewise.
5004 * tracepoint.c (tfile_xfer_partial): Likewise.
5005 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5006 (windows_xfer_partial): Likewise.
5008 2014-02-07 Yao Qi <yao@codesourcery.com>
5010 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5012 (core_xfer_shared_libraries_aix): Likewise.
5013 * gdbarch.c, gdbarch.h: Regenerated.
5014 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5015 ULONGEST. Change 'len_avail' type to ULONGEST.
5016 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5017 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5019 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5021 2014-02-07 Yao Qi <yao@codesourcery.com>
5023 * corefile.c (memory_error): Get 'exception' from ERR and pass
5024 'exception' to throw_error.
5026 2014-02-06 Doug Evans <xdje42@gmail.com>
5028 * configure.ac (libpython checking): Remove all but python.o from
5029 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5030 * configure: Regenerate.
5032 * Makefile.in (SFILES): Add extension.c.
5033 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5034 (COMMON_OBS): Add extension.o.
5035 * extension.h: New file.
5036 * extension-priv.h: New file.
5037 * extension.c: New file.
5039 * python/python-internal.h: #include "extension.h".
5040 (gdbpy_auto_load_enabled): Declare.
5041 (gdbpy_apply_val_pretty_printer): Declare.
5042 (gdbpy_apply_frame_filter): Declare.
5043 (gdbpy_preserve_values): Declare.
5044 (gdbpy_breakpoint_cond_says_stop): Declare.
5045 (gdbpy_breakpoint_has_cond): Declare.
5046 (void source_python_script_for_objfile): Delete.
5047 * python/python.c: #include "extension-priv.h".
5048 Delete inclusion of "observer.h".
5049 (extension_language_python): Moved here and renamed from
5050 script_language_python in py-auto-load.c.
5051 Redefined to be of type extension_language_defn.
5052 (python_extension_script_ops): New global.
5053 (python_extension_ops): New global.
5054 (struct python_env): New member previous_active.
5055 (restore_python_env): Call restore_active_ext_lang.
5056 (ensure_python_env): Call set_active_ext_lang.
5057 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5059 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5061 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5063 (gdbpy_eval_from_control_command): Renamed from
5064 eval_python_from_control_command, made static. New arg extlang.
5065 (gdbpy_source_script) Renamed from source_python_script, made static.
5067 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5068 result to int. New arg extlang.
5069 (gdbpy_source_objfile_script): Renamed from
5070 source_python_script_for_objfile, made static. New arg extlang.
5071 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5072 static. New args extlang, extlang_printers. Change result type to
5074 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5075 static. New arg extlang. Rename arg printers to extlang_printers
5076 and change type to ext_lang_type_printers *.
5077 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5078 static. Replace argument arg with extlang, extlang_printers.
5079 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5080 (!HAVE_PYTHON, source_python_script): Delete.
5081 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5082 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5083 (!HAVE_PYTHON, start_type_printers): Delete.
5084 (!HAVE_PYTHON, apply_type_printers): Delete.
5085 (!HAVE_PYTHON, free_type_printers): Delete.
5086 (_initialize_python): Delete call to observer_attach_before_prompt.
5087 (finalize_python): Set/restore active extension language.
5088 (gdbpy_finish_initialization) Renamed from
5089 finish_python_initialization, made static. New arg extlang.
5090 (gdbpy_initialized): New function.
5091 * python/python.h: #include "extension.h". Delete #include
5092 "value.h", "mi/mi-cmds.h".
5093 (extension_language_python): Declare.
5094 (GDBPY_AUTO_FILE_NAME): Delete.
5095 (enum py_bt_status): Moved to extension.h and renamed to
5097 (enum frame_filter_flags): Moved to extension.h.
5098 (enum py_frame_args): Moved to extension.h and renamed to
5099 ext_lang_frame_args.
5100 (finish_python_initialization): Delete.
5101 (eval_python_from_control_command): Delete.
5102 (source_python_script): Delete.
5103 (apply_val_pretty_printer): Delete.
5104 (apply_frame_filter): Delete.
5105 (preserve_python_values): Delete.
5106 (gdbpy_script_language_defn): Delete.
5107 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5108 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5110 * auto-load.c: #include "extension.h".
5111 (GDB_AUTO_FILE_NAME): Delete.
5112 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5113 (script_language_gdb): Delete, moved to extension.c and renamed to
5114 extension_language_gdb.
5115 (source_gdb_script_for_objfile): Delete.
5116 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5117 (loaded_script): Change type of language member to
5118 struct extension_language_defn *.
5119 (init_loaded_scripts_info): Initialize
5120 unsupported_script_warning_printed.
5121 (maybe_add_script): Make static. Change type of language arg to
5122 struct extension_language_defn *.
5123 (clear_section_scripts): Reset unsupported_script_warning_printed.
5124 (auto_load_objfile_script_1): Rewrite to use extension language API.
5125 (auto_load_objfile_script): Make public. Remove support-compiled-in
5126 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5127 (source_section_scripts): Rewrite to use extension language API.
5128 (load_auto_scripts_for_objfile): Rewrite to use
5129 auto_load_scripts_for_objfile.
5130 (collect_matching_scripts_data): Change type of language member to
5131 struct extension_language_defn *.
5132 (auto_load_info_scripts): Change type of language arg to
5133 struct extension_language_defn *.
5134 (unsupported_script_warning_print): New function.
5135 (script_not_found_warning_print): Make static.
5136 (_initialize_auto_load): Rewrite construction of scripts-directory
5138 * auto-load.h (struct objfile): Add forward decl.
5139 (struct script_language): Delete.
5140 (struct auto_load_pspace_info): Add forward decl.
5141 (struct extension_language_defn): Add forward decl.
5142 (maybe_add_script): Delete.
5143 (auto_load_objfile_script): Declare.
5144 (script_not_found_warning_print): Delete.
5145 (auto_load_info_scripts): Update prototype.
5146 (auto_load_gdb_scripts_enabled): Declare.
5147 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5148 auto_load_python_scripts_enabled and made public.
5149 (script_language_python): Delete, moved to python.c.
5150 (gdbpy_script_language_defn): Delete.
5151 (info_auto_load_python_scripts): Update to use
5152 extension_language_python.
5154 * breakpoint.c (condition_command): Replace call to
5155 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5156 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5157 with call to breakpoint_ext_lang_cond_says_stop.
5158 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5159 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5160 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5161 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5163 (local_setattro): Print name of extension language with existing
5166 * valprint.c (val_print, value_print): Update to call
5167 apply_ext_lang_val_pretty_printer.
5168 * cp-valprint.c (cp_print_value): Update call to
5169 apply_ext_lang_val_pretty_printer.
5170 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5171 (gdbpy_apply_val_pretty_printer): Renamed from
5172 apply_val_pretty_printer. New arg extlang.
5173 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5175 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5176 extension language API.
5177 * cli/cli-script.c (execute_control_command): Update to call
5178 eval_ext_lang_from_control_command.
5180 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5181 enum ext_lang_bt_status values. Update call to
5182 apply_ext_lang_frame_filter.
5183 (mi_cmd_stack_list_locals): Ditto.
5184 (mi_cmd_stack_list_args): Ditto.
5185 (mi_cmd_stack_list_variables): Ditto.
5186 * mi/mi-main.c: Delete #include "python/python-internal.h".
5187 Add #include "extension.h".
5188 (mi_cmd_list_features): Replace reference to python internal variable
5189 gdb_python_initialized with call to ext_lang_initialized_p.
5191 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5192 Update to use enum ext_lang_frame_args. Update to call
5193 apply_ext_lang_frame_filter.
5194 * python/py-framefilter.c (extract_sym): Update to use enum
5196 (extract_value, py_print_type, py_print_value): Ditto.
5197 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5198 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5199 (py_print_frame): Ditto.
5200 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5201 New arg extlang. Update to use enum ext_lang_bt_status.
5203 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5204 finish_python_initialization. Replace with call to
5205 finish_ext_lang_initialization.
5207 * typeprint.c (do_free_global_table): Update to call
5208 free_ext_lang_type_printers.
5209 (create_global_typedef_table): Update to call
5210 start_ext_lang_type_printers.
5211 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5212 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5213 (type_print_options): Change type of global_printers from "void *"
5214 to "struct ext_lang_type_printers *".
5216 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5217 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5218 (gdbpy_preserve_values): Renamed from preserve_python_values.
5220 (!HAVE_PYTHON, preserve_python_values): Delete.
5222 * utils.c (quit_flag): Delete, moved to extension.c.
5223 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5226 * eval.c: Delete #include "python/python.h".
5227 * main.c: Delete #include "python/python.h".
5229 * defs.h: Update comment.
5231 2014-02-06 Joel Brobecker <brobecker@adacore.com>
5235 2014-02-05 Mark Kettenis <kettenis@gnu.org>
5237 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5240 2014-02-05 Yao Qi <yao@codesourcery.com>
5242 * remote.c (remote_pass_signals): Remove local 'buf' and use
5244 (remote_program_signals): Likewise.
5246 2014-02-05 Yao Qi <yao@codesourcery.com>
5248 * ctf.c: Include "inferior.h" and "gdbthread.h".
5249 (CTF_PID): A new macro.
5250 (ctf_open): Call inferior_appeared and add_thread_silent.
5251 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5252 (ctf_thread_alive): New function.
5253 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5255 2014-02-05 Yao Qi <yao@codesourcery.com>
5259 2013-05-24 Yao Qi <yao@codesourcery.com>
5261 * tracepoint.c (TFILE_PID): Remove.
5262 (tfile_open): Don't add thread and inferior.
5263 (tfile_close): Don't set 'inferior_ptid'. Don't call
5264 exit_inferior_silent.
5265 (tfile_thread_alive): Remove.
5266 (init_tfile_ops): Don't set field 'to_thread_alive' of
5269 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5271 * remote.c (remote_start_remote): Call remote_check_symbols even
5272 if only symbol-file (not file) has been given.
5274 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5276 * gdbarch.sh (skip_entrypoint): New callback.
5277 * gdbarch.c, gdbarch.h: Regenerate.
5278 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5279 * infrun.c (fill_in_stop_func): Likewise.
5280 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5281 (ppc_elfv2_elf_make_msymbol_special): New function.
5282 (ppc_elfv2_skip_entrypoint): Likewise.
5283 (ppc_linux_init_abi): Install them for ELFv2.
5285 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5287 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5288 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5289 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5290 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5291 structures returned in GPRs.
5293 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5295 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5296 offset to the stack parameter list for the ELFv2 ABI.
5298 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5300 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5301 set_gdbarch_convert_from_func_ptr_addr and
5302 set_gdbarch_elf_make_msymbol_special for ELFv1.
5303 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5304 function descriptors on ELFv1.
5305 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5306 set up r12 at function entry.
5308 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5310 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5311 (struct gdbarch_tdep): New member elf_abi.
5313 * rs6000-tdep.c: Include "elf/ppc64.h".
5314 (rs6000_gdbarch_init): Detect ELF ABI version.
5316 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5318 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5319 within a register pair holding a DFP 128-bit value on little-endian.
5320 (ppc64_sysv_abi_return_value_base): Likewise.
5321 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5322 (dfp_pseudo_register_write): Likewise.
5324 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5326 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5327 offset on little-endian when passing _Decimal32.
5328 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5330 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5332 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5333 of the overlapped FP register within the VSX register on little-
5335 (efpr_pseudo_register_write): Likewise.
5337 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5339 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5340 offset on little-endian when passing small structures.
5342 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5344 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5345 (struct ppc64_sysv_argpos): New data structure.
5346 (ppc64_sysv_abi_push_float): Remove.
5347 (ppc64_sysv_abi_push_val): New function.
5348 (ppc64_sysv_abi_push_integer): Likewise.
5349 (ppc64_sysv_abi_push_freg): Likewise.
5350 (ppc64_sysv_abi_push_vreg): Likewise.
5351 (ppc64_sysv_abi_push_param): Likewise.
5352 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5353 (ppc64_sysv_abi_return_value_base): New function.
5354 (ppc64_sysv_abi_return_value): Refactor to use it.
5356 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5358 * NEWS: Document new target powerpc64le-*-linux*.
5360 2014-02-04 Mark Kettenis <kettenis@gnu.org>
5362 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5363 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5365 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5366 register set used in ELF core dumps. Add floating-point register set.
5368 2014-02-03 Kevin Buettner <kevinb@redhat.com>
5370 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5371 dwarf2_to_gdb[] table using symbolic constants. Adjust
5372 penultimate entry from number representing the PC register
5373 to symbolic constant representing the MDR register. Add
5374 constant for the PC register to the end of the table.
5376 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5378 * bsd-kvm.c: Include <sys/param.h>
5380 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5382 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5384 2014-01-31 Joel Brobecker <brobecker@adacore.com>
5386 * ada-lang.h (clear_ada_sym_cache): Delete.
5388 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
5390 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5392 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5394 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5395 the sigreturn register save area only if the syscall is
5398 2014-01-29 Joel Brobecker <brobecker@adacore.com>
5400 * valops.c (value_slice): Minor reformatting.
5402 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
5404 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5406 2014-01-28 Joel Brobecker <brobecker@adacore.com>
5408 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5410 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5411 (ada_ignore_descriptive_types_p): New static global.
5412 (find_parallel_type_by_descriptive_type): Return immediately
5413 if ada_ignore_descriptive_types_p is set.
5414 (_initialize_ada_language): Register new commands "maintenance
5415 set ada", "maintenance show ada", "maintenance set ada
5416 ignore-descriptive-types" and "maintenance show ada
5417 ignore-descriptive-types".
5418 * NEWS: Add entry for new "maint ada set/show
5419 ignore-descriptive-types" commands.
5421 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5423 * record-btrace.c (record_btrace_close): Call btrace_teardown
5426 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5428 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5431 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5433 * ada-typeprint (type_is_full_subrange_of_target_type):
5435 (print_range): Add parameter bounds_prefered_p. If not set,
5436 try printing range types using the name of their base type.
5437 (print_range_type): Add parameter bounds_prefered_p.
5438 Use it in call to print_range.
5439 (print_array_type, ada_print_type): Update calls to print_range
5440 and print_range_type.
5442 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5444 * ada-typeprint.c (print_array_type, print_choices, print_range)
5445 (print_range_bound, print_dynamic_range_bound, print_range_type):
5448 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5450 * ada-typeprint.c (print_range): Add missing empty line
5451 after local declaration.
5453 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5455 * ada-valprint.c (print_optional_low_bound): Get index_type's
5456 target type for as long as it is a TYPE_CODE_RANGE.
5458 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5460 * procfs.c (procfs_make_note_section): Remove assertion and
5463 2014-01-24 Yao Qi <yao@codesourcery.com>
5465 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5466 * corelow.c (get_core_siginfo): Likewise.
5468 2014-01-24 Yao Qi <yao@codesourcery.com>
5470 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5471 ULONGEST. Don't check 'len' is negative.
5472 (remote_write_bytes): Change type of 'len' to ULONGEST.
5474 2014-01-23 Tom Tromey <tromey@redhat.com>
5477 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5478 Handle exception from frame.block.
5479 (FrameVars.fetch_frame_locals): Likewise.
5481 2014-01-23 Tom Tromey <tromey@redhat.com>
5484 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5485 on a NULL pointer. Move "goto error" to correct place.
5487 2014-01-23 Tom Tromey <tromey@redhat.com>
5490 * python/py-framefilter.c (apply_frame_filter): Call
5491 ensure_python_env after computing gdbarch.
5493 2014-01-23 Yao Qi <yao@codesourcery.com>
5495 * target.c (raw_memory_xfer_partial): Change argument type
5496 from void * to gdb_byte *.
5497 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5499 2014-01-22 Doug Evans <dje@google.com>
5501 New gdbserver option --debug-format=timestamp.
5504 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5506 * syscalls/s390x-linux.xml: New file.
5507 * syscalls/s390-linux.xml: New file.
5508 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5509 (XML_SYSCALL_FILENAME_S390X): Likewise.
5510 (op_svc): New enum value for SVC opcode.
5511 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5512 (s390_linux_get_syscall_number): New function.
5513 (s390_gdbarch_init): Register '*get_syscall_number' and the
5514 syscall xml file name.
5515 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5516 "s390-linux.xml" and "s390x-linux.xml".
5517 * NEWS: Announce new feature.
5519 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5521 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5523 2014-01-22 Pedro Alves <palves@redhat.com>
5525 * xtensa-config.c: Include defs.h.
5527 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5529 * common/common-utils.h: Add "ARI:" comment beside __func__
5532 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5534 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5535 documentation a bit.
5537 2014-01-21 Roland McGrath <mcgrathr@google.com>
5539 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5540 * configure: Regenerate.
5541 * aclocal.m4: Regenerate.
5542 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5543 New substituted variables.
5544 (install-strip): New target.
5545 (INSTALL_SCRIPT): New substituted variable.
5546 (FLAGS_TO_PASS): Add it.
5547 (install-only): Use $(INSTALL_SCRIPT) rather than
5548 $(INSTALL_PROGRAM) for gcore.
5550 2014-01-20 Tom Tromey <tromey@redhat.com>
5552 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5555 2014-01-20 Tom Tromey <tromey@redhat.com>
5557 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5558 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5559 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5560 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5561 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5562 (struct cmd_list_element) <flags>: Remove.
5563 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5564 doc_allocated>: New fields.
5565 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5567 * maint.c (maintenance_do_deprecate): Update.
5568 * top.c (execute_command): Update.
5570 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5572 * xtensa-linux-nat.c: Include asm/ptrace.h.
5574 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5576 * Makefile.in (SFILES): Add d-support.c.
5577 (COMMON_OBS): Add d-support.o.
5578 * d-lang.h (d_parse_symbol): Add comment, now defined in
5580 * d-lang.c (parse_call_convention)
5581 (parse_attributes, parse_function_types)
5582 (parse_function_args, parse_type, parse_identifier)
5583 (call_convention_p, d_parse_symbol): Move functions to ...
5584 * d-support.c: ... New file.
5586 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5588 * d-lang.h (d_parse_symbol): Add declaration.
5589 * d-lang.c (extract_identifiers)
5590 (extract_type_info): Remove functions.
5591 (parse_call_convention, parse_attributes)
5592 (parse_function_types, parse_function_args)
5593 (parse_type, parse_identifier, call_convention_p)
5594 (d_parse_symbol): New functions.
5595 (d_demangle): Use d_parse_symbol to demangle D symbols.
5597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5599 * d-lang.h (struct builtin_d_type): New data type.
5600 (builtin_d_type): Add declaration.
5601 * d-lang.c (d_language_arch_info, build_d_types)
5602 (builtin_d_type): New functions.
5603 (enum d_primitive_types): New data type.
5604 (d_language_defn): Change c_language_arch_info to
5605 d_language_arch_info.
5606 (d_type_data): New static variable.
5607 (_initialize_d_language): Initialize d_type_data.
5609 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5611 * d-lang.h (d_main_name): Add declaration.
5612 * d-lang.c (d_main_name): New function.
5613 * symtab.c (find_main_name): Add call to d_main_name.
5615 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5617 * d-lang.c (d_language_defn): Change macro_expansion_c to
5620 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5622 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5624 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5626 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5627 gdb_exception" declaration.
5628 * remote.c (getpkt_or_notif_sane): Likewise.
5630 2014-01-17 Doug Evans <dje@google.com>
5632 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5633 function, contents of dirnames_to_char_ptr_vec_append moved here.
5634 (delim_string_to_char_ptr_vec): New function.
5635 (dirnames_to_char_ptr_vec_append): Rewrite.
5636 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5638 2014-01-17 Doug Evans <dje@google.com>
5640 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5642 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5643 #include "common-utils.h".
5644 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5645 * common/vec.h (VEC_ASSERT_PASS): Update.
5646 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5647 (MACH_CHECK_ERROR): Update.
5649 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5651 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5653 * gdbarch.h: Regenerate.
5655 2014-01-16 Tom Tromey <tromey@redhat.com>
5657 * value.c (struct value) <regnum>: Move earlier.
5659 2014-01-16 Tom Tromey <tromey@redhat.com>
5661 * remote.c (extended_remote_create_inferior): Rename from
5662 extended_remote_create_inferior_1. Add "ops" argument. Remove
5665 2014-01-16 Pedro Alves <palves@redhat.com>
5667 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5668 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5671 2014-01-16 Doug Evans <dje@google.com>
5673 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5675 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5677 * btrace.h (btrace_thread_flag): New.
5678 (struct btrace_thread_info) <flags>: New.
5679 * record-btrace.c (record_btrace_resume_thread)
5680 (record_btrace_find_thread_to_move, btrace_step_no_history)
5681 (btrace_step_stopped, record_btrace_start_replaying)
5682 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5683 (record_btrace_find_resume_thread): New.
5684 (record_btrace_resume, record_btrace_wait): Extend.
5685 (record_btrace_can_execute_reverse): New.
5686 (record_btrace_open): Fail in non-stop mode.
5687 (record_btrace_set_replay): Split into this, ...
5688 (record_btrace_stop_replaying): ... this, ...
5689 (record_btrace_clear_histories): ... and this.
5690 (init_record_btrace_ops): Init to_can_execute_reverse.
5691 * NEWS: Announce it.
5693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5695 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5696 (forward_target_decr_pc_after_break)
5697 (target_decr_pc_after_break): New.
5698 * target.c (forward_target_decr_pc_after_break)
5699 (target_decr_pc_after_break): New.
5700 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5701 instead of gdbarch_decr_pc_after_break.
5702 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5703 instead of gdbarch_decr_pc_after_break.
5704 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5705 instead of gdbarch_decr_pc_after_break.
5706 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5707 instead of gdbarch_decr_pc_after_break.
5708 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5709 instead of gdbarch_decr_pc_after_break.
5710 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5711 instead of gdbarch_decr_pc_after_break.
5713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5715 * btrace.c: Include regcache.h.
5716 (btrace_add_pc): New.
5717 (btrace_enable): Call btrace_add_pc.
5718 (btrace_is_empty): New.
5719 * btrace.h (btrace_is_empty): New.
5720 * record-btrace.c (require_btrace, record_btrace_info): Call
5723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5725 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5726 Support delta reads.
5727 (linux_disable_btrace): Change return type.
5728 * common/linux-btrace.h (linux_read_btrace): Change parameters
5729 and return type to allow error reporting. Update users.
5730 (linux_disable_btrace): Change return type. Update users.
5731 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5733 (btrace_error): New.
5734 (btrace_block) <begin>: Comment on BEGIN == 0.
5735 * btrace.c (btrace_compute_ftrace): Start from the end of
5737 (btrace_stitch_trace, btrace_clear_history): New.
5738 (btrace_fetch): Read delta trace, return if replaying.
5739 (btrace_clear): Move clear history code to btrace_clear_history.
5740 (parse_xml_btrace): Throw an error if parsing failed.
5741 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5742 and return type to allow error reporting.
5743 (target_read_btrace): Change parameters and return type to allow
5745 * target.c (target_read_btrace): Update.
5746 * remote.c (remote_read_btrace): Support delta reads. Pass
5748 * NEWS: Announce it.
5750 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5752 * record.h (record_btrace_frame_unwind)
5753 (record_btrace_tailcall_frame_unwind): New declarations.
5754 * dwarf2-frame: Include record.h
5755 (dwarf2_frame_cfa): Throw an error for btrace frames.
5756 * record-btrace.c: Include hashtab.h.
5757 (btrace_get_bfun_name): New.
5758 (btrace_call_history): Call btrace_get_bfun_name.
5759 (struct btrace_frame_cache): New.
5761 (bfcache_hash, bfcache_eq, bfcache_new): New.
5762 (btrace_get_frame_function): New.
5763 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5764 (record_btrace_frame_this_id): Compute own id.
5765 (record_btrace_frame_prev_register): Provide PC, throw_error
5766 for all other registers.
5767 (record_btrace_frame_sniffer): Detect btrace frames.
5768 (record_btrace_tailcall_frame_sniffer): New.
5769 (record_btrace_frame_dealloc_cache): New.
5770 (record_btrace_frame_unwind): Add new functions.
5771 (record_btrace_tailcall_frame_unwind): New.
5772 (_initialize_record_btrace): Allocate cache.
5773 * btrace.c (btrace_clear): Call reinit_frame_cache.
5774 * NEWS: Announce it.
5776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5778 * record-btrace.c (record_btrace_set_replay)
5779 (record_btrace_goto_begin, record_btrace_goto_end)
5780 (record_btrace_goto): New.
5781 (init_record_btrace_ops): Initialize them.
5782 * NEWS: Announce it.
5784 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5786 * record-btrace.c (record_btrace_find_new_threads)
5787 (record_btrace_thread_alive): New.
5788 (init_record_btrace_ops): Initialize to_find_new_threads and
5791 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5793 * record-btrace.c (record_btrace_resume): New.
5794 (record_btrace_wait): New.
5795 (init_record_btrace_ops): Initialize to_wait and to_resume.
5797 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5799 * record-btrace.c (record_btrace_xfer_partial)
5800 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5801 (record_btrace_allow_memory_access): New.
5802 (init_record_btrace_ops): Initialize new methods.
5803 * target.c (raw_memory_xfer_partial): Bail out if target reports
5804 that this memory is not available.
5806 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5808 * target.h (target_ops) <to_insert_breakpoint>
5809 <to_remove_breakpoint>: Add target_ops parameter.
5810 (forward_target_insert_breakpoint): New.
5811 (forward_target_remove_breakpoint): New.
5812 (memory_remove_breakpoint, memory_insert_breakpoint):
5813 Add target_ops parameter.
5814 * target.c (target_insert_breakpoint): Split into this and ...
5815 (forward_target_insert_breakpoint): ... this.
5816 (target_remove_breakpoint): Split into this and ...
5817 (forward_target_remove_breakpoint): ... this.
5818 (debug_to_insert_breakpoint): Add target_ops parameter.
5819 Call forward_target_insert_breakpoint.
5820 (debug_to_remove_breakpoint): Add target_ops parameter.
5821 Call forward_target_remove_breakpoint.
5822 (update_current_target): Do not inherit or default to_insert_breakpoint
5823 and to_remove_breakpoint.
5824 * corelow.c (ignore): Add target_ops parameter.
5825 * exec.c (ignore): Add target_ops parameter.
5826 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5827 Add target_ops parameter.
5828 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5829 Add target_ops parameter.
5830 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5831 Add target_ops parameter.
5832 * record-full.c (record_full_beneath_to_insert_breakpoint)
5833 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5834 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5835 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5836 (record_full_core_remove_breakpoint): Add target_ops parameter.
5838 (record_full_beneath_to_insert_breakpoint_ops)
5839 (record_full_beneath_to_remove_breakpoint_ops)
5840 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5841 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5842 tmp_to_remove_breakpoint_ops,
5843 record_full_beneath_to_insert_breakpoint_ops, and
5844 record_full_beneath_to_remove_breakpoint_ops.
5845 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5846 (m32r_remove_breakpoint): Add target_ops parameter.
5847 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5848 Add target_ops parameter.
5849 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5850 Add target_ops parameter.
5852 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5853 Markus Metzger <markus.t.metzger@intel.com>
5855 * record-btrace.c: Include frame-unwind.h.
5856 (record_btrace_frame_unwind_stop_reason)
5857 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5858 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5860 (init_record_btrace_ops): Install it.
5862 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5864 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5867 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5869 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5872 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5874 * frame-unwind.c: Include target.h.
5875 (frame_unwind_try_unwinder): New function with code from ...
5876 (frame_unwind_find_by_frame): ... here. New variable
5877 unwinder_from_target, call also target_get_unwinder)
5878 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5879 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5880 * target.h (struct target_ops): New fields to_get_unwinder and
5881 to_get_tailcall_unwinder.
5882 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5884 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5886 * record-btrace.c (record_btrace_fetch_registers)
5887 (record_btrace_store_registers)
5888 (record_btrace_to_prepare_to_store): New.
5889 (init_record_btrace_ops): Add the above.
5891 2014-01-16 Tom Tromey <tromey@redhat.com>
5893 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5894 * target.h (struct target_ops) <to_prepare_to_store>: Add
5896 (target_prepare_to_store): Add argument.
5897 * target.c (debug_to_prepare_to_store): Add argument.
5898 (update_current_target): Update.
5899 * remote.c (remote_prepare_to_store): Add 'self' argument.
5900 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5901 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5902 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5903 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5905 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5906 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5907 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5908 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5909 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5911 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5913 * btrace.h (replay) <replay>: New.
5914 (btrace_is_replaying): New.
5915 * btrace.c (btrace_clear): Free replay iterator.
5916 (btrace_is_replaying): New.
5917 * record-btrace.c (record_btrace_is_replaying): New.
5918 (record_btrace_info): Print insn number if replaying.
5919 (record_btrace_insn_history): Start at replay position.
5920 (record_btrace_call_history): Start at replay position.
5921 (init_record_btrace_ops): Init to_record_is_replaying.
5923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5925 * record-btrace.c (record_btrace_insn_history_range): Include
5927 (record_btrace_insn_history_from): Adjust range.
5928 (record_btrace_call_history_range): Include
5930 (record_btrace_call_history_from): Adjust range.
5931 * NEWS: Announce changes.
5933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5935 * record.h (enum record_print_flag)
5936 <record_print_indent_calls>: New.
5937 * record.c (get_call_history_modifiers): Recognize /c modifier.
5938 (_initialize_record): Document /c modifier.
5939 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5940 Reorder fields. Optionally indent the function name. Update
5942 * NEWS: Announce changes.
5944 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5946 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5948 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5950 * btrace.c (ftrace_new_function): Start counting at one.
5951 * record-btrace.c (record_btrace_info): Adjust number of calls
5953 * NEWS: Announce it.
5955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5957 * record-btrace.c (btrace_call_history_insn_range): Print
5958 insn range as [begin, end].
5960 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5962 * btrace.h (struct btrace_func_link): New.
5963 (enum btrace_function_flag): New.
5964 (struct btrace_inst): Rename to ...
5965 (struct btrace_insn): ...this. Update all users.
5966 (struct btrace_func) <ibegin, iend>: Remove.
5967 (struct btrace_func_link): New.
5968 (struct btrace_func): Rename to ...
5969 (struct btrace_function): ...this. Update all users.
5970 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5971 (number, level, flags>: New.
5972 (struct btrace_insn_iterator): Rename to ...
5973 (struct btrace_insn_history): ...this.
5975 (struct btrace_insn_iterator, btrace_call_iterator): New.
5976 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5977 (struct btrace_target_info) <begin, end, level>
5978 <insn_history, call_history>: New.
5979 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5980 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5981 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5982 (btrace_call_number, btrace_call_begin, btrace_call_end)
5983 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5984 (btrace_find_function_by_number, btrace_set_insn_history)
5985 (btrace_set_call_history): New.
5986 * btrace.c (btrace_init_insn_iterator)
5987 (btrace_init_func_iterator, compute_itrace): Remove.
5988 (ftrace_print_function_name, ftrace_print_filename)
5989 (ftrace_skip_file): Change
5991 (ftrace_init_func): Remove.
5992 (ftrace_debug): Use new btrace_function fields.
5993 (ftrace_function_switched): Also consider gaining and
5994 losing symbol information).
5995 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5996 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5997 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5999 (ftrace_new_function): Move. Remove debug print.
6000 (ftrace_update_lines, ftrace_update_insns): New.
6001 (ftrace_update_function): Check for call, ret, and jump.
6002 (compute_ftrace): Renamed to ...
6003 (btrace_compute_ftrace): ...this. Rewritten to compute call
6005 (btrace_fetch, btrace_clear): Updated.
6006 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6007 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6008 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6009 (btrace_call_number, btrace_call_begin, btrace_call_end)
6010 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6011 (btrace_find_function_by_number, btrace_set_insn_history)
6012 (btrace_set_call_history): New.
6013 * record-btrace.c (require_btrace): Use new btrace thread
6015 (record_btrace_info, btrace_insn_history)
6016 (record_btrace_insn_history, record_btrace_insn_history_range):
6017 Use new btrace thread info fields and new iterator.
6018 (btrace_func_history_src_line): Rename to ...
6019 (btrace_call_history_src_line): ...this. Use new btrace
6021 (btrace_func_history): Rename to ...
6022 (btrace_call_history): ...this. Use new btrace thread info
6023 fields and new iterator.
6024 (record_btrace_call_history, record_btrace_call_history_range):
6025 Use new btrace thread info fields and new iterator.
6027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6029 * frame.h (frame_id_build_unavailable_stack_special): New.
6030 * frame.c (frame_id_build_unavailable_stack_special): New.
6032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6034 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6035 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6036 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6038 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6039 (i386_insn_is_jump, i386_jmp_p): New.
6040 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6041 insn_is_jump to gdbarch.
6042 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6043 * gdbarch.h: Regenerated.
6044 * gdbarch.c: Regenerated.
6045 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6046 (default_insn_is_jump): New.
6047 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6048 (default_insn_is_jump): New.
6050 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6052 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6054 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6055 (btrace_read_type) <btrace_read_new>: Change to ...
6056 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6060 * common/linux-btrace.c (linux_read_btrace): Free trace from
6063 2014-01-15 Doug Evans <dje@google.com>
6065 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6068 2014-01-15 Tom Tromey <tromey@redhat.com>
6070 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6071 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6072 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6073 (set_objfile_main_name): New function.
6074 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6075 language_of_main>: New fields.
6076 (set_objfile_main_name): Declare.
6077 * symtab.c (find_main_name): Loop over objfiles to find the main
6079 (set_main_name): Now static.
6080 (get_main_info): Add comment.
6081 * symtab.h (set_main_name): Don't declare.
6083 2014-01-15 Tom Tromey <tromey@redhat.com>
6085 * symtab.c (main_progspace_key): New global.
6086 (struct main_info): New.
6087 (name_of_main, language_of_main): Remove.
6088 (get_main_info, main_info_cleanup): New function.
6089 (set_main_name, main_name, main_language): Use get_main_info.
6090 (_initialize_symtab): Initialize main_progspace_key.
6092 2014-01-15 Tom Tromey <tromey@redhat.com>
6094 * dbxread.c (process_one_symbol): Update.
6095 * dwarf2read.c (read_partial_die): Update.
6096 * symfile.c (set_initial_language): Call main_language.
6097 * symtab.c (language_of_main): Now static.
6098 (set_main_name): Add 'lang' parameter.
6099 (find_main_name): Update.
6100 (main_language): New function.
6101 (symtab_observer_executable_changed): Update.
6102 * symtab.h (set_main_name): Update.
6103 (language_of_main): Remove.
6104 (main_language): Declare.
6106 2014-01-15 Tom Tromey <tromey@redhat.com>
6108 * symfile.c (init_entry_point_info): Use new "initialized" field.
6110 * objfiles.h (struct entry_point) <initialized>: New field.
6111 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6112 (struct objfile) <ei>: ...here. Remove.
6113 * objfiles.c (entry_point_address_query): Update.
6115 2014-01-15 Tom Tromey <tromey@redhat.com>
6117 * objfiles.c (entry_point_address_query): Relocate entry point
6119 (objfile_relocate1): Do not relocate entry point address.
6120 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6121 <the_bfd_section_index>: New field.
6122 * symfile.c (init_entry_point_info): Find the entry point's
6125 2014-01-15 Tom Tromey <tromey@redhat.com>
6127 * solib-frv.c (enable_break): Use entry_point_address_query.
6129 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6131 * NEWS: Add note on improved process record-replay on
6132 arm*-linux* targets.
6134 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6136 * arm-tdep.c (enum arm_record_result): New enum.
6137 (arm_record_unsupported_insn): New function.
6138 (arm_record_coproc_data_proc): Removed.
6139 (thumb2_record_ld_st_multiple): New function.
6140 (thumb2_record_ld_st_dual_ex_tbb): New function.
6141 (thumb2_record_data_proc_sreg_mimm): New function.
6142 (thumb2_record_ps_dest_generic): New function.
6143 (thumb2_record_branch_misc_cntrl): New function.
6144 (thumb2_record_str_single_data): New function.
6145 (thumb2_record_ld_mem_hints): New function.
6146 (thumb2_record_ld_word): New function.
6147 (thumb2_record_lmul_lmla_div): New function.
6148 (thumb2_record_decode_insn_handler): New function.
6149 (decode_insn): Add thumb32 instruction handlers.
6151 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6153 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6154 (struct arm_linux_record_tdep): Declare.
6155 (arm_canonicalize_syscall): New function.
6156 (arm_all_but_pc_registers_record): New function.
6157 (arm_linux_syscall_record): New function.
6158 (arm_linux_init_abi): Add syscall recording constructs.
6159 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6160 decoding. (arm_record_coproc_data_proc): Update arm syscall
6162 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6163 <arm_syscall_record>: New field.
6164 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6167 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6169 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6170 register for push instruction recording.
6172 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6174 * arm-tdep.c (thumb_record_misc): Update to correct logical
6175 error while recording ldm, ldmia and pop instructions.
6177 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6179 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6181 2014-01-15 Pedro Alves <palves@redhat.com>
6183 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6184 (go32_resume, go32_fetch_registers, store_register)
6185 (go32_store_registers, go32_prepare_to_store)
6186 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6187 (go32_create_inferior, go32_can_run, go32_terminal_init)
6188 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6191 2014-01-15 Tom Tromey <tromey@redhat.com>
6193 * target.h (async_callback_ftype): New typedef.
6194 (struct target_ops) <to_async>: Use it.
6196 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6198 * python/py-value.c (get_field_type): Remove unnecessary curly
6199 braces for single-statement if block.
6201 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6203 * python/py-type.c (convert_field): Add missing empty line
6206 2014-01-14 Doug Evans <dje@google.com>
6208 * symfile.h (expand_symtabs_matching): Renamed from
6209 expand_partial_symbol_names. Update prototype.
6210 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6211 * symfile.c (expand_symtabs_matching): Renamed from
6212 expand_partial_symbol_names. New args file_matcher, kind.
6213 Rename arg fun to symbol_matcher.
6214 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6215 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6216 ada_expand_partial_symbol_name.
6217 (ada_make_symbol_completion_list): Update to call
6218 expand_symtabs_matching.
6219 (ada_add_global_exceptions): Call expand_symtabs_matching.
6220 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6221 call map_symbol_filenames.
6222 * symtab.c (sources_info): Update to call map_symbol_filenames.
6223 (search_symbols): Call expand_symtabs_matching.
6224 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6225 (default_make_symbol_completion_list_break_on): Update to call
6226 expand_symtabs_matching.
6227 (make_source_files_completion_list): Update to call
6228 map_symbol_filenames.
6230 2014-01-14 Doug Evans <dje@google.com>
6232 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6233 (expand_symtabs_symbol_matcher_ftype): New typedef.
6234 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6235 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6236 * symfile.c (expand_partial_symbol_names): Update to use
6237 expand_symtabs_symbol_matcher_ftype.
6238 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6239 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6240 Arg name_matcher renamed to symbol_matcher.
6241 * psymtab.c (recursively_search_psymtabs): Update to use
6242 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6244 (expand_symtabs_matching_via_partial): Update to use
6245 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6246 Arg name_matcher renamed to symbol_matcher.
6248 2014-01-14 Doug Evans <dje@google.com>
6250 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6251 (map_partial_symbol_filenames): Ditto.
6252 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6253 (map_partial_symbol_filenames): Ditto.
6254 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6255 (map_partial_symbol_filenames): Ditto.
6256 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6257 (map_partial_symbol_filenames): Ditto.
6258 * symtab.c: Delete #include "psymtab.h".
6260 2014-01-14 Pedro Alves <palves@redhat.com>
6261 Tom Tromey <tromey@redhat.com>
6263 * infrun.c (use_displaced_stepping): Use find_record_target
6264 instead of RECORD_IS_USED.
6265 (adjust_pc_after_break): Use record_full_is_used instead of
6267 * record-btrace.c (record_btrace_open): Call record_preopen
6268 instead of checking RECORD_IS_USED.
6269 * record-full.c (record_full_shortname)
6270 (record_full_core_shortname): New globals.
6271 (record_full_is_used): New function.
6272 (find_full_open): Call record_preopen instead of checking
6274 (init_record_full_ops): Set the target's shortname to
6275 record_full_shortname.
6276 (init_record_full_core_ops): Set the target's shortname to
6277 record_full_core_shortname.
6278 * record-full.h (record_full_is_used): Declare.
6279 * record.c (find_record_target): Make extern.
6280 (record_preopen): New function.
6281 * record.h (RECORD_IS_USED): Delete macro.
6282 (find_record_target, record_preopen): Declare functions.
6284 2014-01-14 Yao Qi <yao@codesourcery.com>
6286 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6287 'len''s type to ULONGEST.
6288 (core_xfer_shared_libraries_aix): Likewise.
6289 * gdbarch.c, gdbarch.h: Regenerated.
6290 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6291 Change type of 'len' to ULONGEST.
6292 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6293 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6295 2014-01-14 Yao Qi <yao@codesourcery.com>
6297 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6298 type of 'len' to ULONGEST.
6299 (linux_xfer_osdata_processgroups): Likewise.
6300 (linux_xfer_osdata_threads): Likewise.
6301 (linux_xfer_osdata_fds): Likewise.
6302 (linux_xfer_osdata_isockets): Likewise.
6303 (linux_xfer_osdata_shm): Likewise.
6304 (linux_xfer_osdata_sem): Likewise.
6305 (linux_xfer_osdata_msg): Likewise.
6306 (linux_common_xfer_osdata): Likewise.
6307 (struct osdata_type) <getter>: Likewise.
6308 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6311 2014-01-14 Yao Qi <yao@codesourcery.com>
6313 * target.h (target_xfer_partial_ftype): Update.
6314 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6316 * aix-thread.c (aix_thread_xfer_partial): Change type of
6317 argument 'len' to ULONGEST.
6318 * auxv.c (procfs_xfer_auxv): Likewise.
6319 (ld_so_xfer_auxv): Likewise.
6320 (memory_xfer_auxv): Likewise.
6321 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6322 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6323 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6324 * corelow.c (core_xfer_partial): Likewise.
6325 * ctf.c (ctf_xfer_partial): Likewise.
6326 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6328 (darwin_read_dyld_info): Likewise.
6329 (darwin_xfer_partial): Likewise.
6330 * exec.c (section_table_xfer_memory_partial): Likewise.
6331 (exec_xfer_partial): Likewise.
6332 * exec.h (section_table_xfer_memory_partial): Update
6334 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6335 instead of plongest.
6336 (gnu_xfer_partial): Likewise.
6337 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6338 (ia64_hpux_xfer_solib_got): Likewise.
6339 (ia64_hpux_xfer_partial): Likewise.
6340 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6341 * inf-ptrace.c (inf_ptrace_xfer_partial):
6342 * inf-ttrace.c (inf_ttrace_xfer_partial):
6343 * linux-nat.c (linux_xfer_siginfo): Likewise.
6344 (linux_nat_xfer_partial): Likewise.
6345 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6346 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6347 * monitor.c (monitor_xfer_memory): Likewise.
6348 (monitor_xfer_partial): Likewise.
6349 * procfs.c (procfs_xfer_partial): Likewise.
6350 * record-full.c (record_full_xfer_partial): Likewise.
6351 (record_full_core_xfer_partial): Likewise.
6352 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6353 instead of plongest.
6354 (gdbsim_xfer_partial): Likewise.
6355 * remote.c (remote_xfer_partial): Likewise.
6356 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6357 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6359 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6360 (rs6000_xfer_shared_libraries): Likewise.
6361 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6362 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6363 (sparc_xfer_partial): Likewise.
6364 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6365 (spu_xfer_partial): Likewise.
6366 * spu-multiarch.c (spu_xfer_partial): Likewise.
6367 * target.c (target_read_live_memory): Likewise.
6368 (memory_xfer_live_readonly_partial): Likewise.
6369 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6370 (target_xfer_partial, default_xfer_partial): Likewise.
6371 (current_xfer_partial): Likewise.
6372 * tracepoint.c (tfile_xfer_partial): Likewise.
6373 * windows-nat.c (windows_xfer_memory): Likewise. Call
6374 pulongest instead of plongest.
6375 (windows_xfer_partial): Likewise.
6376 (windows_xfer_shared_libraries): Likewise.
6378 2014-01-14 Yao Qi <yao@codesourcery.com>
6380 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6381 target_xfer_partial_ftype.
6383 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6387 * valops.c (value_struct_elt_bitpos): New function
6388 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6389 object to 'None' if the field name is an empty string ("").
6390 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6391 attribute to look for a field when 'name' is 'None'.
6392 (get_field_type): New function
6394 2014-01-13 Doug Evans <dje@google.com>
6397 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6398 (try_open_dwop_file): Ditto.
6399 * gdb_bfd.c: #include "vec.h".
6400 (bfdp): New typedef.
6401 (struct gdb_bfd_data): New member included_bfds.
6402 (gdb_bfd_unref): Unref all included bfds.
6403 (gdb_bfd_record_inclusion): New function.
6404 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6406 2014-01-13 Tom Tromey <tromey@redhat.com>
6408 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6410 2014-01-13 Tom Tromey <tromey@redhat.com>
6412 * defs.h (use_windows): Remove.
6413 * gdb.c (main): Update.
6414 * main.c (captured_main, gdb_main): Update.
6415 * main.h (struct captured_main_args) <use_windows>: Remove.
6416 * top.c (use_windows): Remove.
6418 2014-01-13 Tom Tromey <tromey@redhat.com>
6420 * defs.h (deprecated_flush_hook): Remove.
6422 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6425 * linux-thread-db.c (try_thread_db_load): Add parameter
6426 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6427 (try_thread_db_load_from_pdir_1): Move it there from here.
6428 (try_thread_db_load_from_sdir): Update caller.
6429 (try_thread_db_load_from_dir): Move it there from here.
6431 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6433 * regformats/regdat.sh: Always rewrite the register file.
6435 2014-01-13 Pedro Alves <palves@redhat.com>
6437 * Makefile.in (CHECK_HEADERS): New variable.
6438 (check-headers:): New rule.
6440 2014-01-13 Tom Tromey <tromey@redhat.com>
6442 * cli/cli-setshow.c (do_set_command): Update.
6443 * defs.h (deprecated_set_hook): Remove.
6444 * top.c (deprecated_set_hook): Remove.
6446 2014-01-13 Pedro Alves <palves@redhat.com>
6448 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6449 the tracepoint if the PC is a pseudo-register.
6451 2014-01-13 Tom Tromey <tromey@redhat.com>
6453 * defs.h (XCALLOC): Remove.
6454 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6455 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6456 * dwarf2loc.c (allocate_piece_closure): Likewise.
6457 * elfread.c (elf_symfile_segments): Likewise.
6458 (elf_symfile_segments): Likewise.
6459 * gdbtypes.c (copy_type_recursive): Likewise.
6460 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6461 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6462 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6464 * mt-tdep.c (mt_gdbarch_init): Likewise.
6465 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6467 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6468 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6469 * registry.c (registry_alloc_data): Likewise.
6470 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6471 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6472 * serial.c (serial_fdopen_ops): Likewise.
6473 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6475 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6476 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6479 2014-01-13 Tom Tromey <tromey@redhat.com>
6481 * defs.h (XMALLOC): Remove.
6482 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6483 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6484 * cli-out.c (struct ui_out *): Likewise.
6485 * cli/cli-dump.c (add_dump_command): Likewise.
6486 (add_dump_command): Likewise.
6487 * complaints.c (get_complaints): Likewise.
6488 (find_complaint): Likewise.
6489 * dwarf2-frame.c (execute_cfa_program): Likewise.
6490 * dwarf2read.c (abbrev_table_read_table): Likewise.
6491 * gdbarch.sh: Likewise.
6492 * gdbarch.c: Rebuild.
6493 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6494 * interps.c (interp_new): Likewise.
6495 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6496 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6497 * mi/mi-console.c (mi_console_file_new): Likewise.
6498 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6499 * mi/mi-out.c (mi_out_new): Likewise.
6500 * mi/mi-parse.c (mi_parse): Likewise.
6501 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6502 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6503 * observer.c (xalloc_observer_list_node): Likewise.
6504 * regcache.c (regcache_xmalloc_1): Likewise.
6505 * reggroups.c (reggroup_new): Likewise.
6506 (_initialize_reggroup): Likewise.
6507 * registry.c (register_data_with_cleanup): Likewise.
6508 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6509 * ser-base.c (serial_ttystate): Likewise.
6510 * ser-mingw.c (make_pipe_state): Likewise.
6511 * ser-pipe.c (pipe_open): Likewise.
6512 * serial.c (serial_open): Likewise.
6513 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6514 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6515 (tui_alloc_win_info): Likewise.
6516 (tui_add_content_elements): Likewise.
6517 * tui/tui-file.c (tui_file_new): Likewise.
6518 * tui/tui-out.c (tui_out_new): Likewise.
6519 * ui-file.c (mem_file_new): Likewise.
6520 * ui-out.c (push_level): Likewise.
6521 (make_cleanup_ui_out_end): Likewise.
6522 (append_header_to_list): Likewise.
6523 (ui_out_new): Likewise.
6524 * user-regs.c (user_reg_add_builtin): Likewise.
6526 2014-01-13 Tom Tromey <tromey@redhat.com>
6528 * defs.h (XZALLOC): Remove.
6529 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6530 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6531 (get_ada_tasks_inferior_data): Likewise.
6532 * auto-load.c (get_auto_load_pspace_data): Likewise.
6533 * auxv.c (get_auxv_inferior_data): Likewise.
6534 * bfd-target.c (target_bfd_reopen): Likewise.
6535 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6536 (deprecated_insert_raw_breakpoint): Likewise.
6537 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6538 * corelow.c (core_open): Likewise.
6539 * darwin-nat.c (darwin_check_new_threads): Likewise.
6540 (darwin_attach_pid): Likewise.
6541 * dummy-frame.c (dummy_frame_push): Likewise.
6542 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6543 * dwarf2loc.c (allocate_piece_closure): Likewise.
6544 * elfread.c (elf_symfile_segments): Likewise.
6545 * eval.c (ptrmath_type_p): Likewise.
6546 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6547 * gdbtypes.c (alloc_type_arch): Likewise.
6548 (alloc_type_instance): Likewise.
6549 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6550 * inf-child.c (inf_child_can_use_agent): Likewise.
6551 * inflow.c (get_inflow_inferior_data): Likewise.
6552 * infrun.c (save_infcall_suspend_state): Likewise.
6553 * jit.c (jit_reader_load): Likewise.
6554 (get_jit_objfile_data): Likewise.
6555 (get_jit_program_space_data): Likewise.
6556 (jit_object_open_impl): Likewise.
6557 (jit_symtab_open_impl): Likewise.
6558 (jit_block_open_impl): Likewise.
6559 (jit_frame_sniffer): Likewise.
6560 * linux-fork.c (add_fork): Likewise.
6561 * maint.c (make_command_stats_cleanup): Likewise.
6562 * objfiles.c (get_objfile_pspace_data): Likewise.
6563 * opencl-lang.c (struct lval_closure): Likewise.
6564 * osdata.c (osdata_start_osdata): Likewise.
6565 * progspace.c (new_address_space): Likewise.
6566 (add_program_space): Likewise.
6567 * remote-sim.c (get_sim_inferior_data): Likewise.
6568 * sh-tdep.c (sh_gdbarch_init): Likewise.
6569 * skip.c (Ignore): Likewise.
6570 (skip_delete_command): Likewise.
6571 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6572 (library_list_start_library): Likewise.
6573 (solib_aix_current_sos): Likewise.
6574 * solib-darwin.c (get_darwin_info): Likewise.
6575 (darwin_current_sos): Likewise.
6576 * solib-dsbt.c (get_dsbt_info): Likewise.
6577 * solib-ia64-hpux.c (new_so_list): Likewise.
6578 (ia64_hpux_get_solib_linkage_addr): Likewise.
6579 * solib-spu.c (append_ocl_sos): Likewise.
6580 (spu_current_sos): Likewise.
6581 * solib-svr4.c (get_svr4_info): Likewise.
6582 (svr4_keep_data_in_core): Likewise.
6583 (library_list_start_library): Likewise.
6584 (svr4_default_sos): Likewise.
6585 (svr4_read_so_list): Likewise.
6586 * solib-target.c (library_list_start_library): Likewise.
6587 (solib_target_current_sos): Likewise.
6588 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6589 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6590 * symfile.c (default_symfile_segments): Likewise.
6591 * target-descriptions.c (tdesc_data_init): Likewise.
6592 (tdesc_create_reg): Likewise.
6593 (struct tdesc_type *): Likewise.
6594 (tdesc_create_vector): Likewise.
6595 (tdesc_set_struct_size): Likewise.
6596 (struct tdesc_type *): Likewise.
6597 (tdesc_free_feature): Likewise.
6598 (tdesc_create_feature): Likewise.
6599 * windows-nat.c (windows_add_thread): Likewise.
6600 (windows_make_so): Likewise.
6601 * xml-support.c (gdb_xml_body_text): Likewise.
6602 (gdb_xml_create_parser_and_cleanup): Likewise.
6603 (xml_process_xincludes): Likewise.
6604 * xml-syscall.c (allocate_syscalls_info): Likewise.
6605 (syscall_create_syscall_desc): Likewise.
6607 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6609 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6610 function, with code from i386_stap_parse_special_token.
6611 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6612 (i386_stap_parse_special_token): Move code to the two functions
6615 2014-01-09 Pedro Alves <palves@redhat.com>
6616 Hui Zhu <hui@codesourcery.com>
6619 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6620 bp_err_string. Don't mark the location shlib_disabled if the
6621 error thrown wasn't a generic or memory error. Catch errors
6622 thrown while inserting breakpoints in overlayed code. Output
6623 error message of software breakpoints.
6624 * remote.c (remote_insert_breakpoint): If this breakpoint has
6625 target-side commands but this stub doesn't support Z0 packets,
6626 throw NOT_SUPPORTED_ERROR error.
6627 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6628 * target.h (target_insert_breakpoint): Extend comment.
6629 (target_insert_hw_breakpoint): Add comment.
6631 2014-01-08 Pedro Alves <palves@redhat.com>
6633 * remote.c (remote_add_thread): Add threads silently if starting
6635 (remote_notice_new_inferior): If in all-stop, and starting up,
6636 don't call notice_new_inferior.
6637 (get_current_thread): New function, factored out from ...
6638 (add_current_inferior_and_thread): ... this. Adjust.
6639 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6640 found any thread, then select the remote's current thread as GDB's
6643 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6645 * NEWS: Create a new section for the next release branch.
6646 Rename the section of the current branch, now that it has
6649 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6651 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6652 * version.in: Bump version to 7.7.50.DATE-cvs.
6654 2014-01-08 Yao Qi <yao@codesourcery.com>
6656 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6657 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6658 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6660 2014-01-08 Yao Qi <yao@codesourcery.com>
6662 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6663 return value of bfd_get_filename to symbol_file_add_from_bfd.
6665 2014-01-08 Pierre Muller <muller@sourceware.org>
6668 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6669 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6670 to prim_record_mininal_symbol_and_info.
6671 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6672 in call to prim_record_minimal_symbol_and_info.
6673 (read_pe_exported_syms): Set index field of section_data.
6675 2014-01-07 Andrew Pinski <apinski@cavium.com>
6677 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6678 * features/aarch64.c: Regenerate.
6680 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6682 * target.c (return_null): Define.
6683 (update_current_target): Use it instead of return_zero for
6684 functions that return a pointer.
6686 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6688 * source.c (add_path): Fix check for duplicated paths in the previously
6691 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6693 * ada-lang.c: Remove duplicated include statements.
6694 * alphabsd-nat.c: Ditto.
6695 * amd64-darwin-tdep.c: Ditto.
6696 * amd64fbsd-nat.c: Ditto.
6697 * auto-load.c: Ditto.
6699 * breakpoint.c: Ditto.
6701 * fork-child.c: Ditto.
6702 * gdb_usleep.c: Ditto.
6703 * i386-darwin-tdep.c: Ditto.
6704 * i386fbsd-nat.c: Ditto.
6706 * inferior.c: Ditto.
6708 * linux-nat.c: Ditto.
6709 * linux-tdep.c: Ditto.
6710 * m68kbsd-nat.c: Ditto.
6711 * m68klinux-nat.c: Ditto.
6712 * microblaze-tdep.c: Ditto.
6713 * mips-linux-tdep.c: Ditto.
6714 * mn10300-tdep.c: Ditto.
6715 * nto-tdep.c: Ditto.
6716 * opencl-lang.c: Ditto.
6718 * printcmd.c: Ditto.
6719 * regcache.c: Ditto.
6720 * remote-m32r-sdi.c: Ditto.
6724 * tilegx-linux-nat.c: Ditto.
6725 * tilegx-tdep.c: Ditto.
6726 * tracepoint.c: Ditto.
6728 * vaxbsd-nat.c: Ditto.
6729 * windows-nat.c: Ditto.
6730 * xtensa-tdep.c: Ditto.
6732 2014-01-07 Yao Qi <yao@codesourcery.com>
6734 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6736 2014-01-07 Yao Qi <yao@codesourcery.com>
6737 Joel Brobecker <brobecker@adacore.com>
6739 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6740 (pdc_write_regs): Likewise.
6741 (fetch_regs_kernel_thread): Likewise.
6742 (store_regs_kernel_thread): Likewise.
6744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6746 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6747 tagged type objects to their actual type.
6749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6751 * ada-valprint.c (print_field_values): Add "language" parameter.
6752 Update calls to print_field_values and print_variant_part.
6753 Pass new parameter "language" in call to val_print instead
6754 of "current_language". Replace call to ada_val_print by call
6756 (print_variant_part): Add "language" parameter.
6757 (ada_val_print_struct_union): Update call to print_field_values.
6759 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6761 * ada-valprint.c (ui_memcpy): Delete.
6762 (ada_print_floating): Update documentation. Add empty line
6763 between between function documentation and implementation.
6764 Delete variable "buffer". Use ui_file_xstrdup in place of
6765 ui_file_put. Minor adjustments following this change.
6767 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6769 * ada-valprint.c (ada_val_print_string): New function,
6770 extracted from ada_val_print_array.
6771 (ada_val_print_array): Replace extracted code by call
6772 to ada_val_print_string followed by a return. Move
6773 "else" branch to the function's top block.
6775 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6777 * ada-valprint.c (ada_val_print_array): Move implementation
6778 down. Rename parameter "offset" and "val" into "offset_aligned"
6779 and "original_value" respectively. Add parameter "offset".
6781 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6783 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6784 re-organizing the code. Change the "???" message printed
6785 when target type is a TYPE_CODE_UNDEF into
6786 "<ref to undefined type>".
6788 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6790 * ada-valprint.c (print_record): Delete, implementation inlined...
6791 (ada_val_print_struct_union): ... here. Remove call to
6792 ada_check_typedef in inlined implementation.
6794 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6796 * ada-valprint.c (ada_val_print_gnat_array): New function,
6797 extracted from ada_val_print_1;
6798 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6799 (ada_val_print_flt, ada_val_print_struct_union)
6800 (ada_val_print_ref): Likewise.
6801 (ada_val_print_1): Delete variables i and elttype.
6802 Replace extracted-out code by call to corresponding
6805 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6807 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6809 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6811 * ada-valprint.c (ada_val_print_1): Replace calls to
6812 ada_val_print_1 by calls to val_print.
6814 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6816 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6817 Update calls to self accordingly. Replace calls to c_val_print
6818 by calls to val_print.
6820 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6822 * ada-valprint.c (print_record): Delete declaration.
6823 (adjust_type_signedness, ada_val_print_1): Likewise.
6824 (ada_val_print): Move function implementation down.
6825 (print_variant_part, print_field_values, print_record):
6826 Move function implementation up.
6828 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6830 * python/py-type.c (typy_get_name): New function.
6831 (type_object_getset): Add entry for attribute "name".
6832 * NEWS: Add entry mentioning this new attribute.
6834 2014-01-07 Yao Qi <yao@codesourcery.com>
6836 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6839 2014-01-07 Yao Qi <yao@codesourcery.com>
6841 * gnu-nat.c (info_port_rights): Add qualifier const to
6844 2014-01-07 Yao Qi <yao@codesourcery.com>
6846 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6848 2014-01-07 Yao Qi <yao@codesourcery.com>
6850 * gnu-nat.c (make_inf) Update declaration.
6851 (make_inf): Make it static.
6852 (inf_set_traced): Likewise.
6853 (inf_port_to_thread, inf_task_died_status): Likewise.
6855 2014-01-07 Yao Qi <yao@codesourcery.com>
6857 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6859 2014-01-07 Yao Qi <yao@codesourcery.com>
6861 * gnu-nat.c (_initialize_gnu_nat): Declare.
6863 2014-01-07 Yao Qi <yao@codesourcery.com>
6865 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6867 (struct gdbarch_info) <byte_order>: Change type to
6869 <byte_order_for_code>: Likewise.
6870 * gdbarch.c, gdbarch.h: Regenerated.
6872 2014-01-06 Sasha Smundak <asmundak@google.com>
6874 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6876 2014-01-06 Tom Tromey <tromey@redhat.com>
6878 * doublest.c (convert_doublest_to_floatformat): Use const, not
6880 * somread.c (som_symtab_read): Likewise.
6882 2014-01-07 Hui Zhu <hui@codesourcery.com>
6884 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6885 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6886 (gdb_bfd_fopen): Ditto.
6887 (gdb_bfd_openr): Ditto.
6888 (gdb_bfd_openw): Ditto.
6889 (gdb_bfd_openr_iovec): Ditto.
6890 (gdb_bfd_fdopenr): Ditto.
6891 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6892 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6894 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6896 * symfile-mem.c (symbol_file_add_from_memory): Removed
6897 gdb_bfd_stash_filename.
6899 2014-01-03 Doug Evans <dje@google.com>
6901 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6904 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6906 Update year range in copyright notice of all files.
6908 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6910 * top.c (print_gdb_version): Set copyright year to 2014.
6912 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6914 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6916 For older changes see ChangeLog-2013.
6922 version-control: never