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