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