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