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