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