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