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