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