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