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