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