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