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