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