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