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