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