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