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