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