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