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