Mention PR breakpoints/16292 in corresponding ChangeLog entry.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f2fce0ca
PA
12014-02-26 Pedro Alves <palves@redhat.com>
2
3 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
4 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
5 to_xfer_partial method.
6
7a44e40e
PA
72014-02-26 Pedro Alves <palves@redhat.com>
8
9 * target.c (complete_target_initialization): Don't install
10 default_xfer_partial as to_xfer_partial hook.
11 (nomemory): Delete.
12 (update_current_target): Don't INHERIT nor de_fault
13 deprecated_xfer_memory. Delete de_fault macro.
14 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
15 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
16 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
17 field.
18
bd265cd0
PA
192014-02-26 Pedro Alves <palves@redhat.com>
20
21 * go32-nat.c (my_write_child): New function.
22 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
23 (go32_xfer_partial): New function.
24 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
25 Instead install a to_xfer_partial hook.
26
9d46c4e5
PA
272014-02-26 Pedro Alves <palves@redhat.com>
28
29 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
30 to_xfer_partial helper. Rewrite.
31 (procfs_xfer_partial): New function.
32 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
33 Install a to_xfer_partial hook.
34
a1583b1f
PA
352014-02-26 Pedro Alves <palves@redhat.com>
36
37 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
38 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
39 (m32r_xfer_partial): New function.
40 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
41 Install a to_xfer_partial hook.
42
6df1b29f
PA
432014-02-26 Pedro Alves <palves@redhat.com>
44
45 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
46 helper.
47 (mips_xfer_partial): New function.
48 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
49 hook. Install a to_xfer_partial hook.
50
dc53a7ad
JB
512014-02-26 Joel Brobecker <brobecker@adacore.com>
52
53 * gdbtypes.h (create_array_type_with_stride): Add declaration.
54 * gdbtypes.c (create_array_type_with_stride): New function,
55 renaming create_array_type, but with an added parameter
56 called "bit_stride".
57 (create_array_type): Re-implement using
58 create_array_type_with_stride.
59 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
60 and DW_AT_bit_stride attributes.
61
12ab52e9
PA
622014-02-26 Pedro Alves <palves@redhat.com>
63
64 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
65 task-specific breakpoints.
66
d16461ae
PA
672014-02-25 Pedro Alves <palves@redhat.com>
68
69 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
70 handling of object == TARGET_OBJECT_UNWIND_TABLE.
71
a8b16220
SS
722014-02-25 Stan Shebs <stan@codesourcery.com>
73
74 * defs.h: Annotate comments for Doxygen.
75
b9e795ee
TT
762014-02-25 Tom Tromey <tromey@redhat.com>
77
78 * target.h (target_ignore): Don't declare.
79 * target.c (target_ignore): Remove.
80
849c862e
JK
812014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 PR gdb/16626
84 * auto-load.c (auto_load_objfile_script_1): Change filename to
85 debugfile.
86
475109d8
JB
872014-02-25 Joel Brobecker <brobecker@adacore.com>
88
89 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
90 documentation. Adjust prototype to match the target_ops
91 to_xfer_partial method. Adjust implementation accordingly.
92
e186c3bd
HZ
932014-02-25 Hui Zhu <hui@codesourcery.com>
94
95 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
96 to_traceframe_info.
97
6d451942
KB
982014-02-25 Kevin Buettner <kevinb@redhat.com>
99
041ab8b4 100 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
101 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
102 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
103 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
104 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
105 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
106 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
107 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
108 New constants.
109 (rl78_register_type): Use a data pointer type for SP and
110 new pseudo registers mentioned above. Use a 16 bit integer
111 type for all other register pairs.
112 (rl78_register_name, rl78_g10_register_name): Update for
113 new pseudo registers.
114 (rl78_pseudo_register_read): Likewise.
115 (rl78_pseudo_register_write): Likewise.
116 (rl78_dwarf_reg_to_regnum): Return register numbers representing
117 to the newly added pseudo registers.
118
eddf0bae
DE
1192014-02-24 Doug Evans <dje@google.com>
120
121 * value.c (record_latest_value): Fix comment.
122 * printcmd.c (print_command_1): Remove code to handle -1 return from
123 record_latest_value.
124
e96027e0
PA
1252014-02-24 Pedro Alves <palves@redhat.com>
126
127 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
128 deprecated_xfer_memory hook.
129 (procfs_xfer_partial): Call procfs_xfer_memory instead
130 of the deprecated_xfer_memory target hook.
131 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
132 helper.
133
0837c976
YZ
1342014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
135
136 * windows-nat.c (windows_xfer_shared_libraries): Return
137 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
138 requested object is TARGET_OBJECT_LIBRARIES.
139
bc113b4e
YQ
1402014-02-24 Yao Qi <yao@codesourcery.com>
141
142 * target.h (enum target_xfer_status)
143 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
144 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
145 explicitly. New.
146 * corefile.c (memory_error_message): User updated.
147 * exec.c (section_table_read_available_memory): Likewise.
148 * record-btrace.c (record_btrace_xfer_partial): Likewise.
149 * target.c (target_xfer_status_to_string): Likewise.
150 (raw_memory_xfer_partial): Likewise.
151 (memory_xfer_partial_1, target_xfer_partial): Likewise.
152 * valops.c (read_value_memory): Likewise.
153 * exec.h: Update comments.
154
01cb8804
YQ
1552014-02-24 Yao Qi <yao@codesourcery.com>
156
157 * target.c (target_xfer_status_to_string): Rename argument err
158 to status.
159 * target.h (target_xfer_status_to_string): Update declaration.
160 Replace target_xfer_error_to_string with
161 target_xfer_status_to_string in comment.
162
93063aa6
YQ
1632014-02-24 Yao Qi <yao@codesourcery.com>
164
165 * mips-linux-nat.c (super_close): Update its type.
166 (mips_linux_close): Pass 'self' to super_close.
167
5c328c05
YQ
1682014-02-24 Yao Qi <yao@codesourcery.com>
169
170 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
171 * corefile.c (read_memory): Adjusted.
172 * target.c (target_write_with_progress): Adjusted.
173
f73023dd
YQ
1742014-02-23 Yao Qi <yao@codesourcery.com>
175
176 Revert two patches:
177
178 2013-10-25 Yao Qi <yao@codesourcery.com>
179
180 * remote.c (remote_traceframe_info): Return early if
181 traceframe is not selected.
182
183 2013-07-19 Yao Qi <yao@codesourcery.com>
184
185 * target.c (update_current_target): Change the default action
186 of 'to_traceframe_info' from tcomplain to return_zero.
187 * target.h (struct target_ops) <to_traceframe_info>: Add more
188 comments.
189
5a2eb0ef
YQ
1902014-02-23 Yao Qi <yao@codesourcery.com>
191
192 * valops.c (read_value_memory): Rewrite it. Call
193 target_xfer_partial in a loop.
194 * exec.h (section_table_available_memory): Remove declaration.
195 Move comments to ...
196 * exec.c (section_table_available_memory): ... here. Make it
197 static.
198
1ee79381
YQ
1992014-02-23 Yao Qi <yao@codesourcery.com>
200
201 * exec.c (section_table_read_available_memory): New function.
202 * exec.h (section_table_read_available_memory): Declare.
203 * ctf.c (ctf_xfer_partial): Call
204 section_table_read_available_memory.
205 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
206
1ca49d37
YQ
2072014-02-23 Yao Qi <yao@codesourcery.com>
208
209 * ctf.c (ctf_xfer_partial): Move code to ...
210 * exec.c (exec_read_partial_read_only): ... it. New function.
211 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
212 * tracefile.c: Include "exec.h".
213 * exec.h (exec_read_partial_read_only): Declare.
214
a283690e
YQ
2152014-02-23 Yao Qi <yao@codesourcery.com>
216
217 * tracefile-tfile.c (tfile_has_all_memory): Remove.
218 (tfile_has_memory): Remove.
219 (init_tfile_ops): Don't set fields to_has_all_memory and
220 to_has_memory of tfile_ops.
221 * tracefile.c (tracefile_has_all_memory): New function.
222 (tracefile_has_memory): New function.
223 (init_tracefile_ops): Initialize fields to_has_all_memory and
224 to_has_memory of 'ops'.
225
12e03cd0
YQ
2262014-02-23 Yao Qi <yao@codesourcery.com>
227
228 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
229 (ctf_thread_alive, ctf_get_trace_status): Remove.
230 (init_ctf_ops): Don't set some fields of ctf_ops. Call
231 init_tracefile_ops.
232 * tracefile-tfile.c (tfile_get_trace_status): Remove.
233 (tfile_has_stack, tfile_has_registers): Remove.
234 (tfile_thread_alive): Remove.
235 (init_tfile_ops): Don't set some fields of tfile_ops. Call
236 init_tracefile_ops.
237 * tracefile.c (tracefile_has_stack): New function.
238 (tracefile_has_registers): New function.
239 (tracefile_thread_alive): New function.
240 (tracefile_get_trace_status): New function.
241 (init_tracefile_ops): New function.
242 * tracefile.h (init_tracefile_ops): Declare.
243
11395323
YQ
2442014-02-23 Yao Qi <yao@codesourcery.com>
245
246 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
247 (O_LARGEFILE): Likewise.
248 (tfile_ops): Likewise.
249 (TRACE_HEADER_SIZE): Likewise.
250 (trace_fd, trace_frames_offset, cur_offset): Likewise.
251 (cur_data_size): Likewise.
252 (tfile_read, tfile_open, tfile_interp_line): Likewise.
253 (tfile_close, tfile_files_info): Likewise.
254 (tfile_get_trace_status): Likewise.
255 (tfile_get_tracepoint_status): Likewise.
256 (tfile_get_traceframe_address): Likewise.
257 (tfile_trace_find, match_blocktype): Likewise.
258 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
259 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
260 (tfile_get_trace_state_variable_value): Likewise.
261 (tfile_has_all_memory, tfile_has_memory): Likewise.
262 (tfile_has_stack, tfile_has_registers): Likewise.
263 (tfile_thread_alive, build_traceframe_info): Likewise.
264 (tfile_traceframe_info, init_tfile_ops): Likewise.
265 (_initialize_tracepoint): Don't call init_tfile_ops
266 and add_target_with_completer.
267 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
268 exec.h, completer.h and filenames.h.
269 (_initialize_tracefile_tfile): New function.
270
7951c4eb
YQ
2712014-02-23 Yao Qi <yao@codesourcery.com>
272
273 * Makefile.in (REMOTE_OBS): Append tracefile.o and
274 tracefile-tfile.o.
275 (HFILES_NO_SRCDIR): Add tracefile.h.
276 * ctf.c: Include "tracefile.h".
277 * tracefile.h: New file.
278 * tracefile.c: New file
279 * tracefile-tfile.c: New file.
280 * tracepoint.c: Include "tracefile.h".
281 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
282 (stop_reason_names): Add const.
283 (trace_file_writer_xfree): Move it to tracefile.c.
284 (trace_save, trace_save_command, trace_save_tfile): Likewise.
285 (trace_save_ctf): Likewise.
286 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
287 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
288 (tfile_write_header, tfile_write_regblock_type): Likewise.
289 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
290 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
291 (tfile_write_raw_data, tfile_end): Likewise.
292 (tfile_trace_file_writer_new): Likewise.
293 (free_uploaded_tp): Make it extern.
294 (free_uploaded_tsv): Make it extern.
295 (_initialize_tracepoint): Move code to register command 'tsave'
296 to tracefile.c.
297 * tracepoint.h (stop_reason_names): Declare.
298 (struct trace_frame_write_ops): Move it to tracefile.h.
299 (struct trace_file_write_ops): Likewise.
300 (struct trace_file_writer): Likewise.
301 (free_uploaded_tsvs, free_uploaded_tps): Declare.
302
184cd072
JK
3032014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
304
305 PR gdb/16594
306 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
307 process name.
308 (get_cores_used_by_process): New parameter num_cores, use it.
309 (linux_xfer_osdata_processes): Pass num_cores to it.
310 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
311 process name.
312
c63528fc
AK
3132014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
314
315 * target.c (memory_xfer_partial): Fix length arg in call to
316 breakpoint_xfer_memory.
317
d7b30f67
SDJ
3182014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
319
320 PR tdep/16397
321 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
322 number comes after the + or - signs. Adjust length of register
323 name to be extracted.
324
8838afaf
TT
3252014-02-20 Tom Tromey <tromey@redhat.com>
326
327 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
328 (ada_varobj_ops): Mark "extern".
329
05227d14
TT
3302014-02-20 Tom Tromey <tromey@redhat.com>
331
332 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
333
1254eefc
DE
3342014-02-20 Doug Evans <xdje42@gmail.com>
335
336 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
337 All callers updated.
338 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
339 All callers updated.
340 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
341 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
342
adde2bff
DE
3432014-02-20 lin zuojian <manjian2006@gmail.com>
344 Joel Brobecker <brobecker@adacore.com>
345 Doug Evans <xdje42@gmail.com>
346
347 PR symtab/16581
348 * dwarf2read.c (struct die_info): New member in_process.
349 (reset_die_in_process): New function.
350 (process_die): Set it at the start, reset when returning.
351 (inherit_abstract_dies): Only call process_die if origin_child_die
352 not already being processed.
353
3be75f87
JB
3542014-02-20 Joel Brobecker <brobecker@adacore.com>
355
356 * windows-nat.c (handle_unload_dll): Add function documentation.
357 (do_initial_windows_stuff): Add comment explaining why we wait
358 until after inferior initialization has finished before
359 processing all DLLs.
360
47f7ffdb
JB
3612014-02-20 Joel Brobecker <brobecker@adacore.com>
362
363 * windows-nat.c (get_module_name): Delete.
364 (windows_get_exec_module_filename): New function, mostly
365 inspired from get_module_name.
366 (windows_pid_to_exec_file): Replace call to get_module_name
367 by call to windows_get_exec_module_filename.
368
1cd9feab
JB
3692014-02-20 Joel Brobecker <brobecker@adacore.com>
370
371 * windows-nat.c (handle_load_dll): Rewrite this function's
372 introductory comment. Remove code using get_module_name
373 to get the DLL's name.
374
ea39ad35
JB
3752014-02-20 Joel Brobecker <brobecker@adacore.com>
376
377 * windows-nat.c (get_windows_debug_event): Ignore
378 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
379 if windows_initialization_done == 0.
380 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
381 Adjust implementation to always load all DLLs.
382 (do_initial_windows_stuff): Replace call to
383 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
384
95060284
JB
3852014-02-20 Joel Brobecker <brobecker@adacore.com>
386
387 * windows-nat.c (_initialize_windows_nat): Deprecate the
388 "dll-symbols" command. Turn the "add-shared-symbol-files"
389 and "assf" aliases into commands, and deprecate them as well.
390 * NEWS: Add entry explaining that "dll-symbols" and its two
391 aliases are now deprecated.
392
8d4fdb12
JB
3932014-02-20 Joel Brobecker <brobecker@adacore.com>
394
395 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
396 new-line in debug string. Remove trailing spaces.
397
1b281443
SS
3982014-02-19 Stan Shebs <stan@codesourcery.com>
399
400 * darwin-nat.c (darwin_xfer_partial): Fix return type.
401
f7bd0f78
SC
4022014-02-19 Siva Chandra Reddy <sivachandra@google.com>
403
404 * NEWS: Add entry for the new feature
405 * python/py-value.c (valpy_binop): Call value_x_binop for struct
406 and class values.
407
399ebc3d
SS
4082014-02-19 Stan Shebs <stan@codesourcery.com>
409
410 * MAINTAINERS: List Yao Qi as nios2 maintainer.
411
c658158d
PA
4122014-02-19 Pedro Alves <palves@redhat.com>
413
414 * common/ptid.h (struct ptid): Mention that process_stratum
415 targets should prefer ptid.lwp.
416
ba348170
PA
4172014-02-19 Pedro Alves <palves@redhat.com>
418
419 * remote.c (remote_thread_alive, write_ptid, read_ptid)
420 (read_ptid, remote_newthread_step, remote_threads_extra_info)
421 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
422 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
423 store remote thread ids rather than ptid.tid.
424 (_initialize_remote): Adjust.
425
ac01945b
TT
4262014-02-19 Tom Tromey <tromey@redhat.com>
427
428 * target.c (target_get_unwinder): Rewrite.
429 (target_get_tailcall_unwinder): Rewrite.
430 * record-btrace.c (record_btrace_to_get_unwinder): New function.
431 (record_btrace_to_get_tailcall_unwinder): New function.
432 (init_record_btrace_ops): Update.
433 * target.h (struct target_ops) <to_get_unwinder,
434 to_get_tailcall_unwinder>: Now function pointers. Use
435 TARGET_DEFAULT_RETURN.
436
8476dc92
TT
4372014-02-19 Tom Tromey <tromey@redhat.com>
438
439 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
440 argument.
441 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
442
c0eca49f
TT
4432014-02-19 Tom Tromey <tromey@redhat.com>
444
445 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
446 directly.
447 * target-delegates.c: Rebuild.
448 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
449 TARGET_DEFAULT_FUNC.
450 * target.c (default_target_decr_pc_after_break): Rename from
451 forward_target_decr_pc_after_break. Simplify.
452 (target_decr_pc_after_break): Rely on delegation.
453
596b6b39
TT
4542014-02-19 Tom Tromey <tromey@redhat.com>
455
456 * target.c (update_current_target): Do not INHERIT to_doc or
457 to_magic. Do not de_fault to_open or to_close.
458
b427c1bc
TT
4592014-02-19 Tom Tromey <tromey@redhat.com>
460
461 * gcore.h (objfile_find_memory_regions): Declare.
462 * gcore.c (objfile_find_memory_regions): No longer static. Add
463 "self" argument.
464 (_initialize_gcore): Don't call exec_set_find_memory_regions.
465 * exec.c: Include gcore.h.
466 (exec_set_find_memory_regions): Remove.
467 (exec_find_memory_regions): Remove.
468 (exec_do_find_memory_regions): Remove.
469 (init_exec_ops): Update.
470 * defs.h (exec_set_find_memory_regions): Remove.
471
9b144037
TT
4722014-02-19 Tom Tromey <tromey@redhat.com>
473
474 * target-delegates.c: Rebuild.
475 * target.h (struct target_ops) <to_extra_thread_info,
476 to_thread_name, to_pid_to_exec_file, to_get_section_table,
477 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
478 not 0, in TARGET_DEFAULT_RETURN.
479
555bbdeb
TT
4802014-02-19 Tom Tromey <tromey@redhat.com>
481
482 * target.c (complete_target_initialization): Remove casts. Use
483 return_zero_has_execution.
484 (return_zero): Add "ignore" argument.
485 (return_zero_has_execution): New function.
486 (init_dummy_target): Remove casts. Use
487 return_zero_has_execution.
488
be4ddd36
TT
4892014-02-19 Tom Tromey <tromey@redhat.com>
490
491 * target.c (update_current_target): Update comments. Do not
492 INHERIT to_stratum.
493
2117c711
TT
4942014-02-19 Tom Tromey <tromey@redhat.com>
495
496 * arm-linux-nat.c (arm_linux_read_description): Delegate when
497 needed.
498 * corelow.c (core_read_description): Delegate when needed.
499 * remote.c (remote_read_description): Delegate when needed.
500 * target-delegates.c: Rebuild.
501 * target.c (target_read_description): Rewrite.
502 * target.h (struct target_ops) <to_read_description>: Update
503 comment. Use TARGET_DEFAULT_RETURN.
504
e88ef65c
TT
5052014-02-19 Tom Tromey <tromey@redhat.com>
506
507 * target-delegates.c: Rebuild.
508 * target.c (update_current_target): Don't inherit or default
509 to_can_run.
510 (find_default_run_target): Check against delegate_can_run.
511 * target.h (struct target_ops) <to_can_run>: Use
512 TARGET_DEFAULT_RETURN.
513
86a0854a
TT
5142014-02-19 Tom Tromey <tromey@redhat.com>
515
516 * target-delegates.c: Rebuild.
517 * target.c (target_disconnect): Unconditionally delegate.
518 * target.h (struct target_ops) <to_disconnect>: Use
519 TARGET_DEFAULT_NORETURN.
520
ee97f592
TT
5212014-02-19 Tom Tromey <tromey@redhat.com>
522
523 * record.c (record_stop): Unconditionally delegate.
524 * target-delegates.c: Rebuild.
525 * target.c (target_stop_recording): Unconditionally delegate.
526 * target.h (struct target_ops) <to_stop_recording>: Use
527 TARGET_DEFAULT_IGNORE.
528
6dc7fcf4
TT
5292014-02-19 Tom Tromey <tromey@redhat.com>
530
531 * target-delegates.c: Rebuild.
532 * target.c (target_enable_btrace): Unconditionally delegate.
533 * target.h (struct target_ops) <to_enable_btrace>: Use
534 TARGET_DEFAULT_NORETURN.
535
eb5b20d4
TT
5362014-02-19 Tom Tromey <tromey@redhat.com>
537
538 * target-delegates.c: Rebuild.
539 * target.c (target_read_btrace): Unconditionally delegate.
540 * target.h (struct target_ops) <to_read_btrace>: Use
541 TARGET_DEFAULT_NORETURN.
542
9ace480d
TT
5432014-02-19 Tom Tromey <tromey@redhat.com>
544
545 * target-delegates.c: Rebuild.
546 * target.c (target_teardown_btrace): Unconditionally delegate.
547 * target.h (struct target_ops) <to_teardown_btrace>: Use
548 TARGET_DEFAULT_NORETURN.
549
8dc292d3
TT
5502014-02-19 Tom Tromey <tromey@redhat.com>
551
552 * target-delegates.c: Rebuild.
553 * target.c (target_disable_btrace): Unconditionally delegate.
554 * target.h (struct target_ops) <to_disable_btrace>: Use
555 TARGET_DEFAULT_NORETURN.
556
58a5184e
TT
5572014-02-19 Tom Tromey <tromey@redhat.com>
558
559 * target-delegates.c: Rebuild.
560 * target.c (default_search_memory): New function.
561 (simple_search_memory): Update comment.
562 (target_search_memory): Unconditionally delegate.
563 * target.h (struct target_ops) <to_search_memory>: Use
564 TARGET_DEFAULT_FUNC.
565
8de71aab
TT
5662014-02-19 Tom Tromey <tromey@redhat.com>
567
568 * auxv.c (default_auxv_parse): No longer static.
569 (target_auxv_parse): Unconditionally delegate.
570 * auxv.h (default_auxv_parse): Declare.
571 * target-delegates.c: Rebuild.
572 * target.c: Include auxv.h.
573 * target.h (struct target_ops) <to_auxv_parse>: Use
574 TARGET_DEFAULT_FUNC.
575
6b2c5a57
TT
5762014-02-19 Tom Tromey <tromey@redhat.com>
577
578 * target-delegates.c: Rebuild.
579 * target.c (target_memory_map): Unconditionally delegate.
580 * target.h (struct target_ops) <to_memory_map>: Use
581 TARGET_DEFAULT_RETURN.
582
cbffc065
TT
5832014-02-19 Tom Tromey <tromey@redhat.com>
584
585 * target-delegates.c: Rebuild.
586 * target.c (target_thread_alive): Unconditionally delegate.
587 * target.h (struct target_ops) <to_thread_alive>: Use
588 TARGET_DEFAULT_RETURN.
589
f09e2107
TT
5902014-02-19 Tom Tromey <tromey@redhat.com>
591
592 * target-delegates.c: Rebuild.
593 * target.c (target_save_record): Unconditionally delegate.
594 * target.h (struct target_ops) <to_save_record>: Use
595 TARGET_DEFAULT_NORETURN.
596
07366925
TT
5972014-02-19 Tom Tromey <tromey@redhat.com>
598
599 * target-delegates.c: Rebuild.
600 * target.c (target_delete_record): Unconditionally delegate.
601 * target.h (struct target_ops) <to_delete_record>: Use
602 TARGET_DEFAULT_NORETURN.
603
dd2e9d25
TT
6042014-02-19 Tom Tromey <tromey@redhat.com>
605
606 * target-delegates.c: Rebuild.
607 * target.c (target_record_is_replaying): Unconditionally
608 delegate.
609 * target.h (struct target_ops) <to_record_is_replaying>: Use
610 TARGET_DEFAULT_RETURN.
611
671e76cc
TT
6122014-02-19 Tom Tromey <tromey@redhat.com>
613
614 * target-delegates.c: Rebuild.
615 * target.c (target_goto_record_begin): Unconditionally delegate.
616 * target.h (struct target_ops) <to_goto_record_begin>: Use
617 TARGET_DEFAULT_NORETURN.
618
e9179bb3
TT
6192014-02-19 Tom Tromey <tromey@redhat.com>
620
621 * target-delegates.c: Rebuild.
622 * target.c (target_goto_record_end): Unconditionally delegate.
623 * target.h (struct target_ops) <to_goto_record_end>: Use
624 TARGET_DEFAULT_NORETURN.
625
05969c84
TT
6262014-02-19 Tom Tromey <tromey@redhat.com>
627
628 * target-delegates.c: Rebuild.
629 * target.c (target_goto_record): Unconditionally delegate.
630 * target.h (struct target_ops) <to_goto_record>: Use
631 TARGET_DEFAULT_NORETURN.
632
3679abfa
TT
6332014-02-19 Tom Tromey <tromey@redhat.com>
634
635 * target-delegates.c: Rebuild.
636 * target.c (target_insn_history): Unconditionally delegate.
637 * target.h (struct target_ops) <to_insn_history>: Use
638 TARGET_DEFAULT_NORETURN.
639
8444ab58
TT
6402014-02-19 Tom Tromey <tromey@redhat.com>
641
642 * target-delegates.c: Rebuild.
643 * target.c (target_insn_history_from): Unconditionally delegate.
644 * target.h (struct target_ops) <to_insn_history_from>: Use
645 TARGET_DEFAULT_NORETURN.
646
c29302cc
TT
6472014-02-19 Tom Tromey <tromey@redhat.com>
648
649 * target-delegates.c: Rebuild.
650 * target.c (target_insn_history_range): Unconditionally delegate.
651 * target.h (struct target_ops) <to_insn_history_range>: Use
652 TARGET_DEFAULT_NORETURN.
653
170049d4
TT
6542014-02-19 Tom Tromey <tromey@redhat.com>
655
656 * target-delegates.c: Rebuild.
657 * target.c (target_call_history): Unconditionally delegate.
658 * target.h (struct target_ops) <to_call_history>: Use
659 TARGET_DEFAULT_NORETURN.
660
16fc27d6
TT
6612014-02-19 Tom Tromey <tromey@redhat.com>
662
663 * target-delegates.c: Rebuild.
664 * target.c (target_call_history_from): Unconditionally delegate.
665 * target.h (struct target_ops) <to_call_history_from>: Use
666 TARGET_DEFAULT_NORETURN.
667
115d9817
TT
6682014-02-19 Tom Tromey <tromey@redhat.com>
669
670 * target-delegates.c: Rebuild.
671 * target.c (target_call_history_range): Unconditionally delegate.
672 * target.h (struct target_ops) <to_call_history_range>: Use
673 TARGET_DEFAULT_NORETURN.
674
eb276a6b
TT
6752014-02-19 Tom Tromey <tromey@redhat.com>
676
677 * target-delegates.c: Rebuild.
678 * target.c (target_verify_memory): Unconditionally delegate.
679 * target.h (struct target_ops) <to_verify_memory>: Use
680 TARGET_DEFAULT_NORETURN.
681
9e538d0d
TT
6822014-02-19 Tom Tromey <tromey@redhat.com>
683
684 * target-delegates.c: Rebuild.
685 * target.c (target_core_of_thread): Unconditionally delegate.
686 * target.h (struct target_ops) <to_core_of_thread>: Use
687 TARGET_DEFAULT_RETURN.
688
f6fb2925
TT
6892014-02-19 Tom Tromey <tromey@redhat.com>
690
691 * target-delegates.c: Rebuild.
692 * target.c (target_flash_done): Unconditionally delegate.
693 * target.h (struct target_ops) <to_flash_done>: Use
694 TARGET_DEFAULT_NORETURN.
695
e8a6c6ac
TT
6962014-02-19 Tom Tromey <tromey@redhat.com>
697
698 * target-delegates.c: Rebuild.
699 * target.c (target_flash_erase): Unconditionally delegate.
700 * target.h (struct target_ops) <to_flash_erase>: Use
701 TARGET_DEFAULT_NORETURN.
702
7e35c012
TT
7032014-02-19 Tom Tromey <tromey@redhat.com>
704
705 * target-delegates.c: Rebuild.
706 * target.c (target_get_section_table): Unconditionally delegate.
707 * target.h (struct target_ops) <to_get_section_table>: Use
708 TARGET_DEFAULT_RETURN.
709
770234d3
TT
7102014-02-19 Tom Tromey <tromey@redhat.com>
711
712 * target-delegates.c: Rebuild.
713 * target.c (target_pid_to_str): Unconditionally delegate.
714 (init_dummy_target): Don't initialize to_pid_to_str.
715 (default_pid_to_str): Rename from dummy_pid_to_str.
716 * target.h (struct target_ops) <to_pid_to_str>: Use
717 TARGET_DEFAULT_FUNC.
718
09b0dc2b
TT
7192014-02-19 Tom Tromey <tromey@redhat.com>
720
721 * target-delegates.c: Rebuild.
722 * target.c (target_find_new_threads): Unconditionally delegate.
723 * target.h (struct target_ops) <to_find_new_threads>: Use
724 TARGET_DEFAULT_RETURN.
725
7d4f8efa
TT
7262014-02-19 Tom Tromey <tromey@redhat.com>
727
728 * target-delegates.c: Rebuild.
729 * target.c (target_program_signals): Unconditionally delegate.
730 * target.h (struct target_ops) <to_program_signals>: Use
731 TARGET_DEFAULT_IGNORE.
732
035cad7f
TT
7332014-02-19 Tom Tromey <tromey@redhat.com>
734
735 * target-delegates.c: Rebuild.
736 * target.c (target_pass_signals): Unconditionally delegate.
737 * target.h (struct target_ops) <to_pass_signals>: Use
738 TARGET_DEFAULT_IGNORE.
739
8d657035
TT
7402014-02-19 Tom Tromey <tromey@redhat.com>
741
742 * target-delegates.c: Rebuild.
743 * target.c (default_mourn_inferior): New function.
744 (target_mourn_inferior): Unconditionally delegate.
745 * target.h (struct target_ops) <to_mourn_inferior>: Use
746 TARGET_DEFAULT_FUNC.
747
098dba18
TT
7482014-02-19 Tom Tromey <tromey@redhat.com>
749
750 * target-delegates.c: Rebuild.
751 * target.c (default_follow_fork): New function.
752 (target_follow_fork): Unconditionally delegate.
753 * target.h (struct target_ops) <to_follow_fork>: Use
754 TARGET_DEFAULT_FUNC.
755
423a4807
TT
7562014-02-19 Tom Tromey <tromey@redhat.com>
757
758 * target-delegates.c: Rebuild.
759 * target.c (target_kill): Unconditionally delegate.
760 * target.h (struct target_ops) <to_kill>: Use
761 TARGET_DEFAULT_NORETURN.
762
6c7e5e5c
TT
7632014-02-19 Tom Tromey <tromey@redhat.com>
764
765 * target-delegates.c: Rebuild.
766 * target.c (target_masked_watch_num_registers): Unconditionally
767 delegate.
768 * target.h (struct target_ops) <to_masked_watch_num_registers>:
769 Use TARGET_DEFAULT_RETURN.
770
8b1c364c
TT
7712014-02-19 Tom Tromey <tromey@redhat.com>
772
773 * target-delegates.c: Rebuild.
774 * target.c (target_remove_mask_watchpoint): Unconditionally
775 delegate.
776 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
777 TARGET_DEFAULT_RETURN.
778
cd4ae029
TT
7792014-02-19 Tom Tromey <tromey@redhat.com>
780
781 * target-delegates.c: Rebuild.
782 * target.c (target_insert_mask_watchpoint): Unconditionally
783 delegate.
784 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
785 TARGET_DEFAULT_RETURN.
786
a134316b
TT
7872014-02-19 Tom Tromey <tromey@redhat.com>
788
789 * target-delegates.c: Rebuild.
790 * target.c (target_ranged_break_num_registers): Unconditionally
791 delegate.
792 * target.h (struct target_ops) <to_ranged_break_num_registers>:
793 Use TARGET_DEFAULT_RETURN.
794
ad5989bd
TT
7952014-02-19 Tom Tromey <tromey@redhat.com>
796
797 * target-delegates.c: Rebuild.
798 * target.c (target_fetch_registers): Unconditionally delegate.
799 * target.h (struct target_ops) <to_fetch_registers>: Use
800 TARGET_DEFAULT_NORETURN.
801
46ee7e8d
TT
8022014-02-19 Tom Tromey <tromey@redhat.com>
803
804 * target-delegates.c: Rebuild.
805 * target.c (update_current_target): Don't inherit or default
806 to_stop.
807 * target.h (struct target_ops) <to_stop>: Use
808 TARGET_DEFAULT_IGNORE.
809
843f59ed
TT
8102014-02-19 Tom Tromey <tromey@redhat.com>
811
812 * target-delegates.c: Rebuild.
813 * target.c (update_current_target): Don't inherit or default
814 to_can_run_breakpoint_commands.
815 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
816 Use TARGET_DEFAULT_RETURN.
817
ccfde2a0
TT
8182014-02-19 Tom Tromey <tromey@redhat.com>
819
820 * target-delegates.c: Rebuild.
821 * target.c (update_current_target): Don't inherit or default
822 to_supports_evaluation_of_breakpoint_conditions.
823 * target.h (struct target_ops)
824 <to_supports_evaluation_of_breakpoint_conditions>: Use
825 TARGET_DEFAULT_RETURN.
826
0de91722
TT
8272014-02-19 Tom Tromey <tromey@redhat.com>
828
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
831 to_augmented_libraries_svr4_read.
832 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
833 Use TARGET_DEFAULT_RETURN.
834
9a7d8b48
TT
8352014-02-19 Tom Tromey <tromey@redhat.com>
836
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
839 to_can_use_agent.
840 * target.h (struct target_ops) <to_can_use_agent>: Use
841 TARGET_DEFAULT_RETURN.
842
d9db5b21
TT
8432014-02-19 Tom Tromey <tromey@redhat.com>
844
845 * target-delegates.c: Rebuild.
846 * target.c (update_current_target): Don't inherit or default
847 to_use_agent.
848 * target.h (struct target_ops) <to_use_agent>: Use
849 TARGET_DEFAULT_NORETURN.
850
92155eeb
TT
8512014-02-19 Tom Tromey <tromey@redhat.com>
852
853 * target-delegates.c: Rebuild.
854 * target.c (update_current_target): Don't inherit or default
855 to_traceframe_info.
856 (return_null): Remove.
857 * target.h (struct target_ops) <to_traceframe_info>: Use
858 TARGET_DEFAULT_RETURN.
859
d6522a22
TT
8602014-02-19 Tom Tromey <tromey@redhat.com>
861
862 * target-delegates.c: Rebuild.
863 * target.c (update_current_target): Don't inherit or default
864 to_static_tracepoint_markers_by_strid.
865 * target.h (struct target_ops)
866 <to_static_tracepoint_markers_by_strid>: Use
867 TARGET_DEFAULT_NORETURN.
868
4c3e4425
TT
8692014-02-19 Tom Tromey <tromey@redhat.com>
870
871 * target-delegates.c: Rebuild.
872 * target.c (update_current_target): Don't inherit or default
873 to_static_tracepoint_marker_at.
874 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
875 Use TARGET_DEFAULT_RETURN.
876
dcd6917f
TT
8772014-02-19 Tom Tromey <tromey@redhat.com>
878
879 * target-delegates.c: Rebuild.
880 * target.c (update_current_target): Don't inherit or default
881 to_set_permissions.
882 * target.h (struct target_ops) <to_set_permissions>: Use
883 TARGET_DEFAULT_IGNORE.
884
22bcceee
TT
8852014-02-19 Tom Tromey <tromey@redhat.com>
886
887 * target-delegates.c: Rebuild.
888 * target.c (update_current_target): Don't inherit or default
889 to_get_tib_address.
890 * target.h (struct target_ops) <to_get_tib_address>: Use
891 TARGET_DEFAULT_NORETURN.
892
8586ccaa
TT
8932014-02-19 Tom Tromey <tromey@redhat.com>
894
895 * target-delegates.c: Rebuild.
896 * target.c (update_current_target): Don't inherit or default
897 to_set_trace_notes.
898 * target.h (struct target_ops) <to_set_trace_notes>: Use
899 TARGET_DEFAULT_RETURN.
900
91df8d1d
TT
9012014-02-19 Tom Tromey <tromey@redhat.com>
902
903 * target-delegates.c: Rebuild.
904 * target.c (update_current_target): Don't initialize
905 to_set_trace_buffer_size.
906 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
907 TARGET_DEFAULT_IGNORE.
908
8d526939
TT
9092014-02-19 Tom Tromey <tromey@redhat.com>
910
911 * target-delegates.c: Rebuild.
912 * target.c (update_current_target): Don't inherit or default
913 to_set_circular_trace_buffer.
914 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
915 TARGET_DEFAULT_IGNORE.
916
0bcfeddf
TT
9172014-02-19 Tom Tromey <tromey@redhat.com>
918
919 * target-delegates.c: Rebuild.
920 * target.c (update_current_target): Don't inherit or default
921 to_set_disconnected_tracing.
922 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
923 TARGET_DEFAULT_IGNORE.
924
9249843f
TT
9252014-02-19 Tom Tromey <tromey@redhat.com>
926
927 * target-delegates.c: Rebuild.
928 * target.c (update_current_target): Don't inherit or default
929 to_get_min_fast_tracepoint_insn_len.
930 (return_minus_one): Remove.
931 * target.h (struct target_ops)
932 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
933
ace92e7d
TT
9342014-02-19 Tom Tromey <tromey@redhat.com>
935
936 * target-delegates.c: Rebuild.
937 * target.c (update_current_target): Don't inherit or default
938 to_get_raw_trace_data.
939 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
940 TARGET_DEFAULT_NORETURN.
941
08120467
TT
9422014-02-19 Tom Tromey <tromey@redhat.com>
943
944 * target-delegates.c: Rebuild.
945 * target.c (update_current_target): Don't inherit or default
946 to_upload_trace_state_variables.
947 * target.h (struct target_ops) <to_upload_trace_state_variables>:
948 Use TARGET_DEFAULT_RETURN.
949
1e949b00
TT
9502014-02-19 Tom Tromey <tromey@redhat.com>
951
952 * target-delegates.c: Rebuild.
953 * target.c (update_current_target): Don't inherit or default
954 to_upload_tracepoints.
955 * target.h (struct target_ops) <to_upload_tracepoints>: Use
956 TARGET_DEFAULT_RETURN.
957
a2e6c147
TT
9582014-02-19 Tom Tromey <tromey@redhat.com>
959
960 * target-delegates.c: Rebuild.
961 * target.c (update_current_target): Don't inherit or default
962 to_save_trace_data.
963 * target.h (struct target_ops) <to_save_trace_data>: Use
964 TARGET_DEFAULT_NORETURN.
965
959bcd0b
TT
9662014-02-19 Tom Tromey <tromey@redhat.com>
967
968 * target-delegates.c: Rebuild.
969 * target.c (update_current_target): Don't inherit or default
970 to_get_trace_state_variable_value.
971 * target.h (struct target_ops)
972 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
973
afc94e66
TT
9742014-02-19 Tom Tromey <tromey@redhat.com>
975
976 * target-delegates.c: Rebuild.
977 * target.c (update_current_target): Don't inherit or default
978 to_trace_find.
979 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
980
e51c07ea
TT
9812014-02-19 Tom Tromey <tromey@redhat.com>
982
983 * target-delegates.c: Rebuild.
984 * target.c (update_current_target): Don't inherit or default
985 to_trace_stop.
986 * target.h (struct target_ops) <to_trace_stop>: Use
987 TARGET_DEFAULT_NORETURN.
988
6fea14cd
TT
9892014-02-19 Tom Tromey <tromey@redhat.com>
990
991 * target-delegates.c: Rebuild.
992 * target.c (update_current_target): Don't inherit or default
993 to_get_tracepoint_status.
994 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
995 TARGET_DEFAULT_NORETURN.
996
4072d4ff
TT
9972014-02-19 Tom Tromey <tromey@redhat.com>
998
999 * target-delegates.c: Rebuild.
1000 * target.c (update_current_target): Don't inherit or default
1001 to_get_trace_status.
1002 * target.h (struct target_ops) <to_get_trace_status>: Use
1003 TARGET_DEFAULT_RETURN.
1004
25da2e80
TT
10052014-02-19 Tom Tromey <tromey@redhat.com>
1006
1007 * target-delegates.c: Rebuild.
1008 * target.c (update_current_target): Don't inherit or default
1009 to_trace_start.
1010 * target.h (struct target_ops) <to_trace_start>: Use
1011 TARGET_DEFAULT_NORETURN.
1012
86dd181d
TT
10132014-02-19 Tom Tromey <tromey@redhat.com>
1014
1015 * target-delegates.c: Rebuild.
1016 * target.c (update_current_target): Don't inherit or default
1017 to_trace_set_readonly_regions.
1018 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1019 Use TARGET_DEFAULT_NORETURN.
1020
05c41993
TT
10212014-02-19 Tom Tromey <tromey@redhat.com>
1022
1023 * target-delegates.c: Rebuild.
1024 * target.c (update_current_target): Don't inherit or default
1025 to_disable_tracepoint.
1026 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1027 TARGET_DEFAULT_NORETURN.
1028
151f70f1
TT
10292014-02-19 Tom Tromey <tromey@redhat.com>
1030
1031 * target-delegates.c: Rebuild.
1032 * target.c (update_current_target): Don't inherit or default
1033 to_enable_tracepoint.
1034 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1035 TARGET_DEFAULT_NORETURN.
1036
94eb98b9
TT
10372014-02-19 Tom Tromey <tromey@redhat.com>
1038
1039 * target-delegates.c: Rebuild.
1040 * target.c (update_current_target): Don't inherit or default
1041 to_download_trace_state_variable.
1042 * target.h (struct target_ops) <to_download_trace_state_variable>:
1043 Use TARGET_DEFAULT_NORETURN.
1044
719acc4a
TT
10452014-02-19 Tom Tromey <tromey@redhat.com>
1046
1047 * target-delegates.c: Rebuild.
1048 * target.c (update_current_target): Don't inherit or default
1049 to_can_download_tracepoint.
1050 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1051 TARGET_DEFAULT_RETURN.
1052
9a980a22
TT
10532014-02-19 Tom Tromey <tromey@redhat.com>
1054
1055 * target-delegates.c: Rebuild.
1056 * target.c (update_current_target): Don't inherit or default
1057 to_download_tracepoint.
1058 * target.h (struct target_ops) <to_download_tracepoint>: Use
1059 TARGET_DEFAULT_NORETURN.
1060
5536135b
TT
10612014-02-19 Tom Tromey <tromey@redhat.com>
1062
1063 * target-delegates.c: Rebuild.
1064 * target.c (update_current_target): Don't inherit or default
1065 to_trace_init.
1066 * target.h (struct target_ops) <to_trace_init>: Use
1067 TARGET_DEFAULT_RETURN.
1068
9409d39e
TT
10692014-02-19 Tom Tromey <tromey@redhat.com>
1070
1071 * target-delegates.c: Rebuild.
1072 * target.c (update_current_target): Don't inherit or default
1073 to_supports_string_tracing.
1074 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1075 TARGET_DEFAULT_RETURN.
1076
aab1b22d
TT
10772014-02-19 Tom Tromey <tromey@redhat.com>
1078
1079 * target-delegates.c: Rebuild.
1080 * target.c (update_current_target): Don't inherit or default
1081 to_supports_enable_disable_tracepoint.
1082 * target.h (struct target_ops)
1083 <to_supports_enable_disable_tracepoint>: Use
1084 TARGET_DEFAULT_RETURN.
1085
a7304748
TT
10862014-02-19 Tom Tromey <tromey@redhat.com>
1087
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_supports_multi_process.
1091 * target.h (struct target_ops) <to_supports_multi_process>: Use
1092 TARGET_DEFAULT_RETURN.
1093
4229b31d
TT
10942014-02-19 Tom Tromey <tromey@redhat.com>
1095
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_get_ada_task_ptid.
1099 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1100 TARGET_DEFAULT_FUNC.
1101
43eba180
TT
11022014-02-19 Tom Tromey <tromey@redhat.com>
1103
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1106 to_thread_architecture.
1107 * target.h (struct target_ops) <to_thread_architecture>: Use
1108 TARGET_DEFAULT_FUNC.
1109
fe31bf5b
TT
11102014-02-19 Tom Tromey <tromey@redhat.com>
1111
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't inherit or default
1114 to_execution_direction.
1115 * target.h (struct target_ops) <to_execution_direction>: Use
1116 TARGET_DEFAULT_FUNC.
1117
53e1cfc7
TT
11182014-02-19 Tom Tromey <tromey@redhat.com>
1119
1120 * target-delegates.c: Rebuild.
1121 * target.c (update_current_target): Don't inherit or default
1122 to_can_execute_reverse.
1123 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1124 TARGET_DEFAULT_RETURN.
1125 (target_can_execute_reverse): Unconditionally delegate.
1126
9bb9d61d
TT
11272014-02-19 Tom Tromey <tromey@redhat.com>
1128
1129 * target-delegates.c: Rebuild.
1130 * target.c (update_current_target): Don't inherit or default
1131 to_goto_bookmark.
1132 (dummy_goto_bookmark): Remove.
1133 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1134 * target.h (struct target_ops) <to_goto_bookmark>: Use
1135 TARGET_DEFAULT_NORETURN.
1136
3dbafbbb
TT
11372014-02-19 Tom Tromey <tromey@redhat.com>
1138
1139 * target-delegates.c: Rebuild.
1140 * target.c (update_current_target): Don't inherit or default
1141 to_get_bookmark.
1142 (dummy_get_bookmark): Remove.
1143 (init_dummy_target): Don't inherit or default to_get_bookmark.
1144 * target.h (struct target_ops) <to_get_bookmark>: Use
1145 TARGET_DEFAULT_NORETURN
1146
16f796b1
TT
11472014-02-19 Tom Tromey <tromey@redhat.com>
1148
1149 * target-delegates.c: Rebuild.
1150 * target.c (update_current_target): Don't inherit or default
1151 to_make_corefile_notes.
1152 (init_dummy_target): Don't initialize to_make_corefile_notes.
1153 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1154 TARGET_DEFAULT_FUNC.
1155
0b5a2719
TT
11562014-02-19 Tom Tromey <tromey@redhat.com>
1157
1158 * target-delegates.c: Rebuild.
1159 * target.c (update_current_target): Don't inherit or default
1160 to_find_memory_regions.
1161 (init_dummy_target): Don't initialize to_find_memory_regions.
1162 * target.h (struct target_ops) <to_find_memory_regions>: Use
1163 TARGET_DEFAULT_FUNC.
1164
d9cb0195
TT
11652014-02-19 Tom Tromey <tromey@redhat.com>
1166
1167 * target-delegates.c: Rebuild.
1168 * target.c (update_current_target): Don't inherit or default
1169 to_log_command.
1170 * target.h (struct target_ops) <to_log_command>: Use
1171 TARGET_DEFAULT_IGNORE.
1172 (target_log_command): Unconditionally delegate.
1173
830ca330
TT
11742014-02-19 Tom Tromey <tromey@redhat.com>
1175
1176 * target-delegates.c: Rebuild.
1177 * target.c (update_current_target): Don't inherit or default
1178 to_pid_to_exec_file.
1179 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1180 TARGET_DEFAULT_RETURN.
1181
825828fc
TT
11822014-02-19 Tom Tromey <tromey@redhat.com>
1183
1184 * target-delegates.c: Rebuild.
1185 * target.c (update_current_target): Don't inherit or default
1186 to_thread_name.
1187 (target_thread_name): Unconditionally delegate.
1188 * target.h (struct target_ops) <to_thread_name>: Use
1189 TARGET_DEFAULT_RETURN.
1190
4a7e6dda
TT
11912014-02-19 Tom Tromey <tromey@redhat.com>
1192
1193 * target-delegates.c: Rebuild.
1194 * target.c (update_current_target): Don't inherit or default
1195 to_extra_thread_info.
1196 * target.h (struct target_ops) <to_extra_thread_info>: Use
1197 TARGET_DEFAULT_RETURN.
1198
0db88c1d
TT
11992014-02-19 Tom Tromey <tromey@redhat.com>
1200
1201 * target-delegates.c: Rebuild.
1202 * target.c (update_current_target): Don't inherit or default
1203 to_has_exited.
1204 * target.h (struct target_ops) <to_has_exited>: Use
1205 TARGET_DEFAULT_RETURN..
1206
6a9fa051
TT
12072014-02-19 Tom Tromey <tromey@redhat.com>
1208
1209 * target-delegates.c: Rebuild.
1210 * target.c (update_current_target): Don't inherit or default
1211 to_set_syscall_catchpoint.
1212 (return_one): Remove.
1213 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1214 TARGET_DEFAULT_RETURN.
1215
62f64d7a
TT
12162014-02-19 Tom Tromey <tromey@redhat.com>
1217
1218 * target-delegates.c: Rebuild.
1219 * target.c (update_current_target): Don't inherit or default
1220 to_insert_exec_catchpoint.
1221 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1222 TARGET_DEFAULT_RETURN.
1223
cda0f38c
TT
12242014-01-08 Tom Tromey <tromey@redhat.com>
1225
1226 * target-delegates.c: Rebuild.
1227 * target.c (update_current_target): Don't inherit or default
1228 to_insert_exec_catchpoint.
1229 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1230 TARGET_DEFAULT_RETURN.
1231
95c3375e
TT
12322014-02-19 Tom Tromey <tromey@redhat.com>
1233
1234 * target-delegates.c: Rebuild.
1235 * target.c (update_current_target): Don't inherit or default
1236 to_remove_vfork_catchpoint.
1237 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1238 TARGET_DEFAULT_RETURN.
1239
7e18a8dc
TT
12402014-02-19 Tom Tromey <tromey@redhat.com>
1241
1242 * target-delegates.c: Rebuild.
1243 * target.c (update_current_target): Don't inherit or default
1244 to_insert_vfork_catchpoint.
1245 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1246 TARGET_DEFAULT_RETURN.
1247
e1a21fb7
TT
12482014-02-19 Tom Tromey <tromey@redhat.com>
1249
1250 * target-delegates.c: Rebuild.
1251 * target.c (update_current_target): Don't inherit or default
1252 to_remove_fork_catchpoint.
1253 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1254 TARGET_DEFAULT_RETURN.
1255
5958ebeb
TT
12562014-02-19 Tom Tromey <tromey@redhat.com>
1257
1258 * target-delegates.c: Rebuild.
1259 * target.c (update_current_target): Don't inherit or default
1260 to_insert_fork_catchpoint.
1261 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1262 TARGET_DEFAULT_RETURN.
1263
340ba4bf
TT
12642014-02-19 Tom Tromey <tromey@redhat.com>
1265
1266 * target-delegates.c: Rebuild.
1267 * target.c (update_current_target): Don't inherit or default
1268 to_post_startup_inferior.
1269 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1270 TARGET_DEFAULT_IGNORE.
1271
7634da87
TT
12722014-02-19 Tom Tromey <tromey@redhat.com>
1273
1274 * target-delegates.c: Rebuild.
1275 * target.c (update_current_target): Don't inherit or default
1276 to_load.
1277 * target.h (struct target_ops) <to_load>: Use
1278 TARGET_DEFAULT_NORETURN.
1279
e19e919f
TT
12802014-02-19 Tom Tromey <tromey@redhat.com>
1281
1282 * target-delegates.c: Rebuild.
1283 * target.c (update_current_target): Don't inherit or default
1284 to_terminal_info.
1285 * target.h (struct target_ops) <to_terminal_info>: Use
1286 TARGET_DEFAULT_FUNC.
1287
c6ea8f79
TT
12882014-02-19 Tom Tromey <tromey@redhat.com>
1289
1290 * target-delegates.c: Rebuild.
1291 * target.c (update_current_target): Don't inherit or default
1292 to_terminal_save_ours.
1293 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1294 TARGET_DEFAULT_IGNORE.
1295
e4a733f1
TT
12962014-02-19 Tom Tromey <tromey@redhat.com>
1297
1298 * target-delegates.c: Rebuild.
1299 * target.c (update_current_target): Don't inherit or default
1300 to_terminal_ours.
1301 * target.h (struct target_ops) <to_terminal_ours>: Use
1302 TARGET_DEFAULT_IGNORE.
1303
74fcbef9
TT
13042014-02-19 Tom Tromey <tromey@redhat.com>
1305
1306 * target-delegates.c: Rebuild.
1307 * target.c (update_current_target): Don't inherit or default
1308 to_terminal_ours_for_output.
1309 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1310 TARGET_DEFAULT_IGNORE.
1311
ddeaacc9
TT
13122014-02-19 Tom Tromey <tromey@redhat.com>
1313
1314 * target-delegates.c: Rebuild.
1315 * target.c (update_current_target): Don't inherit or default
1316 to_terminal_inferior.
1317 * target.h (struct target_ops) <to_terminal_inferior>: Use
1318 TARGET_DEFAULT_IGNORE.
1319
0343661d
TT
13202014-02-19 Tom Tromey <tromey@redhat.com>
1321
1322 * target-delegates.c: Rebuild.
1323 * target.c (update_current_target): Don't inherit or default
1324 to_terminal_init.
1325 * target.h (struct target_ops) <to_terminal_init>: Use
1326 TARGET_DEFAULT_IGNORE.
1327
77cdffe9
TT
13282014-02-19 Tom Tromey <tromey@redhat.com>
1329
1330 * target-delegates.c: Rebuild.
1331 * target.c (update_current_target): Don't inherit or default
1332 to_can_accel_watchpoint_condition.
1333 * target.h (struct target_ops)
1334 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1335
d03655e4
TT
13362014-02-19 Tom Tromey <tromey@redhat.com>
1337
1338 * target-delegates.c: Rebuild.
1339 * target.c (update_current_target): Don't inherit or default
1340 to_region_ok_for_hw_watchpoint.
1341 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1342 Use TARGET_DEFAULT_FUNC.
1343
65f160a9
TT
13442014-02-19 Tom Tromey <tromey@redhat.com>
1345
1346 * target-delegates.c: Rebuild.
1347 * target.c (update_current_target): Don't inherit or default
1348 to_watchpoint_addr_within_range.
1349 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1350 Use TARGET_DEFAULT_FUNC.
1351
61dd109f
TT
13522014-02-19 Tom Tromey <tromey@redhat.com>
1353
1354 * target-delegates.c: Rebuild.
1355 * target.c (update_current_target): Don't inherit or default
1356 to_remove_watchpoint.
1357 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1358 TARGET_DEFAULT_NORETURN.
1359
016facd4
TT
13602014-02-19 Tom Tromey <tromey@redhat.com>
1361
1362 * target-delegates.c: Rebuild.
1363 * target.c (update_current_target): Don't inherit or default
1364 to_insert_watchpoint.
1365 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1366 TARGET_DEFAULT_RETURN.
1367
418dabac
TT
13682014-02-19 Tom Tromey <tromey@redhat.com>
1369
1370 * target-delegates.c: Rebuild.
1371 * target.c (update_current_target): Don't inherit or default
1372 to_remove_hw_breakpoint.
1373 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1374 TARGET_DEFAULT_RETURN.
1375
61b371f9
TT
13762014-02-19 Tom Tromey <tromey@redhat.com>
1377
1378 * target-delegates.c: Rebuild.
1379 * target.c (update_current_target): Don't inherit or default
1380 to_insert_hw_breakpoint.
1381 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1382 TARGET_DEFAULT_RETURN.
1383
52b51d06
TT
13842014-02-19 Tom Tromey <tromey@redhat.com>
1385
1386 * target-delegates.c: Rebuild.
1387 * target.c (update_current_target): Don't inherit or default
1388 to_can_use_hw_breakpoint.
1389 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1390 TARGET_DEFAULT_RETURN.
1391
f86e59b2
TT
13922014-02-19 Tom Tromey <tromey@redhat.com>
1393
1394 * target-delegates.c: Rebuild.
1395 * target.c (update_current_target): Don't inherit or default
1396 to_files_info.
1397 * target.h (struct target_ops) <to_files_info>: Use
1398 TARGET_DEFAULT_IGNORE.
1399
6c628163
TT
14002014-02-19 Tom Tromey <tromey@redhat.com>
1401
1402 * target-delegates.c: Rebuild.
1403 * target.c (update_current_target): Don't inherit or default
1404 to_store.
1405 * target.h (struct target_ops) <to_store>: Use
1406 TARGET_DEFAULT_NORETURN.
1407
bebd3233
TT
14082014-02-19 Tom Tromey <tromey@redhat.com>
1409
1410 * target-delegates.c: Rebuild.
1411 * target.c (update_current_target): Don't inherit or default
1412 to_post_attach.
1413 * target.h (struct target_ops) <to_post_attach>: Use
1414 TARGET_DEFAULT_IGNORE.
1415
a53f3625
TT
14162014-02-19 Tom Tromey <tromey@redhat.com>
1417
1418 * target-delegates.c: Rebuild.
1419 * target.c (update_current_target): Don't inherit or default
1420 to_rcmd.
1421 (default_rcmd): New function.
1422 (do_monitor_command): Unconditionally delegate.
1423 * target.h (struct target_ops) <to_rmcd>: Use
1424 TARGET_DEFAULT_FUNC.
1425
e9a29200
TT
14262014-02-19 Tom Tromey <tromey@redhat.com>
1427
1428 * target-delegates.c: Rebuild.
1429 * target.c (init_dummy_target): Don't initialize to_attach.
1430 (target_attach): Unconditionally delegate.
1431 * target.h (struct target_ops) <to_attach>: Use
1432 TARGET_DEFAULT_FUNC.
1433
09da0d0a
TT
14342014-02-19 Tom Tromey <tromey@redhat.com>
1435
1436 * target-delegates.c: Rebuild.
1437 * target.c (target_detach): Unconditionally delegate.
1438 (init_dummy_target): Don't initialize to_detach.
1439 * target.h (struct target_ops) <to_detach>: Use
1440 TARGET_DEFAULT_IGNORE.
1441
5436ff03
TT
14422014-02-19 Tom Tromey <tromey@redhat.com>
1443
1444 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1445 Add argument.
1446 (target_augmented_libraries_svr4_read): Add argument.
1447 * target.c (update_current_target): Update.
1448 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1449 argument.
1450
f0d960ea
TT
14512014-02-19 Tom Tromey <tromey@redhat.com>
1452
1453 * target.h (struct target_ops) <to_call_history_range>: Add
1454 argument.
1455 * target.c (target_call_history_range): Add argument.
1456 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1457 argument.
1458 (record_btrace_call_history_from): Update.
1459
ec0aea04
TT
14602014-02-19 Tom Tromey <tromey@redhat.com>
1461
1462 * target.h (struct target_ops) <to_call_history_from>: Add
1463 argument.
1464 * target.c (target_call_history_from): Add argument.
1465 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1466 argument.
1467
5df2fcba
TT
14682014-02-19 Tom Tromey <tromey@redhat.com>
1469
1470 * target.h (struct target_ops) <to_call_history>: Add argument.
1471 * target.c (target_call_history): Add argument.
1472 * record-btrace.c (record_btrace_call_history): Add 'self'
1473 argument.
1474
4e99c6b7
TT
14752014-02-19 Tom Tromey <tromey@redhat.com>
1476
1477 * target.h (struct target_ops) <to_insn_history_range>: Add
1478 argument.
1479 * target.c (target_insn_history_range): Add argument.
1480 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1481 argument.
1482 (record_btrace_insn_history_from): Update.
1483
9abc3ff3
TT
14842014-02-19 Tom Tromey <tromey@redhat.com>
1485
1486 * target.h (struct target_ops) <to_insn_history_from>: Add
1487 argument.
1488 * target.c (target_insn_history_from): Add argument.
1489 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1490 argument.
1491
7a6c5609
TT
14922014-02-19 Tom Tromey <tromey@redhat.com>
1493
1494 * target.h (struct target_ops) <to_insn_history>: Add argument.
1495 * target.c (target_insn_history): Add argument.
1496 * record-btrace.c (record_btrace_insn_history): Add 'self'
1497 argument.
1498
606183ac
TT
14992014-02-19 Tom Tromey <tromey@redhat.com>
1500
1501 * target.h (struct target_ops) <to_goto_record>: Add argument.
1502 * target.c (target_goto_record): Add argument.
1503 * record-full.c (record_full_goto): Add 'self' argument.
1504 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1505
307a1b91
TT
15062014-02-19 Tom Tromey <tromey@redhat.com>
1507
1508 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1509 * target.c (target_goto_record_end): Add argument.
1510 * record-full.c (record_full_goto_end): Add 'self' argument.
1511 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1512
08475817
TT
15132014-02-19 Tom Tromey <tromey@redhat.com>
1514
1515 * target.h (struct target_ops) <to_goto_record_begin>: Add
1516 argument.
1517 * target.c (target_goto_record_begin): Add argument.
1518 * record-full.c (record_full_goto_begin): Add 'self' argument.
1519 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1520 argument.
1521
1c63c994
TT
15222014-02-19 Tom Tromey <tromey@redhat.com>
1523
1524 * target.h (struct target_ops) <to_record_is_replaying>: Add
1525 argument.
1526 * target.c (target_record_is_replaying): Add argument.
1527 * record-full.c (record_full_is_replaying): Add 'self' argument.
1528 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1529 argument.
1530 (record_btrace_xfer_partial, record_btrace_store_registers)
1531 (record_btrace_prepare_to_store, record_btrace_resume)
1532 (record_btrace_wait, record_btrace_decr_pc_after_break)
1533 (record_btrace_find_new_threads, record_btrace_thread_alive):
1534 Update.
1535
d1b55219
TT
15362014-02-19 Tom Tromey <tromey@redhat.com>
1537
1538 * target.h (struct target_ops) <to_delete_record>: Add argument.
1539 * target.c (target_delete_record): Add argument.
1540 * record-full.c (record_full_delete): Add 'self' argument.
1541
1390f529
TT
15422014-02-19 Tom Tromey <tromey@redhat.com>
1543
1544 * target.h (struct target_ops) <to_save_record>: Add argument.
1545 * target.c (target_save_record): Add argument.
1546 * record-full.c (record_full_save): Add 'self' argument.
1547 (record_full_save): Add 'self' argument.
1548
630d6a4a
TT
15492014-02-19 Tom Tromey <tromey@redhat.com>
1550
1551 * target.h (struct target_ops) <to_info_record>: Add argument.
1552 * target.c (target_info_record): Add argument.
1553 * record.c (info_record_command): Add argument.
1554 * record-full.c (record_full_info): Add 'self' argument.
1555 * record-btrace.c (record_btrace_info): Add 'self' argument.
1556
c6cd7c02
TT
15572014-02-19 Tom Tromey <tromey@redhat.com>
1558
1559 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1560 * target.c (target_stop_recording): Add argument.
1561 * record.c (record_stop): Add argument.
1562 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1563 argument.
1564
39c49f83
TT
15652014-02-19 Tom Tromey <tromey@redhat.com>
1566
1567 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1568 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1569 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1570 argument.
1571 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1572 (_initialize_amd64_linux_nat): Use it.
1573 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1574 (_initialize_i386_linux_nat): Use it.
1575
1777056d
TT
15762014-02-19 Tom Tromey <tromey@redhat.com>
1577
1578 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1579 * target.c (target_teardown_btrace): Add argument.
1580 * remote.c (remote_teardown_btrace): Add 'self' argument.
1581 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1582 argument.
1583 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1584 argument.
1585
25e95349
TT
15862014-02-19 Tom Tromey <tromey@redhat.com>
1587
1588 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1589 * target.c (target_disable_btrace): Add argument.
1590 * remote.c (remote_disable_btrace): Add 'self' argument.
1591 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1592 argument.
1593 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1594 argument.
1595
e3c49f88
TT
15962014-02-19 Tom Tromey <tromey@redhat.com>
1597
1598 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1599 * target.c (target_enable_btrace): Add argument.
1600 * remote.c (remote_enable_btrace): Add 'self' argument.
1601 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1602 argument.
1603 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1604 argument.
1605
fe38f897
TT
16062014-02-19 Tom Tromey <tromey@redhat.com>
1607
1608 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1609 (target_can_use_agent): Add argument.
1610 * target.c (update_current_target): Update.
1611 * remote.c (remote_can_use_agent): Add 'self' argument.
1612 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1613
2c152180
TT
16142014-02-19 Tom Tromey <tromey@redhat.com>
1615
1616 * target.h (struct target_ops) <to_use_agent>: Add argument.
1617 (target_use_agent): Add argument.
1618 * target.c (update_current_target): Update.
1619 * remote.c (remote_use_agent): Add 'self' argument.
1620 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1621
a893e81f
TT
16222014-02-19 Tom Tromey <tromey@redhat.com>
1623
1624 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1625 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1626 (target_traceframe_info): Add argument.
1627 * target.c (update_current_target): Update.
1628 * remote.c (remote_traceframe_info): Add 'self' argument.
1629 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1630
c686c57f
TT
16312014-02-19 Tom Tromey <tromey@redhat.com>
1632
1633 * target.h (target_static_tracepoint_markers_by_strid): Add
1634 argument.
1635 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1636 'self' argument.
1637 * target.c (update_current_target): Update.
1638 * remote.c (struct target_ops)
1639 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1640 * linux-nat.c (struct target_ops)
1641 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1642
61fc905d
TT
16432014-02-19 Tom Tromey <tromey@redhat.com>
1644
1645 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1646 Add argument.
1647 (target_static_tracepoint_marker_at): Add argument.
1648 * target.c (update_current_target): Update.
1649 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1650 argument.
1651
c378d69d
TT
16522014-02-19 Tom Tromey <tromey@redhat.com>
1653
1654 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1655 (target_set_permissions): Add argument.
1656 * target.c (update_current_target): Update.
1657 * remote.c (remote_set_permissions): Add 'self' argument.
1658 (remote_start_remote): Update.
1659
bd7ae0f5
TT
16602014-02-19 Tom Tromey <tromey@redhat.com>
1661
1662 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1663 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1664 (target_get_tib_address): Add argument.
1665 * target.c (update_current_target): Update.
1666 * remote.c (remote_get_tib_address): Add 'self' argument.
1667
d9e68a2c
TT
16682014-02-19 Tom Tromey <tromey@redhat.com>
1669
1670 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1671 (target_set_trace_notes): Add argument.
1672 * target.c (update_current_target): Update.
1673 * remote.c (remote_set_trace_notes): Add 'self' argument.
1674
4da384be
TT
16752014-02-19 Tom Tromey <tromey@redhat.com>
1676
1677 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1678 argument.
1679 (target_set_trace_buffer_size): Add argument.
1680 * target.c (update_current_target): Update.
1681 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1682
736d5b1f
TT
16832014-02-19 Tom Tromey <tromey@redhat.com>
1684
1685 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1686 argument.
1687 (target_set_circular_trace_buffer): Add argument.
1688 * target.c (update_current_target): Update.
1689 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1690 argument.
1691
37b25738
TT
16922014-02-19 Tom Tromey <tromey@redhat.com>
1693
1694 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1695 argument.
1696 (target_set_disconnected_tracing): Add argument.
1697 * target.c (update_current_target): Update.
1698 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1699
0e67620a
TT
17002014-02-19 Tom Tromey <tromey@redhat.com>
1701
1702 * target.h (struct target_ops)
1703 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1704 (target_get_min_fast_tracepoint_insn_len): Add argument.
1705 * target.c (update_current_target): Update.
1706 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1707 argument.
1708
88ee6f45
TT
17092014-02-19 Tom Tromey <tromey@redhat.com>
1710
1711 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1712 argument.
1713 (target_get_raw_trace_data): Add argument.
1714 * target.c (update_current_target): Update.
1715 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1716
181e3713
TT
17172014-02-19 Tom Tromey <tromey@redhat.com>
1718
1719 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1720 Add argument.
1721 (target_upload_trace_state_variables): Add argument.
1722 * target.c (update_current_target): Update.
1723 * remote.c (remote_upload_trace_state_variables): Add 'self'
1724 argument.
1725 (remote_start_remote): Update.
1726
ab6617cc
TT
17272014-02-19 Tom Tromey <tromey@redhat.com>
1728
1729 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1730 argument.
1731 (target_upload_tracepoints): Add argument.
1732 * target.c (update_current_target): Update.
1733 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1734 (remote_start_remote): Update.
1735
dc3decaf
TT
17362014-02-19 Tom Tromey <tromey@redhat.com>
1737
1738 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1739 (target_save_trace_data): Add argument.
1740 * target.c (update_current_target): Update.
1741 * remote.c (remote_save_trace_data): Add 'self' argument.
1742
4011015b
TT
17432014-02-19 Tom Tromey <tromey@redhat.com>
1744
1745 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1746 argument.
1747 * target.h (struct target_ops)
1748 <to_get_trace_state_variable_value>: Add argument.
1749 (target_get_trace_state_variable_value): Add argument.
1750 * target.c (update_current_target): Update.
1751 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1752 argument.
1753 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1754
bd4c6793
TT
17552014-02-19 Tom Tromey <tromey@redhat.com>
1756
1757 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1758 * target.h (struct target_ops) <to_trace_find>: Add argument.
1759 (target_trace_find): Add argument.
1760 * target.c (update_current_target): Update.
1761 * remote.c (remote_trace_find): Add 'self' argument.
1762 * ctf.c (ctf_trace_find): Add 'self' argument.
1763
74499f1b
TT
17642014-02-19 Tom Tromey <tromey@redhat.com>
1765
1766 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1767 (target_trace_stop): Add argument.
1768 * target.c (update_current_target): Update.
1769 * remote.c (remote_trace_stop): Add 'self' argument.
1770
db90e85c
TT
17712014-02-19 Tom Tromey <tromey@redhat.com>
1772
1773 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1774 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1775 argument.
1776 (target_get_tracepoint_status): Add argument.
1777 * target.c (update_current_target): Update.
1778 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1779
8bd200f1
TT
17802014-02-19 Tom Tromey <tromey@redhat.com>
1781
1782 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1783 * target.h (struct target_ops) <to_get_trace_status>: Add
1784 argument.
1785 (target_get_trace_status): Add argument.
1786 * target.c (update_current_target): Update.
1787 * remote.c (remote_get_trace_status): Add 'self' argument.
1788 (remote_start_remote, remote_can_download_tracepoint): Update.
1789 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1790
e2d1aae3
TT
17912014-02-19 Tom Tromey <tromey@redhat.com>
1792
1793 * target.h (struct target_ops) <to_trace_start>: Add argument.
1794 (target_trace_start): Add argument.
1795 * target.c (update_current_target): Update.
1796 * remote.c (remote_trace_start): Add 'self' argument.
1797
583f9a86
TT
17982014-02-19 Tom Tromey <tromey@redhat.com>
1799
1800 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1801 Add argument.
1802 (target_trace_set_readonly_regions): Add argument.
1803 * target.c (update_current_target): Update.
1804 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1805 argument.
1806
780b049c
TT
18072014-02-19 Tom Tromey <tromey@redhat.com>
1808
1809 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1810 argument.
1811 (target_disable_tracepoint): Add argument.
1812 * target.c (update_current_target): Update.
1813 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1814
46670d57
TT
18152014-02-19 Tom Tromey <tromey@redhat.com>
1816
1817 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1818 argument.
1819 (target_enable_tracepoint): Add argument.
1820 * target.c (update_current_target): Update.
1821 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1822
559d2b81
TT
18232014-02-19 Tom Tromey <tromey@redhat.com>
1824
1825 * target.h (struct target_ops) <to_download_trace_state_variable>:
1826 Add argument.
1827 (target_download_trace_state_variable): Add argument.
1828 * target.c (update_current_target): Update.
1829 * remote.c (remote_download_trace_state_variable): Add 'self'
1830 argument.
1831
a52a8357
TT
18322014-02-19 Tom Tromey <tromey@redhat.com>
1833
1834 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1835 argument.
1836 (target_can_download_tracepoint): Add argument.
1837 * target.c (update_current_target): Update.
1838 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1839
548f7808
TT
18402014-02-19 Tom Tromey <tromey@redhat.com>
1841
1842 * target.h (struct target_ops) <to_download_tracepoint>: Add
1843 argument.
1844 (target_download_tracepoint): Add argument.
1845 * target.c (update_current_target): Update.
1846 * remote.c (remote_download_tracepoint): Add 'self' argument.
1847
ecae04e1
TT
18482014-02-19 Tom Tromey <tromey@redhat.com>
1849
1850 * target.h (struct target_ops) <to_trace_init>: Add argument.
1851 (target_trace_init): Add argument.
1852 * target.c (update_current_target): Update.
1853 * remote.c (remote_trace_init): Add 'self' argument.
1854
fab5aa7c
TT
18552014-02-19 Tom Tromey <tromey@redhat.com>
1856
1857 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1858 * target.c (target_fileio_readlink): Add argument.
1859 * remote.c (remote_hostio_readlink): Add 'self' argument.
1860 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1861
dbbca37d
TT
18622014-02-19 Tom Tromey <tromey@redhat.com>
1863
1864 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1865 * target.c (target_fileio_unlink): Add argument.
1866 * remote.c (remote_hostio_unlink): Add 'self' argument.
1867 (remote_file_delete): Update.
1868 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1869
df39ea25
TT
18702014-02-19 Tom Tromey <tromey@redhat.com>
1871
1872 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1873 * target.c (target_fileio_close): Add argument.
1874 * remote.c (remote_hostio_close): Add 'self' argument.
1875 (remote_hostio_close_cleanup): Update.
1876 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1877 Update.
1878 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1879
a3be983c
TT
18802014-02-19 Tom Tromey <tromey@redhat.com>
1881
1882 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1883 * target.c (target_fileio_pread): Add argument.
1884 * remote.c (remote_hostio_pread): Add 'self' argument.
1885 (remote_bfd_iovec_pread, remote_file_get): Update.
1886 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1887
0d866f62
TT
18882014-02-19 Tom Tromey <tromey@redhat.com>
1889
1890 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1891 * target.c (target_fileio_pwrite): Add argument.
1892 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1893 (remote_file_put): Update.
1894 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1895
cd897586
TT
18962014-02-19 Tom Tromey <tromey@redhat.com>
1897
1898 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1899 * target.c (target_fileio_open): Add argument.
1900 * remote.c (remote_hostio_open): Add 'self' argument.
1901 (remote_bfd_iovec_open): Add 'self' argument.
1902 (remote_file_put): Add 'self' argument.
1903 (remote_file_get): Add 'self' argument.
1904 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1905
78eff0ec
TT
19062014-02-19 Tom Tromey <tromey@redhat.com>
1907
1908 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1909 Add argument.
1910 (target_can_run_breakpoint_commands): Add argument.
1911 * target.c (update_current_target): Update.
1912 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1913 argument.
1914 (remote_insert_breakpoint): Add 'self' argument.
1915 (remote_insert_hw_breakpoint): Add 'self' argument.
1916 (remote_can_run_breakpoint_commands): Add 'self' argument.
1917
efcc2da7
TT
19182014-02-19 Tom Tromey <tromey@redhat.com>
1919
1920 * target.h (struct target_ops)
1921 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1922 (target_supports_evaluation_of_breakpoint_conditions): Add
1923 argument.
1924 * target.c (update_current_target): Update.
1925 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1926 argument.
1927 (remote_insert_breakpoint): Add 'self' argument.
1928 (remote_insert_hw_breakpoint): Add 'self' argument.
1929 (remote_supports_cond_breakpoints): Add 'self' argument.
1930
6de37a3a
TT
19312014-02-19 Tom Tromey <tromey@redhat.com>
1932
1933 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1934 argument.
1935 (target_supports_string_tracing): Add argument.
1936 * target.c (update_current_target): Update.
1937 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1938
2bfc0540
TT
19392014-02-19 Tom Tromey <tromey@redhat.com>
1940
1941 * target.h (struct target_ops)
1942 <to_supports_disable_randomization>: Add argument.
1943 * target.c (find_default_supports_disable_randomization): Add
1944 argument.
1945 (target_supports_disable_randomization): Add argument.
1946 (find_default_supports_disable_randomization): Add 'self'
1947 argument.
1948 * remote.c (extended_remote_supports_disable_randomization): Add
1949 'self' argument.
1950 (remote_supports_disable_randomization): Add 'self' argument.
1951 (extended_remote_create_inferior): Update.
1952 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1953 'self' argument.
1954
7d178d6a
TT
19552014-02-19 Tom Tromey <tromey@redhat.com>
1956
1957 * target.h (struct target_ops)
1958 <to_supports_enable_disable_tracepoint>: Add argument.
1959 (target_supports_enable_disable_tracepoint): Add argument.
1960 * target.c (update_current_target): Update.
1961 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1962 argument.
1963
86ce2668
TT
19642014-02-19 Tom Tromey <tromey@redhat.com>
1965
1966 * target.h (struct target_ops) <to_supports_multi_process>: Add
1967 argument.
1968 (target_supports_multi_process): Add argument.
1969 * target.c (update_current_target): Update.
1970 * remote.c (remote_supports_multi_process): Add 'self' argument.
1971 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1972 argument.
1973 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1974 argument.
1975
4c612759
TT
19762014-02-19 Tom Tromey <tromey@redhat.com>
1977
1978 * target.h (struct target_ops) <to_execution_direction>: Add
1979 argument.
1980 (target_execution_direction): Add argument.
1981 * target.c (default_execution_direction): Add 'self' argument.
1982 * record-full.c (record_full_execution_direction): Add 'self'
1983 argument.
1984
19db3e69
TT
19852014-02-19 Tom Tromey <tromey@redhat.com>
1986
1987 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1988 argument.
1989 (target_can_execute_reverse): Add argument.
1990 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1991 * record-full.c (record_full_can_execute_reverse): Add 'self'
1992 argument.
1993 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1994 argument.
1995
1e6b91a4
TT
19962014-02-19 Tom Tromey <tromey@redhat.com>
1997
1998 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1999 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2000 argument.
2001 (target_get_ada_task_ptid): Add argument.
2002 * target.c (update_current_target): Update.
2003 (default_get_ada_task_ptid): Add 'self' argument.
2004 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2005 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2006 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2007 argument.
2008 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2009 argument.
2010 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2011 argument.
2012 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2013 argument.
2014 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2015 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2016 argument.
2017
3c80fb48
TT
20182014-02-19 Tom Tromey <tromey@redhat.com>
2019
2020 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2021 (target_goto_bookmark): Add argument.
2022 * target.c (dummy_goto_bookmark): Add 'self' argument.
2023 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2024
dd0e2830
TT
20252014-02-19 Tom Tromey <tromey@redhat.com>
2026
2027 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2028 (target_get_bookmark): Add argument.
2029 * target.c (dummy_get_bookmark): Add 'self' argument.
2030 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2031
fc6691b2
TT
20322014-02-19 Tom Tromey <tromey@redhat.com>
2033
2034 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2035 argument.
2036 (target_make_corefile_notes): Add argument.
2037 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2038 * procfs.c (procfs_make_note_section): Add 'self' argument.
2039 (procfs_make_note_section): Add 'self' argument.
2040 (procfs_make_note_section): Add 'self' argument.
2041 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2042 argument.
2043 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2044 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2045 * exec.c (exec_make_note_section): Add 'self' argument.
2046 (exec_make_note_section): Add 'self' argument.
2047
2e73927c
TT
20482014-02-19 Tom Tromey <tromey@redhat.com>
2049
2050 * target.h (struct target_ops) <to_find_memory_regions>: Add
2051 argument.
2052 (target_find_memory_regions): Add argument.
2053 * target.c (dummy_find_memory_regions): Add 'self' argument.
2054 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2055 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2056 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2057 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2058 * exec. (exec_do_find_memory_regions): New global.
2059 (exec_set_find_memory_regions): Rewrite.
2060 (exec_find_memory_regions): New function.
2061 (init_exec_ops): Use exec_find_memory_regions.
2062
2a9a2795
TT
20632014-02-19 Tom Tromey <tromey@redhat.com>
2064
2065 * target.h (struct target_ops) <to_supports_non_stop>: Add
2066 argument.
2067 * target.c (find_default_supports_non_stop): Add argument.
2068 (target_supports_non_stop): Add argument.
2069 (find_default_supports_non_stop): Add 'self' argument.
2070 * remote.c (remote_supports_non_stop): Add 'self' argument.
2071 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2072
4ab76ea3
TT
20732014-02-19 Tom Tromey <tromey@redhat.com>
2074
2075 * target.h (struct target_ops) <to_log_command>: Add argument.
2076 (target_log_command): Add argument.
2077 * serial.h (serial_log_command): Add 'self' argument.
2078 * serial.c (serial_log_command): Add 'self' argument.
2079
8dd27370
TT
20802014-02-19 Tom Tromey <tromey@redhat.com>
2081
2082 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2083 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2084 argument.
2085 (target_pid_to_exec_file): Add argument.
2086 * target.c (debug_to_pid_to_exec_file): Add argument.
2087 (update_current_target): Update.
2088 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2089 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2090 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2091 (linux_handle_extended_wait): Update.
2092 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2093 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2094 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2095 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2096
1aac633b
TT
20972014-02-19 Tom Tromey <tromey@redhat.com>
2098
2099 * target.h (struct target_ops) <to_rcmd>: Add argument.
2100 (target_rcmd): Add argument.
2101 * target.c (debug_to_rcmd): Add argument.
2102 (update_current_target, do_monitor_command): Update.
2103 * remote.c (remote_rcmd): Add 'self' argument.
2104 * monitor.c (monitor_rcmd): Add 'self' argument.
2105
1eab8a48
TT
21062014-02-19 Tom Tromey <tromey@redhat.com>
2107
2108 * windows-nat.c (windows_stop): Add 'self' argument.
2109 * target.h (struct target_ops) <to_stop>: Add argument.
2110 * target.c (target_stop): Add argument.
2111 (debug_to_stop): Add argument.
2112 (update_current_target): Update.
2113 * remote.c (remote_stop): Add 'self' argument.
2114 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2115 (gdbsim_cntrl_c): Update.
2116 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2117 * procfs.c (procfs_stop): Add 'self' argument.
2118 * nto-procfs.c (procfs_stop): Add 'self' argument.
2119 * monitor.c (monitor_stop): Add 'self' argument.
2120 (monitor_open): Update.
2121 * linux-nat.c (linux_nat_stop): Add argument.
2122 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2123 * gnu-nat.c (gnu_stop): Add 'self' argument.
2124 * darwin-nat.c (darwin_stop): Add 'self' argument.
2125
503a628d
TT
21262014-02-19 Tom Tromey <tromey@redhat.com>
2127
2128 * target.h (struct target_ops) <to_thread_name>: Add argument.
2129 * target.c (target_thread_name): Add argument.
2130 (update_current_target): Update.
2131 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2132
c15906d8
TT
21332014-02-19 Tom Tromey <tromey@redhat.com>
2134
2135 * target.h (struct target_ops) <to_extra_thread_info>: Add
2136 argument.
2137 (target_extra_thread_info): Add argument.
2138 * target.c (update_current_target): Update.
2139 * remote.c (remote_threads_extra_info): Add 'self' argument.
2140 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2141 argument.
2142 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2143 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2144 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2145 argument.
2146 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2147 argument.
2148 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2149 argument.
2150 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2151 argument.
2152
daf5e9b6
TT
21532014-02-19 Tom Tromey <tromey@redhat.com>
2154
2155 * target.h (struct target_ops) <to_program_signals>: Add argument.
2156 * target.c (target_program_signals): Add argument.
2157 * remote.c (remote_program_signals): Add 'self' argument.
2158
94bedb42
TT
21592014-02-19 Tom Tromey <tromey@redhat.com>
2160
2161 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2162 * target.c (target_pass_signals): Add argument.
2163 * remote.c (remote_pass_signals): Add 'self' argument.
2164 (remote_start_remote): Update.
2165 * procfs.c (procfs_pass_signals): Add 'self' argument.
2166 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2167 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2168 (linux_nat_create_inferior, linux_nat_attach): Update.
2169
da82bd6b
TT
21702014-02-19 Tom Tromey <tromey@redhat.com>
2171
2172 * windows-nat.c (windows_can_run): Add 'self' argument.
2173 * target.h (struct target_ops) <to_can_run>: Add argument.
2174 (target_can_run): Add argument.
2175 * target.c (debug_to_can_run): Add argument.
2176 (update_current_target): Update.
2177 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2178 * inf-child.c (inf_child_can_run): Add 'self' argument.
2179 * go32-nat.c (go32_can_run): Add 'self' argument.
2180
d796e1d6
TT
21812014-02-19 Tom Tromey <tromey@redhat.com>
2182
2183 * target.h (struct target_ops) <to_has_exited>: Add argument.
2184 (target_has_exited): Add argument.
2185 * target.c (debug_to_has_exited): Add argument.
2186 (update_current_target): Update.
2187
ff214e67
TT
21882014-02-19 Tom Tromey <tromey@redhat.com>
2189
2190 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2191 argument.
2192 (target_set_syscall_catchpoint): Add argument.
2193 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2194 argument.
2195 * target.c (update_current_target): Update.
2196
758e29d2
TT
21972014-02-19 Tom Tromey <tromey@redhat.com>
2198
2199 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2200 argument.
2201 (target_remove_exec_catchpoint): Add argument.
2202 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2203 (update_current_target): Update.
2204 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2205 argument.
2206
ba025e51
TT
22072014-02-19 Tom Tromey <tromey@redhat.com>
2208
2209 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2210 argument.
2211 (target_insert_exec_catchpoint): Add argument.
2212 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2213 (update_current_target): Update.
2214 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2215 argument.
2216
e98cf0cd
TT
22172014-02-19 Tom Tromey <tromey@redhat.com>
2218
2219 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2220 argument.
2221 (target_remove_vfork_catchpoint): Add argument.
2222 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2223 (update_current_target): Update.
2224 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2225 argument.
2226
3ecc7da0
TT
22272014-02-19 Tom Tromey <tromey@redhat.com>
2228
2229 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2230 argument.
2231 (target_insert_vfork_catchpoint): Add argument.
2232 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2233 (update_current_target): Update.
2234 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2235 argument.
2236
973fc227
TT
22372014-02-19 Tom Tromey <tromey@redhat.com>
2238
2239 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2240 argument.
2241 (target_remove_fork_catchpoint): Add argument.
2242 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2243 (update_current_target): Update.
2244 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2245 argument.
2246
a863b201
TT
22472014-02-19 Tom Tromey <tromey@redhat.com>
2248
2249 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2250 argument.
2251 (target_insert_fork_catchpoint): Add argument.
2252 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2253 (update_current_target): Update.
2254 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2255 argument.
2256
2e97a79e
TT
22572014-02-19 Tom Tromey <tromey@redhat.com>
2258
2259 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2260 argument.
2261 (target_post_startup_inferior): Add argument.
2262 * target.c (debug_to_post_startup_inferior): Add argument.
2263 (update_current_target): Update.
2264 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2265 argument.
2266 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2267 argument.
2268 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2269 argument.
2270 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2271 argument.
2272 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2273 'self' argument.
2274 (super_post_startup_inferior): Likewise.
2275 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2276 'self' argument.
2277 (super_post_startup_inferior): Likewise.
2278 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2279 Add 'self' argument.
2280 (super_post_startup_inferior): Likewise.
2281
71a9f134
TT
22822014-02-19 Tom Tromey <tromey@redhat.com>
2283
2284 * target.h (struct target_ops) <to_load>: Add argument.
2285 * target.c (target_load): Add argument.
2286 (debug_to_load): Add argument.
2287 (update_current_target): Update.
2288 * remote.c (remote_load): Add 'self' argument.
2289 * remote-sim.c (gdbsim_load): Add 'self' argument.
2290 * remote-mips.c (mips_load): Add 'self' argument.
2291 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2292 * monitor.c (monitor_load): Add 'self' argument.
2293 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2294
0a4f40a2
TT
22952014-02-19 Tom Tromey <tromey@redhat.com>
2296
2297 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2298 (target_terminal_info): Add argument.
2299 * target.c (debug_to_terminal_info): Add argument.
2300 (default_terminal_info): Likewise.
2301 * inflow.c (child_terminal_info): Add 'self' argument.
2302 * inferior.h (child_terminal_info): Add 'self' argument.
2303 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2304
ae3bd431
TT
23052014-02-19 Tom Tromey <tromey@redhat.com>
2306
2307 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2308 argument.
2309 (target_terminal_save_ours): Add argument.
2310 * target.c (debug_to_terminal_save_ours): Add argument.
2311 (update_current_target): Update.
2312 * inflow.c (terminal_save_ours): Add 'self' argument.
2313 * inferior.h (terminal_save_ours): Add 'self' argument.
2314
e3594fd1
TT
23152014-02-19 Tom Tromey <tromey@redhat.com>
2316
2317 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2318 (target_terminal_ours): Add argument.
2319 * target.c (debug_to_terminal_ours): Add argument.
2320 (update_current_target): Update.
2321 * remote.c (remote_terminal_ours): Add 'self' argument.
2322 (remote_close): Update.
2323 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2324 * inflow.c (terminal_ours): Add 'self' argument.
2325 * inferior.h (terminal_ours): Add 'self' argument.
2326 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2327
2e1e1a19
TT
23282014-02-19 Pedro Alves <palves@redhat.com>
2329 Tom Tromey <tromey@redhat.com>
2330
2331 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2332 argument.
2333 (target_terminal_ours_for_output): Add argument.
2334 * target.c (debug_to_terminal_ours_for_output): Add argument.
2335 (update_current_target): Update.
2336 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2337 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2338 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2339
d2f640d4
TT
23402014-02-19 Tom Tromey <tromey@redhat.com>
2341
2342 * target.h (struct target_ops) <to_terminal_inferior>: Add
2343 argument.
2344 * target.c (target_terminal_inferior): Add argument.
2345 (update_current_target): Update.
2346 * remote.c (remote_terminal_inferior): Add 'self' argument.
2347 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2348 * inflow.c (terminal_inferior): Add 'self' argument.
2349 * inferior.h (terminal_inferior): Add 'self' argument.
2350 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2351 (go32_terminal_inferior): Add 'self' argument.
2352
c42bf286
TT
23532014-02-19 Tom Tromey <tromey@redhat.com>
2354
2355 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2356 (target_terminal_init): Add argument.
2357 * target.c (debug_to_terminal_init): Add argument.
2358 (update_current_target): Update.
2359 * inflow.c (terminal_init_inferior): Add 'self' argument.
2360 * inferior.h (terminal_init_inferior): Add 'self' argument.
2361 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2362 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2363
c3a5ff89
TT
23642014-02-19 Tom Tromey <tromey@redhat.com>
2365
2366 * target.h (struct target_ops)
2367 <to_can_accel_watchpoint_condition>: Add argument.
2368 (target_can_accel_watchpoint_condition): Add argument.
2369 * target.c (debug_to_can_accel_watchpoint_condition): Add
2370 argument.
2371 (update_current_target): Update.
2372 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2373 'self' argument.
2374
31568a15
TT
23752014-02-19 Tom Tromey <tromey@redhat.com>
2376
2377 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2378 Add argument.
2379 (target_region_ok_for_hw_watchpoint): Add argument.
2380 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2381 (default_region_ok_for_hw_watchpoint): Add argument.
2382 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2383 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2384 argument.
2385 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2386 argument.
2387 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2388 argument.
2389 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2390 'self' argument.
2391 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2392 'self' argument.
2393 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2394 'self' argument.
2395 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2396 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2397 'self' argument.
2398 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2399 Add 'self' argument.
2400
7bb99c53
TT
24012014-02-19 Tom Tromey <tromey@redhat.com>
2402
2403 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2404 argument.
2405 (target_insert_watchpoint): Add argument.
2406 * target.c (debug_to_insert_watchpoint): Add argument.
2407 (update_current_target): Update.
2408 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2409 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2410 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2411 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2412 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2413 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2414 argument.
2415 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2416 (procfs_insert_hw_watchpoint): Add 'self' argument.
2417 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2418 argument.
2419 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2420 argument.
2421 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2422 argument.
2423 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2424 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2425 argument.
2426 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2427 'self' argument.
2428
11b5219a
TT
24292014-02-19 Tom Tromey <tromey@redhat.com>
2430
2431 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2432 argument.
2433 (target_remove_watchpoint): Add argument.
2434 * target.c (debug_to_remove_watchpoint): Add argument.
2435 (update_current_target): Update.
2436 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2437 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2438 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2439 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2440 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2441 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2442 argument.
2443 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2444 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2445 argument.
2446 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2447 argument.
2448 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2449 argument.
2450 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2451 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2452 argument.
2453 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2454 'self' argument.
2455
a64dc96c
TT
24562014-02-19 Tom Tromey <tromey@redhat.com>
2457
2458 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2459 argument.
2460 (target_remove_hw_breakpoint): Add argument.
2461 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2462 (update_current_target): Update.
2463 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2464 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2465 argument.
2466 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2467 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2468 argument.
2469 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2470 'self' argument.
2471
23a26771
TT
24722014-02-19 Tom Tromey <tromey@redhat.com>
2473
2474 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2475 argument.
2476 (target_insert_hw_breakpoint): Add argument.
2477 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2478 (update_current_target): Update.
2479 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2480 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2481 argument.
2482 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2483 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2484 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2485 argument.
2486 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2487 'self' argument.
2488
5461485a
TT
24892014-02-19 Tom Tromey <tromey@redhat.com>
2490
2491 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2492 argument.
2493 (target_can_use_hardware_watchpoint): Add argument.
2494 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2495 (update_current_target): Update.
2496 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2497 argument.
2498 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2499 argument.
2500 * remote.c (remote_check_watch_resources): Add 'self' argument.
2501 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2502 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2503 argument.
2504 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2505 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2506 argument.
2507 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2508 argument.
2509 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2510 argument.
2511 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2512 argument.
2513 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2514 argument.
2515 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2516 argument.
2517 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2518 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2519 argument.
2520 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2521 'self' argument.
2522
f045800c
TT
25232014-02-19 Tom Tromey <tromey@redhat.com>
2524
2525 * target.h (struct target_ops) <to_post_attach>: Add argument.
2526 (target_post_attach): Add argument.
2527 * target.c (debug_to_post_attach): Add argument.
2528 (update_current_target): Update.
2529 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2530 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2531 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2532 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2533 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2534
de90e03d
TT
25352014-02-19 Tom Tromey <tromey@redhat.com>
2536
2537 * windows-nat.c (windows_close): Add 'self' argument.
2538 * tracepoint.c (tfile_close): Add 'self' argument.
2539 * target.h (struct target_ops) <to_close>: Add argument.
2540 * target.c (target_close): Add argument.
2541 (update_current_target): Update.
2542 * remote.c (remote_close): Add 'self' argument.
2543 * remote-sim.c (gdbsim_close): Add 'self' argument.
2544 * remote-mips.c (mips_close): Add 'self' argument.
2545 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2546 * record-full.c (record_full_close): Add 'self' argument.
2547 * record-btrace.c (record_btrace_close): Add 'self' argument.
2548 * monitor.h (monitor_close): Add 'self' argument.
2549 * monitor.c (monitor_close): Add 'self' argument.
2550 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2551 * linux-nat.c (linux_nat_close): Add argument.
2552 * go32-nat.c (go32_close): Add 'self' argument.
2553 * exec.c (exec_close_1): Add 'self' argument.
2554 * ctf.c (ctf_close): Add 'self' argument.
2555 * corelow.c (core_close): Add 'self' argument.
2556 (core_close_cleanup): Update.
2557 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2558 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2559
9dd130a0
TT
25602014-02-19 Tom Tromey <tromey@redhat.com>
2561
2562 * remote.c (remote_load): New function.
2563 (init_remote_ops): Use it.
2564
46917d26
TT
25652014-02-19 Tom Tromey <tromey@redhat.com>
2566
2567 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2568 argument.
2569 * common/linux-btrace.h (linux_supports_btrace): Update.
2570 * remote.c (remote_supports_btrace): Add "self" argument.
2571 * target-delegates.c: Rebuild.
2572 * target.c (target_supports_btrace): Remove.
2573 * target.h (struct target_ops) <to_supports_btrace>: Add
2574 target_ops argument.
2575 (target_supports_btrace): New define.
2576
6b84065d
TT
25772014-02-19 Tom Tromey <tromey@redhat.com>
2578
2579 * record-full.c (record_full_beneath_to_resume_ops)
2580 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2581 (record_full_beneath_to_wait)
2582 (record_full_beneath_to_store_registers_ops)
2583 (record_full_beneath_to_store_registers)
2584 (record_full_beneath_to_xfer_partial_ops)
2585 (record_full_beneath_to_xfer_partial)
2586 (record_full_beneath_to_insert_breakpoint_ops)
2587 (record_full_beneath_to_insert_breakpoint)
2588 (record_full_beneath_to_remove_breakpoint_ops)
2589 (record_full_beneath_to_remove_breakpoint)
2590 (record_full_beneath_to_stopped_by_watchpoint)
2591 (record_full_beneath_to_stopped_data_address)
2592 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2593 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2594 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2595 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2596 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2597 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2598 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2599 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2600 (record_full_resume, record_full_wait_1)
2601 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2602 (record_full_store_registers, record_full_xfer_partial)
2603 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2604 (record_full_async, record_full_core_xfer_partial): Use target
2605 delegation.
2606 * target-delegates.c: Rebuild.
2607 * target.c (current_xfer_partial): Remove.
2608 (update_current_target): Do not INHERIT or de_fault
2609 to_insert_breakpoint, to_remove_breakpoint,
2610 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2611 to_is_async_p, to_async. Do not set to_xfer_partial field.
2612 (default_xfer_partial): Simplify.
2613 (current_xfer_partial): Remove.
2614 (target_wait, target_resume): Simplify.
2615 (find_default_can_async_p, find_default_is_async_p): Update.
2616 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2617 to_xfer_partial, to_stopped_by_watchpoint,
2618 to_stopped_data_address.
2619 (target_store_registers): Simplify.
2620 (forward_target_remove_breakpoint)
2621 (forward_target_insert_breakpoint): Remove.
2622 (target_remove_breakpoint, target_insert_breakpoint)
2623 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2624 * target.h (struct target_ops) <to_resume, to_wait,
2625 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2626 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2627 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2628 markup.
2629 (forward_target_remove_breakpoint)
2630 (forward_target_insert_breakpoint): Remove.
2631 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2632 directly.
2633 (record_btrace_insert_breakpoint): Delegate directly.
2634
1101cb7b
TT
26352014-02-19 Tom Tromey <tromey@redhat.com>
2636
2637 PR build/7701:
2638 * target-delegates.c: New file.
2639 * target.c: Include target-delegates.c.
2640 (init_dummy_target): Call install_dummy_methods.
2641 (complete_target_initialization): Call install_delegators.
2642 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2643 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2644 * make-target-delegates: New file.
2645
8b06beed
TT
26462014-02-19 Tom Tromey <tromey@redhat.com>
2647
2648 * record.c (find_record_target): Use find_target_at.
2649 * target.c (find_target_at): New function.
2650 * target.h (find_target_at): Declare.
2651
6a109b6b
TT
26522014-02-19 Tom Tromey <tromey@redhat.com>
2653
2654 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2655 Add 'ops' argument.
2656 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2657 'ops' argument.
2658 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2659 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2660 'ops' argument.
2661 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2662 argument.
2663 * linux-nat.c (save_sigtrap): Update.
2664 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2665 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2666 (linux_nat_close): Update.
2667 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2668 argument.
2669 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2670 argument.
2671 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2672 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2673 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2674 (tmp_to_async): Add 'ops' argument.
2675 (record_full_stopped_by_watchpoint, record_full_async)
2676 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2677 argument.
2678 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2679 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2680 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2681 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2682 (remote_is_async_p, remote_async): Add 'ops' argument.
2683 (remote_stopped_data_address): Update.
2684 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2685 * target.c (update_current_target)
2686 (find_default_can_async_p, find_default_is_async_p): Update.
2687 (init_dummy_target): Update.
2688 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2689 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2690 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2691 (target_can_async_p, target_is_async_p, target_async)
2692 (target_stopped_by_watchpoint): Update.
2693
e095146b
YQ
26942014-02-19 Yao Qi <yao@codesourcery.com>
2695
2696 PR gdb/16220
2697 * gdbarch.sh: Remove startup_gdbarch.
2698 * gdbarch.c: Regenerated.
2699 * gdbarch.h: Likewise.
2700
bc3c6b36
KB
27012014-02-17 Kevin Buettner <kevinb@redhat.com>
2702
2703 * rl78-tdep.c (rl78_g10_register_name): New function.
2704 (rl78_return_value): Add g10 support.
2705 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2706 g10.
2707
98dc0167 27082014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
2709
2710 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2711 (SUBDIR_GUILE_SRCS): Ditto.
2712 (scm-gsmob.o): Ditto.
2713
842c05cd
YQ
27142014-02-17 Yao Qi <yao@codesourcery.com>
2715
2716 * gnu-nat.c (ILL_RPC): Declare defined function.
2717
25c0bd04
YQ
27182014-02-17 Yao Qi <yao@codesourcery.com>
2719
2720 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2721 mach_msg_type_number_t.
2722 (gnu_write_inferior): Likewise.
2723
a9a758e3
YQ
27242014-02-17 Yao Qi <yao@codesourcery.com>
2725
2726 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2727 in format string.
2728 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2729 (inf_validate_procs, inf_signal): Likewise.
2730 (S_exception_raise_request): Likewise.
2731 (do_mach_notify_dead_name): Likewise.
2732 (steal_exc_port): Likewise.
2733 (gnu_read_inferior): Change 'copy_count''s type to
2734 mach_msg_type_number_t.
2735 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2736 format string.
2737
bae8023e
TS
27382014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2739
c82f56d9
TS
2740 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2741 flag. Adjust all users; in particular...
2742 (gnu_wait): ..., don't decrement its value in here...
2743 (gnu_create_inferior): ..., and instead set the flag in here,
2744 around the startup_inferior call, and call that one with
2745 START_INFERIOR_TRAPS_EXPECTED.
2746
3398af6a
TS
2747 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2748 (ILL_RPC): ... new macro.
2749 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2750 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2751 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2752 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2753 functions with ILL_RPC macro.
2754 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2755 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2756 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2757 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2758 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2759 (S_proc_getlogin_reply, S_proc_getsid_reply)
2760 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2761 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2762 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2763 (S_proc_getnports_reply, S_proc_is_important_reply)
2764 (S_proc_get_code_reply): New stub functions, generated with
2765 ILL_RPC macro.
2766
d47642c9
TS
2767 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2768 collected the type check structures.
2769
bae8023e
TS
2770 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2771
8a55ffb0
DE
27722014-02-14 Doug Evans <dje@google.com>
2773
2774 * target.c (target_write_partial): Fix result type.
2775
c2853f3d
JM
27762014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2777
2778 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2779 the proper offsets to access fpregset_t.
2780
ac61d2db
SA
27812014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2782
2783 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2784 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2785 * h8300-tdep.c (setmachinelist): Remove global.
2786 * hppa-tdep.c (hppa_sigtramp): Remove global.
2787 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2788 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2789 * ravenscar-thread.c (update_target_observer): Remove global.
2790 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2791
9d2d0b8b
TT
27922014-02-12 Tom Tromey <tromey@redhat.com>
2793
2794 * common/rsp-low.c: Update comments.
2795 * common/rsp-low.h: Update comments.
2796
a7191e8b
TT
27972014-02-12 Tom Tromey <tromey@redhat.com>
2798
2799 * common/rsp-low.c (convert_ascii_to_int): Remove.
2800 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2801
ff0e980e
TT
28022014-02-12 Tom Tromey <tromey@redhat.com>
2803
2804 * common/rsp-low.h (unhexify): Don't declare.
2805 * common/rsp-low.c (unhexify): Remove.
2806
e9371aff
TT
28072014-02-12 Tom Tromey <tromey@redhat.com>
2808
2809 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2810 * common/rsp-low.c (convert_int_to_ascii): Remove.
2811
971dc0b8
TT
28122014-02-12 Tom Tromey <tromey@redhat.com>
2813
2814 * common/rsp-low.h (hexify): Don't declare.
2815 * common/rsp-low.c (hexify): Remove.
2816
0a822afb
TT
28172014-02-12 Tom Tromey <tromey@redhat.com>
2818
2819 * common/rsp-low.c (hexify): Never take strlen of argument.
2820
9f1b45b0
TT
28212014-02-12 Tom Tromey <tromey@redhat.com>
2822
2823 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2824 * remote.c (extended_remote_run, remote_rcmd)
2825 (remote_download_trace_state_variable, remote_save_trace_data)
2826 (remote_set_trace_notes): Update.
2827 * tracepoint.c (encode_source_string, tfile_write_status)
2828 (tfile_write_uploaded_tsv): Update.
2829
9c3d6531
TT
28302014-02-12 Tom Tromey <tromey@redhat.com>
2831
2832 * tracepoint.c: Include rsp-low.h.
2833 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2834 * remote.c: Include rsp-low.h.
2835 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2836 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2837 (remote_unescape_input): Move to common/rsp-low.c.
2838 * common/rsp-low.h: New file.
2839 * common/rsp-low.c: New file.
2840 * Makefile.in (SFILES): Add common/rsp-low.c.
2841 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2842 (COMMON_OBS): Add rsp-low.o.
2843 (rsp-low.o): New target.
2844
01fd3ea5
TT
28452014-02-12 Tom Tromey <tromey@redhat.com>
2846
2847 * utils.h: Include print-utils.h.
2848 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2849 (int_string, core_addr_to_string, core_addr_to_string_nz)
2850 (hex_string, hex_string_custom): Don't declare.
2851 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2852 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2853 (hex_string_custom, int_string, core_addr_to_string)
2854 (core_addr_to_string_nz, host_address_to_string): Move to
2855 common/print-utils.c.
2856 * common/print-utils.h: New file.
2857 * common/print-utils.c: New file
2858 * Makefile.in (SFILES): Add common/print-utils.c.
2859 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2860 (COMMON_OBS): Add print-utils.o.
2861 (print-utils.o): New target.
2862
9fb50108
TT
28632014-02-12 Tom Tromey <tromey@redhat.com>
2864
2865 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2866
0548b5db
MK
28672014-02-12 Mark Kettenis <kettenis@gnu.org>
2868
2869 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2870
493443a4
MK
28712014-02-12 Mark Kettenis <kettenis@gnu.org>
2872
2873 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2874 if a PT_IO ptrace request returns sucessfully but indicates that 0
2875 bytes were transferred.
2876
706d0883
PA
28772014-02-12 Pedro Alves <palves@redhat.com>
2878 Kevin Buettner <kevinb@redhat.com>
2879
2880 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2881 TYPE_INSTANCE_FLAG_CODE_SPACE.
2882
5caa2f0b
PA
28832014-02-12 Pedro Alves <palves@redhat.com>
2884
2885 * h8300-tdep.c (pseudo_from_raw_register)
2886 (raw_from_pseudo_register): New functions.
2887 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2888 them.
2889
76fd5f74
PA
28902014-02-12 Pedro Alves <palves@redhat.com>
2891
2892 * h8300-tdep.c (h8300_register_sim_regno): New function.
2893 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2894 gdbarch_register_sim_regno hook.
2895
8f008406
SA
28962014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2897
2898 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2899
195abc10
SA
29002014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2901
2902 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2903
93ffa5b9
MK
29042014-02-12 Mark Kettenis <kettenis@gnu.org>
2905
2906 * obsd-tdep.h (obsd_init_abi): New prototype.
2907 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2908 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2909 (obsd_init_abi): New functions.
2910 * i386obsd-tdep.c: Include "obsd-tdep.h".
2911 (i386obsd_init_abi): Call obsd_init_abi.
2912 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2913 (amd64obsd_init_abi): Call obsd_init_abi.
2914 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2915 obsd-tdep.c to gdb_target_obs.
2916
49caec94
JM
29172014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2918
2919 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2920 double float arguments to 16-byte in the argument slots.
2921
e1402065
DE
29222014-02-11 Doug Evans <xdje42@gmail.com>
2923
2924 * configure.ac: Don't crash if pkg-config is not found and guile
2925 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2926 in guile checks.
2927 * configure: Regenerate.
2928
edcc890f
YQ
29292014-02-11 Yao Qi <yao@codesourcery.com>
2930
2931 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2932 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2933 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2934 * gnu-nat.c (gnu_xfer_memory): Likewise.
2935 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2936 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2937 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2938 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2939
9b409511
YQ
29402014-02-11 Yao Qi <yao@codesourcery.com>
2941
2942 * target.h (enum target_xfer_error): Rename to ...
2943 (enum target_xfer_status): ... it. New. All users updated.
2944 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2945 New.
2946 (TARGET_XFER_STATUS_ERROR_P): New macro.
2947 (target_xfer_error_to_string): Remove declaration.
2948 (target_xfer_status_to_string): Declare.
2949 (target_xfer_partial_ftype): Adjust it.
2950 (struct target_ops) <to_xfer_partial>: Return
2951 target_xfer_status. Add argument xfered_len. Update
2952 comments.
2953 * target.c (target_xfer_error_to_string): Rename to ...
2954 (target_xfer_status_to_string): ... it. New. All callers
2955 updated.
2956 (target_read_live_memory): Likewise. Call target_xfer_partial
2957 instead of target_read.
2958 (memory_xfer_live_readonly_partial): Return
2959 target_xfer_status. Add argument xfered_len.
2960 (raw_memory_xfer_partial): Likewise.
2961 (memory_xfer_partial_1): Likewise.
2962 (memory_xfer_partial): Likewise.
2963 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2964 properly. Update debug message.
2965 (default_xfer_partial, current_xfer_partial): Likewise.
2966 (target_write_partial): Likewise.
2967 (target_read_partial): Likewise. All callers updated.
2968 (read_whatever_is_readable): Likewise.
2969 (target_write_with_progress): Likewise.
2970 (target_read_alloc_1): Likewise.
2971
2972 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2973 * auxv.c (procfs_xfer_auxv): Likewise.
2974 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2975 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2976 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2977 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2978 * corefile.c (read_memory): Adjust.
2979 * corelow.c (core_xfer_partial): Likewise.
2980 * ctf.c (ctf_xfer_partial): Likewise.
2981 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2982 updated.
2983 (darwin_xfer_partial): Likewise.
2984 * exec.c (section_table_xfer_memory_partial): Likewise. All
2985 callers updated.
2986 (exec_xfer_partial): Likewise.
2987 * exec.h (section_table_xfer_memory_partial): Update
2988 declaration.
2989 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2990 negative.
2991 (gnu_xfer_partial): Likewise.
2992 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2993 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2994 (ia64_hpux_xfer_solib_got): Likewise.
2995 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2996 type of 'partial_len' to ULONGEST.
2997 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2998 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2999 (linux_nat_xfer_partial): Likewise.
3000 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3001 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3002 * monitor.c (monitor_xfer_memory): Likewise.
3003 (monitor_xfer_partial): Likewise.
3004 * procfs.c (procfs_xfer_partial): Likewise.
3005 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3006 * record-full.c (record_full_xfer_partial): Likewise.
3007 (record_full_core_xfer_partial): Likewise.
3008 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3009 (gdbsim_xfer_partial): Likewise.
3010 * remote.c (remote_write_bytes_aux): Likewise. All callers
3011 updated.
3012 (remote_write_bytes, remote_read_bytes): Likewise. All
3013 callers updated.
3014 (remote_flash_erase): Likewise. All callers updated.
3015 (remote_write_qxfer): Likewise. All callers updated.
3016 (remote_read_qxfer): Likewise. All callers updated.
3017 (remote_xfer_partial): Likewise.
3018 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3019 (rs6000_xfer_shared_libraries): Likewise.
3020 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3021 (sol_thread_xfer_partial): Likewise.
3022 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3023 (sparc_xfer_partial): Likewise.
3024 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3025 updated.
3026 (spu_xfer_partial): Likewise.
3027 * spu-multiarch.c (spu_xfer_partial): Likewise.
3028 * tracepoint.c (tfile_xfer_partial): Likewise.
3029 * windows-nat.c (windows_xfer_memory): Likewise.
3030 (windows_xfer_shared_libraries): Likewise.
3031 (windows_xfer_partial): Likewise.
3032 * valprint.c: Replace 'target_xfer_error' with
3033 'target_xfer_status' in comments.
3034
a8e63083
JB
30352014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3036
3037 Checked in by Joel Brobecker <brobecker@adacore.com>.
3038 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3039
e86b67d3
JB
30402014-02-11 Joel Brobecker <brobecker@adacore.com>
3041
3042 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3043 function parameters.
3044
4b7d1f7f
WN
30452014-02-10 Will Newton <will.newton@linaro.org>
3046
3047 * elfread.c (elf_rel_plt_read): Look for a .got section if
3048 looking up .got.plt fails.
3049 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3050 on address passed to elf_gnu_ifunc_record_cache.
3051 (elf_gnu_ifunc_resolve_addr): Likewise.
3052 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3053
961842b2
JM
30542014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3055
3056 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3057 (X_RETTURN): New macro.
3058 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3059
3060 * sparc64-tdep.c (sparc64_init_abi): Hook
3061 sparc_in_function_epilogue_p.
3062
3f03e7b1
GB
30632014-02-10 Gary Benson <gbenson@redhat.com>
3064
3065 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3066 Rename name_matcher to symbol_matcher.
3067
96f861ef
GB
30682014-02-10 Gary Benson <gbenson@redhat.com>
3069
3070 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3071 Use expand_symtabs_file_matcher_ftype and
3072 expand_symtabs_symbol_matcher_ftype.
3073
ee01b665
JB
30742014-02-10 Joel Brobecker <brobecker@adacore.com>
3075
3076 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3077 (struct ada_symbol_cache): New.
3078 (ada_free_symbol_cache): Forward declare.
3079 (struct ada_pspace_data): New.
3080 (ada_pspace_data_handle): New static global.
3081 (get_ada_pspace_data, ada_pspace_data_cleanup)
3082 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3083 (cache_space, cache): Delete, now folded inside struct
3084 ada_pspace_data.
3085 (ada_get_symbol_cache): New function.
3086 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3087 implementation.
3088 (_initialize_ada_language): Remove initialization of cache_space.
3089 Move call to observer_attach_inferior_exit up, grouping it
3090 with the other observer registrations inside this function.
3091 Rename command to be more general. Add call to
3092 register_program_space_data_with_cleanup.
3093
143adbbf
JB
30942014-02-10 Joel Brobecker <brobecker@adacore.com>
3095
3096 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3097 ada_new_objfile_observer.
3098 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3099 (_initialize_tasks): Update uses of ada_new_objfile_observer
3100 and ada_tasks_normal_stop_observer.
3101
aa4fb036
JB
31022014-02-10 Joel Brobecker <brobecker@adacore.com>
3103
3104 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3105 returned by the 'Length attribute to integer.
3106
9dee8cc6
JB
31072014-02-10 Joel Brobecker <brobecker@adacore.com>
3108
3109 * ada-lang.c (_initialize_ada_language): Initialize
3110 cache_space obstack.
3111
3d9434b5
JB
31122014-02-10 Joel Brobecker <brobecker@adacore.com>
3113
3114 * ada-lang.c (HASH_SIZE): New macro.
3115 (struct cache_entry): New type.
3116 (cache_space, cache): New static globals.
3117 (ada_clear_symbol_cache, find_entry): New functions.
3118 (lookup_cached_symbol, cache_symbol): Implement.
3119 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3120 (_initialize_ada_language): Attach ada_new_objfile_observer
3121 and ada_free_objfile_observer.
3122
f0c5f9b2
JB
31232014-02-10 Joel Brobecker <brobecker@adacore.com>
3124
3125 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3126 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3127 struct block * parameter.
3128 (ada_lookup_symbol_list_worker): Constify local variable "block".
3129 Remove cast which is no longer necessary.
3130
ed3ef339
DE
31312014-02-10 Doug Evans <xdje42@gmail.com>
3132
3133 Add Guile as an extension language.
3134 * NEWS: Mention Guile scripting.
3135 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3136 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3137 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3138 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3139 (CLIBS): Add GUILE_LIBS.
3140 (install-guile): New rule.
3141 (guile.o): New rule.
3142 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3143 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3144 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3145 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3146 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3147 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3148 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3149 * configure.ac: New option --with-guile.
3150 * configure: Regenerate.
3151 * config.in: Regenerate.
3152 * auto-load.c: Remove #include "python/python.h". Add #include
3153 "gdb/section-scripts.h".
3154 (source_section_scripts): Handle Guile scripts.
3155 (_initialize_auto_load): Add name of Guile objfile script to
3156 scripts-directory help text.
3157 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3158 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3159 (struct breakpoint): New member scm_bp_object.
3160 * defs.h (enum command_control_type): New value guile_control.
3161 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3162 "extension.h".
3163 (show_user): Update comment.
3164 (_initialize_cli_cmds): Update help text for "show user". Update help
3165 text for max-user-call-depth.
3166 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3167 "extension.h".
3168 (multi_line_command_p): Add guile_control.
3169 (print_command_lines): Handle guile_control.
3170 (execute_control_command, recurse_read_control_structure): Ditto.
3171 (process_next_line): Recognize "guile" commands.
3172 * disasm.c (gdb_disassemble_info): Make non-static.
3173 * disasm.h: #include "dis-asm.h".
3174 (struct gdbarch): Add forward decl.
3175 (gdb_disassemble_info): Declare.
3176 * extension.c: #include "guile/guile.h".
3177 (extension_languages): Add guile.
3178 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3179 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3180 * gdbtypes.c (get_unsigned_type_max): New function.
3181 (get_signed_type_minmax): New function.
3182 * gdbtypes.h (get_unsigned_type_max): Declare.
3183 (get_signed_type_minmax): Declare.
3184 * guile/README: New file.
3185 * guile/guile-internal.h: New file.
3186 * guile/guile.c: New file.
3187 * guile/guile.h: New file.
3188 * guile/scm-arch.c: New file.
3189 * guile/scm-auto-load.c: New file.
3190 * guile/scm-block.c: New file.
3191 * guile/scm-breakpoint.c: New file.
3192 * guile/scm-disasm.c: New file.
3193 * guile/scm-exception.c: New file.
3194 * guile/scm-frame.c: New file.
3195 * guile/scm-gsmob.c: New file.
3196 * guile/scm-iterator.c: New file.
3197 * guile/scm-lazy-string.c: New file.
3198 * guile/scm-math.c: New file.
3199 * guile/scm-objfile.c: New file.
3200 * guile/scm-ports.c: New file.
3201 * guile/scm-pretty-print.c: New file.
3202 * guile/scm-safe-call.c: New file.
3203 * guile/scm-string.c: New file.
3204 * guile/scm-symbol.c: New file.
3205 * guile/scm-symtab.c: New file.
3206 * guile/scm-type.c: New file.
3207 * guile/scm-utils.c: New file.
3208 * guile/scm-value.c: New file.
3209 * guile/lib/gdb.scm: New file.
3210 * guile/lib/gdb/boot.scm: New file.
3211 * guile/lib/gdb/experimental.scm: New file.
3212 * guile/lib/gdb/init.scm: New file.
3213 * guile/lib/gdb/iterator.scm: New file.
3214 * guile/lib/gdb/printing.scm: New file.
3215 * guile/lib/gdb/types.scm: New file.
3216 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3217 (VPATH): Add $(GUILE_SRCDIR).
3218 (GUILE_DIR): New variable.
3219 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3220 (all): Add stamp-guile dependency.
3221 (stamp-guile): New rule.
3222 (clean-guile, install-guile, uninstall-guile): New rules.
3223 (install-only): Add install-guile dependency.
3224 (uninstall): Add uninstall-guile dependency.
3225 (clean): Add clean-guile dependency.
3226
ac020ec5
DE
32272014-02-09 Doug Evans <xdje42@gmail.com>
3228
3229 Revert this patch (which I approved, mea culpa).
3230
3231 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3232
3233 * Makefile.in (all-lib): Remove.
3234 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3235
2a081c59
JK
32362014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 Fix Python stack corruption.
3239 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3240 gdb_py_longest.
3241
0a6bd22d
MK
32422014-02-08 Mark Kettenis <kettenis@gnu.org>
3243
3244 * Makefile.in (all-lib): Remove.
3245 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3246
1a860409
DE
32472014-02-07 Doug Evans <dje@google.com>
3248
3249 * extension-priv.h (extension_language_script_ops): Add comment.
3250 (extension_language_ops): Add comment.
caf5a491 3251 (active_ext_lang_state): Fix typo in comment.
1a860409 3252
d137e6dc
PA
32532014-02-07 Pedro Alves <palves@redhat.com>
3254
0dcb32c3 3255 PR breakpoints/16292
d137e6dc
PA
3256 * infrun.c (handle_signal_stop) <signal arrives while stepping
3257 over a breakpoint>: Switch back to the stepping thread.
3258
ce6d0892
YQ
32592014-02-07 Yao Qi <yao@codesourcery.com>
3260
3261 * target.c (target_xfer_partial): Return zero if LEN is zero.
3262
2ed4b548
YQ
32632014-02-07 Yao Qi <yao@codesourcery.com>
3264
3265 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3266 (ld_so_xfer_auxv): Likewise.
3267 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3268 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3269 * corelow.c (core_xfer_partial): Likewise.
3270 * ctf.c (ctf_xfer_partial): Likewise.
3271 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3272 (darwin_xfer_partial): Likewise.
3273 * exec.c (exec_xfer_partial): Likewise.
3274 * gnu-nat.c (gnu_xfer_partial): Likewise.
3275 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3276 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3277 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3278 * linux-nat.c (linux_xfer_siginfo): Likewise.
3279 (linux_proc_xfer_spu): Likewise.
3280 * procfs.c (procfs_xfer_partial): Likewise.
3281 * record-full.c (record_full_xfer_partial): Likewise.
3282 (record_full_core_xfer_partial): Likewise.
3283 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3284 * remote.c (remote_write_qxfer): Likewise.
3285 (remote_write_qxfer, remote_read_qxfer): Likewise.
3286 (remote_xfer_partial): Likewise.
3287 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3288 (rs6000_xfer_shared_libraries): Likewise.
3289 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3290 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3291 (spu_xfer_partial): Likewise.
3292 * target.c (memory_xfer_partial_1): Likewise.
3293 * tracepoint.c (tfile_xfer_partial): Likewise.
3294 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3295 (windows_xfer_partial): Likewise.
3296
c09f20e4
YQ
32972014-02-07 Yao Qi <yao@codesourcery.com>
3298
3299 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3300 comments.
3301 (core_xfer_shared_libraries_aix): Likewise.
3302 * gdbarch.c, gdbarch.h: Regenerated.
3303 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3304 ULONGEST. Change 'len_avail' type to ULONGEST.
3305 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3306 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3307 declaration.
3308 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3309
8635b3bf
YQ
33102014-02-07 Yao Qi <yao@codesourcery.com>
3311
3312 * corefile.c (memory_error): Get 'exception' from ERR and pass
3313 'exception' to throw_error.
3314
6dddc817
DE
33152014-02-06 Doug Evans <xdje42@gmail.com>
3316
3317 * configure.ac (libpython checking): Remove all but python.o from
3318 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3319 * configure: Regenerate.
3320
3321 * Makefile.in (SFILES): Add extension.c.
3322 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3323 (COMMON_OBS): Add extension.o.
3324 * extension.h: New file.
3325 * extension-priv.h: New file.
3326 * extension.c: New file.
3327
3328 * python/python-internal.h: #include "extension.h".
3329 (gdbpy_auto_load_enabled): Declare.
3330 (gdbpy_apply_val_pretty_printer): Declare.
3331 (gdbpy_apply_frame_filter): Declare.
3332 (gdbpy_preserve_values): Declare.
3333 (gdbpy_breakpoint_cond_says_stop): Declare.
3334 (gdbpy_breakpoint_has_cond): Declare.
3335 (void source_python_script_for_objfile): Delete.
3336 * python/python.c: #include "extension-priv.h".
3337 Delete inclusion of "observer.h".
3338 (extension_language_python): Moved here and renamed from
3339 script_language_python in py-auto-load.c.
3340 Redefined to be of type extension_language_defn.
3341 (python_extension_script_ops): New global.
3342 (python_extension_ops): New global.
3343 (struct python_env): New member previous_active.
3344 (restore_python_env): Call restore_active_ext_lang.
3345 (ensure_python_env): Call set_active_ext_lang.
3346 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3347 New arg extlang.
3348 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3349 New arg extlang.
3350 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3351 New arg extlang.
3352 (gdbpy_eval_from_control_command): Renamed from
3353 eval_python_from_control_command, made static. New arg extlang.
3354 (gdbpy_source_script) Renamed from source_python_script, made static.
3355 New arg extlang.
3356 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3357 result to int. New arg extlang.
3358 (gdbpy_source_objfile_script): Renamed from
3359 source_python_script_for_objfile, made static. New arg extlang.
3360 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3361 static. New args extlang, extlang_printers. Change result type to
3362 "void".
3363 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3364 static. New arg extlang. Rename arg printers to extlang_printers
3365 and change type to ext_lang_type_printers *.
3366 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3367 static. Replace argument arg with extlang, extlang_printers.
3368 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3369 (!HAVE_PYTHON, source_python_script): Delete.
3370 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3371 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3372 (!HAVE_PYTHON, start_type_printers): Delete.
3373 (!HAVE_PYTHON, apply_type_printers): Delete.
3374 (!HAVE_PYTHON, free_type_printers): Delete.
3375 (_initialize_python): Delete call to observer_attach_before_prompt.
3376 (finalize_python): Set/restore active extension language.
3377 (gdbpy_finish_initialization) Renamed from
3378 finish_python_initialization, made static. New arg extlang.
3379 (gdbpy_initialized): New function.
3380 * python/python.h: #include "extension.h". Delete #include
3381 "value.h", "mi/mi-cmds.h".
3382 (extension_language_python): Declare.
3383 (GDBPY_AUTO_FILE_NAME): Delete.
3384 (enum py_bt_status): Moved to extension.h and renamed to
3385 ext_lang_bt_status.
3386 (enum frame_filter_flags): Moved to extension.h.
3387 (enum py_frame_args): Moved to extension.h and renamed to
3388 ext_lang_frame_args.
3389 (finish_python_initialization): Delete.
3390 (eval_python_from_control_command): Delete.
3391 (source_python_script): Delete.
3392 (apply_val_pretty_printer): Delete.
3393 (apply_frame_filter): Delete.
3394 (preserve_python_values): Delete.
3395 (gdbpy_script_language_defn): Delete.
3396 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3397 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3398
3399 * auto-load.c: #include "extension.h".
3400 (GDB_AUTO_FILE_NAME): Delete.
3401 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3402 (script_language_gdb): Delete, moved to extension.c and renamed to
3403 extension_language_gdb.
3404 (source_gdb_script_for_objfile): Delete.
3405 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3406 (loaded_script): Change type of language member to
3407 struct extension_language_defn *.
3408 (init_loaded_scripts_info): Initialize
3409 unsupported_script_warning_printed.
3410 (maybe_add_script): Make static. Change type of language arg to
3411 struct extension_language_defn *.
3412 (clear_section_scripts): Reset unsupported_script_warning_printed.
3413 (auto_load_objfile_script_1): Rewrite to use extension language API.
3414 (auto_load_objfile_script): Make public. Remove support-compiled-in
3415 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3416 (source_section_scripts): Rewrite to use extension language API.
3417 (load_auto_scripts_for_objfile): Rewrite to use
3418 auto_load_scripts_for_objfile.
3419 (collect_matching_scripts_data): Change type of language member to
3420 struct extension_language_defn *.
3421 (auto_load_info_scripts): Change type of language arg to
3422 struct extension_language_defn *.
3423 (unsupported_script_warning_print): New function.
3424 (script_not_found_warning_print): Make static.
3425 (_initialize_auto_load): Rewrite construction of scripts-directory
3426 help.
3427 * auto-load.h (struct objfile): Add forward decl.
3428 (struct script_language): Delete.
3429 (struct auto_load_pspace_info): Add forward decl.
3430 (struct extension_language_defn): Add forward decl.
3431 (maybe_add_script): Delete.
3432 (auto_load_objfile_script): Declare.
3433 (script_not_found_warning_print): Delete.
3434 (auto_load_info_scripts): Update prototype.
3435 (auto_load_gdb_scripts_enabled): Declare.
3436 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3437 auto_load_python_scripts_enabled and made public.
3438 (script_language_python): Delete, moved to python.c.
3439 (gdbpy_script_language_defn): Delete.
3440 (info_auto_load_python_scripts): Update to use
3441 extension_language_python.
3442
3443 * breakpoint.c (condition_command): Replace call to
3444 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3445 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3446 with call to breakpoint_ext_lang_cond_says_stop.
3447 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3448 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3449 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3450 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3451 New arg slang.
3452 (local_setattro): Print name of extension language with existing
3453 stop condition.
3454
3455 * valprint.c (val_print, value_print): Update to call
3456 apply_ext_lang_val_pretty_printer.
3457 * cp-valprint.c (cp_print_value): Update call to
3458 apply_ext_lang_val_pretty_printer.
3459 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3460 (gdbpy_apply_val_pretty_printer): Renamed from
3461 apply_val_pretty_printer. New arg extlang.
3462 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3463
3464 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3465 extension language API.
3466 * cli/cli-script.c (execute_control_command): Update to call
3467 eval_ext_lang_from_control_command.
3468
3469 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3470 enum ext_lang_bt_status values. Update call to
3471 apply_ext_lang_frame_filter.
3472 (mi_cmd_stack_list_locals): Ditto.
3473 (mi_cmd_stack_list_args): Ditto.
3474 (mi_cmd_stack_list_variables): Ditto.
3475 * mi/mi-main.c: Delete #include "python/python-internal.h".
3476 Add #include "extension.h".
3477 (mi_cmd_list_features): Replace reference to python internal variable
3478 gdb_python_initialized with call to ext_lang_initialized_p.
3479
3480 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3481 Update to use enum ext_lang_frame_args. Update to call
3482 apply_ext_lang_frame_filter.
3483 * python/py-framefilter.c (extract_sym): Update to use enum
3484 ext_lang_bt_status.
3485 (extract_value, py_print_type, py_print_value): Ditto.
3486 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3487 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3488 (py_print_frame): Ditto.
3489 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3490 New arg extlang. Update to use enum ext_lang_bt_status.
3491
3492 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3493 finish_python_initialization. Replace with call to
3494 finish_ext_lang_initialization.
3495
3496 * typeprint.c (do_free_global_table): Update to call
3497 free_ext_lang_type_printers.
3498 (create_global_typedef_table): Update to call
3499 start_ext_lang_type_printers.
3500 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3501 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3502 (type_print_options): Change type of global_printers from "void *"
3503 to "struct ext_lang_type_printers *".
3504
3505 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3506 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3507 (gdbpy_preserve_values): Renamed from preserve_python_values.
3508 New arg extlang.
3509 (!HAVE_PYTHON, preserve_python_values): Delete.
3510
3511 * utils.c (quit_flag): Delete, moved to extension.c.
3512 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3513 extension.c.
3514
3515 * eval.c: Delete #include "python/python.h".
3516 * main.c: Delete #include "python/python.h".
3517
3518 * defs.h: Update comment.
3519
6af79985
JB
35202014-02-06 Joel Brobecker <brobecker@adacore.com>
3521
3522 GDB 7.7 released.
3523
12c5175d
MK
35242014-02-05 Mark Kettenis <kettenis@gnu.org>
3525
3526 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3527 defined.
3528
8dc5b319
YQ
35292014-02-05 Yao Qi <yao@codesourcery.com>
3530
3531 * remote.c (remote_pass_signals): Remove local 'buf' and use
3532 rs->buf.
3533 (remote_program_signals): Likewise.
3534
de7b2893
YQ
35352014-02-05 Yao Qi <yao@codesourcery.com>
3536
3537 * ctf.c: Include "inferior.h" and "gdbthread.h".
3538 (CTF_PID): A new macro.
3539 (ctf_open): Call inferior_appeared and add_thread_silent.
3540 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3541 (ctf_thread_alive): New function.
3542 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3543
66d032ac
YQ
35442014-02-05 Yao Qi <yao@codesourcery.com>
3545
3546 Revert this patch:
3547
3548 2013-05-24 Yao Qi <yao@codesourcery.com>
3549
3550 * tracepoint.c (TFILE_PID): Remove.
3551 (tfile_open): Don't add thread and inferior.
3552 (tfile_close): Don't set 'inferior_ptid'. Don't call
3553 exit_inferior_silent.
3554 (tfile_thread_alive): Remove.
3555 (init_tfile_ops): Don't set field 'to_thread_alive' of
3556 tfile_ops.
3557
f4ccffad
CE
35582014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3559
3560 * remote.c (remote_start_remote): Call remote_check_symbols even
3561 if only symbol-file (not file) has been given.
3562
591a12a1
UW
35632014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3564
3565 * gdbarch.sh (skip_entrypoint): New callback.
3566 * gdbarch.c, gdbarch.h: Regenerate.
3567 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3568 * infrun.c (fill_in_stop_func): Likewise.
3569 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3570 (ppc_elfv2_elf_make_msymbol_special): New function.
3571 (ppc_elfv2_skip_entrypoint): Likewise.
3572 (ppc_linux_init_abi): Install them for ELFv2.
3573
cc0e89c5
UW
35742014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3575
3576 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3577 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3578 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3579 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3580 structures returned in GPRs.
3581
52f548e4
UW
35822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3583
3584 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3585 offset to the stack parameter list for the ELFv2 ABI.
3586
d4094b6a
UW
35872014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3588
3589 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3590 set_gdbarch_convert_from_func_ptr_addr and
3591 set_gdbarch_elf_make_msymbol_special for ELFv1.
3592 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3593 function descriptors on ELFv1.
3594 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3595 set up r12 at function entry.
3596
cd453cd0
UW
35972014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3598
3599 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3600 (struct gdbarch_tdep): New member elf_abi.
3601
3602 * rs6000-tdep.c: Include "elf/ppc64.h".
3603 (rs6000_gdbarch_init): Detect ELF ABI version.
3604
0ff3e01f
UW
36052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3606
3607 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3608 within a register pair holding a DFP 128-bit value on little-endian.
3609 (ppc64_sysv_abi_return_value_base): Likewise.
3610 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3611 (dfp_pseudo_register_write): Likewise.
3612
5b757e5d
UW
36132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3614
3615 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3616 offset on little-endian when passing _Decimal32.
3617 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3618
084ee545
UW
36192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3620
3621 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3622 of the overlapped FP register within the VSX register on little-
3623 endian platforms.
3624 (efpr_pseudo_register_write): Likewise.
3625
d63167af
UW
36262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3627
3628 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3629 offset on little-endian when passing small structures.
3630
e765b44c
UW
36312014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3632
3633 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3634 (struct ppc64_sysv_argpos): New data structure.
3635 (ppc64_sysv_abi_push_float): Remove.
3636 (ppc64_sysv_abi_push_val): New function.
3637 (ppc64_sysv_abi_push_integer): Likewise.
3638 (ppc64_sysv_abi_push_freg): Likewise.
3639 (ppc64_sysv_abi_push_vreg): Likewise.
3640 (ppc64_sysv_abi_push_param): Likewise.
3641 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3642 (ppc64_sysv_abi_return_value_base): New function.
3643 (ppc64_sysv_abi_return_value): Refactor to use it.
3644
36c24d95
UW
36452014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3646
3647 * NEWS: Document new target powerpc64le-*-linux*.
3648
26fd9228
MK
36492014-02-04 Mark Kettenis <kettenis@gnu.org>
3650
3651 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3652 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3653 core dumps.
3654 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3655 register set used in ELF core dumps. Add floating-point register set.
3656
c5bb7362
KB
36572014-02-03 Kevin Buettner <kevinb@redhat.com>
3658
3659 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3660 dwarf2_to_gdb[] table using symbolic constants. Adjust
3661 penultimate entry from number representing the PC register
3662 to symbolic constant representing the MDR register. Add
3663 constant for the PC register to the end of the table.
3664
af09351e
MK
36652014-02-03 Mark Kettenis <kettenis@gnu.org>
3666
3667 * bsd-kvm.c: Include <sys/param.h>
3668
8507e05d
MK
36692014-02-03 Mark Kettenis <kettenis@gnu.org>
3670
3671 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3672
ae56bfb8
JB
36732014-01-31 Joel Brobecker <brobecker@adacore.com>
3674
3675 * ada-lang.h (clear_ada_sym_cache): Delete.
3676
718ee4dc
UW
36772014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3678
3679 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3680
401e27fd
JM
36812014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3682
3683 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3684 the sigreturn register save area only if the syscall is
3685 sigreturn.
3686
a7c88acd
JB
36872014-01-29 Joel Brobecker <brobecker@adacore.com>
3688
3689 * valops.c (value_slice): Minor reformatting.
3690
fa0079ea
UW
36912014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3692
3693 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3694
c6044dd1
JB
36952014-01-28 Joel Brobecker <brobecker@adacore.com>
3696
3697 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3698 New static globals.
3699 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3700 (ada_ignore_descriptive_types_p): New static global.
3701 (find_parallel_type_by_descriptive_type): Return immediately
3702 if ada_ignore_descriptive_types_p is set.
3703 (_initialize_ada_language): Register new commands "maintenance
3704 set ada", "maintenance show ada", "maintenance set ada
3705 ignore-descriptive-types" and "maintenance show ada
3706 ignore-descriptive-types".
3707 * NEWS: Add entry for new "maint ada set/show
3708 ignore-descriptive-types" commands.
3709
568e808b
MM
37102014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3711
3712 * record-btrace.c (record_btrace_close): Call btrace_teardown
3713 for all threads.
3714
467d141b
JB
37152014-01-27 Joel Brobecker <brobecker@adacore.com>
3716
3717 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3718 "ui-out.h".
3719
fb151210
JB
37202014-01-27 Joel Brobecker <brobecker@adacore.com>
3721
3722 * ada-typeprint (type_is_full_subrange_of_target_type):
3723 New function.
3724 (print_range): Add parameter bounds_prefered_p. If not set,
3725 try printing range types using the name of their base type.
3726 (print_range_type): Add parameter bounds_prefered_p.
3727 Use it in call to print_range.
3728 (print_array_type, ada_print_type): Update calls to print_range
3729 and print_range_type.
3730
aba02109
JB
37312014-01-27 Joel Brobecker <brobecker@adacore.com>
3732
3733 * ada-typeprint.c (print_array_type, print_choices, print_range)
3734 (print_range_bound, print_dynamic_range_bound, print_range_type):
3735 Remove declaration.
3736
e62e21fd
JB
37372014-01-27 Joel Brobecker <brobecker@adacore.com>
3738
3739 * ada-typeprint.c (print_range): Add missing empty line
3740 after local declaration.
3741
859cf5d1
JB
37422014-01-27 Joel Brobecker <brobecker@adacore.com>
3743
3744 * ada-valprint.c (print_optional_low_bound): Get index_type's
3745 target type for as long as it is a TYPE_CODE_RANGE.
3746
25790f6f
JB
37472014-01-27 Joel Brobecker <brobecker@adacore.com>
3748
3749 * procfs.c (procfs_make_note_section): Remove assertion and
3750 associated comment.
3751
6b6aa828
YQ
37522014-01-24 Yao Qi <yao@codesourcery.com>
3753
3754 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3755 * corelow.c (get_core_siginfo): Likewise.
3756
5d6df423
YQ
37572014-01-24 Yao Qi <yao@codesourcery.com>
3758
3759 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3760 ULONGEST. Don't check 'len' is negative.
3761 (remote_write_bytes): Change type of 'len' to ULONGEST.
3762
83b645b8
TT
37632014-01-23 Tom Tromey <tromey@redhat.com>
3764
3765 PR python/16485:
3766 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3767 Handle exception from frame.block.
3768 (FrameVars.fetch_frame_locals): Likewise.
3769
0740f8d8
TT
37702014-01-23 Tom Tromey <tromey@redhat.com>
3771
3772 PR python/16487:
3773 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3774 on a NULL pointer. Move "goto error" to correct place.
3775
21909fa1
TT
37762014-01-23 Tom Tromey <tromey@redhat.com>
3777
3778 PR python/16491:
3779 * python/py-framefilter.c (apply_frame_filter): Call
3780 ensure_python_env after computing gdbarch.
3781
17fde6d0
YQ
37822014-01-23 Yao Qi <yao@codesourcery.com>
3783
3784 * target.c (raw_memory_xfer_partial): Change argument type
3785 from void * to gdb_byte *.
3786 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3787
87ce2a04
DE
37882014-01-22 Doug Evans <dje@google.com>
3789
3790 New gdbserver option --debug-format=timestamp.
3791 * NEWS: Mention it.
3792
237b092b
AA
37932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3794
3795 * syscalls/s390x-linux.xml: New file.
3796 * syscalls/s390-linux.xml: New file.
3797 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3798 (XML_SYSCALL_FILENAME_S390X): Likewise.
3799 (op_svc): New enum value for SVC opcode.
3800 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3801 (s390_linux_get_syscall_number): New function.
3802 (s390_gdbarch_init): Register '*get_syscall_number' and the
3803 syscall xml file name.
3804 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3805 "s390-linux.xml" and "s390x-linux.xml".
3806 * NEWS: Announce new feature.
3807
54bff650
BS
38082014-01-22 Baruch Siach <baruch@tkos.co.il>
3809
3810 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3811
14e361d7
PA
38122014-01-22 Pedro Alves <palves@redhat.com>
3813
3814 * xtensa-config.c: Include defs.h.
3815
46bbb3ed
JB
38162014-01-22 Joel Brobecker <brobecker@adacore.com>
3817
3818 * common/common-utils.h: Add "ARI:" comment beside __func__
3819 reference.
3820
3a80edfc
JB
38212014-01-22 Joel Brobecker <brobecker@adacore.com>
3822
3823 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3824 documentation a bit.
3825
4869db5e
RM
38262014-01-21 Roland McGrath <mcgrathr@google.com>
3827
3828 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3829 * configure: Regenerate.
3830 * aclocal.m4: Regenerate.
3831 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3832 New substituted variables.
3833 (install-strip): New target.
3834 (INSTALL_SCRIPT): New substituted variable.
3835 (FLAGS_TO_PASS): Add it.
3836 (install-only): Use $(INSTALL_SCRIPT) rather than
3837 $(INSTALL_PROGRAM) for gcore.
3838
9ea4267d
TT
38392014-01-20 Tom Tromey <tromey@redhat.com>
3840
3841 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3842 together.
3843
1f2bdf09
TT
38442014-01-20 Tom Tromey <tromey@redhat.com>
3845
3846 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3847 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3848 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3849 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3850 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3851 (struct cmd_list_element) <flags>: Remove.
3852 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3853 doc_allocated>: New fields.
3854 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3855 bitfields.
3856 * maint.c (maintenance_do_deprecate): Update.
3857 * top.c (execute_command): Update.
3858
e671835b
BS
38592014-01-20 Baruch Siach <baruch@tkos.co.il>
3860
3861 * xtensa-linux-nat.c: Include asm/ptrace.h.
3862
50367cd2
IB
38632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3864
3865 * Makefile.in (SFILES): Add d-support.c.
3866 (COMMON_OBS): Add d-support.o.
3867 * d-lang.h (d_parse_symbol): Add comment, now defined in
3868 d-support.c.
3869 * d-lang.c (parse_call_convention)
3870 (parse_attributes, parse_function_types)
3871 (parse_function_args, parse_type, parse_identifier)
3872 (call_convention_p, d_parse_symbol): Move functions to ...
3873 * d-support.c: ... New file.
3874
ec9f644a
IB
38752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3876
3877 * d-lang.h (d_parse_symbol): Add declaration.
3878 * d-lang.c (extract_identifiers)
3879 (extract_type_info): Remove functions.
3880 (parse_call_convention, parse_attributes)
3881 (parse_function_types, parse_function_args)
3882 (parse_type, parse_identifier, call_convention_p)
3883 (d_parse_symbol): New functions.
3884 (d_demangle): Use d_parse_symbol to demangle D symbols.
3885
94b1b47e
IB
38862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3887
3888 * d-lang.h (struct builtin_d_type): New data type.
3889 (builtin_d_type): Add declaration.
3890 * d-lang.c (d_language_arch_info, build_d_types)
3891 (builtin_d_type): New functions.
3892 (enum d_primitive_types): New data type.
3893 (d_language_defn): Change c_language_arch_info to
3894 d_language_arch_info.
3895 (d_type_data): New static variable.
3896 (_initialize_d_language): Initialize d_type_data.
3897
63778547
IB
38982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3899
3900 * d-lang.h (d_main_name): Add declaration.
3901 * d-lang.c (d_main_name): New function.
3902 * symtab.c (find_main_name): Add call to d_main_name.
3903
3271ba66
IB
39042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3905
3906 * d-lang.c (d_language_defn): Change macro_expansion_c to
3907 macro_expansion_no.
3908
d36b3012
IB
39092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3910
3911 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3912
c90a6fb7
SDJ
39132014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3914
3915 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3916 gdb_exception" declaration.
3917 * remote.c (getpkt_or_notif_sane): Likewise.
3918
749234e5
DE
39192014-01-17 Doug Evans <dje@google.com>
3920
3921 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3922 function, contents of dirnames_to_char_ptr_vec_append moved here.
3923 (delim_string_to_char_ptr_vec): New function.
3924 (dirnames_to_char_ptr_vec_append): Rewrite.
3925 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3926
df049a58
DE
39272014-01-17 Doug Evans <dje@google.com>
3928
3929 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3930 and moved here ...
3931 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3932 #include "common-utils.h".
3933 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3934 * common/vec.h (VEC_ASSERT_PASS): Update.
3935 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3936 (MACH_CHECK_ERROR): Update.
3937
69f97648
SM
39382014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3939
3940 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3941 comments.
3942 * gdbarch.h: Regenerate.
3943
98b1cfdc
TT
39442014-01-16 Tom Tromey <tromey@redhat.com>
3945
3946 * value.c (struct value) <regnum>: Move earlier.
3947
77a19445
TT
39482014-01-16 Tom Tromey <tromey@redhat.com>
3949
3950 * remote.c (extended_remote_create_inferior): Rename from
3951 extended_remote_create_inferior_1. Add "ops" argument. Remove
3952 old implementation.
3953
62261490
PA
39542014-01-16 Pedro Alves <palves@redhat.com>
3955
3956 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3957 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3958 the backchain.
3959
4d65956b
DE
39602014-01-16 Doug Evans <dje@google.com>
3961
3962 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3963
52834460
MM
39642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3965
3966 * btrace.h (btrace_thread_flag): New.
3967 (struct btrace_thread_info) <flags>: New.
3968 * record-btrace.c (record_btrace_resume_thread)
3969 (record_btrace_find_thread_to_move, btrace_step_no_history)
3970 (btrace_step_stopped, record_btrace_start_replaying)
3971 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3972 (record_btrace_find_resume_thread): New.
3973 (record_btrace_resume, record_btrace_wait): Extend.
3974 (record_btrace_can_execute_reverse): New.
3975 (record_btrace_open): Fail in non-stop mode.
3976 (record_btrace_set_replay): Split into this, ...
3977 (record_btrace_stop_replaying): ... this, ...
3978 (record_btrace_clear_histories): ... and this.
3979 (init_record_btrace_ops): Init to_can_execute_reverse.
3980 * NEWS: Announce it.
3981
118e6252
MM
39822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3983
3984 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3985 (forward_target_decr_pc_after_break)
3986 (target_decr_pc_after_break): New.
3987 * target.c (forward_target_decr_pc_after_break)
3988 (target_decr_pc_after_break): New.
3989 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3990 instead of gdbarch_decr_pc_after_break.
3991 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3992 instead of gdbarch_decr_pc_after_break.
3993 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3994 instead of gdbarch_decr_pc_after_break.
3995 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3996 instead of gdbarch_decr_pc_after_break.
3997 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3998 instead of gdbarch_decr_pc_after_break.
3999 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4000 instead of gdbarch_decr_pc_after_break.
4001
6e07b1d2
MM
40022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4003
4004 * btrace.c: Include regcache.h.
4005 (btrace_add_pc): New.
4006 (btrace_enable): Call btrace_add_pc.
4007 (btrace_is_empty): New.
4008 * btrace.h (btrace_is_empty): New.
4009 * record-btrace.c (require_btrace, record_btrace_info): Call
4010 btrace_is_empty.
4011
969c39fb
MM
40122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4013
4014 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4015 Support delta reads.
4016 (linux_disable_btrace): Change return type.
4017 * common/linux-btrace.h (linux_read_btrace): Change parameters
4018 and return type to allow error reporting. Update users.
4019 (linux_disable_btrace): Change return type. Update users.
4020 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4021 New.
4022 (btrace_error): New.
4023 (btrace_block) <begin>: Comment on BEGIN == 0.
4024 * btrace.c (btrace_compute_ftrace): Start from the end of
4025 the current trace.
4026 (btrace_stitch_trace, btrace_clear_history): New.
4027 (btrace_fetch): Read delta trace, return if replaying.
4028 (btrace_clear): Move clear history code to btrace_clear_history.
4029 (parse_xml_btrace): Throw an error if parsing failed.
4030 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4031 and return type to allow error reporting.
4032 (target_read_btrace): Change parameters and return type to allow
4033 error reporting.
4034 * target.c (target_read_btrace): Update.
4035 * remote.c (remote_read_btrace): Support delta reads. Pass
4036 errors on.
4037 * NEWS: Announce it.
4038
0b722aec
MM
40392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4040
4041 * record.h (record_btrace_frame_unwind)
4042 (record_btrace_tailcall_frame_unwind): New declarations.
4043 * dwarf2-frame: Include record.h
4044 (dwarf2_frame_cfa): Throw an error for btrace frames.
4045 * record-btrace.c: Include hashtab.h.
4046 (btrace_get_bfun_name): New.
4047 (btrace_call_history): Call btrace_get_bfun_name.
4048 (struct btrace_frame_cache): New.
4049 (bfcache): New.
4050 (bfcache_hash, bfcache_eq, bfcache_new): New.
4051 (btrace_get_frame_function): New.
4052 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4053 (record_btrace_frame_this_id): Compute own id.
4054 (record_btrace_frame_prev_register): Provide PC, throw_error
4055 for all other registers.
4056 (record_btrace_frame_sniffer): Detect btrace frames.
4057 (record_btrace_tailcall_frame_sniffer): New.
4058 (record_btrace_frame_dealloc_cache): New.
4059 (record_btrace_frame_unwind): Add new functions.
4060 (record_btrace_tailcall_frame_unwind): New.
4061 (_initialize_record_btrace): Allocate cache.
4062 * btrace.c (btrace_clear): Call reinit_frame_cache.
4063 * NEWS: Announce it.
4064
066ce621
MM
40652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4066
4067 * record-btrace.c (record_btrace_set_replay)
4068 (record_btrace_goto_begin, record_btrace_goto_end)
4069 (record_btrace_goto): New.
4070 (init_record_btrace_ops): Initialize them.
4071 * NEWS: Announce it.
4072
e2887aa3
MM
40732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4074
4075 * record-btrace.c (record_btrace_find_new_threads)
4076 (record_btrace_thread_alive): New.
4077 (init_record_btrace_ops): Initialize to_find_new_threads and
4078 to_thread_alive.
4079
b2f4cfde
MM
40802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4081
4082 * record-btrace.c (record_btrace_resume): New.
4083 (record_btrace_wait): New.
4084 (init_record_btrace_ops): Initialize to_wait and to_resume.
4085
633785ff
MM
40862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4087
4088 * record-btrace.c (record_btrace_xfer_partial)
4089 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4090 (record_btrace_allow_memory_access): New.
4091 (init_record_btrace_ops): Initialize new methods.
4092 * target.c (raw_memory_xfer_partial): Bail out if target reports
4093 that this memory is not available.
4094
3db08215
MM
40952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4096
4097 * target.h (target_ops) <to_insert_breakpoint>
4098 <to_remove_breakpoint>: Add target_ops parameter.
4099 (forward_target_insert_breakpoint): New.
4100 (forward_target_remove_breakpoint): New.
4101 (memory_remove_breakpoint, memory_insert_breakpoint):
4102 Add target_ops parameter.
4103 * target.c (target_insert_breakpoint): Split into this and ...
4104 (forward_target_insert_breakpoint): ... this.
4105 (target_remove_breakpoint): Split into this and ...
4106 (forward_target_remove_breakpoint): ... this.
4107 (debug_to_insert_breakpoint): Add target_ops parameter.
4108 Call forward_target_insert_breakpoint.
4109 (debug_to_remove_breakpoint): Add target_ops parameter.
4110 Call forward_target_remove_breakpoint.
4111 (update_current_target): Do not inherit or default to_insert_breakpoint
4112 and to_remove_breakpoint.
4113 * corelow.c (ignore): Add target_ops parameter.
4114 * exec.c (ignore): Add target_ops parameter.
4115 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4116 Add target_ops parameter.
4117 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4118 Add target_ops parameter.
4119 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4120 Add target_ops parameter.
4121 * record-full.c (record_full_beneath_to_insert_breakpoint)
4122 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4123 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4124 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4125 (record_full_core_remove_breakpoint): Add target_ops parameter.
4126 Update users.
4127 (record_full_beneath_to_insert_breakpoint_ops)
4128 (record_full_beneath_to_remove_breakpoint_ops)
4129 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4130 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4131 tmp_to_remove_breakpoint_ops,
4132 record_full_beneath_to_insert_breakpoint_ops, and
4133 record_full_beneath_to_remove_breakpoint_ops.
4134 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4135 (m32r_remove_breakpoint): Add target_ops parameter.
4136 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4137 Add target_ops parameter.
4138 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4139 Add target_ops parameter.
4140
cecac1ab
MM
41412014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4142 Markus Metzger <markus.t.metzger@intel.com>
4143
4144 * record-btrace.c: Include frame-unwind.h.
4145 (record_btrace_frame_unwind_stop_reason)
4146 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4147 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4148 New.
4149 (init_record_btrace_ops): Install it.
4150
824344ca
MM
41512014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4152
4153 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4154 get_prev_frame_1.
4155
32261e52
MM
41562014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4159 earlier.
4160
ea001bdc
MM
41612014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 * frame-unwind.c: Include target.h.
4164 (frame_unwind_try_unwinder): New function with code from ...
4165 (frame_unwind_find_by_frame): ... here. New variable
4166 unwinder_from_target, call also target_get_unwinder)
4167 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4168 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4169 * target.h (struct target_ops): New fields to_get_unwinder and
4170 to_get_tailcall_unwinder.
4171 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4172
1f3ef581
MM
41732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4174
4175 * record-btrace.c (record_btrace_fetch_registers)
4176 (record_btrace_store_registers)
4177 (record_btrace_to_prepare_to_store): New.
4178 (init_record_btrace_ops): Add the above.
4179
f32dbf8c
MM
41802014-01-16 Tom Tromey <tromey@redhat.com>
4181
4182 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4183 * target.h (struct target_ops) <to_prepare_to_store>: Add
4184 argument.
4185 (target_prepare_to_store): Add argument.
4186 * target.c (debug_to_prepare_to_store): Add argument.
4187 (update_current_target): Update.
4188 * remote.c (remote_prepare_to_store): Add 'self' argument.
4189 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4190 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4191 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4192 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4193 argument.
4194 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4195 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4196 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4197 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4198 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4199
07bbe694
MM
42002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4201
4202 * btrace.h (replay) <replay>: New.
4203 (btrace_is_replaying): New.
4204 * btrace.c (btrace_clear): Free replay iterator.
4205 (btrace_is_replaying): New.
4206 * record-btrace.c (record_btrace_is_replaying): New.
4207 (record_btrace_info): Print insn number if replaying.
4208 (record_btrace_insn_history): Start at replay position.
4209 (record_btrace_call_history): Start at replay position.
4210 (init_record_btrace_ops): Init to_record_is_replaying.
4211
0688d04e
MM
42122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4213
4214 * record-btrace.c (record_btrace_insn_history_range): Include
4215 end.
4216 (record_btrace_insn_history_from): Adjust range.
4217 (record_btrace_call_history_range): Include
4218 end.
4219 (record_btrace_call_history_from): Adjust range.
4220 * NEWS: Announce changes.
4221
8710b709
MM
42222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4223
4224 * record.h (enum record_print_flag)
4225 <record_print_indent_calls>: New.
4226 * record.c (get_call_history_modifiers): Recognize /c modifier.
4227 (_initialize_record): Document /c modifier.
4228 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4229 Reorder fields. Optionally indent the function name. Update
4230 all users.
4231 * NEWS: Announce changes.
4232
d0fa7535
MM
42332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4234
4235 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4236
5de9129b
MM
42372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4238
4239 * btrace.c (ftrace_new_function): Start counting at one.
4240 * record-btrace.c (record_btrace_info): Adjust number of calls
4241 and insns.
4242 * NEWS: Announce it.
4243
7acbe133
MM
42442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4245
4246 * record-btrace.c (btrace_call_history_insn_range): Print
4247 insn range as [begin, end].
4248
23a7fe75
MM
42492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4250
4251 * btrace.h (struct btrace_func_link): New.
4252 (enum btrace_function_flag): New.
4253 (struct btrace_inst): Rename to ...
4254 (struct btrace_insn): ...this. Update all users.
4255 (struct btrace_func) <ibegin, iend>: Remove.
4256 (struct btrace_func_link): New.
4257 (struct btrace_func): Rename to ...
4258 (struct btrace_function): ...this. Update all users.
4259 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4260 (number, level, flags>: New.
4261 (struct btrace_insn_iterator): Rename to ...
4262 (struct btrace_insn_history): ...this.
4263 Update all users.
4264 (struct btrace_insn_iterator, btrace_call_iterator): New.
4265 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4266 (struct btrace_target_info) <begin, end, level>
4267 <insn_history, call_history>: New.
4268 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4269 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4270 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4271 (btrace_call_number, btrace_call_begin, btrace_call_end)
4272 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4273 (btrace_find_function_by_number, btrace_set_insn_history)
4274 (btrace_set_call_history): New.
4275 * btrace.c (btrace_init_insn_iterator)
4276 (btrace_init_func_iterator, compute_itrace): Remove.
4277 (ftrace_print_function_name, ftrace_print_filename)
4278 (ftrace_skip_file): Change
4279 parameter to const.
4280 (ftrace_init_func): Remove.
4281 (ftrace_debug): Use new btrace_function fields.
4282 (ftrace_function_switched): Also consider gaining and
4283 losing symbol information).
4284 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4285 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4286 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4287 New.
4288 (ftrace_new_function): Move. Remove debug print.
4289 (ftrace_update_lines, ftrace_update_insns): New.
4290 (ftrace_update_function): Check for call, ret, and jump.
4291 (compute_ftrace): Renamed to ...
4292 (btrace_compute_ftrace): ...this. Rewritten to compute call
4293 stack.
4294 (btrace_fetch, btrace_clear): Updated.
4295 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4296 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4297 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4298 (btrace_call_number, btrace_call_begin, btrace_call_end)
4299 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4300 (btrace_find_function_by_number, btrace_set_insn_history)
4301 (btrace_set_call_history): New.
4302 * record-btrace.c (require_btrace): Use new btrace thread
4303 info fields.
4304 (record_btrace_info, btrace_insn_history)
4305 (record_btrace_insn_history, record_btrace_insn_history_range):
4306 Use new btrace thread info fields and new iterator.
4307 (btrace_func_history_src_line): Rename to ...
4308 (btrace_call_history_src_line): ...this. Use new btrace
4309 thread info fields.
4310 (btrace_func_history): Rename to ...
4311 (btrace_call_history): ...this. Use new btrace thread info
4312 fields and new iterator.
4313 (record_btrace_call_history, record_btrace_call_history_range):
4314 Use new btrace thread info fields and new iterator.
4315
8372a7cb
MM
43162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4317
4318 * frame.h (frame_id_build_unavailable_stack_special): New.
4319 * frame.c (frame_id_build_unavailable_stack_special): New.
4320
c2170eef
MM
43212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4322
4323 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4324 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4325 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4326 to gdbarch.
4327 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4328 (i386_insn_is_jump, i386_jmp_p): New.
4329 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4330 insn_is_jump to gdbarch.
4331 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4332 * gdbarch.h: Regenerated.
4333 * gdbarch.c: Regenerated.
4334 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4335 (default_insn_is_jump): New.
4336 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4337 (default_insn_is_jump): New.
4338
864089d2
MM
43392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4340
4341 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4342 Change to ...
4343 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4344 (btrace_read_type) <btrace_read_new>: Change to ...
4345 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4346
ed9edfb5
MM
43472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4348
4349 * common/linux-btrace.c (linux_read_btrace): Free trace from
4350 previous iteration.
4351
fbcbc3fd
DE
43522014-01-15 Doug Evans <dje@google.com>
4353
4354 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4355 uint32_t.
4356
3d548a53
TT
43572014-01-15 Tom Tromey <tromey@redhat.com>
4358
4359 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4360 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4361 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4362 (set_objfile_main_name): New function.
4363 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4364 language_of_main>: New fields.
4365 (set_objfile_main_name): Declare.
4366 * symtab.c (find_main_name): Loop over objfiles to find the main
4367 name and language.
4368 (set_main_name): Now static.
4369 (get_main_info): Add comment.
4370 * symtab.h (set_main_name): Don't declare.
4371
32ac0d11
TT
43722014-01-15 Tom Tromey <tromey@redhat.com>
4373
4374 * symtab.c (main_progspace_key): New global.
4375 (struct main_info): New.
4376 (name_of_main, language_of_main): Remove.
4377 (get_main_info, main_info_cleanup): New function.
4378 (set_main_name, main_name, main_language): Use get_main_info.
4379 (_initialize_symtab): Initialize main_progspace_key.
4380
9e6c82ad
TT
43812014-01-15 Tom Tromey <tromey@redhat.com>
4382
4383 * dbxread.c (process_one_symbol): Update.
4384 * dwarf2read.c (read_partial_die): Update.
4385 * symfile.c (set_initial_language): Call main_language.
4386 * symtab.c (language_of_main): Now static.
4387 (set_main_name): Add 'lang' parameter.
4388 (find_main_name): Update.
4389 (main_language): New function.
4390 (symtab_observer_executable_changed): Update.
4391 * symtab.h (set_main_name): Update.
4392 (language_of_main): Remove.
4393 (main_language): Declare.
4394
6ef55de7
TT
43952014-01-15 Tom Tromey <tromey@redhat.com>
4396
4397 * symfile.c (init_entry_point_info): Use new "initialized" field.
4398 Update.
4399 * objfiles.h (struct entry_point) <initialized>: New field.
4400 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4401 (struct objfile) <ei>: ...here. Remove.
4402 * objfiles.c (entry_point_address_query): Update.
4403
53eddfa6
TT
44042014-01-15 Tom Tromey <tromey@redhat.com>
4405
4406 * objfiles.c (entry_point_address_query): Relocate entry point
4407 address.
4408 (objfile_relocate1): Do not relocate entry point address.
4409 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4410 <the_bfd_section_index>: New field.
4411 * symfile.c (init_entry_point_info): Find the entry point's
4412 section.
4413
d56e56aa
TT
44142014-01-15 Tom Tromey <tromey@redhat.com>
4415
4416 * solib-frv.c (enable_break): Use entry_point_address_query.
4417
33a97bbe
OJ
44182014-01-15 Omair Javaid <omair.javaid@linaro.org>
4419
4420 * NEWS: Add note on improved process record-replay on
4421 arm*-linux* targets.
4422
c6ec2b30
OJ
44232014-01-15 Omair Javaid <omair.javaid@linaro.org>
4424
4425 * arm-tdep.c (enum arm_record_result): New enum.
4426 (arm_record_unsupported_insn): New function.
4427 (arm_record_coproc_data_proc): Removed.
4428 (thumb2_record_ld_st_multiple): New function.
4429 (thumb2_record_ld_st_dual_ex_tbb): New function.
4430 (thumb2_record_data_proc_sreg_mimm): New function.
4431 (thumb2_record_ps_dest_generic): New function.
4432 (thumb2_record_branch_misc_cntrl): New function.
4433 (thumb2_record_str_single_data): New function.
4434 (thumb2_record_ld_mem_hints): New function.
4435 (thumb2_record_ld_word): New function.
4436 (thumb2_record_lmul_lmla_div): New function.
4437 (thumb2_record_decode_insn_handler): New function.
4438 (decode_insn): Add thumb32 instruction handlers.
4439
97dfe206
OJ
44402014-01-15 Omair Javaid <omair.javaid@linaro.org>
4441
4442 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4443 (struct arm_linux_record_tdep): Declare.
4444 (arm_canonicalize_syscall): New function.
4445 (arm_all_but_pc_registers_record): New function.
4446 (arm_linux_syscall_record): New function.
4447 (arm_linux_init_abi): Add syscall recording constructs.
4448 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4449 decoding. (arm_record_coproc_data_proc): Update arm syscall
4450 decoding.
4451 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4452 <arm_syscall_record>: New field.
4453 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4454 gdb_target_obs.
4455
9904a494
OJ
44562014-01-15 Omair Javaid <omair.javaid@linaro.org>
4457
4458 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4459 register for push instruction recording.
4460
f969241e
OJ
44612014-01-15 Omair Javaid <omair.javaid@linaro.org>
4462
4463 * arm-tdep.c (thumb_record_misc): Update to correct logical
4464 error while recording ldm, ldmia and pop instructions.
4465
bfbbec00
OJ
44662014-01-15 Omair Javaid <omair.javaid@linaro.org>
4467
4468 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4469
e40adcc9
PA
44702014-01-15 Pedro Alves <palves@redhat.com>
4471
4472 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4473 (go32_resume, go32_fetch_registers, store_register)
4474 (go32_store_registers, go32_prepare_to_store)
4475 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4476 (go32_create_inferior, go32_can_run, go32_terminal_init)
4477 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4478 declarations.
4479
b0a16e66
TT
44802014-01-15 Tom Tromey <tromey@redhat.com>
4481
4482 * target.h (async_callback_ftype): New typedef.
4483 (struct target_ops) <to_async>: Use it.
4484
bf7105a4
JB
44852014-01-15 Joel Brobecker <brobecker@adacore.com>
4486
4487 * python/py-value.c (get_field_type): Remove unnecessary curly
4488 braces for single-statement if block.
4489
a8f35c2e
JB
44902014-01-15 Joel Brobecker <brobecker@adacore.com>
4491
4492 * python/py-type.c (convert_field): Add missing empty line
4493 after declarations.
4494
bb4142cf
DE
44952014-01-14 Doug Evans <dje@google.com>
4496
4497 * symfile.h (expand_symtabs_matching): Renamed from
4498 expand_partial_symbol_names. Update prototype.
4499 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4500 * symfile.c (expand_symtabs_matching): Renamed from
4501 expand_partial_symbol_names. New args file_matcher, kind.
4502 Rename arg fun to symbol_matcher.
4503 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4504 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4505 ada_expand_partial_symbol_name.
4506 (ada_make_symbol_completion_list): Update to call
4507 expand_symtabs_matching.
4508 (ada_add_global_exceptions): Call expand_symtabs_matching.
4509 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4510 call map_symbol_filenames.
4511 * symtab.c (sources_info): Update to call map_symbol_filenames.
4512 (search_symbols): Call expand_symtabs_matching.
4513 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4514 (default_make_symbol_completion_list_break_on): Update to call
4515 expand_symtabs_matching.
4516 (make_source_files_completion_list): Update to call
4517 map_symbol_filenames.
4518
206f2a57
DE
45192014-01-14 Doug Evans <dje@google.com>
4520
4521 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4522 (expand_symtabs_symbol_matcher_ftype): New typedef.
4523 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4524 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4525 * symfile.c (expand_partial_symbol_names): Update to use
4526 expand_symtabs_symbol_matcher_ftype.
4527 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4528 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4529 Arg name_matcher renamed to symbol_matcher.
4530 * psymtab.c (recursively_search_psymtabs): Update to use
4531 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4532 sym_matcher.
4533 (expand_symtabs_matching_via_partial): Update to use
4534 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4535 Arg name_matcher renamed to symbol_matcher.
4536
540c2971
DE
45372014-01-14 Doug Evans <dje@google.com>
4538
4539 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4540 (map_partial_symbol_filenames): Ditto.
4541 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4542 (map_partial_symbol_filenames): Ditto.
4543 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4544 (map_partial_symbol_filenames): Ditto.
4545 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4546 (map_partial_symbol_filenames): Ditto.
4547 * symtab.c: Delete #include "psymtab.h".
4548
8213266a
PA
45492014-01-14 Pedro Alves <palves@redhat.com>
4550 Tom Tromey <tromey@redhat.com>
4551
4552 * infrun.c (use_displaced_stepping): Use find_record_target
4553 instead of RECORD_IS_USED.
4554 (adjust_pc_after_break): Use record_full_is_used instead of
4555 RECORD_IS_USED.
4556 * record-btrace.c (record_btrace_open): Call record_preopen
4557 instead of checking RECORD_IS_USED.
4558 * record-full.c (record_full_shortname)
4559 (record_full_core_shortname): New globals.
4560 (record_full_is_used): New function.
4561 (find_full_open): Call record_preopen instead of checking
4562 RECORD_IS_USED.
4563 (init_record_full_ops): Set the target's shortname to
4564 record_full_shortname.
4565 (init_record_full_core_ops): Set the target's shortname to
4566 record_full_core_shortname.
4567 * record-full.h (record_full_is_used): Declare.
4568 * record.c (find_record_target): Make extern.
4569 (record_preopen): New function.
4570 * record.h (RECORD_IS_USED): Delete macro.
4571 (find_record_target, record_preopen): Declare functions.
4572
7ec1862d
YQ
45732014-01-14 Yao Qi <yao@codesourcery.com>
4574
4575 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4576 'len''s type to ULONGEST.
4577 (core_xfer_shared_libraries_aix): Likewise.
4578 * gdbarch.c, gdbarch.h: Regenerated.
4579 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4580 Change type of 'len' to ULONGEST.
4581 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4582 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4583
dea80a27
YQ
45842014-01-14 Yao Qi <yao@codesourcery.com>
4585
4586 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4587 type of 'len' to ULONGEST.
4588 (linux_xfer_osdata_processgroups): Likewise.
4589 (linux_xfer_osdata_threads): Likewise.
4590 (linux_xfer_osdata_fds): Likewise.
4591 (linux_xfer_osdata_isockets): Likewise.
4592 (linux_xfer_osdata_shm): Likewise.
4593 (linux_xfer_osdata_sem): Likewise.
4594 (linux_xfer_osdata_msg): Likewise.
4595 (linux_common_xfer_osdata): Likewise.
4596 (struct osdata_type) <getter>: Likewise.
4597 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4598 the declaration.
4599
b55e14c7
YQ
46002014-01-14 Yao Qi <yao@codesourcery.com>
4601
4602 * target.h (target_xfer_partial_ftype): Update.
4603 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4604 ULONGEST.
4605 * aix-thread.c (aix_thread_xfer_partial): Change type of
4606 argument 'len' to ULONGEST.
4607 * auxv.c (procfs_xfer_auxv): Likewise.
4608 (ld_so_xfer_auxv): Likewise.
4609 (memory_xfer_auxv): Likewise.
4610 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4611 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4612 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4613 * corelow.c (core_xfer_partial): Likewise.
4614 * ctf.c (ctf_xfer_partial): Likewise.
4615 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4616 '%u'.
4617 (darwin_read_dyld_info): Likewise.
4618 (darwin_xfer_partial): Likewise.
4619 * exec.c (section_table_xfer_memory_partial): Likewise.
4620 (exec_xfer_partial): Likewise.
4621 * exec.h (section_table_xfer_memory_partial): Update
4622 declaration.
4623 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4624 instead of plongest.
4625 (gnu_xfer_partial): Likewise.
4626 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4627 (ia64_hpux_xfer_solib_got): Likewise.
4628 (ia64_hpux_xfer_partial): Likewise.
4629 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4630 * inf-ptrace.c (inf_ptrace_xfer_partial):
4631 * inf-ttrace.c (inf_ttrace_xfer_partial):
4632 * linux-nat.c (linux_xfer_siginfo): Likewise.
4633 (linux_nat_xfer_partial): Likewise.
4634 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4635 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4636 * monitor.c (monitor_xfer_memory): Likewise.
4637 (monitor_xfer_partial): Likewise.
4638 * procfs.c (procfs_xfer_partial): Likewise.
4639 * record-full.c (record_full_xfer_partial): Likewise.
4640 (record_full_core_xfer_partial): Likewise.
4641 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4642 instead of plongest.
4643 (gdbsim_xfer_partial): Likewise.
4644 * remote.c (remote_xfer_partial): Likewise.
4645 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4646 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4647 declaration.
4648 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4649 (rs6000_xfer_shared_libraries): Likewise.
4650 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4651 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4652 (sparc_xfer_partial): Likewise.
4653 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4654 (spu_xfer_partial): Likewise.
4655 * spu-multiarch.c (spu_xfer_partial): Likewise.
4656 * target.c (target_read_live_memory): Likewise.
4657 (memory_xfer_live_readonly_partial): Likewise.
4658 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4659 (target_xfer_partial, default_xfer_partial): Likewise.
4660 (current_xfer_partial): Likewise.
4661 * tracepoint.c (tfile_xfer_partial): Likewise.
4662 * windows-nat.c (windows_xfer_memory): Likewise. Call
4663 pulongest instead of plongest.
4664 (windows_xfer_partial): Likewise.
4665 (windows_xfer_shared_libraries): Likewise.
4666
05804640
YQ
46672014-01-14 Yao Qi <yao@codesourcery.com>
4668
4669 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4670 target_xfer_partial_ftype.
4671
b5b08fb4
SC
46722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4673
4674 PR python/15464
4675 PR python/16113
4676 * valops.c (value_struct_elt_bitpos): New function
4677 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4678 object to 'None' if the field name is an empty string ("").
4679 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4680 attribute to look for a field when 'name' is 'None'.
4681 (get_field_type): New function
4682
13aaf454
DE
46832014-01-13 Doug Evans <dje@google.com>
4684
4685 PR symtab/16426
4686 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4687 (try_open_dwop_file): Ditto.
4688 * gdb_bfd.c: #include "vec.h".
4689 (bfdp): New typedef.
4690 (struct gdb_bfd_data): New member included_bfds.
4691 (gdb_bfd_unref): Unref all included bfds.
4692 (gdb_bfd_record_inclusion): New function.
4693 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4694
c2cec97c
TT
46952014-01-13 Tom Tromey <tromey@redhat.com>
4696
4697 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4698
78e5999d
TT
46992014-01-13 Tom Tromey <tromey@redhat.com>
4700
4701 * defs.h (use_windows): Remove.
4702 * gdb.c (main): Update.
4703 * main.c (captured_main, gdb_main): Update.
4704 * main.h (struct captured_main_args) <use_windows>: Remove.
4705 * top.c (use_windows): Remove.
4706
f2052bbe
TT
47072014-01-13 Tom Tromey <tromey@redhat.com>
4708
4709 * defs.h (deprecated_flush_hook): Remove.
4710
fde4f8ed
JK
47112014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4712
4713 PR threads/16216
4714 * linux-thread-db.c (try_thread_db_load): Add parameter
4715 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4716 (try_thread_db_load_from_pdir_1): Move it there from here.
4717 (try_thread_db_load_from_sdir): Update caller.
4718 (try_thread_db_load_from_dir): Move it there from here.
4719
bdf61915
PP
47202014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4721
4722 * regformats/regdat.sh: Always rewrite the register file.
4723
f71e1a8d
PA
47242014-01-13 Pedro Alves <palves@redhat.com>
4725
4726 * Makefile.in (CHECK_HEADERS): New variable.
4727 (check-headers:): New rule.
4728
42c85435
TT
47292014-01-13 Tom Tromey <tromey@redhat.com>
4730
4731 * cli/cli-setshow.c (do_set_command): Update.
4732 * defs.h (deprecated_set_hook): Remove.
4733 * top.c (deprecated_set_hook): Remove.
4734
f8de5129
PA
47352014-01-13 Pedro Alves <palves@redhat.com>
4736
4737 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4738 the tracepoint if the PC is a pseudo-register.
4739
fc270c35
TT
47402014-01-13 Tom Tromey <tromey@redhat.com>
4741
4742 * defs.h (XCALLOC): Remove.
4743 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4744 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4745 * dwarf2loc.c (allocate_piece_closure): Likewise.
4746 * elfread.c (elf_symfile_segments): Likewise.
4747 (elf_symfile_segments): Likewise.
4748 * gdbtypes.c (copy_type_recursive): Likewise.
4749 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4750 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4751 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4752 XCALLOC.
4753 * mt-tdep.c (mt_gdbarch_init): Likewise.
4754 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4755 XCALLOC.
4756 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4757 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4758 * registry.c (registry_alloc_data): Likewise.
4759 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4760 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4761 * serial.c (serial_fdopen_ops): Likewise.
4762 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4763 XCALLOC.
4764 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4765 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4766 not XCALLOC.
4767
70ba0933
TT
47682014-01-13 Tom Tromey <tromey@redhat.com>
4769
4770 * defs.h (XMALLOC): Remove.
4771 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4772 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4773 * cli-out.c (struct ui_out *): Likewise.
4774 * cli/cli-dump.c (add_dump_command): Likewise.
4775 (add_dump_command): Likewise.
4776 * complaints.c (get_complaints): Likewise.
4777 (find_complaint): Likewise.
4778 * dwarf2-frame.c (execute_cfa_program): Likewise.
4779 * dwarf2read.c (abbrev_table_read_table): Likewise.
4780 * gdbarch.sh: Likewise.
4781 * gdbarch.c: Rebuild.
4782 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4783 * interps.c (interp_new): Likewise.
4784 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4785 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4786 * mi/mi-console.c (mi_console_file_new): Likewise.
4787 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4788 * mi/mi-out.c (mi_out_new): Likewise.
4789 * mi/mi-parse.c (mi_parse): Likewise.
4790 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4791 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4792 * observer.c (xalloc_observer_list_node): Likewise.
4793 * regcache.c (regcache_xmalloc_1): Likewise.
4794 * reggroups.c (reggroup_new): Likewise.
4795 (_initialize_reggroup): Likewise.
4796 * registry.c (register_data_with_cleanup): Likewise.
4797 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4798 * ser-base.c (serial_ttystate): Likewise.
4799 * ser-mingw.c (make_pipe_state): Likewise.
4800 * ser-pipe.c (pipe_open): Likewise.
4801 * serial.c (serial_open): Likewise.
4802 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4803 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4804 (tui_alloc_win_info): Likewise.
4805 (tui_add_content_elements): Likewise.
4806 * tui/tui-file.c (tui_file_new): Likewise.
4807 * tui/tui-out.c (tui_out_new): Likewise.
4808 * ui-file.c (mem_file_new): Likewise.
4809 * ui-out.c (push_level): Likewise.
4810 (make_cleanup_ui_out_end): Likewise.
4811 (append_header_to_list): Likewise.
4812 (ui_out_new): Likewise.
4813 * user-regs.c (user_reg_add_builtin): Likewise.
4814
41bf6aca
TT
48152014-01-13 Tom Tromey <tromey@redhat.com>
4816
4817 * defs.h (XZALLOC): Remove.
4818 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4819 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4820 (get_ada_tasks_inferior_data): Likewise.
4821 * auto-load.c (get_auto_load_pspace_data): Likewise.
4822 * auxv.c (get_auxv_inferior_data): Likewise.
4823 * bfd-target.c (target_bfd_reopen): Likewise.
4824 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4825 (deprecated_insert_raw_breakpoint): Likewise.
4826 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4827 * corelow.c (core_open): Likewise.
4828 * darwin-nat.c (darwin_check_new_threads): Likewise.
4829 (darwin_attach_pid): Likewise.
4830 * dummy-frame.c (dummy_frame_push): Likewise.
4831 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4832 * dwarf2loc.c (allocate_piece_closure): Likewise.
4833 * elfread.c (elf_symfile_segments): Likewise.
4834 * eval.c (ptrmath_type_p): Likewise.
4835 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4836 * gdbtypes.c (alloc_type_arch): Likewise.
4837 (alloc_type_instance): Likewise.
4838 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4839 * inf-child.c (inf_child_can_use_agent): Likewise.
4840 * inflow.c (get_inflow_inferior_data): Likewise.
4841 * infrun.c (save_infcall_suspend_state): Likewise.
4842 * jit.c (jit_reader_load): Likewise.
4843 (get_jit_objfile_data): Likewise.
4844 (get_jit_program_space_data): Likewise.
4845 (jit_object_open_impl): Likewise.
4846 (jit_symtab_open_impl): Likewise.
4847 (jit_block_open_impl): Likewise.
4848 (jit_frame_sniffer): Likewise.
4849 * linux-fork.c (add_fork): Likewise.
4850 * maint.c (make_command_stats_cleanup): Likewise.
4851 * objfiles.c (get_objfile_pspace_data): Likewise.
4852 * opencl-lang.c (struct lval_closure): Likewise.
4853 * osdata.c (osdata_start_osdata): Likewise.
4854 * progspace.c (new_address_space): Likewise.
4855 (add_program_space): Likewise.
4856 * remote-sim.c (get_sim_inferior_data): Likewise.
4857 * sh-tdep.c (sh_gdbarch_init): Likewise.
4858 * skip.c (Ignore): Likewise.
4859 (skip_delete_command): Likewise.
4860 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4861 (library_list_start_library): Likewise.
4862 (solib_aix_current_sos): Likewise.
4863 * solib-darwin.c (get_darwin_info): Likewise.
4864 (darwin_current_sos): Likewise.
4865 * solib-dsbt.c (get_dsbt_info): Likewise.
4866 * solib-ia64-hpux.c (new_so_list): Likewise.
4867 (ia64_hpux_get_solib_linkage_addr): Likewise.
4868 * solib-spu.c (append_ocl_sos): Likewise.
4869 (spu_current_sos): Likewise.
4870 * solib-svr4.c (get_svr4_info): Likewise.
4871 (svr4_keep_data_in_core): Likewise.
4872 (library_list_start_library): Likewise.
4873 (svr4_default_sos): Likewise.
4874 (svr4_read_so_list): Likewise.
4875 * solib-target.c (library_list_start_library): Likewise.
4876 (solib_target_current_sos): Likewise.
4877 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4878 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4879 * symfile.c (default_symfile_segments): Likewise.
4880 * target-descriptions.c (tdesc_data_init): Likewise.
4881 (tdesc_create_reg): Likewise.
4882 (struct tdesc_type *): Likewise.
4883 (tdesc_create_vector): Likewise.
4884 (tdesc_set_struct_size): Likewise.
4885 (struct tdesc_type *): Likewise.
4886 (tdesc_free_feature): Likewise.
4887 (tdesc_create_feature): Likewise.
4888 * windows-nat.c (windows_add_thread): Likewise.
4889 (windows_make_so): Likewise.
4890 * xml-support.c (gdb_xml_body_text): Likewise.
4891 (gdb_xml_create_parser_and_cleanup): Likewise.
4892 (xml_process_xincludes): Likewise.
4893 * xml-syscall.c (allocate_syscalls_info): Likewise.
4894 (syscall_create_syscall_desc): Likewise.
4895
5acfdbae
SDJ
48962014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4897
4898 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4899 function, with code from i386_stap_parse_special_token.
4900 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4901 (i386_stap_parse_special_token): Move code to the two functions
4902 above; simplify it.
4903
0000e5cc
PA
49042014-01-09 Pedro Alves <palves@redhat.com>
4905 Hui Zhu <hui@codesourcery.com>
4906
4907 PR gdb/16101
4908 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4909 bp_err_string. Don't mark the location shlib_disabled if the
4910 error thrown wasn't a generic or memory error. Catch errors
4911 thrown while inserting breakpoints in overlayed code. Output
4912 error message of software breakpoints.
4913 * remote.c (remote_insert_breakpoint): If this breakpoint has
4914 target-side commands but this stub doesn't support Z0 packets,
4915 throw NOT_SUPPORTED_ERROR error.
4916 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4917 * target.h (target_insert_breakpoint): Extend comment.
4918 (target_insert_hw_breakpoint): Add comment.
4919
b7ea362b
PA
49202014-01-08 Pedro Alves <palves@redhat.com>
4921
4922 * remote.c (remote_add_thread): Add threads silently if starting
4923 up.
4924 (remote_notice_new_inferior): If in all-stop, and starting up,
4925 don't call notice_new_inferior.
4926 (get_current_thread): New function, factored out from ...
4927 (add_current_inferior_and_thread): ... this. Adjust.
4928 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4929 found any thread, then select the remote's current thread as GDB's
4930 current thread too.
4931
b7bba001
JB
49322014-01-08 Joel Brobecker <brobecker@adacore.com>
4933
4934 * NEWS: Create a new section for the next release branch.
4935 Rename the section of the current branch, now that it has
4936 been cut.
4937
16dfbded
JB
49382014-01-08 Joel Brobecker <brobecker@adacore.com>
4939
4940 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4941 * version.in: Bump version to 7.7.50.DATE-cvs.
4942
22c90ac1
YQ
49432014-01-08 Yao Qi <yao@codesourcery.com>
4944
4945 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4946 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4947 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4948
d64ad97c
YQ
49492014-01-08 Yao Qi <yao@codesourcery.com>
4950
4951 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4952 return value of bfd_get_filename to symbol_file_add_from_bfd.
4953
f93ba80c
PM
49542014-01-08 Pierre Muller <muller@sourceware.org>
4955
4956 Fix PR16201.
4957 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4958 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4959 to prim_record_mininal_symbol_and_info.
4960 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4961 in call to prim_record_minimal_symbol_and_info.
4962 (read_pe_exported_syms): Set index field of section_data.
4963
a4d9ba85
AP
49642014-01-07 Andrew Pinski <apinski@cavium.com>
4965
4966 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4967 * features/aarch64.c: Regenerate.
4968
1b67eb02
AS
49692014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4970
4971 * target.c (return_null): Define.
4972 (update_current_target): Use it instead of return_zero for
4973 functions that return a pointer.
4974
5e3f4fab
EBM
49752014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4976
4977 * source.c (add_path): Fix check for duplicated paths in the previously
4978 included paths.
4979
e2616788
HK
49802014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4981
4982 * ada-lang.c: Remove duplicated include statements.
4983 * alphabsd-nat.c: Ditto.
4984 * amd64-darwin-tdep.c: Ditto.
4985 * amd64fbsd-nat.c: Ditto.
4986 * auto-load.c: Ditto.
4987 * ax-gdb.c: Ditto.
4988 * breakpoint.c: Ditto.
4989 * dbxread.c: Ditto.
4990 * fork-child.c: Ditto.
4991 * gdb_usleep.c: Ditto.
4992 * i386-darwin-tdep.c: Ditto.
4993 * i386fbsd-nat.c: Ditto.
4994 * infcmd.c: Ditto.
4995 * inferior.c: Ditto.
4996 * jv-lang.c: Ditto.
4997 * linux-nat.c: Ditto.
4998 * linux-tdep.c: Ditto.
4999 * m68kbsd-nat.c: Ditto.
5000 * m68klinux-nat.c: Ditto.
5001 * microblaze-tdep.c: Ditto.
5002 * mips-linux-tdep.c: Ditto.
5003 * mn10300-tdep.c: Ditto.
5004 * nto-tdep.c: Ditto.
5005 * opencl-lang.c: Ditto.
5006 * osdata.c: Ditto.
5007 * printcmd.c: Ditto.
5008 * regcache.c: Ditto.
5009 * remote-m32r-sdi.c: Ditto.
5010 * remote.c: Ditto.
5011 * symfile.c: Ditto.
5012 * symtab.c: Ditto.
5013 * tilegx-linux-nat.c: Ditto.
5014 * tilegx-tdep.c: Ditto.
5015 * tracepoint.c: Ditto.
5016 * valops.c: Ditto.
5017 * vaxbsd-nat.c: Ditto.
5018 * windows-nat.c: Ditto.
5019 * xtensa-tdep.c: Ditto.
5020
bd1f7788
YQ
50212014-01-07 Yao Qi <yao@codesourcery.com>
5022
5023 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5024
79301218
JB
50252014-01-07 Yao Qi <yao@codesourcery.com>
5026 Joel Brobecker <brobecker@adacore.com>
5027
5028 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5029 (pdc_write_regs): Likewise.
5030 (fetch_regs_kernel_thread): Likewise.
5031 (store_regs_kernel_thread): Likewise.
5032
50332014-01-07 Joel Brobecker <brobecker@adacore.com>
5034
5035 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5036 tagged type objects to their actual type.
5037
8e355c5d
JB
50382014-01-07 Joel Brobecker <brobecker@adacore.com>
5039
5040 * ada-valprint.c (print_field_values): Add "language" parameter.
5041 Update calls to print_field_values and print_variant_part.
5042 Pass new parameter "language" in call to val_print instead
5043 of "current_language". Replace call to ada_val_print by call
5044 to val_print.
5045 (print_variant_part): Add "language" parameter.
5046 (ada_val_print_struct_union): Update call to print_field_values.
5047
4fbf5aa5
JB
50482014-01-07 Joel Brobecker <brobecker@adacore.com>
5049
5050 * ada-valprint.c (ui_memcpy): Delete.
5051 (ada_print_floating): Update documentation. Add empty line
5052 between between function documentation and implementation.
5053 Delete variable "buffer". Use ui_file_xstrdup in place of
5054 ui_file_put. Minor adjustments following this change.
5055
71855601
JB
50562014-01-07 Joel Brobecker <brobecker@adacore.com>
5057
5058 * ada-valprint.c (ada_val_print_string): New function,
5059 extracted from ada_val_print_array.
5060 (ada_val_print_array): Replace extracted code by call
5061 to ada_val_print_string followed by a return. Move
5062 "else" branch to the function's top block.
5063
4eb27a30
JB
50642014-01-07 Joel Brobecker <brobecker@adacore.com>
5065
5066 * ada-valprint.c (ada_val_print_array): Move implementation
5067 down. Rename parameter "offset" and "val" into "offset_aligned"
5068 and "original_value" respectively. Add parameter "offset".
5069
34b27950
JB
50702014-01-07 Joel Brobecker <brobecker@adacore.com>
5071
5072 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5073 re-organizing the code. Change the "???" message printed
5074 when target type is a TYPE_CODE_UNDEF into
5075 "<ref to undefined type>".
5076
079e4591
JB
50772014-01-07 Joel Brobecker <brobecker@adacore.com>
5078
5079 * ada-valprint.c (print_record): Delete, implementation inlined...
5080 (ada_val_print_struct_union): ... here. Remove call to
5081 ada_check_typedef in inlined implementation.
5082
8004dfd1
JB
50832014-01-07 Joel Brobecker <brobecker@adacore.com>
5084
5085 * ada-valprint.c (ada_val_print_gnat_array): New function,
5086 extracted from ada_val_print_1;
5087 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5088 (ada_val_print_flt, ada_val_print_struct_union)
5089 (ada_val_print_ref): Likewise.
5090 (ada_val_print_1): Delete variables i and elttype.
5091 Replace extracted-out code by call to corresponding
5092 new functions.
5093
760a2db0
JB
50942014-01-07 Joel Brobecker <brobecker@adacore.com>
5095
5096 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5097
3a92c861
JB
50982014-01-07 Joel Brobecker <brobecker@adacore.com>
5099
5100 * ada-valprint.c (ada_val_print_1): Replace calls to
5101 ada_val_print_1 by calls to val_print.
5102
cd1630f9
JB
51032014-01-07 Joel Brobecker <brobecker@adacore.com>
5104
5105 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5106 Update calls to self accordingly. Replace calls to c_val_print
5107 by calls to val_print.
5108
bdf779a0
JB
51092014-01-07 Joel Brobecker <brobecker@adacore.com>
5110
5111 * ada-valprint.c (print_record): Delete declaration.
5112 (adjust_type_signedness, ada_val_print_1): Likewise.
5113 (ada_val_print): Move function implementation down.
5114 (print_variant_part, print_field_values, print_record):
5115 Move function implementation up.
5116
c0d48811
JB
51172014-01-07 Joel Brobecker <brobecker@adacore.com>
5118
5119 * python/py-type.c (typy_get_name): New function.
5120 (type_object_getset): Add entry for attribute "name".
5121 * NEWS: Add entry mentioning this new attribute.
5122
c26e9cbb
YQ
51232014-01-07 Yao Qi <yao@codesourcery.com>
5124
5125 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5126 statement.
5127
0cc6f43d
YQ
51282014-01-07 Yao Qi <yao@codesourcery.com>
5129
5130 * gnu-nat.c (info_port_rights): Add qualifier const to
5131 argument args.
5132
eec03155
YQ
51332014-01-07 Yao Qi <yao@codesourcery.com>
5134
5135 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5136
f04a82ef
YQ
51372014-01-07 Yao Qi <yao@codesourcery.com>
5138
5139 * gnu-nat.c (make_inf) Update declaration.
5140 (make_inf): Make it static.
5141 (inf_set_traced): Likewise.
5142 (inf_port_to_thread, inf_task_died_status): Likewise.
5143
d57dda0a
YQ
51442014-01-07 Yao Qi <yao@codesourcery.com>
5145
5146 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5147
3aa8c969
YQ
51482014-01-07 Yao Qi <yao@codesourcery.com>
5149
5150 * gnu-nat.c (_initialize_gnu_nat): Declare.
5151
94123b4f
YQ
51522014-01-07 Yao Qi <yao@codesourcery.com>
5153
5154 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5155 'enum bfd_endian'.
5156 (struct gdbarch_info) <byte_order>: Change type to
5157 'enum bfd_endian'.
5158 <byte_order_for_code>: Likewise.
5159 * gdbarch.c, gdbarch.h: Regenerated.
5160
dc81d70a
TT
51612014-01-06 Sasha Smundak <asmundak@google.com>
5162
5163 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5164
cc2f3c35
TT
51652014-01-06 Tom Tromey <tromey@redhat.com>
5166
5167 * doublest.c (convert_doublest_to_floatformat): Use const, not
5168 CONST.
5169 * somread.c (som_symtab_read): Likewise.
5170
adcf2eed
HZ
51712014-01-07 Hui Zhu <hui@codesourcery.com>
5172
5173 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5174 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5175 (gdb_bfd_fopen): Ditto.
5176 (gdb_bfd_openr): Ditto.
5177 (gdb_bfd_openw): Ditto.
5178 (gdb_bfd_openr_iovec): Ditto.
5179 (gdb_bfd_fdopenr): Ditto.
5180 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5181 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5182 with xstrdup.
5183 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5184 with xstrdup.
5185 * symfile-mem.c (symbol_file_add_from_memory): Removed
5186 gdb_bfd_stash_filename.
5187
50722198
DE
51882014-01-03 Doug Evans <dje@google.com>
5189
5190 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5191 output.
5192
2fa4b862
JB
51932014-01-01 Joel Brobecker <brobecker@adacore.com>
5194
5195 Update year range in copyright notice of all files.
5196
28498c42
JB
51972014-01-01 Joel Brobecker <brobecker@adacore.com>
5198
5199 * top.c (print_gdb_version): Set copyright year to 2014.
5200
7b6e1046
JB
52012014-01-01 Joel Brobecker <brobecker@adacore.com>
5202
5203 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5204
df96af55 5205For older changes see ChangeLog-2013.
c906108c
SS
5206\f
5207Local Variables:
5208mode: change-log
5209left-margin: 8
5210fill-column: 74
5211version-control: never
57da7796 5212coding: utf-8
c906108c 5213End:
This page took 1.864933 seconds and 4 git commands to generate.