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