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