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