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