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