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