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