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