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