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