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