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