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