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