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