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