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