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