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