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