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