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