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