]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Tweak target_xfer_status_to_string
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
01cb8804
YQ
12014-02-24 Yao Qi <yao@codesourcery.com>
2
3 * target.c (target_xfer_status_to_string): Rename argument err
4 to status.
5 * target.h (target_xfer_status_to_string): Update declaration.
6 Replace target_xfer_error_to_string with
7 target_xfer_status_to_string in comment.
8
93063aa6
YQ
92014-02-24 Yao Qi <yao@codesourcery.com>
10
11 * mips-linux-nat.c (super_close): Update its type.
12 (mips_linux_close): Pass 'self' to super_close.
13
5c328c05
YQ
142014-02-24 Yao Qi <yao@codesourcery.com>
15
16 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
17 * corefile.c (read_memory): Adjusted.
18 * target.c (target_write_with_progress): Adjusted.
19
f73023dd
YQ
202014-02-23 Yao Qi <yao@codesourcery.com>
21
22 Revert two patches:
23
24 2013-10-25 Yao Qi <yao@codesourcery.com>
25
26 * remote.c (remote_traceframe_info): Return early if
27 traceframe is not selected.
28
29 2013-07-19 Yao Qi <yao@codesourcery.com>
30
31 * target.c (update_current_target): Change the default action
32 of 'to_traceframe_info' from tcomplain to return_zero.
33 * target.h (struct target_ops) <to_traceframe_info>: Add more
34 comments.
35
5a2eb0ef
YQ
362014-02-23 Yao Qi <yao@codesourcery.com>
37
38 * valops.c (read_value_memory): Rewrite it. Call
39 target_xfer_partial in a loop.
40 * exec.h (section_table_available_memory): Remove declaration.
41 Move comments to ...
42 * exec.c (section_table_available_memory): ... here. Make it
43 static.
44
1ee79381
YQ
452014-02-23 Yao Qi <yao@codesourcery.com>
46
47 * exec.c (section_table_read_available_memory): New function.
48 * exec.h (section_table_read_available_memory): Declare.
49 * ctf.c (ctf_xfer_partial): Call
50 section_table_read_available_memory.
51 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
52
1ca49d37
YQ
532014-02-23 Yao Qi <yao@codesourcery.com>
54
55 * ctf.c (ctf_xfer_partial): Move code to ...
56 * exec.c (exec_read_partial_read_only): ... it. New function.
57 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
58 * tracefile.c: Include "exec.h".
59 * exec.h (exec_read_partial_read_only): Declare.
60
a283690e
YQ
612014-02-23 Yao Qi <yao@codesourcery.com>
62
63 * tracefile-tfile.c (tfile_has_all_memory): Remove.
64 (tfile_has_memory): Remove.
65 (init_tfile_ops): Don't set fields to_has_all_memory and
66 to_has_memory of tfile_ops.
67 * tracefile.c (tracefile_has_all_memory): New function.
68 (tracefile_has_memory): New function.
69 (init_tracefile_ops): Initialize fields to_has_all_memory and
70 to_has_memory of 'ops'.
71
12e03cd0
YQ
722014-02-23 Yao Qi <yao@codesourcery.com>
73
74 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
75 (ctf_thread_alive, ctf_get_trace_status): Remove.
76 (init_ctf_ops): Don't set some fields of ctf_ops. Call
77 init_tracefile_ops.
78 * tracefile-tfile.c (tfile_get_trace_status): Remove.
79 (tfile_has_stack, tfile_has_registers): Remove.
80 (tfile_thread_alive): Remove.
81 (init_tfile_ops): Don't set some fields of tfile_ops. Call
82 init_tracefile_ops.
83 * tracefile.c (tracefile_has_stack): New function.
84 (tracefile_has_registers): New function.
85 (tracefile_thread_alive): New function.
86 (tracefile_get_trace_status): New function.
87 (init_tracefile_ops): New function.
88 * tracefile.h (init_tracefile_ops): Declare.
89
11395323
YQ
902014-02-23 Yao Qi <yao@codesourcery.com>
91
92 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
93 (O_LARGEFILE): Likewise.
94 (tfile_ops): Likewise.
95 (TRACE_HEADER_SIZE): Likewise.
96 (trace_fd, trace_frames_offset, cur_offset): Likewise.
97 (cur_data_size): Likewise.
98 (tfile_read, tfile_open, tfile_interp_line): Likewise.
99 (tfile_close, tfile_files_info): Likewise.
100 (tfile_get_trace_status): Likewise.
101 (tfile_get_tracepoint_status): Likewise.
102 (tfile_get_traceframe_address): Likewise.
103 (tfile_trace_find, match_blocktype): Likewise.
104 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
105 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
106 (tfile_get_trace_state_variable_value): Likewise.
107 (tfile_has_all_memory, tfile_has_memory): Likewise.
108 (tfile_has_stack, tfile_has_registers): Likewise.
109 (tfile_thread_alive, build_traceframe_info): Likewise.
110 (tfile_traceframe_info, init_tfile_ops): Likewise.
111 (_initialize_tracepoint): Don't call init_tfile_ops
112 and add_target_with_completer.
113 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
114 exec.h, completer.h and filenames.h.
115 (_initialize_tracefile_tfile): New function.
116
7951c4eb
YQ
1172014-02-23 Yao Qi <yao@codesourcery.com>
118
119 * Makefile.in (REMOTE_OBS): Append tracefile.o and
120 tracefile-tfile.o.
121 (HFILES_NO_SRCDIR): Add tracefile.h.
122 * ctf.c: Include "tracefile.h".
123 * tracefile.h: New file.
124 * tracefile.c: New file
125 * tracefile-tfile.c: New file.
126 * tracepoint.c: Include "tracefile.h".
127 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
128 (stop_reason_names): Add const.
129 (trace_file_writer_xfree): Move it to tracefile.c.
130 (trace_save, trace_save_command, trace_save_tfile): Likewise.
131 (trace_save_ctf): Likewise.
132 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
133 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
134 (tfile_write_header, tfile_write_regblock_type): Likewise.
135 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
136 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
137 (tfile_write_raw_data, tfile_end): Likewise.
138 (tfile_trace_file_writer_new): Likewise.
139 (free_uploaded_tp): Make it extern.
140 (free_uploaded_tsv): Make it extern.
141 (_initialize_tracepoint): Move code to register command 'tsave'
142 to tracefile.c.
143 * tracepoint.h (stop_reason_names): Declare.
144 (struct trace_frame_write_ops): Move it to tracefile.h.
145 (struct trace_file_write_ops): Likewise.
146 (struct trace_file_writer): Likewise.
147 (free_uploaded_tsvs, free_uploaded_tps): Declare.
148
184cd072
JK
1492014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
150
151 PR gdb/16594
152 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
153 process name.
154 (get_cores_used_by_process): New parameter num_cores, use it.
155 (linux_xfer_osdata_processes): Pass num_cores to it.
156 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
157 process name.
158
c63528fc
AK
1592014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
160
161 * target.c (memory_xfer_partial): Fix length arg in call to
162 breakpoint_xfer_memory.
163
d7b30f67
SDJ
1642014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
165
166 PR tdep/16397
167 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
168 number comes after the + or - signs. Adjust length of register
169 name to be extracted.
170
8838afaf
TT
1712014-02-20 Tom Tromey <tromey@redhat.com>
172
173 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
174 (ada_varobj_ops): Mark "extern".
175
05227d14
TT
1762014-02-20 Tom Tromey <tromey@redhat.com>
177
178 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
179
1254eefc
DE
1802014-02-20 Doug Evans <xdje42@gmail.com>
181
182 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
183 All callers updated.
184 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
185 All callers updated.
186 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
187 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
188
adde2bff
DE
1892014-02-20 lin zuojian <manjian2006@gmail.com>
190 Joel Brobecker <brobecker@adacore.com>
191 Doug Evans <xdje42@gmail.com>
192
193 PR symtab/16581
194 * dwarf2read.c (struct die_info): New member in_process.
195 (reset_die_in_process): New function.
196 (process_die): Set it at the start, reset when returning.
197 (inherit_abstract_dies): Only call process_die if origin_child_die
198 not already being processed.
199
3be75f87
JB
2002014-02-20 Joel Brobecker <brobecker@adacore.com>
201
202 * windows-nat.c (handle_unload_dll): Add function documentation.
203 (do_initial_windows_stuff): Add comment explaining why we wait
204 until after inferior initialization has finished before
205 processing all DLLs.
206
47f7ffdb
JB
2072014-02-20 Joel Brobecker <brobecker@adacore.com>
208
209 * windows-nat.c (get_module_name): Delete.
210 (windows_get_exec_module_filename): New function, mostly
211 inspired from get_module_name.
212 (windows_pid_to_exec_file): Replace call to get_module_name
213 by call to windows_get_exec_module_filename.
214
1cd9feab
JB
2152014-02-20 Joel Brobecker <brobecker@adacore.com>
216
217 * windows-nat.c (handle_load_dll): Rewrite this function's
218 introductory comment. Remove code using get_module_name
219 to get the DLL's name.
220
ea39ad35
JB
2212014-02-20 Joel Brobecker <brobecker@adacore.com>
222
223 * windows-nat.c (get_windows_debug_event): Ignore
224 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
225 if windows_initialization_done == 0.
226 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
227 Adjust implementation to always load all DLLs.
228 (do_initial_windows_stuff): Replace call to
229 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
230
95060284
JB
2312014-02-20 Joel Brobecker <brobecker@adacore.com>
232
233 * windows-nat.c (_initialize_windows_nat): Deprecate the
234 "dll-symbols" command. Turn the "add-shared-symbol-files"
235 and "assf" aliases into commands, and deprecate them as well.
236 * NEWS: Add entry explaining that "dll-symbols" and its two
237 aliases are now deprecated.
238
8d4fdb12
JB
2392014-02-20 Joel Brobecker <brobecker@adacore.com>
240
241 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
242 new-line in debug string. Remove trailing spaces.
243
1b281443
SS
2442014-02-19 Stan Shebs <stan@codesourcery.com>
245
246 * darwin-nat.c (darwin_xfer_partial): Fix return type.
247
f7bd0f78
SC
2482014-02-19 Siva Chandra Reddy <sivachandra@google.com>
249
250 * NEWS: Add entry for the new feature
251 * python/py-value.c (valpy_binop): Call value_x_binop for struct
252 and class values.
253
399ebc3d
SS
2542014-02-19 Stan Shebs <stan@codesourcery.com>
255
256 * MAINTAINERS: List Yao Qi as nios2 maintainer.
257
c658158d
PA
2582014-02-19 Pedro Alves <palves@redhat.com>
259
260 * common/ptid.h (struct ptid): Mention that process_stratum
261 targets should prefer ptid.lwp.
262
ba348170
PA
2632014-02-19 Pedro Alves <palves@redhat.com>
264
265 * remote.c (remote_thread_alive, write_ptid, read_ptid)
266 (read_ptid, remote_newthread_step, remote_threads_extra_info)
267 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
268 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
269 store remote thread ids rather than ptid.tid.
270 (_initialize_remote): Adjust.
271
ac01945b
TT
2722014-02-19 Tom Tromey <tromey@redhat.com>
273
274 * target.c (target_get_unwinder): Rewrite.
275 (target_get_tailcall_unwinder): Rewrite.
276 * record-btrace.c (record_btrace_to_get_unwinder): New function.
277 (record_btrace_to_get_tailcall_unwinder): New function.
278 (init_record_btrace_ops): Update.
279 * target.h (struct target_ops) <to_get_unwinder,
280 to_get_tailcall_unwinder>: Now function pointers. Use
281 TARGET_DEFAULT_RETURN.
282
8476dc92
TT
2832014-02-19 Tom Tromey <tromey@redhat.com>
284
285 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
286 argument.
287 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
288
c0eca49f
TT
2892014-02-19 Tom Tromey <tromey@redhat.com>
290
291 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
292 directly.
293 * target-delegates.c: Rebuild.
294 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
295 TARGET_DEFAULT_FUNC.
296 * target.c (default_target_decr_pc_after_break): Rename from
297 forward_target_decr_pc_after_break. Simplify.
298 (target_decr_pc_after_break): Rely on delegation.
299
596b6b39
TT
3002014-02-19 Tom Tromey <tromey@redhat.com>
301
302 * target.c (update_current_target): Do not INHERIT to_doc or
303 to_magic. Do not de_fault to_open or to_close.
304
b427c1bc
TT
3052014-02-19 Tom Tromey <tromey@redhat.com>
306
307 * gcore.h (objfile_find_memory_regions): Declare.
308 * gcore.c (objfile_find_memory_regions): No longer static. Add
309 "self" argument.
310 (_initialize_gcore): Don't call exec_set_find_memory_regions.
311 * exec.c: Include gcore.h.
312 (exec_set_find_memory_regions): Remove.
313 (exec_find_memory_regions): Remove.
314 (exec_do_find_memory_regions): Remove.
315 (init_exec_ops): Update.
316 * defs.h (exec_set_find_memory_regions): Remove.
317
9b144037
TT
3182014-02-19 Tom Tromey <tromey@redhat.com>
319
320 * target-delegates.c: Rebuild.
321 * target.h (struct target_ops) <to_extra_thread_info,
322 to_thread_name, to_pid_to_exec_file, to_get_section_table,
323 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
324 not 0, in TARGET_DEFAULT_RETURN.
325
555bbdeb
TT
3262014-02-19 Tom Tromey <tromey@redhat.com>
327
328 * target.c (complete_target_initialization): Remove casts. Use
329 return_zero_has_execution.
330 (return_zero): Add "ignore" argument.
331 (return_zero_has_execution): New function.
332 (init_dummy_target): Remove casts. Use
333 return_zero_has_execution.
334
be4ddd36
TT
3352014-02-19 Tom Tromey <tromey@redhat.com>
336
337 * target.c (update_current_target): Update comments. Do not
338 INHERIT to_stratum.
339
2117c711
TT
3402014-02-19 Tom Tromey <tromey@redhat.com>
341
342 * arm-linux-nat.c (arm_linux_read_description): Delegate when
343 needed.
344 * corelow.c (core_read_description): Delegate when needed.
345 * remote.c (remote_read_description): Delegate when needed.
346 * target-delegates.c: Rebuild.
347 * target.c (target_read_description): Rewrite.
348 * target.h (struct target_ops) <to_read_description>: Update
349 comment. Use TARGET_DEFAULT_RETURN.
350
e88ef65c
TT
3512014-02-19 Tom Tromey <tromey@redhat.com>
352
353 * target-delegates.c: Rebuild.
354 * target.c (update_current_target): Don't inherit or default
355 to_can_run.
356 (find_default_run_target): Check against delegate_can_run.
357 * target.h (struct target_ops) <to_can_run>: Use
358 TARGET_DEFAULT_RETURN.
359
86a0854a
TT
3602014-02-19 Tom Tromey <tromey@redhat.com>
361
362 * target-delegates.c: Rebuild.
363 * target.c (target_disconnect): Unconditionally delegate.
364 * target.h (struct target_ops) <to_disconnect>: Use
365 TARGET_DEFAULT_NORETURN.
366
ee97f592
TT
3672014-02-19 Tom Tromey <tromey@redhat.com>
368
369 * record.c (record_stop): Unconditionally delegate.
370 * target-delegates.c: Rebuild.
371 * target.c (target_stop_recording): Unconditionally delegate.
372 * target.h (struct target_ops) <to_stop_recording>: Use
373 TARGET_DEFAULT_IGNORE.
374
6dc7fcf4
TT
3752014-02-19 Tom Tromey <tromey@redhat.com>
376
377 * target-delegates.c: Rebuild.
378 * target.c (target_enable_btrace): Unconditionally delegate.
379 * target.h (struct target_ops) <to_enable_btrace>: Use
380 TARGET_DEFAULT_NORETURN.
381
eb5b20d4
TT
3822014-02-19 Tom Tromey <tromey@redhat.com>
383
384 * target-delegates.c: Rebuild.
385 * target.c (target_read_btrace): Unconditionally delegate.
386 * target.h (struct target_ops) <to_read_btrace>: Use
387 TARGET_DEFAULT_NORETURN.
388
9ace480d
TT
3892014-02-19 Tom Tromey <tromey@redhat.com>
390
391 * target-delegates.c: Rebuild.
392 * target.c (target_teardown_btrace): Unconditionally delegate.
393 * target.h (struct target_ops) <to_teardown_btrace>: Use
394 TARGET_DEFAULT_NORETURN.
395
8dc292d3
TT
3962014-02-19 Tom Tromey <tromey@redhat.com>
397
398 * target-delegates.c: Rebuild.
399 * target.c (target_disable_btrace): Unconditionally delegate.
400 * target.h (struct target_ops) <to_disable_btrace>: Use
401 TARGET_DEFAULT_NORETURN.
402
58a5184e
TT
4032014-02-19 Tom Tromey <tromey@redhat.com>
404
405 * target-delegates.c: Rebuild.
406 * target.c (default_search_memory): New function.
407 (simple_search_memory): Update comment.
408 (target_search_memory): Unconditionally delegate.
409 * target.h (struct target_ops) <to_search_memory>: Use
410 TARGET_DEFAULT_FUNC.
411
8de71aab
TT
4122014-02-19 Tom Tromey <tromey@redhat.com>
413
414 * auxv.c (default_auxv_parse): No longer static.
415 (target_auxv_parse): Unconditionally delegate.
416 * auxv.h (default_auxv_parse): Declare.
417 * target-delegates.c: Rebuild.
418 * target.c: Include auxv.h.
419 * target.h (struct target_ops) <to_auxv_parse>: Use
420 TARGET_DEFAULT_FUNC.
421
6b2c5a57
TT
4222014-02-19 Tom Tromey <tromey@redhat.com>
423
424 * target-delegates.c: Rebuild.
425 * target.c (target_memory_map): Unconditionally delegate.
426 * target.h (struct target_ops) <to_memory_map>: Use
427 TARGET_DEFAULT_RETURN.
428
cbffc065
TT
4292014-02-19 Tom Tromey <tromey@redhat.com>
430
431 * target-delegates.c: Rebuild.
432 * target.c (target_thread_alive): Unconditionally delegate.
433 * target.h (struct target_ops) <to_thread_alive>: Use
434 TARGET_DEFAULT_RETURN.
435
f09e2107
TT
4362014-02-19 Tom Tromey <tromey@redhat.com>
437
438 * target-delegates.c: Rebuild.
439 * target.c (target_save_record): Unconditionally delegate.
440 * target.h (struct target_ops) <to_save_record>: Use
441 TARGET_DEFAULT_NORETURN.
442
07366925
TT
4432014-02-19 Tom Tromey <tromey@redhat.com>
444
445 * target-delegates.c: Rebuild.
446 * target.c (target_delete_record): Unconditionally delegate.
447 * target.h (struct target_ops) <to_delete_record>: Use
448 TARGET_DEFAULT_NORETURN.
449
dd2e9d25
TT
4502014-02-19 Tom Tromey <tromey@redhat.com>
451
452 * target-delegates.c: Rebuild.
453 * target.c (target_record_is_replaying): Unconditionally
454 delegate.
455 * target.h (struct target_ops) <to_record_is_replaying>: Use
456 TARGET_DEFAULT_RETURN.
457
671e76cc
TT
4582014-02-19 Tom Tromey <tromey@redhat.com>
459
460 * target-delegates.c: Rebuild.
461 * target.c (target_goto_record_begin): Unconditionally delegate.
462 * target.h (struct target_ops) <to_goto_record_begin>: Use
463 TARGET_DEFAULT_NORETURN.
464
e9179bb3
TT
4652014-02-19 Tom Tromey <tromey@redhat.com>
466
467 * target-delegates.c: Rebuild.
468 * target.c (target_goto_record_end): Unconditionally delegate.
469 * target.h (struct target_ops) <to_goto_record_end>: Use
470 TARGET_DEFAULT_NORETURN.
471
05969c84
TT
4722014-02-19 Tom Tromey <tromey@redhat.com>
473
474 * target-delegates.c: Rebuild.
475 * target.c (target_goto_record): Unconditionally delegate.
476 * target.h (struct target_ops) <to_goto_record>: Use
477 TARGET_DEFAULT_NORETURN.
478
3679abfa
TT
4792014-02-19 Tom Tromey <tromey@redhat.com>
480
481 * target-delegates.c: Rebuild.
482 * target.c (target_insn_history): Unconditionally delegate.
483 * target.h (struct target_ops) <to_insn_history>: Use
484 TARGET_DEFAULT_NORETURN.
485
8444ab58
TT
4862014-02-19 Tom Tromey <tromey@redhat.com>
487
488 * target-delegates.c: Rebuild.
489 * target.c (target_insn_history_from): Unconditionally delegate.
490 * target.h (struct target_ops) <to_insn_history_from>: Use
491 TARGET_DEFAULT_NORETURN.
492
c29302cc
TT
4932014-02-19 Tom Tromey <tromey@redhat.com>
494
495 * target-delegates.c: Rebuild.
496 * target.c (target_insn_history_range): Unconditionally delegate.
497 * target.h (struct target_ops) <to_insn_history_range>: Use
498 TARGET_DEFAULT_NORETURN.
499
170049d4
TT
5002014-02-19 Tom Tromey <tromey@redhat.com>
501
502 * target-delegates.c: Rebuild.
503 * target.c (target_call_history): Unconditionally delegate.
504 * target.h (struct target_ops) <to_call_history>: Use
505 TARGET_DEFAULT_NORETURN.
506
16fc27d6
TT
5072014-02-19 Tom Tromey <tromey@redhat.com>
508
509 * target-delegates.c: Rebuild.
510 * target.c (target_call_history_from): Unconditionally delegate.
511 * target.h (struct target_ops) <to_call_history_from>: Use
512 TARGET_DEFAULT_NORETURN.
513
115d9817
TT
5142014-02-19 Tom Tromey <tromey@redhat.com>
515
516 * target-delegates.c: Rebuild.
517 * target.c (target_call_history_range): Unconditionally delegate.
518 * target.h (struct target_ops) <to_call_history_range>: Use
519 TARGET_DEFAULT_NORETURN.
520
eb276a6b
TT
5212014-02-19 Tom Tromey <tromey@redhat.com>
522
523 * target-delegates.c: Rebuild.
524 * target.c (target_verify_memory): Unconditionally delegate.
525 * target.h (struct target_ops) <to_verify_memory>: Use
526 TARGET_DEFAULT_NORETURN.
527
9e538d0d
TT
5282014-02-19 Tom Tromey <tromey@redhat.com>
529
530 * target-delegates.c: Rebuild.
531 * target.c (target_core_of_thread): Unconditionally delegate.
532 * target.h (struct target_ops) <to_core_of_thread>: Use
533 TARGET_DEFAULT_RETURN.
534
f6fb2925
TT
5352014-02-19 Tom Tromey <tromey@redhat.com>
536
537 * target-delegates.c: Rebuild.
538 * target.c (target_flash_done): Unconditionally delegate.
539 * target.h (struct target_ops) <to_flash_done>: Use
540 TARGET_DEFAULT_NORETURN.
541
e8a6c6ac
TT
5422014-02-19 Tom Tromey <tromey@redhat.com>
543
544 * target-delegates.c: Rebuild.
545 * target.c (target_flash_erase): Unconditionally delegate.
546 * target.h (struct target_ops) <to_flash_erase>: Use
547 TARGET_DEFAULT_NORETURN.
548
7e35c012
TT
5492014-02-19 Tom Tromey <tromey@redhat.com>
550
551 * target-delegates.c: Rebuild.
552 * target.c (target_get_section_table): Unconditionally delegate.
553 * target.h (struct target_ops) <to_get_section_table>: Use
554 TARGET_DEFAULT_RETURN.
555
770234d3
TT
5562014-02-19 Tom Tromey <tromey@redhat.com>
557
558 * target-delegates.c: Rebuild.
559 * target.c (target_pid_to_str): Unconditionally delegate.
560 (init_dummy_target): Don't initialize to_pid_to_str.
561 (default_pid_to_str): Rename from dummy_pid_to_str.
562 * target.h (struct target_ops) <to_pid_to_str>: Use
563 TARGET_DEFAULT_FUNC.
564
09b0dc2b
TT
5652014-02-19 Tom Tromey <tromey@redhat.com>
566
567 * target-delegates.c: Rebuild.
568 * target.c (target_find_new_threads): Unconditionally delegate.
569 * target.h (struct target_ops) <to_find_new_threads>: Use
570 TARGET_DEFAULT_RETURN.
571
7d4f8efa
TT
5722014-02-19 Tom Tromey <tromey@redhat.com>
573
574 * target-delegates.c: Rebuild.
575 * target.c (target_program_signals): Unconditionally delegate.
576 * target.h (struct target_ops) <to_program_signals>: Use
577 TARGET_DEFAULT_IGNORE.
578
035cad7f
TT
5792014-02-19 Tom Tromey <tromey@redhat.com>
580
581 * target-delegates.c: Rebuild.
582 * target.c (target_pass_signals): Unconditionally delegate.
583 * target.h (struct target_ops) <to_pass_signals>: Use
584 TARGET_DEFAULT_IGNORE.
585
8d657035
TT
5862014-02-19 Tom Tromey <tromey@redhat.com>
587
588 * target-delegates.c: Rebuild.
589 * target.c (default_mourn_inferior): New function.
590 (target_mourn_inferior): Unconditionally delegate.
591 * target.h (struct target_ops) <to_mourn_inferior>: Use
592 TARGET_DEFAULT_FUNC.
593
098dba18
TT
5942014-02-19 Tom Tromey <tromey@redhat.com>
595
596 * target-delegates.c: Rebuild.
597 * target.c (default_follow_fork): New function.
598 (target_follow_fork): Unconditionally delegate.
599 * target.h (struct target_ops) <to_follow_fork>: Use
600 TARGET_DEFAULT_FUNC.
601
423a4807
TT
6022014-02-19 Tom Tromey <tromey@redhat.com>
603
604 * target-delegates.c: Rebuild.
605 * target.c (target_kill): Unconditionally delegate.
606 * target.h (struct target_ops) <to_kill>: Use
607 TARGET_DEFAULT_NORETURN.
608
6c7e5e5c
TT
6092014-02-19 Tom Tromey <tromey@redhat.com>
610
611 * target-delegates.c: Rebuild.
612 * target.c (target_masked_watch_num_registers): Unconditionally
613 delegate.
614 * target.h (struct target_ops) <to_masked_watch_num_registers>:
615 Use TARGET_DEFAULT_RETURN.
616
8b1c364c
TT
6172014-02-19 Tom Tromey <tromey@redhat.com>
618
619 * target-delegates.c: Rebuild.
620 * target.c (target_remove_mask_watchpoint): Unconditionally
621 delegate.
622 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
623 TARGET_DEFAULT_RETURN.
624
cd4ae029
TT
6252014-02-19 Tom Tromey <tromey@redhat.com>
626
627 * target-delegates.c: Rebuild.
628 * target.c (target_insert_mask_watchpoint): Unconditionally
629 delegate.
630 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
631 TARGET_DEFAULT_RETURN.
632
a134316b
TT
6332014-02-19 Tom Tromey <tromey@redhat.com>
634
635 * target-delegates.c: Rebuild.
636 * target.c (target_ranged_break_num_registers): Unconditionally
637 delegate.
638 * target.h (struct target_ops) <to_ranged_break_num_registers>:
639 Use TARGET_DEFAULT_RETURN.
640
ad5989bd
TT
6412014-02-19 Tom Tromey <tromey@redhat.com>
642
643 * target-delegates.c: Rebuild.
644 * target.c (target_fetch_registers): Unconditionally delegate.
645 * target.h (struct target_ops) <to_fetch_registers>: Use
646 TARGET_DEFAULT_NORETURN.
647
46ee7e8d
TT
6482014-02-19 Tom Tromey <tromey@redhat.com>
649
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
652 to_stop.
653 * target.h (struct target_ops) <to_stop>: Use
654 TARGET_DEFAULT_IGNORE.
655
843f59ed
TT
6562014-02-19 Tom Tromey <tromey@redhat.com>
657
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
660 to_can_run_breakpoint_commands.
661 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
662 Use TARGET_DEFAULT_RETURN.
663
ccfde2a0
TT
6642014-02-19 Tom Tromey <tromey@redhat.com>
665
666 * target-delegates.c: Rebuild.
667 * target.c (update_current_target): Don't inherit or default
668 to_supports_evaluation_of_breakpoint_conditions.
669 * target.h (struct target_ops)
670 <to_supports_evaluation_of_breakpoint_conditions>: Use
671 TARGET_DEFAULT_RETURN.
672
0de91722
TT
6732014-02-19 Tom Tromey <tromey@redhat.com>
674
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
677 to_augmented_libraries_svr4_read.
678 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
679 Use TARGET_DEFAULT_RETURN.
680
9a7d8b48
TT
6812014-02-19 Tom Tromey <tromey@redhat.com>
682
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
685 to_can_use_agent.
686 * target.h (struct target_ops) <to_can_use_agent>: Use
687 TARGET_DEFAULT_RETURN.
688
d9db5b21
TT
6892014-02-19 Tom Tromey <tromey@redhat.com>
690
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
693 to_use_agent.
694 * target.h (struct target_ops) <to_use_agent>: Use
695 TARGET_DEFAULT_NORETURN.
696
92155eeb
TT
6972014-02-19 Tom Tromey <tromey@redhat.com>
698
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
701 to_traceframe_info.
702 (return_null): Remove.
703 * target.h (struct target_ops) <to_traceframe_info>: Use
704 TARGET_DEFAULT_RETURN.
705
d6522a22
TT
7062014-02-19 Tom Tromey <tromey@redhat.com>
707
708 * target-delegates.c: Rebuild.
709 * target.c (update_current_target): Don't inherit or default
710 to_static_tracepoint_markers_by_strid.
711 * target.h (struct target_ops)
712 <to_static_tracepoint_markers_by_strid>: Use
713 TARGET_DEFAULT_NORETURN.
714
4c3e4425
TT
7152014-02-19 Tom Tromey <tromey@redhat.com>
716
717 * target-delegates.c: Rebuild.
718 * target.c (update_current_target): Don't inherit or default
719 to_static_tracepoint_marker_at.
720 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
721 Use TARGET_DEFAULT_RETURN.
722
dcd6917f
TT
7232014-02-19 Tom Tromey <tromey@redhat.com>
724
725 * target-delegates.c: Rebuild.
726 * target.c (update_current_target): Don't inherit or default
727 to_set_permissions.
728 * target.h (struct target_ops) <to_set_permissions>: Use
729 TARGET_DEFAULT_IGNORE.
730
22bcceee
TT
7312014-02-19 Tom Tromey <tromey@redhat.com>
732
733 * target-delegates.c: Rebuild.
734 * target.c (update_current_target): Don't inherit or default
735 to_get_tib_address.
736 * target.h (struct target_ops) <to_get_tib_address>: Use
737 TARGET_DEFAULT_NORETURN.
738
8586ccaa
TT
7392014-02-19 Tom Tromey <tromey@redhat.com>
740
741 * target-delegates.c: Rebuild.
742 * target.c (update_current_target): Don't inherit or default
743 to_set_trace_notes.
744 * target.h (struct target_ops) <to_set_trace_notes>: Use
745 TARGET_DEFAULT_RETURN.
746
91df8d1d
TT
7472014-02-19 Tom Tromey <tromey@redhat.com>
748
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't initialize
751 to_set_trace_buffer_size.
752 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
753 TARGET_DEFAULT_IGNORE.
754
8d526939
TT
7552014-02-19 Tom Tromey <tromey@redhat.com>
756
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_set_circular_trace_buffer.
760 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
761 TARGET_DEFAULT_IGNORE.
762
0bcfeddf
TT
7632014-02-19 Tom Tromey <tromey@redhat.com>
764
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_set_disconnected_tracing.
768 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
769 TARGET_DEFAULT_IGNORE.
770
9249843f
TT
7712014-02-19 Tom Tromey <tromey@redhat.com>
772
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
775 to_get_min_fast_tracepoint_insn_len.
776 (return_minus_one): Remove.
777 * target.h (struct target_ops)
778 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
779
ace92e7d
TT
7802014-02-19 Tom Tromey <tromey@redhat.com>
781
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
784 to_get_raw_trace_data.
785 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
786 TARGET_DEFAULT_NORETURN.
787
08120467
TT
7882014-02-19 Tom Tromey <tromey@redhat.com>
789
790 * target-delegates.c: Rebuild.
791 * target.c (update_current_target): Don't inherit or default
792 to_upload_trace_state_variables.
793 * target.h (struct target_ops) <to_upload_trace_state_variables>:
794 Use TARGET_DEFAULT_RETURN.
795
1e949b00
TT
7962014-02-19 Tom Tromey <tromey@redhat.com>
797
798 * target-delegates.c: Rebuild.
799 * target.c (update_current_target): Don't inherit or default
800 to_upload_tracepoints.
801 * target.h (struct target_ops) <to_upload_tracepoints>: Use
802 TARGET_DEFAULT_RETURN.
803
a2e6c147
TT
8042014-02-19 Tom Tromey <tromey@redhat.com>
805
806 * target-delegates.c: Rebuild.
807 * target.c (update_current_target): Don't inherit or default
808 to_save_trace_data.
809 * target.h (struct target_ops) <to_save_trace_data>: Use
810 TARGET_DEFAULT_NORETURN.
811
959bcd0b
TT
8122014-02-19 Tom Tromey <tromey@redhat.com>
813
814 * target-delegates.c: Rebuild.
815 * target.c (update_current_target): Don't inherit or default
816 to_get_trace_state_variable_value.
817 * target.h (struct target_ops)
818 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
819
afc94e66
TT
8202014-02-19 Tom Tromey <tromey@redhat.com>
821
822 * target-delegates.c: Rebuild.
823 * target.c (update_current_target): Don't inherit or default
824 to_trace_find.
825 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
826
e51c07ea
TT
8272014-02-19 Tom Tromey <tromey@redhat.com>
828
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
831 to_trace_stop.
832 * target.h (struct target_ops) <to_trace_stop>: Use
833 TARGET_DEFAULT_NORETURN.
834
6fea14cd
TT
8352014-02-19 Tom Tromey <tromey@redhat.com>
836
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
839 to_get_tracepoint_status.
840 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
841 TARGET_DEFAULT_NORETURN.
842
4072d4ff
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_get_trace_status.
848 * target.h (struct target_ops) <to_get_trace_status>: Use
849 TARGET_DEFAULT_RETURN.
850
25da2e80
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_trace_start.
856 * target.h (struct target_ops) <to_trace_start>: Use
857 TARGET_DEFAULT_NORETURN.
858
86dd181d
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_trace_set_readonly_regions.
864 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
865 Use TARGET_DEFAULT_NORETURN.
866
05c41993
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_disable_tracepoint.
872 * target.h (struct target_ops) <to_disable_tracepoint>: Use
873 TARGET_DEFAULT_NORETURN.
874
151f70f1
TT
8752014-02-19 Tom Tromey <tromey@redhat.com>
876
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't inherit or default
879 to_enable_tracepoint.
880 * target.h (struct target_ops) <to_enable_tracepoint>: Use
881 TARGET_DEFAULT_NORETURN.
882
94eb98b9
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_download_trace_state_variable.
888 * target.h (struct target_ops) <to_download_trace_state_variable>:
889 Use TARGET_DEFAULT_NORETURN.
890
719acc4a
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_can_download_tracepoint.
896 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
897 TARGET_DEFAULT_RETURN.
898
9a980a22
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_download_tracepoint.
904 * target.h (struct target_ops) <to_download_tracepoint>: Use
905 TARGET_DEFAULT_NORETURN.
906
5536135b
TT
9072014-02-19 Tom Tromey <tromey@redhat.com>
908
909 * target-delegates.c: Rebuild.
910 * target.c (update_current_target): Don't inherit or default
911 to_trace_init.
912 * target.h (struct target_ops) <to_trace_init>: Use
913 TARGET_DEFAULT_RETURN.
914
9409d39e
TT
9152014-02-19 Tom Tromey <tromey@redhat.com>
916
917 * target-delegates.c: Rebuild.
918 * target.c (update_current_target): Don't inherit or default
919 to_supports_string_tracing.
920 * target.h (struct target_ops) <to_supports_string_tracing>: Use
921 TARGET_DEFAULT_RETURN.
922
aab1b22d
TT
9232014-02-19 Tom Tromey <tromey@redhat.com>
924
925 * target-delegates.c: Rebuild.
926 * target.c (update_current_target): Don't inherit or default
927 to_supports_enable_disable_tracepoint.
928 * target.h (struct target_ops)
929 <to_supports_enable_disable_tracepoint>: Use
930 TARGET_DEFAULT_RETURN.
931
a7304748
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_supports_multi_process.
937 * target.h (struct target_ops) <to_supports_multi_process>: Use
938 TARGET_DEFAULT_RETURN.
939
4229b31d
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_ada_task_ptid.
945 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
946 TARGET_DEFAULT_FUNC.
947
43eba180
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_thread_architecture.
953 * target.h (struct target_ops) <to_thread_architecture>: Use
954 TARGET_DEFAULT_FUNC.
955
fe31bf5b
TT
9562014-02-19 Tom Tromey <tromey@redhat.com>
957
958 * target-delegates.c: Rebuild.
959 * target.c (update_current_target): Don't inherit or default
960 to_execution_direction.
961 * target.h (struct target_ops) <to_execution_direction>: Use
962 TARGET_DEFAULT_FUNC.
963
53e1cfc7
TT
9642014-02-19 Tom Tromey <tromey@redhat.com>
965
966 * target-delegates.c: Rebuild.
967 * target.c (update_current_target): Don't inherit or default
968 to_can_execute_reverse.
969 * target.h (struct target_ops) <to_can_execute_reverse>: Use
970 TARGET_DEFAULT_RETURN.
971 (target_can_execute_reverse): Unconditionally delegate.
972
9bb9d61d
TT
9732014-02-19 Tom Tromey <tromey@redhat.com>
974
975 * target-delegates.c: Rebuild.
976 * target.c (update_current_target): Don't inherit or default
977 to_goto_bookmark.
978 (dummy_goto_bookmark): Remove.
979 (init_dummy_target): Don't inherit or default to_goto_bookmark.
980 * target.h (struct target_ops) <to_goto_bookmark>: Use
981 TARGET_DEFAULT_NORETURN.
982
3dbafbbb
TT
9832014-02-19 Tom Tromey <tromey@redhat.com>
984
985 * target-delegates.c: Rebuild.
986 * target.c (update_current_target): Don't inherit or default
987 to_get_bookmark.
988 (dummy_get_bookmark): Remove.
989 (init_dummy_target): Don't inherit or default to_get_bookmark.
990 * target.h (struct target_ops) <to_get_bookmark>: Use
991 TARGET_DEFAULT_NORETURN
992
16f796b1
TT
9932014-02-19 Tom Tromey <tromey@redhat.com>
994
995 * target-delegates.c: Rebuild.
996 * target.c (update_current_target): Don't inherit or default
997 to_make_corefile_notes.
998 (init_dummy_target): Don't initialize to_make_corefile_notes.
999 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1000 TARGET_DEFAULT_FUNC.
1001
0b5a2719
TT
10022014-02-19 Tom Tromey <tromey@redhat.com>
1003
1004 * target-delegates.c: Rebuild.
1005 * target.c (update_current_target): Don't inherit or default
1006 to_find_memory_regions.
1007 (init_dummy_target): Don't initialize to_find_memory_regions.
1008 * target.h (struct target_ops) <to_find_memory_regions>: Use
1009 TARGET_DEFAULT_FUNC.
1010
d9cb0195
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_log_command.
1016 * target.h (struct target_ops) <to_log_command>: Use
1017 TARGET_DEFAULT_IGNORE.
1018 (target_log_command): Unconditionally delegate.
1019
830ca330
TT
10202014-02-19 Tom Tromey <tromey@redhat.com>
1021
1022 * target-delegates.c: Rebuild.
1023 * target.c (update_current_target): Don't inherit or default
1024 to_pid_to_exec_file.
1025 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1026 TARGET_DEFAULT_RETURN.
1027
825828fc
TT
10282014-02-19 Tom Tromey <tromey@redhat.com>
1029
1030 * target-delegates.c: Rebuild.
1031 * target.c (update_current_target): Don't inherit or default
1032 to_thread_name.
1033 (target_thread_name): Unconditionally delegate.
1034 * target.h (struct target_ops) <to_thread_name>: Use
1035 TARGET_DEFAULT_RETURN.
1036
4a7e6dda
TT
10372014-02-19 Tom Tromey <tromey@redhat.com>
1038
1039 * target-delegates.c: Rebuild.
1040 * target.c (update_current_target): Don't inherit or default
1041 to_extra_thread_info.
1042 * target.h (struct target_ops) <to_extra_thread_info>: Use
1043 TARGET_DEFAULT_RETURN.
1044
0db88c1d
TT
10452014-02-19 Tom Tromey <tromey@redhat.com>
1046
1047 * target-delegates.c: Rebuild.
1048 * target.c (update_current_target): Don't inherit or default
1049 to_has_exited.
1050 * target.h (struct target_ops) <to_has_exited>: Use
1051 TARGET_DEFAULT_RETURN..
1052
6a9fa051
TT
10532014-02-19 Tom Tromey <tromey@redhat.com>
1054
1055 * target-delegates.c: Rebuild.
1056 * target.c (update_current_target): Don't inherit or default
1057 to_set_syscall_catchpoint.
1058 (return_one): Remove.
1059 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1060 TARGET_DEFAULT_RETURN.
1061
62f64d7a
TT
10622014-02-19 Tom Tromey <tromey@redhat.com>
1063
1064 * target-delegates.c: Rebuild.
1065 * target.c (update_current_target): Don't inherit or default
1066 to_insert_exec_catchpoint.
1067 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1068 TARGET_DEFAULT_RETURN.
1069
cda0f38c
TT
10702014-01-08 Tom Tromey <tromey@redhat.com>
1071
1072 * target-delegates.c: Rebuild.
1073 * target.c (update_current_target): Don't inherit or default
1074 to_insert_exec_catchpoint.
1075 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1076 TARGET_DEFAULT_RETURN.
1077
95c3375e
TT
10782014-02-19 Tom Tromey <tromey@redhat.com>
1079
1080 * target-delegates.c: Rebuild.
1081 * target.c (update_current_target): Don't inherit or default
1082 to_remove_vfork_catchpoint.
1083 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1084 TARGET_DEFAULT_RETURN.
1085
7e18a8dc
TT
10862014-02-19 Tom Tromey <tromey@redhat.com>
1087
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_insert_vfork_catchpoint.
1091 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1092 TARGET_DEFAULT_RETURN.
1093
e1a21fb7
TT
10942014-02-19 Tom Tromey <tromey@redhat.com>
1095
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_remove_fork_catchpoint.
1099 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1100 TARGET_DEFAULT_RETURN.
1101
5958ebeb
TT
11022014-02-19 Tom Tromey <tromey@redhat.com>
1103
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1106 to_insert_fork_catchpoint.
1107 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1108 TARGET_DEFAULT_RETURN.
1109
340ba4bf
TT
11102014-02-19 Tom Tromey <tromey@redhat.com>
1111
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't inherit or default
1114 to_post_startup_inferior.
1115 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1116 TARGET_DEFAULT_IGNORE.
1117
7634da87
TT
11182014-02-19 Tom Tromey <tromey@redhat.com>
1119
1120 * target-delegates.c: Rebuild.
1121 * target.c (update_current_target): Don't inherit or default
1122 to_load.
1123 * target.h (struct target_ops) <to_load>: Use
1124 TARGET_DEFAULT_NORETURN.
1125
e19e919f
TT
11262014-02-19 Tom Tromey <tromey@redhat.com>
1127
1128 * target-delegates.c: Rebuild.
1129 * target.c (update_current_target): Don't inherit or default
1130 to_terminal_info.
1131 * target.h (struct target_ops) <to_terminal_info>: Use
1132 TARGET_DEFAULT_FUNC.
1133
c6ea8f79
TT
11342014-02-19 Tom Tromey <tromey@redhat.com>
1135
1136 * target-delegates.c: Rebuild.
1137 * target.c (update_current_target): Don't inherit or default
1138 to_terminal_save_ours.
1139 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1140 TARGET_DEFAULT_IGNORE.
1141
e4a733f1
TT
11422014-02-19 Tom Tromey <tromey@redhat.com>
1143
1144 * target-delegates.c: Rebuild.
1145 * target.c (update_current_target): Don't inherit or default
1146 to_terminal_ours.
1147 * target.h (struct target_ops) <to_terminal_ours>: Use
1148 TARGET_DEFAULT_IGNORE.
1149
74fcbef9
TT
11502014-02-19 Tom Tromey <tromey@redhat.com>
1151
1152 * target-delegates.c: Rebuild.
1153 * target.c (update_current_target): Don't inherit or default
1154 to_terminal_ours_for_output.
1155 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1156 TARGET_DEFAULT_IGNORE.
1157
ddeaacc9
TT
11582014-02-19 Tom Tromey <tromey@redhat.com>
1159
1160 * target-delegates.c: Rebuild.
1161 * target.c (update_current_target): Don't inherit or default
1162 to_terminal_inferior.
1163 * target.h (struct target_ops) <to_terminal_inferior>: Use
1164 TARGET_DEFAULT_IGNORE.
1165
0343661d
TT
11662014-02-19 Tom Tromey <tromey@redhat.com>
1167
1168 * target-delegates.c: Rebuild.
1169 * target.c (update_current_target): Don't inherit or default
1170 to_terminal_init.
1171 * target.h (struct target_ops) <to_terminal_init>: Use
1172 TARGET_DEFAULT_IGNORE.
1173
77cdffe9
TT
11742014-02-19 Tom Tromey <tromey@redhat.com>
1175
1176 * target-delegates.c: Rebuild.
1177 * target.c (update_current_target): Don't inherit or default
1178 to_can_accel_watchpoint_condition.
1179 * target.h (struct target_ops)
1180 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1181
d03655e4
TT
11822014-02-19 Tom Tromey <tromey@redhat.com>
1183
1184 * target-delegates.c: Rebuild.
1185 * target.c (update_current_target): Don't inherit or default
1186 to_region_ok_for_hw_watchpoint.
1187 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1188 Use TARGET_DEFAULT_FUNC.
1189
65f160a9
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_watchpoint_addr_within_range.
1195 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1196 Use TARGET_DEFAULT_FUNC.
1197
61dd109f
TT
11982014-02-19 Tom Tromey <tromey@redhat.com>
1199
1200 * target-delegates.c: Rebuild.
1201 * target.c (update_current_target): Don't inherit or default
1202 to_remove_watchpoint.
1203 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1204 TARGET_DEFAULT_NORETURN.
1205
016facd4
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_insert_watchpoint.
1211 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1212 TARGET_DEFAULT_RETURN.
1213
418dabac
TT
12142014-02-19 Tom Tromey <tromey@redhat.com>
1215
1216 * target-delegates.c: Rebuild.
1217 * target.c (update_current_target): Don't inherit or default
1218 to_remove_hw_breakpoint.
1219 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1220 TARGET_DEFAULT_RETURN.
1221
61b371f9
TT
12222014-02-19 Tom Tromey <tromey@redhat.com>
1223
1224 * target-delegates.c: Rebuild.
1225 * target.c (update_current_target): Don't inherit or default
1226 to_insert_hw_breakpoint.
1227 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1228 TARGET_DEFAULT_RETURN.
1229
52b51d06
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_can_use_hw_breakpoint.
1235 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1236 TARGET_DEFAULT_RETURN.
1237
f86e59b2
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_files_info.
1243 * target.h (struct target_ops) <to_files_info>: Use
1244 TARGET_DEFAULT_IGNORE.
1245
6c628163
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_store.
1251 * target.h (struct target_ops) <to_store>: Use
1252 TARGET_DEFAULT_NORETURN.
1253
bebd3233
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_post_attach.
1259 * target.h (struct target_ops) <to_post_attach>: Use
1260 TARGET_DEFAULT_IGNORE.
1261
a53f3625
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_rcmd.
1267 (default_rcmd): New function.
1268 (do_monitor_command): Unconditionally delegate.
1269 * target.h (struct target_ops) <to_rmcd>: Use
1270 TARGET_DEFAULT_FUNC.
1271
e9a29200
TT
12722014-02-19 Tom Tromey <tromey@redhat.com>
1273
1274 * target-delegates.c: Rebuild.
1275 * target.c (init_dummy_target): Don't initialize to_attach.
1276 (target_attach): Unconditionally delegate.
1277 * target.h (struct target_ops) <to_attach>: Use
1278 TARGET_DEFAULT_FUNC.
1279
09da0d0a
TT
12802014-02-19 Tom Tromey <tromey@redhat.com>
1281
1282 * target-delegates.c: Rebuild.
1283 * target.c (target_detach): Unconditionally delegate.
1284 (init_dummy_target): Don't initialize to_detach.
1285 * target.h (struct target_ops) <to_detach>: Use
1286 TARGET_DEFAULT_IGNORE.
1287
5436ff03
TT
12882014-02-19 Tom Tromey <tromey@redhat.com>
1289
1290 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1291 Add argument.
1292 (target_augmented_libraries_svr4_read): Add argument.
1293 * target.c (update_current_target): Update.
1294 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1295 argument.
1296
f0d960ea
TT
12972014-02-19 Tom Tromey <tromey@redhat.com>
1298
1299 * target.h (struct target_ops) <to_call_history_range>: Add
1300 argument.
1301 * target.c (target_call_history_range): Add argument.
1302 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1303 argument.
1304 (record_btrace_call_history_from): Update.
1305
ec0aea04
TT
13062014-02-19 Tom Tromey <tromey@redhat.com>
1307
1308 * target.h (struct target_ops) <to_call_history_from>: Add
1309 argument.
1310 * target.c (target_call_history_from): Add argument.
1311 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1312 argument.
1313
5df2fcba
TT
13142014-02-19 Tom Tromey <tromey@redhat.com>
1315
1316 * target.h (struct target_ops) <to_call_history>: Add argument.
1317 * target.c (target_call_history): Add argument.
1318 * record-btrace.c (record_btrace_call_history): Add 'self'
1319 argument.
1320
4e99c6b7
TT
13212014-02-19 Tom Tromey <tromey@redhat.com>
1322
1323 * target.h (struct target_ops) <to_insn_history_range>: Add
1324 argument.
1325 * target.c (target_insn_history_range): Add argument.
1326 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1327 argument.
1328 (record_btrace_insn_history_from): Update.
1329
9abc3ff3
TT
13302014-02-19 Tom Tromey <tromey@redhat.com>
1331
1332 * target.h (struct target_ops) <to_insn_history_from>: Add
1333 argument.
1334 * target.c (target_insn_history_from): Add argument.
1335 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1336 argument.
1337
7a6c5609
TT
13382014-02-19 Tom Tromey <tromey@redhat.com>
1339
1340 * target.h (struct target_ops) <to_insn_history>: Add argument.
1341 * target.c (target_insn_history): Add argument.
1342 * record-btrace.c (record_btrace_insn_history): Add 'self'
1343 argument.
1344
606183ac
TT
13452014-02-19 Tom Tromey <tromey@redhat.com>
1346
1347 * target.h (struct target_ops) <to_goto_record>: Add argument.
1348 * target.c (target_goto_record): Add argument.
1349 * record-full.c (record_full_goto): Add 'self' argument.
1350 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1351
307a1b91
TT
13522014-02-19 Tom Tromey <tromey@redhat.com>
1353
1354 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1355 * target.c (target_goto_record_end): Add argument.
1356 * record-full.c (record_full_goto_end): Add 'self' argument.
1357 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1358
08475817
TT
13592014-02-19 Tom Tromey <tromey@redhat.com>
1360
1361 * target.h (struct target_ops) <to_goto_record_begin>: Add
1362 argument.
1363 * target.c (target_goto_record_begin): Add argument.
1364 * record-full.c (record_full_goto_begin): Add 'self' argument.
1365 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1366 argument.
1367
1c63c994
TT
13682014-02-19 Tom Tromey <tromey@redhat.com>
1369
1370 * target.h (struct target_ops) <to_record_is_replaying>: Add
1371 argument.
1372 * target.c (target_record_is_replaying): Add argument.
1373 * record-full.c (record_full_is_replaying): Add 'self' argument.
1374 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1375 argument.
1376 (record_btrace_xfer_partial, record_btrace_store_registers)
1377 (record_btrace_prepare_to_store, record_btrace_resume)
1378 (record_btrace_wait, record_btrace_decr_pc_after_break)
1379 (record_btrace_find_new_threads, record_btrace_thread_alive):
1380 Update.
1381
d1b55219
TT
13822014-02-19 Tom Tromey <tromey@redhat.com>
1383
1384 * target.h (struct target_ops) <to_delete_record>: Add argument.
1385 * target.c (target_delete_record): Add argument.
1386 * record-full.c (record_full_delete): Add 'self' argument.
1387
1390f529
TT
13882014-02-19 Tom Tromey <tromey@redhat.com>
1389
1390 * target.h (struct target_ops) <to_save_record>: Add argument.
1391 * target.c (target_save_record): Add argument.
1392 * record-full.c (record_full_save): Add 'self' argument.
1393 (record_full_save): Add 'self' argument.
1394
630d6a4a
TT
13952014-02-19 Tom Tromey <tromey@redhat.com>
1396
1397 * target.h (struct target_ops) <to_info_record>: Add argument.
1398 * target.c (target_info_record): Add argument.
1399 * record.c (info_record_command): Add argument.
1400 * record-full.c (record_full_info): Add 'self' argument.
1401 * record-btrace.c (record_btrace_info): Add 'self' argument.
1402
c6cd7c02
TT
14032014-02-19 Tom Tromey <tromey@redhat.com>
1404
1405 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1406 * target.c (target_stop_recording): Add argument.
1407 * record.c (record_stop): Add argument.
1408 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1409 argument.
1410
39c49f83
TT
14112014-02-19 Tom Tromey <tromey@redhat.com>
1412
1413 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1414 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1415 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1416 argument.
1417 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1418 (_initialize_amd64_linux_nat): Use it.
1419 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1420 (_initialize_i386_linux_nat): Use it.
1421
1777056d
TT
14222014-02-19 Tom Tromey <tromey@redhat.com>
1423
1424 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1425 * target.c (target_teardown_btrace): Add argument.
1426 * remote.c (remote_teardown_btrace): Add 'self' argument.
1427 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1428 argument.
1429 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1430 argument.
1431
25e95349
TT
14322014-02-19 Tom Tromey <tromey@redhat.com>
1433
1434 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1435 * target.c (target_disable_btrace): Add argument.
1436 * remote.c (remote_disable_btrace): Add 'self' argument.
1437 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1438 argument.
1439 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1440 argument.
1441
e3c49f88
TT
14422014-02-19 Tom Tromey <tromey@redhat.com>
1443
1444 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1445 * target.c (target_enable_btrace): Add argument.
1446 * remote.c (remote_enable_btrace): Add 'self' argument.
1447 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1448 argument.
1449 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1450 argument.
1451
fe38f897
TT
14522014-02-19 Tom Tromey <tromey@redhat.com>
1453
1454 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1455 (target_can_use_agent): Add argument.
1456 * target.c (update_current_target): Update.
1457 * remote.c (remote_can_use_agent): Add 'self' argument.
1458 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1459
2c152180
TT
14602014-02-19 Tom Tromey <tromey@redhat.com>
1461
1462 * target.h (struct target_ops) <to_use_agent>: Add argument.
1463 (target_use_agent): Add argument.
1464 * target.c (update_current_target): Update.
1465 * remote.c (remote_use_agent): Add 'self' argument.
1466 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1467
a893e81f
TT
14682014-02-19 Tom Tromey <tromey@redhat.com>
1469
1470 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1471 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1472 (target_traceframe_info): Add argument.
1473 * target.c (update_current_target): Update.
1474 * remote.c (remote_traceframe_info): Add 'self' argument.
1475 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1476
c686c57f
TT
14772014-02-19 Tom Tromey <tromey@redhat.com>
1478
1479 * target.h (target_static_tracepoint_markers_by_strid): Add
1480 argument.
1481 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1482 'self' argument.
1483 * target.c (update_current_target): Update.
1484 * remote.c (struct target_ops)
1485 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1486 * linux-nat.c (struct target_ops)
1487 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1488
61fc905d
TT
14892014-02-19 Tom Tromey <tromey@redhat.com>
1490
1491 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1492 Add argument.
1493 (target_static_tracepoint_marker_at): Add argument.
1494 * target.c (update_current_target): Update.
1495 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1496 argument.
1497
c378d69d
TT
14982014-02-19 Tom Tromey <tromey@redhat.com>
1499
1500 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1501 (target_set_permissions): Add argument.
1502 * target.c (update_current_target): Update.
1503 * remote.c (remote_set_permissions): Add 'self' argument.
1504 (remote_start_remote): Update.
1505
bd7ae0f5
TT
15062014-02-19 Tom Tromey <tromey@redhat.com>
1507
1508 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1509 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1510 (target_get_tib_address): Add argument.
1511 * target.c (update_current_target): Update.
1512 * remote.c (remote_get_tib_address): Add 'self' argument.
1513
d9e68a2c
TT
15142014-02-19 Tom Tromey <tromey@redhat.com>
1515
1516 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1517 (target_set_trace_notes): Add argument.
1518 * target.c (update_current_target): Update.
1519 * remote.c (remote_set_trace_notes): Add 'self' argument.
1520
4da384be
TT
15212014-02-19 Tom Tromey <tromey@redhat.com>
1522
1523 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1524 argument.
1525 (target_set_trace_buffer_size): Add argument.
1526 * target.c (update_current_target): Update.
1527 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1528
736d5b1f
TT
15292014-02-19 Tom Tromey <tromey@redhat.com>
1530
1531 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1532 argument.
1533 (target_set_circular_trace_buffer): Add argument.
1534 * target.c (update_current_target): Update.
1535 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1536 argument.
1537
37b25738
TT
15382014-02-19 Tom Tromey <tromey@redhat.com>
1539
1540 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1541 argument.
1542 (target_set_disconnected_tracing): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1545
0e67620a
TT
15462014-02-19 Tom Tromey <tromey@redhat.com>
1547
1548 * target.h (struct target_ops)
1549 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1550 (target_get_min_fast_tracepoint_insn_len): Add argument.
1551 * target.c (update_current_target): Update.
1552 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1553 argument.
1554
88ee6f45
TT
15552014-02-19 Tom Tromey <tromey@redhat.com>
1556
1557 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1558 argument.
1559 (target_get_raw_trace_data): Add argument.
1560 * target.c (update_current_target): Update.
1561 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1562
181e3713
TT
15632014-02-19 Tom Tromey <tromey@redhat.com>
1564
1565 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1566 Add argument.
1567 (target_upload_trace_state_variables): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_upload_trace_state_variables): Add 'self'
1570 argument.
1571 (remote_start_remote): Update.
1572
ab6617cc
TT
15732014-02-19 Tom Tromey <tromey@redhat.com>
1574
1575 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1576 argument.
1577 (target_upload_tracepoints): Add argument.
1578 * target.c (update_current_target): Update.
1579 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1580 (remote_start_remote): Update.
1581
dc3decaf
TT
15822014-02-19 Tom Tromey <tromey@redhat.com>
1583
1584 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1585 (target_save_trace_data): Add argument.
1586 * target.c (update_current_target): Update.
1587 * remote.c (remote_save_trace_data): Add 'self' argument.
1588
4011015b
TT
15892014-02-19 Tom Tromey <tromey@redhat.com>
1590
1591 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1592 argument.
1593 * target.h (struct target_ops)
1594 <to_get_trace_state_variable_value>: Add argument.
1595 (target_get_trace_state_variable_value): Add argument.
1596 * target.c (update_current_target): Update.
1597 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1598 argument.
1599 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1600
bd4c6793
TT
16012014-02-19 Tom Tromey <tromey@redhat.com>
1602
1603 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1604 * target.h (struct target_ops) <to_trace_find>: Add argument.
1605 (target_trace_find): Add argument.
1606 * target.c (update_current_target): Update.
1607 * remote.c (remote_trace_find): Add 'self' argument.
1608 * ctf.c (ctf_trace_find): Add 'self' argument.
1609
74499f1b
TT
16102014-02-19 Tom Tromey <tromey@redhat.com>
1611
1612 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1613 (target_trace_stop): Add argument.
1614 * target.c (update_current_target): Update.
1615 * remote.c (remote_trace_stop): Add 'self' argument.
1616
db90e85c
TT
16172014-02-19 Tom Tromey <tromey@redhat.com>
1618
1619 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1620 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1621 argument.
1622 (target_get_tracepoint_status): Add argument.
1623 * target.c (update_current_target): Update.
1624 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1625
8bd200f1
TT
16262014-02-19 Tom Tromey <tromey@redhat.com>
1627
1628 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1629 * target.h (struct target_ops) <to_get_trace_status>: Add
1630 argument.
1631 (target_get_trace_status): Add argument.
1632 * target.c (update_current_target): Update.
1633 * remote.c (remote_get_trace_status): Add 'self' argument.
1634 (remote_start_remote, remote_can_download_tracepoint): Update.
1635 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1636
e2d1aae3
TT
16372014-02-19 Tom Tromey <tromey@redhat.com>
1638
1639 * target.h (struct target_ops) <to_trace_start>: Add argument.
1640 (target_trace_start): Add argument.
1641 * target.c (update_current_target): Update.
1642 * remote.c (remote_trace_start): Add 'self' argument.
1643
583f9a86
TT
16442014-02-19 Tom Tromey <tromey@redhat.com>
1645
1646 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1647 Add argument.
1648 (target_trace_set_readonly_regions): Add argument.
1649 * target.c (update_current_target): Update.
1650 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1651 argument.
1652
780b049c
TT
16532014-02-19 Tom Tromey <tromey@redhat.com>
1654
1655 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1656 argument.
1657 (target_disable_tracepoint): Add argument.
1658 * target.c (update_current_target): Update.
1659 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1660
46670d57
TT
16612014-02-19 Tom Tromey <tromey@redhat.com>
1662
1663 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1664 argument.
1665 (target_enable_tracepoint): Add argument.
1666 * target.c (update_current_target): Update.
1667 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1668
559d2b81
TT
16692014-02-19 Tom Tromey <tromey@redhat.com>
1670
1671 * target.h (struct target_ops) <to_download_trace_state_variable>:
1672 Add argument.
1673 (target_download_trace_state_variable): Add argument.
1674 * target.c (update_current_target): Update.
1675 * remote.c (remote_download_trace_state_variable): Add 'self'
1676 argument.
1677
a52a8357
TT
16782014-02-19 Tom Tromey <tromey@redhat.com>
1679
1680 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1681 argument.
1682 (target_can_download_tracepoint): Add argument.
1683 * target.c (update_current_target): Update.
1684 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1685
548f7808
TT
16862014-02-19 Tom Tromey <tromey@redhat.com>
1687
1688 * target.h (struct target_ops) <to_download_tracepoint>: Add
1689 argument.
1690 (target_download_tracepoint): Add argument.
1691 * target.c (update_current_target): Update.
1692 * remote.c (remote_download_tracepoint): Add 'self' argument.
1693
ecae04e1
TT
16942014-02-19 Tom Tromey <tromey@redhat.com>
1695
1696 * target.h (struct target_ops) <to_trace_init>: Add argument.
1697 (target_trace_init): Add argument.
1698 * target.c (update_current_target): Update.
1699 * remote.c (remote_trace_init): Add 'self' argument.
1700
fab5aa7c
TT
17012014-02-19 Tom Tromey <tromey@redhat.com>
1702
1703 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1704 * target.c (target_fileio_readlink): Add argument.
1705 * remote.c (remote_hostio_readlink): Add 'self' argument.
1706 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1707
dbbca37d
TT
17082014-02-19 Tom Tromey <tromey@redhat.com>
1709
1710 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1711 * target.c (target_fileio_unlink): Add argument.
1712 * remote.c (remote_hostio_unlink): Add 'self' argument.
1713 (remote_file_delete): Update.
1714 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1715
df39ea25
TT
17162014-02-19 Tom Tromey <tromey@redhat.com>
1717
1718 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1719 * target.c (target_fileio_close): Add argument.
1720 * remote.c (remote_hostio_close): Add 'self' argument.
1721 (remote_hostio_close_cleanup): Update.
1722 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1723 Update.
1724 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1725
a3be983c
TT
17262014-02-19 Tom Tromey <tromey@redhat.com>
1727
1728 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1729 * target.c (target_fileio_pread): Add argument.
1730 * remote.c (remote_hostio_pread): Add 'self' argument.
1731 (remote_bfd_iovec_pread, remote_file_get): Update.
1732 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1733
0d866f62
TT
17342014-02-19 Tom Tromey <tromey@redhat.com>
1735
1736 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1737 * target.c (target_fileio_pwrite): Add argument.
1738 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1739 (remote_file_put): Update.
1740 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1741
cd897586
TT
17422014-02-19 Tom Tromey <tromey@redhat.com>
1743
1744 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1745 * target.c (target_fileio_open): Add argument.
1746 * remote.c (remote_hostio_open): Add 'self' argument.
1747 (remote_bfd_iovec_open): Add 'self' argument.
1748 (remote_file_put): Add 'self' argument.
1749 (remote_file_get): Add 'self' argument.
1750 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1751
78eff0ec
TT
17522014-02-19 Tom Tromey <tromey@redhat.com>
1753
1754 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1755 Add argument.
1756 (target_can_run_breakpoint_commands): Add argument.
1757 * target.c (update_current_target): Update.
1758 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1759 argument.
1760 (remote_insert_breakpoint): Add 'self' argument.
1761 (remote_insert_hw_breakpoint): Add 'self' argument.
1762 (remote_can_run_breakpoint_commands): Add 'self' argument.
1763
efcc2da7
TT
17642014-02-19 Tom Tromey <tromey@redhat.com>
1765
1766 * target.h (struct target_ops)
1767 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1768 (target_supports_evaluation_of_breakpoint_conditions): Add
1769 argument.
1770 * target.c (update_current_target): Update.
1771 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1772 argument.
1773 (remote_insert_breakpoint): Add 'self' argument.
1774 (remote_insert_hw_breakpoint): Add 'self' argument.
1775 (remote_supports_cond_breakpoints): Add 'self' argument.
1776
6de37a3a
TT
17772014-02-19 Tom Tromey <tromey@redhat.com>
1778
1779 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1780 argument.
1781 (target_supports_string_tracing): Add argument.
1782 * target.c (update_current_target): Update.
1783 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1784
2bfc0540
TT
17852014-02-19 Tom Tromey <tromey@redhat.com>
1786
1787 * target.h (struct target_ops)
1788 <to_supports_disable_randomization>: Add argument.
1789 * target.c (find_default_supports_disable_randomization): Add
1790 argument.
1791 (target_supports_disable_randomization): Add argument.
1792 (find_default_supports_disable_randomization): Add 'self'
1793 argument.
1794 * remote.c (extended_remote_supports_disable_randomization): Add
1795 'self' argument.
1796 (remote_supports_disable_randomization): Add 'self' argument.
1797 (extended_remote_create_inferior): Update.
1798 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1799 'self' argument.
1800
7d178d6a
TT
18012014-02-19 Tom Tromey <tromey@redhat.com>
1802
1803 * target.h (struct target_ops)
1804 <to_supports_enable_disable_tracepoint>: Add argument.
1805 (target_supports_enable_disable_tracepoint): Add argument.
1806 * target.c (update_current_target): Update.
1807 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1808 argument.
1809
86ce2668
TT
18102014-02-19 Tom Tromey <tromey@redhat.com>
1811
1812 * target.h (struct target_ops) <to_supports_multi_process>: Add
1813 argument.
1814 (target_supports_multi_process): Add argument.
1815 * target.c (update_current_target): Update.
1816 * remote.c (remote_supports_multi_process): Add 'self' argument.
1817 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1818 argument.
1819 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1820 argument.
1821
4c612759
TT
18222014-02-19 Tom Tromey <tromey@redhat.com>
1823
1824 * target.h (struct target_ops) <to_execution_direction>: Add
1825 argument.
1826 (target_execution_direction): Add argument.
1827 * target.c (default_execution_direction): Add 'self' argument.
1828 * record-full.c (record_full_execution_direction): Add 'self'
1829 argument.
1830
19db3e69
TT
18312014-02-19 Tom Tromey <tromey@redhat.com>
1832
1833 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1834 argument.
1835 (target_can_execute_reverse): Add argument.
1836 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1837 * record-full.c (record_full_can_execute_reverse): Add 'self'
1838 argument.
1839 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1840 argument.
1841
1e6b91a4
TT
18422014-02-19 Tom Tromey <tromey@redhat.com>
1843
1844 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1845 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1846 argument.
1847 (target_get_ada_task_ptid): Add argument.
1848 * target.c (update_current_target): Update.
1849 (default_get_ada_task_ptid): Add 'self' argument.
1850 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1851 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1852 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1853 argument.
1854 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1855 argument.
1856 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1857 argument.
1858 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1859 argument.
1860 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1861 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1862 argument.
1863
3c80fb48
TT
18642014-02-19 Tom Tromey <tromey@redhat.com>
1865
1866 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1867 (target_goto_bookmark): Add argument.
1868 * target.c (dummy_goto_bookmark): Add 'self' argument.
1869 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1870
dd0e2830
TT
18712014-02-19 Tom Tromey <tromey@redhat.com>
1872
1873 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1874 (target_get_bookmark): Add argument.
1875 * target.c (dummy_get_bookmark): Add 'self' argument.
1876 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1877
fc6691b2
TT
18782014-02-19 Tom Tromey <tromey@redhat.com>
1879
1880 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1881 argument.
1882 (target_make_corefile_notes): Add argument.
1883 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1884 * procfs.c (procfs_make_note_section): Add 'self' argument.
1885 (procfs_make_note_section): Add 'self' argument.
1886 (procfs_make_note_section): Add 'self' argument.
1887 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1888 argument.
1889 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1890 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1891 * exec.c (exec_make_note_section): Add 'self' argument.
1892 (exec_make_note_section): Add 'self' argument.
1893
2e73927c
TT
18942014-02-19 Tom Tromey <tromey@redhat.com>
1895
1896 * target.h (struct target_ops) <to_find_memory_regions>: Add
1897 argument.
1898 (target_find_memory_regions): Add argument.
1899 * target.c (dummy_find_memory_regions): Add 'self' argument.
1900 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1901 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1902 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1903 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1904 * exec. (exec_do_find_memory_regions): New global.
1905 (exec_set_find_memory_regions): Rewrite.
1906 (exec_find_memory_regions): New function.
1907 (init_exec_ops): Use exec_find_memory_regions.
1908
2a9a2795
TT
19092014-02-19 Tom Tromey <tromey@redhat.com>
1910
1911 * target.h (struct target_ops) <to_supports_non_stop>: Add
1912 argument.
1913 * target.c (find_default_supports_non_stop): Add argument.
1914 (target_supports_non_stop): Add argument.
1915 (find_default_supports_non_stop): Add 'self' argument.
1916 * remote.c (remote_supports_non_stop): Add 'self' argument.
1917 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1918
4ab76ea3
TT
19192014-02-19 Tom Tromey <tromey@redhat.com>
1920
1921 * target.h (struct target_ops) <to_log_command>: Add argument.
1922 (target_log_command): Add argument.
1923 * serial.h (serial_log_command): Add 'self' argument.
1924 * serial.c (serial_log_command): Add 'self' argument.
1925
8dd27370
TT
19262014-02-19 Tom Tromey <tromey@redhat.com>
1927
1928 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1929 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1930 argument.
1931 (target_pid_to_exec_file): Add argument.
1932 * target.c (debug_to_pid_to_exec_file): Add argument.
1933 (update_current_target): Update.
1934 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1935 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1936 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1937 (linux_handle_extended_wait): Update.
1938 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1939 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1940 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1941 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1942
1aac633b
TT
19432014-02-19 Tom Tromey <tromey@redhat.com>
1944
1945 * target.h (struct target_ops) <to_rcmd>: Add argument.
1946 (target_rcmd): Add argument.
1947 * target.c (debug_to_rcmd): Add argument.
1948 (update_current_target, do_monitor_command): Update.
1949 * remote.c (remote_rcmd): Add 'self' argument.
1950 * monitor.c (monitor_rcmd): Add 'self' argument.
1951
1eab8a48
TT
19522014-02-19 Tom Tromey <tromey@redhat.com>
1953
1954 * windows-nat.c (windows_stop): Add 'self' argument.
1955 * target.h (struct target_ops) <to_stop>: Add argument.
1956 * target.c (target_stop): Add argument.
1957 (debug_to_stop): Add argument.
1958 (update_current_target): Update.
1959 * remote.c (remote_stop): Add 'self' argument.
1960 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1961 (gdbsim_cntrl_c): Update.
1962 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1963 * procfs.c (procfs_stop): Add 'self' argument.
1964 * nto-procfs.c (procfs_stop): Add 'self' argument.
1965 * monitor.c (monitor_stop): Add 'self' argument.
1966 (monitor_open): Update.
1967 * linux-nat.c (linux_nat_stop): Add argument.
1968 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1969 * gnu-nat.c (gnu_stop): Add 'self' argument.
1970 * darwin-nat.c (darwin_stop): Add 'self' argument.
1971
503a628d
TT
19722014-02-19 Tom Tromey <tromey@redhat.com>
1973
1974 * target.h (struct target_ops) <to_thread_name>: Add argument.
1975 * target.c (target_thread_name): Add argument.
1976 (update_current_target): Update.
1977 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1978
c15906d8
TT
19792014-02-19 Tom Tromey <tromey@redhat.com>
1980
1981 * target.h (struct target_ops) <to_extra_thread_info>: Add
1982 argument.
1983 (target_extra_thread_info): Add argument.
1984 * target.c (update_current_target): Update.
1985 * remote.c (remote_threads_extra_info): Add 'self' argument.
1986 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1987 argument.
1988 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1989 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1990 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1991 argument.
1992 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1993 argument.
1994 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1995 argument.
1996 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1997 argument.
1998
daf5e9b6
TT
19992014-02-19 Tom Tromey <tromey@redhat.com>
2000
2001 * target.h (struct target_ops) <to_program_signals>: Add argument.
2002 * target.c (target_program_signals): Add argument.
2003 * remote.c (remote_program_signals): Add 'self' argument.
2004
94bedb42
TT
20052014-02-19 Tom Tromey <tromey@redhat.com>
2006
2007 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2008 * target.c (target_pass_signals): Add argument.
2009 * remote.c (remote_pass_signals): Add 'self' argument.
2010 (remote_start_remote): Update.
2011 * procfs.c (procfs_pass_signals): Add 'self' argument.
2012 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2013 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2014 (linux_nat_create_inferior, linux_nat_attach): Update.
2015
da82bd6b
TT
20162014-02-19 Tom Tromey <tromey@redhat.com>
2017
2018 * windows-nat.c (windows_can_run): Add 'self' argument.
2019 * target.h (struct target_ops) <to_can_run>: Add argument.
2020 (target_can_run): Add argument.
2021 * target.c (debug_to_can_run): Add argument.
2022 (update_current_target): Update.
2023 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2024 * inf-child.c (inf_child_can_run): Add 'self' argument.
2025 * go32-nat.c (go32_can_run): Add 'self' argument.
2026
d796e1d6
TT
20272014-02-19 Tom Tromey <tromey@redhat.com>
2028
2029 * target.h (struct target_ops) <to_has_exited>: Add argument.
2030 (target_has_exited): Add argument.
2031 * target.c (debug_to_has_exited): Add argument.
2032 (update_current_target): Update.
2033
ff214e67
TT
20342014-02-19 Tom Tromey <tromey@redhat.com>
2035
2036 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2037 argument.
2038 (target_set_syscall_catchpoint): Add argument.
2039 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2040 argument.
2041 * target.c (update_current_target): Update.
2042
758e29d2
TT
20432014-02-19 Tom Tromey <tromey@redhat.com>
2044
2045 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2046 argument.
2047 (target_remove_exec_catchpoint): Add argument.
2048 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2049 (update_current_target): Update.
2050 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2051 argument.
2052
ba025e51
TT
20532014-02-19 Tom Tromey <tromey@redhat.com>
2054
2055 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2056 argument.
2057 (target_insert_exec_catchpoint): Add argument.
2058 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2059 (update_current_target): Update.
2060 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2061 argument.
2062
e98cf0cd
TT
20632014-02-19 Tom Tromey <tromey@redhat.com>
2064
2065 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2066 argument.
2067 (target_remove_vfork_catchpoint): Add argument.
2068 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2069 (update_current_target): Update.
2070 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2071 argument.
2072
3ecc7da0
TT
20732014-02-19 Tom Tromey <tromey@redhat.com>
2074
2075 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2076 argument.
2077 (target_insert_vfork_catchpoint): Add argument.
2078 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2079 (update_current_target): Update.
2080 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2081 argument.
2082
973fc227
TT
20832014-02-19 Tom Tromey <tromey@redhat.com>
2084
2085 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2086 argument.
2087 (target_remove_fork_catchpoint): Add argument.
2088 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2089 (update_current_target): Update.
2090 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2091 argument.
2092
a863b201
TT
20932014-02-19 Tom Tromey <tromey@redhat.com>
2094
2095 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2096 argument.
2097 (target_insert_fork_catchpoint): Add argument.
2098 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2099 (update_current_target): Update.
2100 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2101 argument.
2102
2e97a79e
TT
21032014-02-19 Tom Tromey <tromey@redhat.com>
2104
2105 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2106 argument.
2107 (target_post_startup_inferior): Add argument.
2108 * target.c (debug_to_post_startup_inferior): Add argument.
2109 (update_current_target): Update.
2110 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2111 argument.
2112 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2113 argument.
2114 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2115 argument.
2116 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2117 argument.
2118 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2119 'self' argument.
2120 (super_post_startup_inferior): Likewise.
2121 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2122 'self' argument.
2123 (super_post_startup_inferior): Likewise.
2124 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2125 Add 'self' argument.
2126 (super_post_startup_inferior): Likewise.
2127
71a9f134
TT
21282014-02-19 Tom Tromey <tromey@redhat.com>
2129
2130 * target.h (struct target_ops) <to_load>: Add argument.
2131 * target.c (target_load): Add argument.
2132 (debug_to_load): Add argument.
2133 (update_current_target): Update.
2134 * remote.c (remote_load): Add 'self' argument.
2135 * remote-sim.c (gdbsim_load): Add 'self' argument.
2136 * remote-mips.c (mips_load): Add 'self' argument.
2137 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2138 * monitor.c (monitor_load): Add 'self' argument.
2139 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2140
0a4f40a2
TT
21412014-02-19 Tom Tromey <tromey@redhat.com>
2142
2143 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2144 (target_terminal_info): Add argument.
2145 * target.c (debug_to_terminal_info): Add argument.
2146 (default_terminal_info): Likewise.
2147 * inflow.c (child_terminal_info): Add 'self' argument.
2148 * inferior.h (child_terminal_info): Add 'self' argument.
2149 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2150
ae3bd431
TT
21512014-02-19 Tom Tromey <tromey@redhat.com>
2152
2153 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2154 argument.
2155 (target_terminal_save_ours): Add argument.
2156 * target.c (debug_to_terminal_save_ours): Add argument.
2157 (update_current_target): Update.
2158 * inflow.c (terminal_save_ours): Add 'self' argument.
2159 * inferior.h (terminal_save_ours): Add 'self' argument.
2160
e3594fd1
TT
21612014-02-19 Tom Tromey <tromey@redhat.com>
2162
2163 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2164 (target_terminal_ours): Add argument.
2165 * target.c (debug_to_terminal_ours): Add argument.
2166 (update_current_target): Update.
2167 * remote.c (remote_terminal_ours): Add 'self' argument.
2168 (remote_close): Update.
2169 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2170 * inflow.c (terminal_ours): Add 'self' argument.
2171 * inferior.h (terminal_ours): Add 'self' argument.
2172 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2173
2e1e1a19
TT
21742014-02-19 Pedro Alves <palves@redhat.com>
2175 Tom Tromey <tromey@redhat.com>
2176
2177 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2178 argument.
2179 (target_terminal_ours_for_output): Add argument.
2180 * target.c (debug_to_terminal_ours_for_output): Add argument.
2181 (update_current_target): Update.
2182 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2183 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2184 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2185
d2f640d4
TT
21862014-02-19 Tom Tromey <tromey@redhat.com>
2187
2188 * target.h (struct target_ops) <to_terminal_inferior>: Add
2189 argument.
2190 * target.c (target_terminal_inferior): Add argument.
2191 (update_current_target): Update.
2192 * remote.c (remote_terminal_inferior): Add 'self' argument.
2193 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2194 * inflow.c (terminal_inferior): Add 'self' argument.
2195 * inferior.h (terminal_inferior): Add 'self' argument.
2196 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2197 (go32_terminal_inferior): Add 'self' argument.
2198
c42bf286
TT
21992014-02-19 Tom Tromey <tromey@redhat.com>
2200
2201 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2202 (target_terminal_init): Add argument.
2203 * target.c (debug_to_terminal_init): Add argument.
2204 (update_current_target): Update.
2205 * inflow.c (terminal_init_inferior): Add 'self' argument.
2206 * inferior.h (terminal_init_inferior): Add 'self' argument.
2207 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2208 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2209
c3a5ff89
TT
22102014-02-19 Tom Tromey <tromey@redhat.com>
2211
2212 * target.h (struct target_ops)
2213 <to_can_accel_watchpoint_condition>: Add argument.
2214 (target_can_accel_watchpoint_condition): Add argument.
2215 * target.c (debug_to_can_accel_watchpoint_condition): Add
2216 argument.
2217 (update_current_target): Update.
2218 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2219 'self' argument.
2220
31568a15
TT
22212014-02-19 Tom Tromey <tromey@redhat.com>
2222
2223 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2224 Add argument.
2225 (target_region_ok_for_hw_watchpoint): Add argument.
2226 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2227 (default_region_ok_for_hw_watchpoint): Add argument.
2228 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2229 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2230 argument.
2231 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2232 argument.
2233 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2234 argument.
2235 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2236 'self' argument.
2237 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2238 'self' argument.
2239 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2240 'self' argument.
2241 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2242 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2243 'self' argument.
2244 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2245 Add 'self' argument.
2246
7bb99c53
TT
22472014-02-19 Tom Tromey <tromey@redhat.com>
2248
2249 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2250 argument.
2251 (target_insert_watchpoint): Add argument.
2252 * target.c (debug_to_insert_watchpoint): Add argument.
2253 (update_current_target): Update.
2254 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2255 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2256 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2257 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2258 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2259 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2260 argument.
2261 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2262 (procfs_insert_hw_watchpoint): Add 'self' argument.
2263 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2264 argument.
2265 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2266 argument.
2267 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2268 argument.
2269 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2270 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2271 argument.
2272 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2273 'self' argument.
2274
11b5219a
TT
22752014-02-19 Tom Tromey <tromey@redhat.com>
2276
2277 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2278 argument.
2279 (target_remove_watchpoint): Add argument.
2280 * target.c (debug_to_remove_watchpoint): Add argument.
2281 (update_current_target): Update.
2282 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2283 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2284 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2285 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2286 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2287 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2288 argument.
2289 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2290 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2291 argument.
2292 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2293 argument.
2294 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2295 argument.
2296 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2297 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2298 argument.
2299 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2300 'self' argument.
2301
a64dc96c
TT
23022014-02-19 Tom Tromey <tromey@redhat.com>
2303
2304 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2305 argument.
2306 (target_remove_hw_breakpoint): Add argument.
2307 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2308 (update_current_target): Update.
2309 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2310 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2311 argument.
2312 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2313 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2314 argument.
2315 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2316 'self' argument.
2317
23a26771
TT
23182014-02-19 Tom Tromey <tromey@redhat.com>
2319
2320 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2321 argument.
2322 (target_insert_hw_breakpoint): Add argument.
2323 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2324 (update_current_target): Update.
2325 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2326 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2327 argument.
2328 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2329 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2330 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2331 argument.
2332 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2333 'self' argument.
2334
5461485a
TT
23352014-02-19 Tom Tromey <tromey@redhat.com>
2336
2337 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2338 argument.
2339 (target_can_use_hardware_watchpoint): Add argument.
2340 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2341 (update_current_target): Update.
2342 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2343 argument.
2344 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2345 argument.
2346 * remote.c (remote_check_watch_resources): Add 'self' argument.
2347 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2348 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2349 argument.
2350 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2351 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2352 argument.
2353 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2354 argument.
2355 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2356 argument.
2357 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2358 argument.
2359 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2360 argument.
2361 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2362 argument.
2363 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2364 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2365 argument.
2366 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2367 'self' argument.
2368
f045800c
TT
23692014-02-19 Tom Tromey <tromey@redhat.com>
2370
2371 * target.h (struct target_ops) <to_post_attach>: Add argument.
2372 (target_post_attach): Add argument.
2373 * target.c (debug_to_post_attach): Add argument.
2374 (update_current_target): Update.
2375 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2376 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2377 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2378 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2379 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2380
de90e03d
TT
23812014-02-19 Tom Tromey <tromey@redhat.com>
2382
2383 * windows-nat.c (windows_close): Add 'self' argument.
2384 * tracepoint.c (tfile_close): Add 'self' argument.
2385 * target.h (struct target_ops) <to_close>: Add argument.
2386 * target.c (target_close): Add argument.
2387 (update_current_target): Update.
2388 * remote.c (remote_close): Add 'self' argument.
2389 * remote-sim.c (gdbsim_close): Add 'self' argument.
2390 * remote-mips.c (mips_close): Add 'self' argument.
2391 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2392 * record-full.c (record_full_close): Add 'self' argument.
2393 * record-btrace.c (record_btrace_close): Add 'self' argument.
2394 * monitor.h (monitor_close): Add 'self' argument.
2395 * monitor.c (monitor_close): Add 'self' argument.
2396 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2397 * linux-nat.c (linux_nat_close): Add argument.
2398 * go32-nat.c (go32_close): Add 'self' argument.
2399 * exec.c (exec_close_1): Add 'self' argument.
2400 * ctf.c (ctf_close): Add 'self' argument.
2401 * corelow.c (core_close): Add 'self' argument.
2402 (core_close_cleanup): Update.
2403 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2404 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2405
9dd130a0
TT
24062014-02-19 Tom Tromey <tromey@redhat.com>
2407
2408 * remote.c (remote_load): New function.
2409 (init_remote_ops): Use it.
2410
46917d26
TT
24112014-02-19 Tom Tromey <tromey@redhat.com>
2412
2413 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2414 argument.
2415 * common/linux-btrace.h (linux_supports_btrace): Update.
2416 * remote.c (remote_supports_btrace): Add "self" argument.
2417 * target-delegates.c: Rebuild.
2418 * target.c (target_supports_btrace): Remove.
2419 * target.h (struct target_ops) <to_supports_btrace>: Add
2420 target_ops argument.
2421 (target_supports_btrace): New define.
2422
6b84065d
TT
24232014-02-19 Tom Tromey <tromey@redhat.com>
2424
2425 * record-full.c (record_full_beneath_to_resume_ops)
2426 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2427 (record_full_beneath_to_wait)
2428 (record_full_beneath_to_store_registers_ops)
2429 (record_full_beneath_to_store_registers)
2430 (record_full_beneath_to_xfer_partial_ops)
2431 (record_full_beneath_to_xfer_partial)
2432 (record_full_beneath_to_insert_breakpoint_ops)
2433 (record_full_beneath_to_insert_breakpoint)
2434 (record_full_beneath_to_remove_breakpoint_ops)
2435 (record_full_beneath_to_remove_breakpoint)
2436 (record_full_beneath_to_stopped_by_watchpoint)
2437 (record_full_beneath_to_stopped_data_address)
2438 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2439 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2440 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2441 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2442 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2443 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2444 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2445 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2446 (record_full_resume, record_full_wait_1)
2447 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2448 (record_full_store_registers, record_full_xfer_partial)
2449 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2450 (record_full_async, record_full_core_xfer_partial): Use target
2451 delegation.
2452 * target-delegates.c: Rebuild.
2453 * target.c (current_xfer_partial): Remove.
2454 (update_current_target): Do not INHERIT or de_fault
2455 to_insert_breakpoint, to_remove_breakpoint,
2456 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2457 to_is_async_p, to_async. Do not set to_xfer_partial field.
2458 (default_xfer_partial): Simplify.
2459 (current_xfer_partial): Remove.
2460 (target_wait, target_resume): Simplify.
2461 (find_default_can_async_p, find_default_is_async_p): Update.
2462 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2463 to_xfer_partial, to_stopped_by_watchpoint,
2464 to_stopped_data_address.
2465 (target_store_registers): Simplify.
2466 (forward_target_remove_breakpoint)
2467 (forward_target_insert_breakpoint): Remove.
2468 (target_remove_breakpoint, target_insert_breakpoint)
2469 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2470 * target.h (struct target_ops) <to_resume, to_wait,
2471 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2472 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2473 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2474 markup.
2475 (forward_target_remove_breakpoint)
2476 (forward_target_insert_breakpoint): Remove.
2477 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2478 directly.
2479 (record_btrace_insert_breakpoint): Delegate directly.
2480
1101cb7b
TT
24812014-02-19 Tom Tromey <tromey@redhat.com>
2482
2483 PR build/7701:
2484 * target-delegates.c: New file.
2485 * target.c: Include target-delegates.c.
2486 (init_dummy_target): Call install_dummy_methods.
2487 (complete_target_initialization): Call install_delegators.
2488 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2489 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2490 * make-target-delegates: New file.
2491
8b06beed
TT
24922014-02-19 Tom Tromey <tromey@redhat.com>
2493
2494 * record.c (find_record_target): Use find_target_at.
2495 * target.c (find_target_at): New function.
2496 * target.h (find_target_at): Declare.
2497
6a109b6b
TT
24982014-02-19 Tom Tromey <tromey@redhat.com>
2499
2500 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2501 Add 'ops' argument.
2502 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2503 'ops' argument.
2504 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2505 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2506 'ops' argument.
2507 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2508 argument.
2509 * linux-nat.c (save_sigtrap): Update.
2510 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2511 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2512 (linux_nat_close): Update.
2513 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2514 argument.
2515 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2516 argument.
2517 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2518 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2519 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2520 (tmp_to_async): Add 'ops' argument.
2521 (record_full_stopped_by_watchpoint, record_full_async)
2522 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2523 argument.
2524 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2525 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2526 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2527 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2528 (remote_is_async_p, remote_async): Add 'ops' argument.
2529 (remote_stopped_data_address): Update.
2530 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2531 * target.c (update_current_target)
2532 (find_default_can_async_p, find_default_is_async_p): Update.
2533 (init_dummy_target): Update.
2534 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2535 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2536 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2537 (target_can_async_p, target_is_async_p, target_async)
2538 (target_stopped_by_watchpoint): Update.
2539
e095146b
YQ
25402014-02-19 Yao Qi <yao@codesourcery.com>
2541
2542 PR gdb/16220
2543 * gdbarch.sh: Remove startup_gdbarch.
2544 * gdbarch.c: Regenerated.
2545 * gdbarch.h: Likewise.
2546
bc3c6b36
KB
25472014-02-17 Kevin Buettner <kevinb@redhat.com>
2548
2549 * rl78-tdep.c (rl78_g10_register_name): New function.
2550 (rl78_return_value): Add g10 support.
2551 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2552 g10.
2553
98dc0167 25542014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
2555
2556 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2557 (SUBDIR_GUILE_SRCS): Ditto.
2558 (scm-gsmob.o): Ditto.
2559
842c05cd
YQ
25602014-02-17 Yao Qi <yao@codesourcery.com>
2561
2562 * gnu-nat.c (ILL_RPC): Declare defined function.
2563
25c0bd04
YQ
25642014-02-17 Yao Qi <yao@codesourcery.com>
2565
2566 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2567 mach_msg_type_number_t.
2568 (gnu_write_inferior): Likewise.
2569
a9a758e3
YQ
25702014-02-17 Yao Qi <yao@codesourcery.com>
2571
2572 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2573 in format string.
2574 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2575 (inf_validate_procs, inf_signal): Likewise.
2576 (S_exception_raise_request): Likewise.
2577 (do_mach_notify_dead_name): Likewise.
2578 (steal_exc_port): Likewise.
2579 (gnu_read_inferior): Change 'copy_count''s type to
2580 mach_msg_type_number_t.
2581 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2582 format string.
2583
bae8023e
TS
25842014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2585
c82f56d9
TS
2586 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2587 flag. Adjust all users; in particular...
2588 (gnu_wait): ..., don't decrement its value in here...
2589 (gnu_create_inferior): ..., and instead set the flag in here,
2590 around the startup_inferior call, and call that one with
2591 START_INFERIOR_TRAPS_EXPECTED.
2592
3398af6a
TS
2593 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2594 (ILL_RPC): ... new macro.
2595 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2596 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2597 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2598 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2599 functions with ILL_RPC macro.
2600 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2601 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2602 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2603 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2604 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2605 (S_proc_getlogin_reply, S_proc_getsid_reply)
2606 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2607 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2608 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2609 (S_proc_getnports_reply, S_proc_is_important_reply)
2610 (S_proc_get_code_reply): New stub functions, generated with
2611 ILL_RPC macro.
2612
d47642c9
TS
2613 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2614 collected the type check structures.
2615
bae8023e
TS
2616 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2617
8a55ffb0
DE
26182014-02-14 Doug Evans <dje@google.com>
2619
2620 * target.c (target_write_partial): Fix result type.
2621
c2853f3d
JM
26222014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2623
2624 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2625 the proper offsets to access fpregset_t.
2626
ac61d2db
SA
26272014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2628
2629 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2630 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2631 * h8300-tdep.c (setmachinelist): Remove global.
2632 * hppa-tdep.c (hppa_sigtramp): Remove global.
2633 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2634 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2635 * ravenscar-thread.c (update_target_observer): Remove global.
2636 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2637
9d2d0b8b
TT
26382014-02-12 Tom Tromey <tromey@redhat.com>
2639
2640 * common/rsp-low.c: Update comments.
2641 * common/rsp-low.h: Update comments.
2642
a7191e8b
TT
26432014-02-12 Tom Tromey <tromey@redhat.com>
2644
2645 * common/rsp-low.c (convert_ascii_to_int): Remove.
2646 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2647
ff0e980e
TT
26482014-02-12 Tom Tromey <tromey@redhat.com>
2649
2650 * common/rsp-low.h (unhexify): Don't declare.
2651 * common/rsp-low.c (unhexify): Remove.
2652
e9371aff
TT
26532014-02-12 Tom Tromey <tromey@redhat.com>
2654
2655 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2656 * common/rsp-low.c (convert_int_to_ascii): Remove.
2657
971dc0b8
TT
26582014-02-12 Tom Tromey <tromey@redhat.com>
2659
2660 * common/rsp-low.h (hexify): Don't declare.
2661 * common/rsp-low.c (hexify): Remove.
2662
0a822afb
TT
26632014-02-12 Tom Tromey <tromey@redhat.com>
2664
2665 * common/rsp-low.c (hexify): Never take strlen of argument.
2666
9f1b45b0
TT
26672014-02-12 Tom Tromey <tromey@redhat.com>
2668
2669 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2670 * remote.c (extended_remote_run, remote_rcmd)
2671 (remote_download_trace_state_variable, remote_save_trace_data)
2672 (remote_set_trace_notes): Update.
2673 * tracepoint.c (encode_source_string, tfile_write_status)
2674 (tfile_write_uploaded_tsv): Update.
2675
9c3d6531
TT
26762014-02-12 Tom Tromey <tromey@redhat.com>
2677
2678 * tracepoint.c: Include rsp-low.h.
2679 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2680 * remote.c: Include rsp-low.h.
2681 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2682 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2683 (remote_unescape_input): Move to common/rsp-low.c.
2684 * common/rsp-low.h: New file.
2685 * common/rsp-low.c: New file.
2686 * Makefile.in (SFILES): Add common/rsp-low.c.
2687 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2688 (COMMON_OBS): Add rsp-low.o.
2689 (rsp-low.o): New target.
2690
01fd3ea5
TT
26912014-02-12 Tom Tromey <tromey@redhat.com>
2692
2693 * utils.h: Include print-utils.h.
2694 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2695 (int_string, core_addr_to_string, core_addr_to_string_nz)
2696 (hex_string, hex_string_custom): Don't declare.
2697 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2698 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2699 (hex_string_custom, int_string, core_addr_to_string)
2700 (core_addr_to_string_nz, host_address_to_string): Move to
2701 common/print-utils.c.
2702 * common/print-utils.h: New file.
2703 * common/print-utils.c: New file
2704 * Makefile.in (SFILES): Add common/print-utils.c.
2705 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2706 (COMMON_OBS): Add print-utils.o.
2707 (print-utils.o): New target.
2708
9fb50108
TT
27092014-02-12 Tom Tromey <tromey@redhat.com>
2710
2711 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2712
0548b5db
MK
27132014-02-12 Mark Kettenis <kettenis@gnu.org>
2714
2715 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2716
493443a4
MK
27172014-02-12 Mark Kettenis <kettenis@gnu.org>
2718
2719 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2720 if a PT_IO ptrace request returns sucessfully but indicates that 0
2721 bytes were transferred.
2722
706d0883
PA
27232014-02-12 Pedro Alves <palves@redhat.com>
2724 Kevin Buettner <kevinb@redhat.com>
2725
2726 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2727 TYPE_INSTANCE_FLAG_CODE_SPACE.
2728
5caa2f0b
PA
27292014-02-12 Pedro Alves <palves@redhat.com>
2730
2731 * h8300-tdep.c (pseudo_from_raw_register)
2732 (raw_from_pseudo_register): New functions.
2733 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2734 them.
2735
76fd5f74
PA
27362014-02-12 Pedro Alves <palves@redhat.com>
2737
2738 * h8300-tdep.c (h8300_register_sim_regno): New function.
2739 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2740 gdbarch_register_sim_regno hook.
2741
8f008406
SA
27422014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2743
2744 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2745
195abc10
SA
27462014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2747
2748 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2749
93ffa5b9
MK
27502014-02-12 Mark Kettenis <kettenis@gnu.org>
2751
2752 * obsd-tdep.h (obsd_init_abi): New prototype.
2753 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2754 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2755 (obsd_init_abi): New functions.
2756 * i386obsd-tdep.c: Include "obsd-tdep.h".
2757 (i386obsd_init_abi): Call obsd_init_abi.
2758 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2759 (amd64obsd_init_abi): Call obsd_init_abi.
2760 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2761 obsd-tdep.c to gdb_target_obs.
2762
49caec94
JM
27632014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2764
2765 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2766 double float arguments to 16-byte in the argument slots.
2767
e1402065
DE
27682014-02-11 Doug Evans <xdje42@gmail.com>
2769
2770 * configure.ac: Don't crash if pkg-config is not found and guile
2771 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2772 in guile checks.
2773 * configure: Regenerate.
2774
edcc890f
YQ
27752014-02-11 Yao Qi <yao@codesourcery.com>
2776
2777 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2778 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2779 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2780 * gnu-nat.c (gnu_xfer_memory): Likewise.
2781 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2782 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2783 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2784 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2785
9b409511
YQ
27862014-02-11 Yao Qi <yao@codesourcery.com>
2787
2788 * target.h (enum target_xfer_error): Rename to ...
2789 (enum target_xfer_status): ... it. New. All users updated.
2790 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2791 New.
2792 (TARGET_XFER_STATUS_ERROR_P): New macro.
2793 (target_xfer_error_to_string): Remove declaration.
2794 (target_xfer_status_to_string): Declare.
2795 (target_xfer_partial_ftype): Adjust it.
2796 (struct target_ops) <to_xfer_partial>: Return
2797 target_xfer_status. Add argument xfered_len. Update
2798 comments.
2799 * target.c (target_xfer_error_to_string): Rename to ...
2800 (target_xfer_status_to_string): ... it. New. All callers
2801 updated.
2802 (target_read_live_memory): Likewise. Call target_xfer_partial
2803 instead of target_read.
2804 (memory_xfer_live_readonly_partial): Return
2805 target_xfer_status. Add argument xfered_len.
2806 (raw_memory_xfer_partial): Likewise.
2807 (memory_xfer_partial_1): Likewise.
2808 (memory_xfer_partial): Likewise.
2809 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2810 properly. Update debug message.
2811 (default_xfer_partial, current_xfer_partial): Likewise.
2812 (target_write_partial): Likewise.
2813 (target_read_partial): Likewise. All callers updated.
2814 (read_whatever_is_readable): Likewise.
2815 (target_write_with_progress): Likewise.
2816 (target_read_alloc_1): Likewise.
2817
2818 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2819 * auxv.c (procfs_xfer_auxv): Likewise.
2820 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2821 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2822 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2823 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2824 * corefile.c (read_memory): Adjust.
2825 * corelow.c (core_xfer_partial): Likewise.
2826 * ctf.c (ctf_xfer_partial): Likewise.
2827 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2828 updated.
2829 (darwin_xfer_partial): Likewise.
2830 * exec.c (section_table_xfer_memory_partial): Likewise. All
2831 callers updated.
2832 (exec_xfer_partial): Likewise.
2833 * exec.h (section_table_xfer_memory_partial): Update
2834 declaration.
2835 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2836 negative.
2837 (gnu_xfer_partial): Likewise.
2838 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2839 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2840 (ia64_hpux_xfer_solib_got): Likewise.
2841 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2842 type of 'partial_len' to ULONGEST.
2843 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2844 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2845 (linux_nat_xfer_partial): Likewise.
2846 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2847 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2848 * monitor.c (monitor_xfer_memory): Likewise.
2849 (monitor_xfer_partial): Likewise.
2850 * procfs.c (procfs_xfer_partial): Likewise.
2851 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2852 * record-full.c (record_full_xfer_partial): Likewise.
2853 (record_full_core_xfer_partial): Likewise.
2854 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2855 (gdbsim_xfer_partial): Likewise.
2856 * remote.c (remote_write_bytes_aux): Likewise. All callers
2857 updated.
2858 (remote_write_bytes, remote_read_bytes): Likewise. All
2859 callers updated.
2860 (remote_flash_erase): Likewise. All callers updated.
2861 (remote_write_qxfer): Likewise. All callers updated.
2862 (remote_read_qxfer): Likewise. All callers updated.
2863 (remote_xfer_partial): Likewise.
2864 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2865 (rs6000_xfer_shared_libraries): Likewise.
2866 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2867 (sol_thread_xfer_partial): Likewise.
2868 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2869 (sparc_xfer_partial): Likewise.
2870 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2871 updated.
2872 (spu_xfer_partial): Likewise.
2873 * spu-multiarch.c (spu_xfer_partial): Likewise.
2874 * tracepoint.c (tfile_xfer_partial): Likewise.
2875 * windows-nat.c (windows_xfer_memory): Likewise.
2876 (windows_xfer_shared_libraries): Likewise.
2877 (windows_xfer_partial): Likewise.
2878 * valprint.c: Replace 'target_xfer_error' with
2879 'target_xfer_status' in comments.
2880
a8e63083
JB
28812014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2882
2883 Checked in by Joel Brobecker <brobecker@adacore.com>.
2884 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2885
e86b67d3
JB
28862014-02-11 Joel Brobecker <brobecker@adacore.com>
2887
2888 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2889 function parameters.
2890
4b7d1f7f
WN
28912014-02-10 Will Newton <will.newton@linaro.org>
2892
2893 * elfread.c (elf_rel_plt_read): Look for a .got section if
2894 looking up .got.plt fails.
2895 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2896 on address passed to elf_gnu_ifunc_record_cache.
2897 (elf_gnu_ifunc_resolve_addr): Likewise.
2898 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2899
961842b2
JM
29002014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2901
2902 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2903 (X_RETTURN): New macro.
2904 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2905
2906 * sparc64-tdep.c (sparc64_init_abi): Hook
2907 sparc_in_function_epilogue_p.
2908
3f03e7b1
GB
29092014-02-10 Gary Benson <gbenson@redhat.com>
2910
2911 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2912 Rename name_matcher to symbol_matcher.
2913
96f861ef
GB
29142014-02-10 Gary Benson <gbenson@redhat.com>
2915
2916 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2917 Use expand_symtabs_file_matcher_ftype and
2918 expand_symtabs_symbol_matcher_ftype.
2919
ee01b665
JB
29202014-02-10 Joel Brobecker <brobecker@adacore.com>
2921
2922 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2923 (struct ada_symbol_cache): New.
2924 (ada_free_symbol_cache): Forward declare.
2925 (struct ada_pspace_data): New.
2926 (ada_pspace_data_handle): New static global.
2927 (get_ada_pspace_data, ada_pspace_data_cleanup)
2928 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2929 (cache_space, cache): Delete, now folded inside struct
2930 ada_pspace_data.
2931 (ada_get_symbol_cache): New function.
2932 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2933 implementation.
2934 (_initialize_ada_language): Remove initialization of cache_space.
2935 Move call to observer_attach_inferior_exit up, grouping it
2936 with the other observer registrations inside this function.
2937 Rename command to be more general. Add call to
2938 register_program_space_data_with_cleanup.
2939
143adbbf
JB
29402014-02-10 Joel Brobecker <brobecker@adacore.com>
2941
2942 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2943 ada_new_objfile_observer.
2944 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2945 (_initialize_tasks): Update uses of ada_new_objfile_observer
2946 and ada_tasks_normal_stop_observer.
2947
aa4fb036
JB
29482014-02-10 Joel Brobecker <brobecker@adacore.com>
2949
2950 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2951 returned by the 'Length attribute to integer.
2952
9dee8cc6
JB
29532014-02-10 Joel Brobecker <brobecker@adacore.com>
2954
2955 * ada-lang.c (_initialize_ada_language): Initialize
2956 cache_space obstack.
2957
3d9434b5
JB
29582014-02-10 Joel Brobecker <brobecker@adacore.com>
2959
2960 * ada-lang.c (HASH_SIZE): New macro.
2961 (struct cache_entry): New type.
2962 (cache_space, cache): New static globals.
2963 (ada_clear_symbol_cache, find_entry): New functions.
2964 (lookup_cached_symbol, cache_symbol): Implement.
2965 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2966 (_initialize_ada_language): Attach ada_new_objfile_observer
2967 and ada_free_objfile_observer.
2968
f0c5f9b2
JB
29692014-02-10 Joel Brobecker <brobecker@adacore.com>
2970
2971 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2972 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2973 struct block * parameter.
2974 (ada_lookup_symbol_list_worker): Constify local variable "block".
2975 Remove cast which is no longer necessary.
2976
ed3ef339
DE
29772014-02-10 Doug Evans <xdje42@gmail.com>
2978
2979 Add Guile as an extension language.
2980 * NEWS: Mention Guile scripting.
2981 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2982 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2983 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2984 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2985 (CLIBS): Add GUILE_LIBS.
2986 (install-guile): New rule.
2987 (guile.o): New rule.
2988 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2989 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2990 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2991 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2992 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2993 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2994 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2995 * configure.ac: New option --with-guile.
2996 * configure: Regenerate.
2997 * config.in: Regenerate.
2998 * auto-load.c: Remove #include "python/python.h". Add #include
2999 "gdb/section-scripts.h".
3000 (source_section_scripts): Handle Guile scripts.
3001 (_initialize_auto_load): Add name of Guile objfile script to
3002 scripts-directory help text.
3003 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3004 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3005 (struct breakpoint): New member scm_bp_object.
3006 * defs.h (enum command_control_type): New value guile_control.
3007 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3008 "extension.h".
3009 (show_user): Update comment.
3010 (_initialize_cli_cmds): Update help text for "show user". Update help
3011 text for max-user-call-depth.
3012 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3013 "extension.h".
3014 (multi_line_command_p): Add guile_control.
3015 (print_command_lines): Handle guile_control.
3016 (execute_control_command, recurse_read_control_structure): Ditto.
3017 (process_next_line): Recognize "guile" commands.
3018 * disasm.c (gdb_disassemble_info): Make non-static.
3019 * disasm.h: #include "dis-asm.h".
3020 (struct gdbarch): Add forward decl.
3021 (gdb_disassemble_info): Declare.
3022 * extension.c: #include "guile/guile.h".
3023 (extension_languages): Add guile.
3024 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3025 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3026 * gdbtypes.c (get_unsigned_type_max): New function.
3027 (get_signed_type_minmax): New function.
3028 * gdbtypes.h (get_unsigned_type_max): Declare.
3029 (get_signed_type_minmax): Declare.
3030 * guile/README: New file.
3031 * guile/guile-internal.h: New file.
3032 * guile/guile.c: New file.
3033 * guile/guile.h: New file.
3034 * guile/scm-arch.c: New file.
3035 * guile/scm-auto-load.c: New file.
3036 * guile/scm-block.c: New file.
3037 * guile/scm-breakpoint.c: New file.
3038 * guile/scm-disasm.c: New file.
3039 * guile/scm-exception.c: New file.
3040 * guile/scm-frame.c: New file.
3041 * guile/scm-gsmob.c: New file.
3042 * guile/scm-iterator.c: New file.
3043 * guile/scm-lazy-string.c: New file.
3044 * guile/scm-math.c: New file.
3045 * guile/scm-objfile.c: New file.
3046 * guile/scm-ports.c: New file.
3047 * guile/scm-pretty-print.c: New file.
3048 * guile/scm-safe-call.c: New file.
3049 * guile/scm-string.c: New file.
3050 * guile/scm-symbol.c: New file.
3051 * guile/scm-symtab.c: New file.
3052 * guile/scm-type.c: New file.
3053 * guile/scm-utils.c: New file.
3054 * guile/scm-value.c: New file.
3055 * guile/lib/gdb.scm: New file.
3056 * guile/lib/gdb/boot.scm: New file.
3057 * guile/lib/gdb/experimental.scm: New file.
3058 * guile/lib/gdb/init.scm: New file.
3059 * guile/lib/gdb/iterator.scm: New file.
3060 * guile/lib/gdb/printing.scm: New file.
3061 * guile/lib/gdb/types.scm: New file.
3062 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3063 (VPATH): Add $(GUILE_SRCDIR).
3064 (GUILE_DIR): New variable.
3065 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3066 (all): Add stamp-guile dependency.
3067 (stamp-guile): New rule.
3068 (clean-guile, install-guile, uninstall-guile): New rules.
3069 (install-only): Add install-guile dependency.
3070 (uninstall): Add uninstall-guile dependency.
3071 (clean): Add clean-guile dependency.
3072
ac020ec5
DE
30732014-02-09 Doug Evans <xdje42@gmail.com>
3074
3075 Revert this patch (which I approved, mea culpa).
3076
3077 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3078
3079 * Makefile.in (all-lib): Remove.
3080 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3081
2a081c59
JK
30822014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3083
3084 Fix Python stack corruption.
3085 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3086 gdb_py_longest.
3087
0a6bd22d
MK
30882014-02-08 Mark Kettenis <kettenis@gnu.org>
3089
3090 * Makefile.in (all-lib): Remove.
3091 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3092
1a860409
DE
30932014-02-07 Doug Evans <dje@google.com>
3094
3095 * extension-priv.h (extension_language_script_ops): Add comment.
3096 (extension_language_ops): Add comment.
caf5a491 3097 (active_ext_lang_state): Fix typo in comment.
1a860409 3098
d137e6dc
PA
30992014-02-07 Pedro Alves <palves@redhat.com>
3100
3101 * infrun.c (handle_signal_stop) <signal arrives while stepping
3102 over a breakpoint>: Switch back to the stepping thread.
3103
ce6d0892
YQ
31042014-02-07 Yao Qi <yao@codesourcery.com>
3105
3106 * target.c (target_xfer_partial): Return zero if LEN is zero.
3107
2ed4b548
YQ
31082014-02-07 Yao Qi <yao@codesourcery.com>
3109
3110 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3111 (ld_so_xfer_auxv): Likewise.
3112 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3113 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3114 * corelow.c (core_xfer_partial): Likewise.
3115 * ctf.c (ctf_xfer_partial): Likewise.
3116 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3117 (darwin_xfer_partial): Likewise.
3118 * exec.c (exec_xfer_partial): Likewise.
3119 * gnu-nat.c (gnu_xfer_partial): Likewise.
3120 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3121 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3122 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3123 * linux-nat.c (linux_xfer_siginfo): Likewise.
3124 (linux_proc_xfer_spu): Likewise.
3125 * procfs.c (procfs_xfer_partial): Likewise.
3126 * record-full.c (record_full_xfer_partial): Likewise.
3127 (record_full_core_xfer_partial): Likewise.
3128 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3129 * remote.c (remote_write_qxfer): Likewise.
3130 (remote_write_qxfer, remote_read_qxfer): Likewise.
3131 (remote_xfer_partial): Likewise.
3132 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3133 (rs6000_xfer_shared_libraries): Likewise.
3134 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3135 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3136 (spu_xfer_partial): Likewise.
3137 * target.c (memory_xfer_partial_1): Likewise.
3138 * tracepoint.c (tfile_xfer_partial): Likewise.
3139 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3140 (windows_xfer_partial): Likewise.
3141
c09f20e4
YQ
31422014-02-07 Yao Qi <yao@codesourcery.com>
3143
3144 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3145 comments.
3146 (core_xfer_shared_libraries_aix): Likewise.
3147 * gdbarch.c, gdbarch.h: Regenerated.
3148 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3149 ULONGEST. Change 'len_avail' type to ULONGEST.
3150 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3151 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3152 declaration.
3153 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3154
8635b3bf
YQ
31552014-02-07 Yao Qi <yao@codesourcery.com>
3156
3157 * corefile.c (memory_error): Get 'exception' from ERR and pass
3158 'exception' to throw_error.
3159
6dddc817
DE
31602014-02-06 Doug Evans <xdje42@gmail.com>
3161
3162 * configure.ac (libpython checking): Remove all but python.o from
3163 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3164 * configure: Regenerate.
3165
3166 * Makefile.in (SFILES): Add extension.c.
3167 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3168 (COMMON_OBS): Add extension.o.
3169 * extension.h: New file.
3170 * extension-priv.h: New file.
3171 * extension.c: New file.
3172
3173 * python/python-internal.h: #include "extension.h".
3174 (gdbpy_auto_load_enabled): Declare.
3175 (gdbpy_apply_val_pretty_printer): Declare.
3176 (gdbpy_apply_frame_filter): Declare.
3177 (gdbpy_preserve_values): Declare.
3178 (gdbpy_breakpoint_cond_says_stop): Declare.
3179 (gdbpy_breakpoint_has_cond): Declare.
3180 (void source_python_script_for_objfile): Delete.
3181 * python/python.c: #include "extension-priv.h".
3182 Delete inclusion of "observer.h".
3183 (extension_language_python): Moved here and renamed from
3184 script_language_python in py-auto-load.c.
3185 Redefined to be of type extension_language_defn.
3186 (python_extension_script_ops): New global.
3187 (python_extension_ops): New global.
3188 (struct python_env): New member previous_active.
3189 (restore_python_env): Call restore_active_ext_lang.
3190 (ensure_python_env): Call set_active_ext_lang.
3191 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3192 New arg extlang.
3193 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3194 New arg extlang.
3195 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3196 New arg extlang.
3197 (gdbpy_eval_from_control_command): Renamed from
3198 eval_python_from_control_command, made static. New arg extlang.
3199 (gdbpy_source_script) Renamed from source_python_script, made static.
3200 New arg extlang.
3201 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3202 result to int. New arg extlang.
3203 (gdbpy_source_objfile_script): Renamed from
3204 source_python_script_for_objfile, made static. New arg extlang.
3205 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3206 static. New args extlang, extlang_printers. Change result type to
3207 "void".
3208 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3209 static. New arg extlang. Rename arg printers to extlang_printers
3210 and change type to ext_lang_type_printers *.
3211 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3212 static. Replace argument arg with extlang, extlang_printers.
3213 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3214 (!HAVE_PYTHON, source_python_script): Delete.
3215 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3216 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3217 (!HAVE_PYTHON, start_type_printers): Delete.
3218 (!HAVE_PYTHON, apply_type_printers): Delete.
3219 (!HAVE_PYTHON, free_type_printers): Delete.
3220 (_initialize_python): Delete call to observer_attach_before_prompt.
3221 (finalize_python): Set/restore active extension language.
3222 (gdbpy_finish_initialization) Renamed from
3223 finish_python_initialization, made static. New arg extlang.
3224 (gdbpy_initialized): New function.
3225 * python/python.h: #include "extension.h". Delete #include
3226 "value.h", "mi/mi-cmds.h".
3227 (extension_language_python): Declare.
3228 (GDBPY_AUTO_FILE_NAME): Delete.
3229 (enum py_bt_status): Moved to extension.h and renamed to
3230 ext_lang_bt_status.
3231 (enum frame_filter_flags): Moved to extension.h.
3232 (enum py_frame_args): Moved to extension.h and renamed to
3233 ext_lang_frame_args.
3234 (finish_python_initialization): Delete.
3235 (eval_python_from_control_command): Delete.
3236 (source_python_script): Delete.
3237 (apply_val_pretty_printer): Delete.
3238 (apply_frame_filter): Delete.
3239 (preserve_python_values): Delete.
3240 (gdbpy_script_language_defn): Delete.
3241 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3242 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3243
3244 * auto-load.c: #include "extension.h".
3245 (GDB_AUTO_FILE_NAME): Delete.
3246 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3247 (script_language_gdb): Delete, moved to extension.c and renamed to
3248 extension_language_gdb.
3249 (source_gdb_script_for_objfile): Delete.
3250 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3251 (loaded_script): Change type of language member to
3252 struct extension_language_defn *.
3253 (init_loaded_scripts_info): Initialize
3254 unsupported_script_warning_printed.
3255 (maybe_add_script): Make static. Change type of language arg to
3256 struct extension_language_defn *.
3257 (clear_section_scripts): Reset unsupported_script_warning_printed.
3258 (auto_load_objfile_script_1): Rewrite to use extension language API.
3259 (auto_load_objfile_script): Make public. Remove support-compiled-in
3260 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3261 (source_section_scripts): Rewrite to use extension language API.
3262 (load_auto_scripts_for_objfile): Rewrite to use
3263 auto_load_scripts_for_objfile.
3264 (collect_matching_scripts_data): Change type of language member to
3265 struct extension_language_defn *.
3266 (auto_load_info_scripts): Change type of language arg to
3267 struct extension_language_defn *.
3268 (unsupported_script_warning_print): New function.
3269 (script_not_found_warning_print): Make static.
3270 (_initialize_auto_load): Rewrite construction of scripts-directory
3271 help.
3272 * auto-load.h (struct objfile): Add forward decl.
3273 (struct script_language): Delete.
3274 (struct auto_load_pspace_info): Add forward decl.
3275 (struct extension_language_defn): Add forward decl.
3276 (maybe_add_script): Delete.
3277 (auto_load_objfile_script): Declare.
3278 (script_not_found_warning_print): Delete.
3279 (auto_load_info_scripts): Update prototype.
3280 (auto_load_gdb_scripts_enabled): Declare.
3281 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3282 auto_load_python_scripts_enabled and made public.
3283 (script_language_python): Delete, moved to python.c.
3284 (gdbpy_script_language_defn): Delete.
3285 (info_auto_load_python_scripts): Update to use
3286 extension_language_python.
3287
3288 * breakpoint.c (condition_command): Replace call to
3289 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3290 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3291 with call to breakpoint_ext_lang_cond_says_stop.
3292 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3293 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3294 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3295 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3296 New arg slang.
3297 (local_setattro): Print name of extension language with existing
3298 stop condition.
3299
3300 * valprint.c (val_print, value_print): Update to call
3301 apply_ext_lang_val_pretty_printer.
3302 * cp-valprint.c (cp_print_value): Update call to
3303 apply_ext_lang_val_pretty_printer.
3304 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3305 (gdbpy_apply_val_pretty_printer): Renamed from
3306 apply_val_pretty_printer. New arg extlang.
3307 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3308
3309 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3310 extension language API.
3311 * cli/cli-script.c (execute_control_command): Update to call
3312 eval_ext_lang_from_control_command.
3313
3314 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3315 enum ext_lang_bt_status values. Update call to
3316 apply_ext_lang_frame_filter.
3317 (mi_cmd_stack_list_locals): Ditto.
3318 (mi_cmd_stack_list_args): Ditto.
3319 (mi_cmd_stack_list_variables): Ditto.
3320 * mi/mi-main.c: Delete #include "python/python-internal.h".
3321 Add #include "extension.h".
3322 (mi_cmd_list_features): Replace reference to python internal variable
3323 gdb_python_initialized with call to ext_lang_initialized_p.
3324
3325 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3326 Update to use enum ext_lang_frame_args. Update to call
3327 apply_ext_lang_frame_filter.
3328 * python/py-framefilter.c (extract_sym): Update to use enum
3329 ext_lang_bt_status.
3330 (extract_value, py_print_type, py_print_value): Ditto.
3331 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3332 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3333 (py_print_frame): Ditto.
3334 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3335 New arg extlang. Update to use enum ext_lang_bt_status.
3336
3337 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3338 finish_python_initialization. Replace with call to
3339 finish_ext_lang_initialization.
3340
3341 * typeprint.c (do_free_global_table): Update to call
3342 free_ext_lang_type_printers.
3343 (create_global_typedef_table): Update to call
3344 start_ext_lang_type_printers.
3345 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3346 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3347 (type_print_options): Change type of global_printers from "void *"
3348 to "struct ext_lang_type_printers *".
3349
3350 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3351 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3352 (gdbpy_preserve_values): Renamed from preserve_python_values.
3353 New arg extlang.
3354 (!HAVE_PYTHON, preserve_python_values): Delete.
3355
3356 * utils.c (quit_flag): Delete, moved to extension.c.
3357 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3358 extension.c.
3359
3360 * eval.c: Delete #include "python/python.h".
3361 * main.c: Delete #include "python/python.h".
3362
3363 * defs.h: Update comment.
3364
6af79985
JB
33652014-02-06 Joel Brobecker <brobecker@adacore.com>
3366
3367 GDB 7.7 released.
3368
12c5175d
MK
33692014-02-05 Mark Kettenis <kettenis@gnu.org>
3370
3371 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3372 defined.
3373
8dc5b319
YQ
33742014-02-05 Yao Qi <yao@codesourcery.com>
3375
3376 * remote.c (remote_pass_signals): Remove local 'buf' and use
3377 rs->buf.
3378 (remote_program_signals): Likewise.
3379
de7b2893
YQ
33802014-02-05 Yao Qi <yao@codesourcery.com>
3381
3382 * ctf.c: Include "inferior.h" and "gdbthread.h".
3383 (CTF_PID): A new macro.
3384 (ctf_open): Call inferior_appeared and add_thread_silent.
3385 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3386 (ctf_thread_alive): New function.
3387 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3388
66d032ac
YQ
33892014-02-05 Yao Qi <yao@codesourcery.com>
3390
3391 Revert this patch:
3392
3393 2013-05-24 Yao Qi <yao@codesourcery.com>
3394
3395 * tracepoint.c (TFILE_PID): Remove.
3396 (tfile_open): Don't add thread and inferior.
3397 (tfile_close): Don't set 'inferior_ptid'. Don't call
3398 exit_inferior_silent.
3399 (tfile_thread_alive): Remove.
3400 (init_tfile_ops): Don't set field 'to_thread_alive' of
3401 tfile_ops.
3402
f4ccffad
CE
34032014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3404
3405 * remote.c (remote_start_remote): Call remote_check_symbols even
3406 if only symbol-file (not file) has been given.
3407
591a12a1
UW
34082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3409
3410 * gdbarch.sh (skip_entrypoint): New callback.
3411 * gdbarch.c, gdbarch.h: Regenerate.
3412 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3413 * infrun.c (fill_in_stop_func): Likewise.
3414 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3415 (ppc_elfv2_elf_make_msymbol_special): New function.
3416 (ppc_elfv2_skip_entrypoint): Likewise.
3417 (ppc_linux_init_abi): Install them for ELFv2.
3418
cc0e89c5
UW
34192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3420
3421 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3422 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3423 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3424 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3425 structures returned in GPRs.
3426
52f548e4
UW
34272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3428
3429 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3430 offset to the stack parameter list for the ELFv2 ABI.
3431
d4094b6a
UW
34322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3433
3434 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3435 set_gdbarch_convert_from_func_ptr_addr and
3436 set_gdbarch_elf_make_msymbol_special for ELFv1.
3437 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3438 function descriptors on ELFv1.
3439 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3440 set up r12 at function entry.
3441
cd453cd0
UW
34422014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3443
3444 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3445 (struct gdbarch_tdep): New member elf_abi.
3446
3447 * rs6000-tdep.c: Include "elf/ppc64.h".
3448 (rs6000_gdbarch_init): Detect ELF ABI version.
3449
0ff3e01f
UW
34502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3451
3452 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3453 within a register pair holding a DFP 128-bit value on little-endian.
3454 (ppc64_sysv_abi_return_value_base): Likewise.
3455 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3456 (dfp_pseudo_register_write): Likewise.
3457
5b757e5d
UW
34582014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3459
3460 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3461 offset on little-endian when passing _Decimal32.
3462 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3463
084ee545
UW
34642014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3465
3466 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3467 of the overlapped FP register within the VSX register on little-
3468 endian platforms.
3469 (efpr_pseudo_register_write): Likewise.
3470
d63167af
UW
34712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3472
3473 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3474 offset on little-endian when passing small structures.
3475
e765b44c
UW
34762014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3477
3478 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3479 (struct ppc64_sysv_argpos): New data structure.
3480 (ppc64_sysv_abi_push_float): Remove.
3481 (ppc64_sysv_abi_push_val): New function.
3482 (ppc64_sysv_abi_push_integer): Likewise.
3483 (ppc64_sysv_abi_push_freg): Likewise.
3484 (ppc64_sysv_abi_push_vreg): Likewise.
3485 (ppc64_sysv_abi_push_param): Likewise.
3486 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3487 (ppc64_sysv_abi_return_value_base): New function.
3488 (ppc64_sysv_abi_return_value): Refactor to use it.
3489
36c24d95
UW
34902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3491
3492 * NEWS: Document new target powerpc64le-*-linux*.
3493
26fd9228
MK
34942014-02-04 Mark Kettenis <kettenis@gnu.org>
3495
3496 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3497 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3498 core dumps.
3499 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3500 register set used in ELF core dumps. Add floating-point register set.
3501
c5bb7362
KB
35022014-02-03 Kevin Buettner <kevinb@redhat.com>
3503
3504 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3505 dwarf2_to_gdb[] table using symbolic constants. Adjust
3506 penultimate entry from number representing the PC register
3507 to symbolic constant representing the MDR register. Add
3508 constant for the PC register to the end of the table.
3509
af09351e
MK
35102014-02-03 Mark Kettenis <kettenis@gnu.org>
3511
3512 * bsd-kvm.c: Include <sys/param.h>
3513
8507e05d
MK
35142014-02-03 Mark Kettenis <kettenis@gnu.org>
3515
3516 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3517
ae56bfb8
JB
35182014-01-31 Joel Brobecker <brobecker@adacore.com>
3519
3520 * ada-lang.h (clear_ada_sym_cache): Delete.
3521
718ee4dc
UW
35222014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3523
3524 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3525
401e27fd
JM
35262014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3527
3528 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3529 the sigreturn register save area only if the syscall is
3530 sigreturn.
3531
a7c88acd
JB
35322014-01-29 Joel Brobecker <brobecker@adacore.com>
3533
3534 * valops.c (value_slice): Minor reformatting.
3535
fa0079ea
UW
35362014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3537
3538 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3539
c6044dd1
JB
35402014-01-28 Joel Brobecker <brobecker@adacore.com>
3541
3542 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3543 New static globals.
3544 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3545 (ada_ignore_descriptive_types_p): New static global.
3546 (find_parallel_type_by_descriptive_type): Return immediately
3547 if ada_ignore_descriptive_types_p is set.
3548 (_initialize_ada_language): Register new commands "maintenance
3549 set ada", "maintenance show ada", "maintenance set ada
3550 ignore-descriptive-types" and "maintenance show ada
3551 ignore-descriptive-types".
3552 * NEWS: Add entry for new "maint ada set/show
3553 ignore-descriptive-types" commands.
3554
568e808b
MM
35552014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3556
3557 * record-btrace.c (record_btrace_close): Call btrace_teardown
3558 for all threads.
3559
467d141b
JB
35602014-01-27 Joel Brobecker <brobecker@adacore.com>
3561
3562 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3563 "ui-out.h".
3564
fb151210
JB
35652014-01-27 Joel Brobecker <brobecker@adacore.com>
3566
3567 * ada-typeprint (type_is_full_subrange_of_target_type):
3568 New function.
3569 (print_range): Add parameter bounds_prefered_p. If not set,
3570 try printing range types using the name of their base type.
3571 (print_range_type): Add parameter bounds_prefered_p.
3572 Use it in call to print_range.
3573 (print_array_type, ada_print_type): Update calls to print_range
3574 and print_range_type.
3575
aba02109
JB
35762014-01-27 Joel Brobecker <brobecker@adacore.com>
3577
3578 * ada-typeprint.c (print_array_type, print_choices, print_range)
3579 (print_range_bound, print_dynamic_range_bound, print_range_type):
3580 Remove declaration.
3581
e62e21fd
JB
35822014-01-27 Joel Brobecker <brobecker@adacore.com>
3583
3584 * ada-typeprint.c (print_range): Add missing empty line
3585 after local declaration.
3586
859cf5d1
JB
35872014-01-27 Joel Brobecker <brobecker@adacore.com>
3588
3589 * ada-valprint.c (print_optional_low_bound): Get index_type's
3590 target type for as long as it is a TYPE_CODE_RANGE.
3591
25790f6f
JB
35922014-01-27 Joel Brobecker <brobecker@adacore.com>
3593
3594 * procfs.c (procfs_make_note_section): Remove assertion and
3595 associated comment.
3596
6b6aa828
YQ
35972014-01-24 Yao Qi <yao@codesourcery.com>
3598
3599 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3600 * corelow.c (get_core_siginfo): Likewise.
3601
5d6df423
YQ
36022014-01-24 Yao Qi <yao@codesourcery.com>
3603
3604 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3605 ULONGEST. Don't check 'len' is negative.
3606 (remote_write_bytes): Change type of 'len' to ULONGEST.
3607
83b645b8
TT
36082014-01-23 Tom Tromey <tromey@redhat.com>
3609
3610 PR python/16485:
3611 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3612 Handle exception from frame.block.
3613 (FrameVars.fetch_frame_locals): Likewise.
3614
0740f8d8
TT
36152014-01-23 Tom Tromey <tromey@redhat.com>
3616
3617 PR python/16487:
3618 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3619 on a NULL pointer. Move "goto error" to correct place.
3620
21909fa1
TT
36212014-01-23 Tom Tromey <tromey@redhat.com>
3622
3623 PR python/16491:
3624 * python/py-framefilter.c (apply_frame_filter): Call
3625 ensure_python_env after computing gdbarch.
3626
17fde6d0
YQ
36272014-01-23 Yao Qi <yao@codesourcery.com>
3628
3629 * target.c (raw_memory_xfer_partial): Change argument type
3630 from void * to gdb_byte *.
3631 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3632
87ce2a04
DE
36332014-01-22 Doug Evans <dje@google.com>
3634
3635 New gdbserver option --debug-format=timestamp.
3636 * NEWS: Mention it.
3637
237b092b
AA
36382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3639
3640 * syscalls/s390x-linux.xml: New file.
3641 * syscalls/s390-linux.xml: New file.
3642 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3643 (XML_SYSCALL_FILENAME_S390X): Likewise.
3644 (op_svc): New enum value for SVC opcode.
3645 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3646 (s390_linux_get_syscall_number): New function.
3647 (s390_gdbarch_init): Register '*get_syscall_number' and the
3648 syscall xml file name.
3649 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3650 "s390-linux.xml" and "s390x-linux.xml".
3651 * NEWS: Announce new feature.
3652
54bff650
BS
36532014-01-22 Baruch Siach <baruch@tkos.co.il>
3654
3655 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3656
14e361d7
PA
36572014-01-22 Pedro Alves <palves@redhat.com>
3658
3659 * xtensa-config.c: Include defs.h.
3660
46bbb3ed
JB
36612014-01-22 Joel Brobecker <brobecker@adacore.com>
3662
3663 * common/common-utils.h: Add "ARI:" comment beside __func__
3664 reference.
3665
3a80edfc
JB
36662014-01-22 Joel Brobecker <brobecker@adacore.com>
3667
3668 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3669 documentation a bit.
3670
4869db5e
RM
36712014-01-21 Roland McGrath <mcgrathr@google.com>
3672
3673 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3674 * configure: Regenerate.
3675 * aclocal.m4: Regenerate.
3676 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3677 New substituted variables.
3678 (install-strip): New target.
3679 (INSTALL_SCRIPT): New substituted variable.
3680 (FLAGS_TO_PASS): Add it.
3681 (install-only): Use $(INSTALL_SCRIPT) rather than
3682 $(INSTALL_PROGRAM) for gcore.
3683
9ea4267d
TT
36842014-01-20 Tom Tromey <tromey@redhat.com>
3685
3686 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3687 together.
3688
1f2bdf09
TT
36892014-01-20 Tom Tromey <tromey@redhat.com>
3690
3691 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3692 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3693 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3694 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3695 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3696 (struct cmd_list_element) <flags>: Remove.
3697 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3698 doc_allocated>: New fields.
3699 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3700 bitfields.
3701 * maint.c (maintenance_do_deprecate): Update.
3702 * top.c (execute_command): Update.
3703
e671835b
BS
37042014-01-20 Baruch Siach <baruch@tkos.co.il>
3705
3706 * xtensa-linux-nat.c: Include asm/ptrace.h.
3707
50367cd2
IB
37082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3709
3710 * Makefile.in (SFILES): Add d-support.c.
3711 (COMMON_OBS): Add d-support.o.
3712 * d-lang.h (d_parse_symbol): Add comment, now defined in
3713 d-support.c.
3714 * d-lang.c (parse_call_convention)
3715 (parse_attributes, parse_function_types)
3716 (parse_function_args, parse_type, parse_identifier)
3717 (call_convention_p, d_parse_symbol): Move functions to ...
3718 * d-support.c: ... New file.
3719
ec9f644a
IB
37202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3721
3722 * d-lang.h (d_parse_symbol): Add declaration.
3723 * d-lang.c (extract_identifiers)
3724 (extract_type_info): Remove functions.
3725 (parse_call_convention, parse_attributes)
3726 (parse_function_types, parse_function_args)
3727 (parse_type, parse_identifier, call_convention_p)
3728 (d_parse_symbol): New functions.
3729 (d_demangle): Use d_parse_symbol to demangle D symbols.
3730
94b1b47e
IB
37312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3732
3733 * d-lang.h (struct builtin_d_type): New data type.
3734 (builtin_d_type): Add declaration.
3735 * d-lang.c (d_language_arch_info, build_d_types)
3736 (builtin_d_type): New functions.
3737 (enum d_primitive_types): New data type.
3738 (d_language_defn): Change c_language_arch_info to
3739 d_language_arch_info.
3740 (d_type_data): New static variable.
3741 (_initialize_d_language): Initialize d_type_data.
3742
63778547
IB
37432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3744
3745 * d-lang.h (d_main_name): Add declaration.
3746 * d-lang.c (d_main_name): New function.
3747 * symtab.c (find_main_name): Add call to d_main_name.
3748
3271ba66
IB
37492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3750
3751 * d-lang.c (d_language_defn): Change macro_expansion_c to
3752 macro_expansion_no.
3753
d36b3012
IB
37542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3755
3756 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3757
c90a6fb7
SDJ
37582014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3759
3760 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3761 gdb_exception" declaration.
3762 * remote.c (getpkt_or_notif_sane): Likewise.
3763
749234e5
DE
37642014-01-17 Doug Evans <dje@google.com>
3765
3766 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3767 function, contents of dirnames_to_char_ptr_vec_append moved here.
3768 (delim_string_to_char_ptr_vec): New function.
3769 (dirnames_to_char_ptr_vec_append): Rewrite.
3770 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3771
df049a58
DE
37722014-01-17 Doug Evans <dje@google.com>
3773
3774 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3775 and moved here ...
3776 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3777 #include "common-utils.h".
3778 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3779 * common/vec.h (VEC_ASSERT_PASS): Update.
3780 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3781 (MACH_CHECK_ERROR): Update.
3782
69f97648
SM
37832014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3784
3785 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3786 comments.
3787 * gdbarch.h: Regenerate.
3788
98b1cfdc
TT
37892014-01-16 Tom Tromey <tromey@redhat.com>
3790
3791 * value.c (struct value) <regnum>: Move earlier.
3792
77a19445
TT
37932014-01-16 Tom Tromey <tromey@redhat.com>
3794
3795 * remote.c (extended_remote_create_inferior): Rename from
3796 extended_remote_create_inferior_1. Add "ops" argument. Remove
3797 old implementation.
3798
62261490
PA
37992014-01-16 Pedro Alves <palves@redhat.com>
3800
3801 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3802 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3803 the backchain.
3804
4d65956b
DE
38052014-01-16 Doug Evans <dje@google.com>
3806
3807 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3808
52834460
MM
38092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3810
3811 * btrace.h (btrace_thread_flag): New.
3812 (struct btrace_thread_info) <flags>: New.
3813 * record-btrace.c (record_btrace_resume_thread)
3814 (record_btrace_find_thread_to_move, btrace_step_no_history)
3815 (btrace_step_stopped, record_btrace_start_replaying)
3816 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3817 (record_btrace_find_resume_thread): New.
3818 (record_btrace_resume, record_btrace_wait): Extend.
3819 (record_btrace_can_execute_reverse): New.
3820 (record_btrace_open): Fail in non-stop mode.
3821 (record_btrace_set_replay): Split into this, ...
3822 (record_btrace_stop_replaying): ... this, ...
3823 (record_btrace_clear_histories): ... and this.
3824 (init_record_btrace_ops): Init to_can_execute_reverse.
3825 * NEWS: Announce it.
3826
118e6252
MM
38272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3828
3829 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3830 (forward_target_decr_pc_after_break)
3831 (target_decr_pc_after_break): New.
3832 * target.c (forward_target_decr_pc_after_break)
3833 (target_decr_pc_after_break): New.
3834 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3835 instead of gdbarch_decr_pc_after_break.
3836 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3837 instead of gdbarch_decr_pc_after_break.
3838 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3839 instead of gdbarch_decr_pc_after_break.
3840 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3841 instead of gdbarch_decr_pc_after_break.
3842 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3843 instead of gdbarch_decr_pc_after_break.
3844 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3845 instead of gdbarch_decr_pc_after_break.
3846
6e07b1d2
MM
38472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3848
3849 * btrace.c: Include regcache.h.
3850 (btrace_add_pc): New.
3851 (btrace_enable): Call btrace_add_pc.
3852 (btrace_is_empty): New.
3853 * btrace.h (btrace_is_empty): New.
3854 * record-btrace.c (require_btrace, record_btrace_info): Call
3855 btrace_is_empty.
3856
969c39fb
MM
38572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3858
3859 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3860 Support delta reads.
3861 (linux_disable_btrace): Change return type.
3862 * common/linux-btrace.h (linux_read_btrace): Change parameters
3863 and return type to allow error reporting. Update users.
3864 (linux_disable_btrace): Change return type. Update users.
3865 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3866 New.
3867 (btrace_error): New.
3868 (btrace_block) <begin>: Comment on BEGIN == 0.
3869 * btrace.c (btrace_compute_ftrace): Start from the end of
3870 the current trace.
3871 (btrace_stitch_trace, btrace_clear_history): New.
3872 (btrace_fetch): Read delta trace, return if replaying.
3873 (btrace_clear): Move clear history code to btrace_clear_history.
3874 (parse_xml_btrace): Throw an error if parsing failed.
3875 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3876 and return type to allow error reporting.
3877 (target_read_btrace): Change parameters and return type to allow
3878 error reporting.
3879 * target.c (target_read_btrace): Update.
3880 * remote.c (remote_read_btrace): Support delta reads. Pass
3881 errors on.
3882 * NEWS: Announce it.
3883
0b722aec
MM
38842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3885
3886 * record.h (record_btrace_frame_unwind)
3887 (record_btrace_tailcall_frame_unwind): New declarations.
3888 * dwarf2-frame: Include record.h
3889 (dwarf2_frame_cfa): Throw an error for btrace frames.
3890 * record-btrace.c: Include hashtab.h.
3891 (btrace_get_bfun_name): New.
3892 (btrace_call_history): Call btrace_get_bfun_name.
3893 (struct btrace_frame_cache): New.
3894 (bfcache): New.
3895 (bfcache_hash, bfcache_eq, bfcache_new): New.
3896 (btrace_get_frame_function): New.
3897 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3898 (record_btrace_frame_this_id): Compute own id.
3899 (record_btrace_frame_prev_register): Provide PC, throw_error
3900 for all other registers.
3901 (record_btrace_frame_sniffer): Detect btrace frames.
3902 (record_btrace_tailcall_frame_sniffer): New.
3903 (record_btrace_frame_dealloc_cache): New.
3904 (record_btrace_frame_unwind): Add new functions.
3905 (record_btrace_tailcall_frame_unwind): New.
3906 (_initialize_record_btrace): Allocate cache.
3907 * btrace.c (btrace_clear): Call reinit_frame_cache.
3908 * NEWS: Announce it.
3909
066ce621
MM
39102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3911
3912 * record-btrace.c (record_btrace_set_replay)
3913 (record_btrace_goto_begin, record_btrace_goto_end)
3914 (record_btrace_goto): New.
3915 (init_record_btrace_ops): Initialize them.
3916 * NEWS: Announce it.
3917
e2887aa3
MM
39182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3919
3920 * record-btrace.c (record_btrace_find_new_threads)
3921 (record_btrace_thread_alive): New.
3922 (init_record_btrace_ops): Initialize to_find_new_threads and
3923 to_thread_alive.
3924
b2f4cfde
MM
39252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3926
3927 * record-btrace.c (record_btrace_resume): New.
3928 (record_btrace_wait): New.
3929 (init_record_btrace_ops): Initialize to_wait and to_resume.
3930
633785ff
MM
39312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3932
3933 * record-btrace.c (record_btrace_xfer_partial)
3934 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3935 (record_btrace_allow_memory_access): New.
3936 (init_record_btrace_ops): Initialize new methods.
3937 * target.c (raw_memory_xfer_partial): Bail out if target reports
3938 that this memory is not available.
3939
3db08215
MM
39402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3941
3942 * target.h (target_ops) <to_insert_breakpoint>
3943 <to_remove_breakpoint>: Add target_ops parameter.
3944 (forward_target_insert_breakpoint): New.
3945 (forward_target_remove_breakpoint): New.
3946 (memory_remove_breakpoint, memory_insert_breakpoint):
3947 Add target_ops parameter.
3948 * target.c (target_insert_breakpoint): Split into this and ...
3949 (forward_target_insert_breakpoint): ... this.
3950 (target_remove_breakpoint): Split into this and ...
3951 (forward_target_remove_breakpoint): ... this.
3952 (debug_to_insert_breakpoint): Add target_ops parameter.
3953 Call forward_target_insert_breakpoint.
3954 (debug_to_remove_breakpoint): Add target_ops parameter.
3955 Call forward_target_remove_breakpoint.
3956 (update_current_target): Do not inherit or default to_insert_breakpoint
3957 and to_remove_breakpoint.
3958 * corelow.c (ignore): Add target_ops parameter.
3959 * exec.c (ignore): Add target_ops parameter.
3960 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3961 Add target_ops parameter.
3962 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3963 Add target_ops parameter.
3964 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3965 Add target_ops parameter.
3966 * record-full.c (record_full_beneath_to_insert_breakpoint)
3967 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3968 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3969 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3970 (record_full_core_remove_breakpoint): Add target_ops parameter.
3971 Update users.
3972 (record_full_beneath_to_insert_breakpoint_ops)
3973 (record_full_beneath_to_remove_breakpoint_ops)
3974 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3975 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3976 tmp_to_remove_breakpoint_ops,
3977 record_full_beneath_to_insert_breakpoint_ops, and
3978 record_full_beneath_to_remove_breakpoint_ops.
3979 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3980 (m32r_remove_breakpoint): Add target_ops parameter.
3981 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3982 Add target_ops parameter.
3983 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3984 Add target_ops parameter.
3985
cecac1ab
MM
39862014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3987 Markus Metzger <markus.t.metzger@intel.com>
3988
3989 * record-btrace.c: Include frame-unwind.h.
3990 (record_btrace_frame_unwind_stop_reason)
3991 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3992 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3993 New.
3994 (init_record_btrace_ops): Install it.
3995
824344ca
MM
39962014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3999 get_prev_frame_1.
4000
32261e52
MM
40012014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4004 earlier.
4005
ea001bdc
MM
40062014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4007
4008 * frame-unwind.c: Include target.h.
4009 (frame_unwind_try_unwinder): New function with code from ...
4010 (frame_unwind_find_by_frame): ... here. New variable
4011 unwinder_from_target, call also target_get_unwinder)
4012 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4013 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4014 * target.h (struct target_ops): New fields to_get_unwinder and
4015 to_get_tailcall_unwinder.
4016 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4017
1f3ef581
MM
40182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4019
4020 * record-btrace.c (record_btrace_fetch_registers)
4021 (record_btrace_store_registers)
4022 (record_btrace_to_prepare_to_store): New.
4023 (init_record_btrace_ops): Add the above.
4024
f32dbf8c
MM
40252014-01-16 Tom Tromey <tromey@redhat.com>
4026
4027 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4028 * target.h (struct target_ops) <to_prepare_to_store>: Add
4029 argument.
4030 (target_prepare_to_store): Add argument.
4031 * target.c (debug_to_prepare_to_store): Add argument.
4032 (update_current_target): Update.
4033 * remote.c (remote_prepare_to_store): Add 'self' argument.
4034 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4035 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4036 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4037 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4038 argument.
4039 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4040 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4041 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4042 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4043 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4044
07bbe694
MM
40452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4046
4047 * btrace.h (replay) <replay>: New.
4048 (btrace_is_replaying): New.
4049 * btrace.c (btrace_clear): Free replay iterator.
4050 (btrace_is_replaying): New.
4051 * record-btrace.c (record_btrace_is_replaying): New.
4052 (record_btrace_info): Print insn number if replaying.
4053 (record_btrace_insn_history): Start at replay position.
4054 (record_btrace_call_history): Start at replay position.
4055 (init_record_btrace_ops): Init to_record_is_replaying.
4056
0688d04e
MM
40572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4058
4059 * record-btrace.c (record_btrace_insn_history_range): Include
4060 end.
4061 (record_btrace_insn_history_from): Adjust range.
4062 (record_btrace_call_history_range): Include
4063 end.
4064 (record_btrace_call_history_from): Adjust range.
4065 * NEWS: Announce changes.
4066
8710b709
MM
40672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4068
4069 * record.h (enum record_print_flag)
4070 <record_print_indent_calls>: New.
4071 * record.c (get_call_history_modifiers): Recognize /c modifier.
4072 (_initialize_record): Document /c modifier.
4073 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4074 Reorder fields. Optionally indent the function name. Update
4075 all users.
4076 * NEWS: Announce changes.
4077
d0fa7535
MM
40782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4079
4080 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4081
5de9129b
MM
40822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4083
4084 * btrace.c (ftrace_new_function): Start counting at one.
4085 * record-btrace.c (record_btrace_info): Adjust number of calls
4086 and insns.
4087 * NEWS: Announce it.
4088
7acbe133
MM
40892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4090
4091 * record-btrace.c (btrace_call_history_insn_range): Print
4092 insn range as [begin, end].
4093
23a7fe75
MM
40942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4095
4096 * btrace.h (struct btrace_func_link): New.
4097 (enum btrace_function_flag): New.
4098 (struct btrace_inst): Rename to ...
4099 (struct btrace_insn): ...this. Update all users.
4100 (struct btrace_func) <ibegin, iend>: Remove.
4101 (struct btrace_func_link): New.
4102 (struct btrace_func): Rename to ...
4103 (struct btrace_function): ...this. Update all users.
4104 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4105 (number, level, flags>: New.
4106 (struct btrace_insn_iterator): Rename to ...
4107 (struct btrace_insn_history): ...this.
4108 Update all users.
4109 (struct btrace_insn_iterator, btrace_call_iterator): New.
4110 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4111 (struct btrace_target_info) <begin, end, level>
4112 <insn_history, call_history>: New.
4113 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4114 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4115 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4116 (btrace_call_number, btrace_call_begin, btrace_call_end)
4117 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4118 (btrace_find_function_by_number, btrace_set_insn_history)
4119 (btrace_set_call_history): New.
4120 * btrace.c (btrace_init_insn_iterator)
4121 (btrace_init_func_iterator, compute_itrace): Remove.
4122 (ftrace_print_function_name, ftrace_print_filename)
4123 (ftrace_skip_file): Change
4124 parameter to const.
4125 (ftrace_init_func): Remove.
4126 (ftrace_debug): Use new btrace_function fields.
4127 (ftrace_function_switched): Also consider gaining and
4128 losing symbol information).
4129 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4130 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4131 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4132 New.
4133 (ftrace_new_function): Move. Remove debug print.
4134 (ftrace_update_lines, ftrace_update_insns): New.
4135 (ftrace_update_function): Check for call, ret, and jump.
4136 (compute_ftrace): Renamed to ...
4137 (btrace_compute_ftrace): ...this. Rewritten to compute call
4138 stack.
4139 (btrace_fetch, btrace_clear): Updated.
4140 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4141 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4142 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4143 (btrace_call_number, btrace_call_begin, btrace_call_end)
4144 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4145 (btrace_find_function_by_number, btrace_set_insn_history)
4146 (btrace_set_call_history): New.
4147 * record-btrace.c (require_btrace): Use new btrace thread
4148 info fields.
4149 (record_btrace_info, btrace_insn_history)
4150 (record_btrace_insn_history, record_btrace_insn_history_range):
4151 Use new btrace thread info fields and new iterator.
4152 (btrace_func_history_src_line): Rename to ...
4153 (btrace_call_history_src_line): ...this. Use new btrace
4154 thread info fields.
4155 (btrace_func_history): Rename to ...
4156 (btrace_call_history): ...this. Use new btrace thread info
4157 fields and new iterator.
4158 (record_btrace_call_history, record_btrace_call_history_range):
4159 Use new btrace thread info fields and new iterator.
4160
8372a7cb
MM
41612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4162
4163 * frame.h (frame_id_build_unavailable_stack_special): New.
4164 * frame.c (frame_id_build_unavailable_stack_special): New.
4165
c2170eef
MM
41662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4167
4168 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4169 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4170 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4171 to gdbarch.
4172 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4173 (i386_insn_is_jump, i386_jmp_p): New.
4174 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4175 insn_is_jump to gdbarch.
4176 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4177 * gdbarch.h: Regenerated.
4178 * gdbarch.c: Regenerated.
4179 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4180 (default_insn_is_jump): New.
4181 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4182 (default_insn_is_jump): New.
4183
864089d2
MM
41842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4185
4186 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4187 Change to ...
4188 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4189 (btrace_read_type) <btrace_read_new>: Change to ...
4190 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4191
ed9edfb5
MM
41922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4193
4194 * common/linux-btrace.c (linux_read_btrace): Free trace from
4195 previous iteration.
4196
fbcbc3fd
DE
41972014-01-15 Doug Evans <dje@google.com>
4198
4199 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4200 uint32_t.
4201
3d548a53
TT
42022014-01-15 Tom Tromey <tromey@redhat.com>
4203
4204 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4205 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4206 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4207 (set_objfile_main_name): New function.
4208 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4209 language_of_main>: New fields.
4210 (set_objfile_main_name): Declare.
4211 * symtab.c (find_main_name): Loop over objfiles to find the main
4212 name and language.
4213 (set_main_name): Now static.
4214 (get_main_info): Add comment.
4215 * symtab.h (set_main_name): Don't declare.
4216
32ac0d11
TT
42172014-01-15 Tom Tromey <tromey@redhat.com>
4218
4219 * symtab.c (main_progspace_key): New global.
4220 (struct main_info): New.
4221 (name_of_main, language_of_main): Remove.
4222 (get_main_info, main_info_cleanup): New function.
4223 (set_main_name, main_name, main_language): Use get_main_info.
4224 (_initialize_symtab): Initialize main_progspace_key.
4225
9e6c82ad
TT
42262014-01-15 Tom Tromey <tromey@redhat.com>
4227
4228 * dbxread.c (process_one_symbol): Update.
4229 * dwarf2read.c (read_partial_die): Update.
4230 * symfile.c (set_initial_language): Call main_language.
4231 * symtab.c (language_of_main): Now static.
4232 (set_main_name): Add 'lang' parameter.
4233 (find_main_name): Update.
4234 (main_language): New function.
4235 (symtab_observer_executable_changed): Update.
4236 * symtab.h (set_main_name): Update.
4237 (language_of_main): Remove.
4238 (main_language): Declare.
4239
6ef55de7
TT
42402014-01-15 Tom Tromey <tromey@redhat.com>
4241
4242 * symfile.c (init_entry_point_info): Use new "initialized" field.
4243 Update.
4244 * objfiles.h (struct entry_point) <initialized>: New field.
4245 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4246 (struct objfile) <ei>: ...here. Remove.
4247 * objfiles.c (entry_point_address_query): Update.
4248
53eddfa6
TT
42492014-01-15 Tom Tromey <tromey@redhat.com>
4250
4251 * objfiles.c (entry_point_address_query): Relocate entry point
4252 address.
4253 (objfile_relocate1): Do not relocate entry point address.
4254 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4255 <the_bfd_section_index>: New field.
4256 * symfile.c (init_entry_point_info): Find the entry point's
4257 section.
4258
d56e56aa
TT
42592014-01-15 Tom Tromey <tromey@redhat.com>
4260
4261 * solib-frv.c (enable_break): Use entry_point_address_query.
4262
33a97bbe
OJ
42632014-01-15 Omair Javaid <omair.javaid@linaro.org>
4264
4265 * NEWS: Add note on improved process record-replay on
4266 arm*-linux* targets.
4267
c6ec2b30
OJ
42682014-01-15 Omair Javaid <omair.javaid@linaro.org>
4269
4270 * arm-tdep.c (enum arm_record_result): New enum.
4271 (arm_record_unsupported_insn): New function.
4272 (arm_record_coproc_data_proc): Removed.
4273 (thumb2_record_ld_st_multiple): New function.
4274 (thumb2_record_ld_st_dual_ex_tbb): New function.
4275 (thumb2_record_data_proc_sreg_mimm): New function.
4276 (thumb2_record_ps_dest_generic): New function.
4277 (thumb2_record_branch_misc_cntrl): New function.
4278 (thumb2_record_str_single_data): New function.
4279 (thumb2_record_ld_mem_hints): New function.
4280 (thumb2_record_ld_word): New function.
4281 (thumb2_record_lmul_lmla_div): New function.
4282 (thumb2_record_decode_insn_handler): New function.
4283 (decode_insn): Add thumb32 instruction handlers.
4284
97dfe206
OJ
42852014-01-15 Omair Javaid <omair.javaid@linaro.org>
4286
4287 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4288 (struct arm_linux_record_tdep): Declare.
4289 (arm_canonicalize_syscall): New function.
4290 (arm_all_but_pc_registers_record): New function.
4291 (arm_linux_syscall_record): New function.
4292 (arm_linux_init_abi): Add syscall recording constructs.
4293 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4294 decoding. (arm_record_coproc_data_proc): Update arm syscall
4295 decoding.
4296 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4297 <arm_syscall_record>: New field.
4298 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4299 gdb_target_obs.
4300
9904a494
OJ
43012014-01-15 Omair Javaid <omair.javaid@linaro.org>
4302
4303 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4304 register for push instruction recording.
4305
f969241e
OJ
43062014-01-15 Omair Javaid <omair.javaid@linaro.org>
4307
4308 * arm-tdep.c (thumb_record_misc): Update to correct logical
4309 error while recording ldm, ldmia and pop instructions.
4310
bfbbec00
OJ
43112014-01-15 Omair Javaid <omair.javaid@linaro.org>
4312
4313 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4314
e40adcc9
PA
43152014-01-15 Pedro Alves <palves@redhat.com>
4316
4317 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4318 (go32_resume, go32_fetch_registers, store_register)
4319 (go32_store_registers, go32_prepare_to_store)
4320 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4321 (go32_create_inferior, go32_can_run, go32_terminal_init)
4322 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4323 declarations.
4324
b0a16e66
TT
43252014-01-15 Tom Tromey <tromey@redhat.com>
4326
4327 * target.h (async_callback_ftype): New typedef.
4328 (struct target_ops) <to_async>: Use it.
4329
bf7105a4
JB
43302014-01-15 Joel Brobecker <brobecker@adacore.com>
4331
4332 * python/py-value.c (get_field_type): Remove unnecessary curly
4333 braces for single-statement if block.
4334
a8f35c2e
JB
43352014-01-15 Joel Brobecker <brobecker@adacore.com>
4336
4337 * python/py-type.c (convert_field): Add missing empty line
4338 after declarations.
4339
bb4142cf
DE
43402014-01-14 Doug Evans <dje@google.com>
4341
4342 * symfile.h (expand_symtabs_matching): Renamed from
4343 expand_partial_symbol_names. Update prototype.
4344 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4345 * symfile.c (expand_symtabs_matching): Renamed from
4346 expand_partial_symbol_names. New args file_matcher, kind.
4347 Rename arg fun to symbol_matcher.
4348 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4349 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4350 ada_expand_partial_symbol_name.
4351 (ada_make_symbol_completion_list): Update to call
4352 expand_symtabs_matching.
4353 (ada_add_global_exceptions): Call expand_symtabs_matching.
4354 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4355 call map_symbol_filenames.
4356 * symtab.c (sources_info): Update to call map_symbol_filenames.
4357 (search_symbols): Call expand_symtabs_matching.
4358 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4359 (default_make_symbol_completion_list_break_on): Update to call
4360 expand_symtabs_matching.
4361 (make_source_files_completion_list): Update to call
4362 map_symbol_filenames.
4363
206f2a57
DE
43642014-01-14 Doug Evans <dje@google.com>
4365
4366 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4367 (expand_symtabs_symbol_matcher_ftype): New typedef.
4368 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4369 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4370 * symfile.c (expand_partial_symbol_names): Update to use
4371 expand_symtabs_symbol_matcher_ftype.
4372 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4373 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4374 Arg name_matcher renamed to symbol_matcher.
4375 * psymtab.c (recursively_search_psymtabs): Update to use
4376 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4377 sym_matcher.
4378 (expand_symtabs_matching_via_partial): Update to use
4379 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4380 Arg name_matcher renamed to symbol_matcher.
4381
540c2971
DE
43822014-01-14 Doug Evans <dje@google.com>
4383
4384 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4385 (map_partial_symbol_filenames): Ditto.
4386 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4387 (map_partial_symbol_filenames): Ditto.
4388 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4389 (map_partial_symbol_filenames): Ditto.
4390 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4391 (map_partial_symbol_filenames): Ditto.
4392 * symtab.c: Delete #include "psymtab.h".
4393
8213266a
PA
43942014-01-14 Pedro Alves <palves@redhat.com>
4395 Tom Tromey <tromey@redhat.com>
4396
4397 * infrun.c (use_displaced_stepping): Use find_record_target
4398 instead of RECORD_IS_USED.
4399 (adjust_pc_after_break): Use record_full_is_used instead of
4400 RECORD_IS_USED.
4401 * record-btrace.c (record_btrace_open): Call record_preopen
4402 instead of checking RECORD_IS_USED.
4403 * record-full.c (record_full_shortname)
4404 (record_full_core_shortname): New globals.
4405 (record_full_is_used): New function.
4406 (find_full_open): Call record_preopen instead of checking
4407 RECORD_IS_USED.
4408 (init_record_full_ops): Set the target's shortname to
4409 record_full_shortname.
4410 (init_record_full_core_ops): Set the target's shortname to
4411 record_full_core_shortname.
4412 * record-full.h (record_full_is_used): Declare.
4413 * record.c (find_record_target): Make extern.
4414 (record_preopen): New function.
4415 * record.h (RECORD_IS_USED): Delete macro.
4416 (find_record_target, record_preopen): Declare functions.
4417
7ec1862d
YQ
44182014-01-14 Yao Qi <yao@codesourcery.com>
4419
4420 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4421 'len''s type to ULONGEST.
4422 (core_xfer_shared_libraries_aix): Likewise.
4423 * gdbarch.c, gdbarch.h: Regenerated.
4424 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4425 Change type of 'len' to ULONGEST.
4426 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4427 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4428
dea80a27
YQ
44292014-01-14 Yao Qi <yao@codesourcery.com>
4430
4431 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4432 type of 'len' to ULONGEST.
4433 (linux_xfer_osdata_processgroups): Likewise.
4434 (linux_xfer_osdata_threads): Likewise.
4435 (linux_xfer_osdata_fds): Likewise.
4436 (linux_xfer_osdata_isockets): Likewise.
4437 (linux_xfer_osdata_shm): Likewise.
4438 (linux_xfer_osdata_sem): Likewise.
4439 (linux_xfer_osdata_msg): Likewise.
4440 (linux_common_xfer_osdata): Likewise.
4441 (struct osdata_type) <getter>: Likewise.
4442 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4443 the declaration.
4444
b55e14c7
YQ
44452014-01-14 Yao Qi <yao@codesourcery.com>
4446
4447 * target.h (target_xfer_partial_ftype): Update.
4448 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4449 ULONGEST.
4450 * aix-thread.c (aix_thread_xfer_partial): Change type of
4451 argument 'len' to ULONGEST.
4452 * auxv.c (procfs_xfer_auxv): Likewise.
4453 (ld_so_xfer_auxv): Likewise.
4454 (memory_xfer_auxv): Likewise.
4455 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4456 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4457 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4458 * corelow.c (core_xfer_partial): Likewise.
4459 * ctf.c (ctf_xfer_partial): Likewise.
4460 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4461 '%u'.
4462 (darwin_read_dyld_info): Likewise.
4463 (darwin_xfer_partial): Likewise.
4464 * exec.c (section_table_xfer_memory_partial): Likewise.
4465 (exec_xfer_partial): Likewise.
4466 * exec.h (section_table_xfer_memory_partial): Update
4467 declaration.
4468 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4469 instead of plongest.
4470 (gnu_xfer_partial): Likewise.
4471 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4472 (ia64_hpux_xfer_solib_got): Likewise.
4473 (ia64_hpux_xfer_partial): Likewise.
4474 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4475 * inf-ptrace.c (inf_ptrace_xfer_partial):
4476 * inf-ttrace.c (inf_ttrace_xfer_partial):
4477 * linux-nat.c (linux_xfer_siginfo): Likewise.
4478 (linux_nat_xfer_partial): Likewise.
4479 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4480 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4481 * monitor.c (monitor_xfer_memory): Likewise.
4482 (monitor_xfer_partial): Likewise.
4483 * procfs.c (procfs_xfer_partial): Likewise.
4484 * record-full.c (record_full_xfer_partial): Likewise.
4485 (record_full_core_xfer_partial): Likewise.
4486 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4487 instead of plongest.
4488 (gdbsim_xfer_partial): Likewise.
4489 * remote.c (remote_xfer_partial): Likewise.
4490 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4491 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4492 declaration.
4493 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4494 (rs6000_xfer_shared_libraries): Likewise.
4495 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4496 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4497 (sparc_xfer_partial): Likewise.
4498 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4499 (spu_xfer_partial): Likewise.
4500 * spu-multiarch.c (spu_xfer_partial): Likewise.
4501 * target.c (target_read_live_memory): Likewise.
4502 (memory_xfer_live_readonly_partial): Likewise.
4503 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4504 (target_xfer_partial, default_xfer_partial): Likewise.
4505 (current_xfer_partial): Likewise.
4506 * tracepoint.c (tfile_xfer_partial): Likewise.
4507 * windows-nat.c (windows_xfer_memory): Likewise. Call
4508 pulongest instead of plongest.
4509 (windows_xfer_partial): Likewise.
4510 (windows_xfer_shared_libraries): Likewise.
4511
05804640
YQ
45122014-01-14 Yao Qi <yao@codesourcery.com>
4513
4514 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4515 target_xfer_partial_ftype.
4516
b5b08fb4
SC
45172014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4518
4519 PR python/15464
4520 PR python/16113
4521 * valops.c (value_struct_elt_bitpos): New function
4522 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4523 object to 'None' if the field name is an empty string ("").
4524 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4525 attribute to look for a field when 'name' is 'None'.
4526 (get_field_type): New function
4527
13aaf454
DE
45282014-01-13 Doug Evans <dje@google.com>
4529
4530 PR symtab/16426
4531 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4532 (try_open_dwop_file): Ditto.
4533 * gdb_bfd.c: #include "vec.h".
4534 (bfdp): New typedef.
4535 (struct gdb_bfd_data): New member included_bfds.
4536 (gdb_bfd_unref): Unref all included bfds.
4537 (gdb_bfd_record_inclusion): New function.
4538 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4539
c2cec97c
TT
45402014-01-13 Tom Tromey <tromey@redhat.com>
4541
4542 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4543
78e5999d
TT
45442014-01-13 Tom Tromey <tromey@redhat.com>
4545
4546 * defs.h (use_windows): Remove.
4547 * gdb.c (main): Update.
4548 * main.c (captured_main, gdb_main): Update.
4549 * main.h (struct captured_main_args) <use_windows>: Remove.
4550 * top.c (use_windows): Remove.
4551
f2052bbe
TT
45522014-01-13 Tom Tromey <tromey@redhat.com>
4553
4554 * defs.h (deprecated_flush_hook): Remove.
4555
fde4f8ed
JK
45562014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4557
4558 PR threads/16216
4559 * linux-thread-db.c (try_thread_db_load): Add parameter
4560 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4561 (try_thread_db_load_from_pdir_1): Move it there from here.
4562 (try_thread_db_load_from_sdir): Update caller.
4563 (try_thread_db_load_from_dir): Move it there from here.
4564
bdf61915
PP
45652014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4566
4567 * regformats/regdat.sh: Always rewrite the register file.
4568
f71e1a8d
PA
45692014-01-13 Pedro Alves <palves@redhat.com>
4570
4571 * Makefile.in (CHECK_HEADERS): New variable.
4572 (check-headers:): New rule.
4573
42c85435
TT
45742014-01-13 Tom Tromey <tromey@redhat.com>
4575
4576 * cli/cli-setshow.c (do_set_command): Update.
4577 * defs.h (deprecated_set_hook): Remove.
4578 * top.c (deprecated_set_hook): Remove.
4579
f8de5129
PA
45802014-01-13 Pedro Alves <palves@redhat.com>
4581
4582 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4583 the tracepoint if the PC is a pseudo-register.
4584
fc270c35
TT
45852014-01-13 Tom Tromey <tromey@redhat.com>
4586
4587 * defs.h (XCALLOC): Remove.
4588 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4589 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4590 * dwarf2loc.c (allocate_piece_closure): Likewise.
4591 * elfread.c (elf_symfile_segments): Likewise.
4592 (elf_symfile_segments): Likewise.
4593 * gdbtypes.c (copy_type_recursive): Likewise.
4594 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4595 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4596 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4597 XCALLOC.
4598 * mt-tdep.c (mt_gdbarch_init): Likewise.
4599 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4600 XCALLOC.
4601 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4602 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4603 * registry.c (registry_alloc_data): Likewise.
4604 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4605 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4606 * serial.c (serial_fdopen_ops): Likewise.
4607 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4608 XCALLOC.
4609 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4610 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4611 not XCALLOC.
4612
70ba0933
TT
46132014-01-13 Tom Tromey <tromey@redhat.com>
4614
4615 * defs.h (XMALLOC): Remove.
4616 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4617 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4618 * cli-out.c (struct ui_out *): Likewise.
4619 * cli/cli-dump.c (add_dump_command): Likewise.
4620 (add_dump_command): Likewise.
4621 * complaints.c (get_complaints): Likewise.
4622 (find_complaint): Likewise.
4623 * dwarf2-frame.c (execute_cfa_program): Likewise.
4624 * dwarf2read.c (abbrev_table_read_table): Likewise.
4625 * gdbarch.sh: Likewise.
4626 * gdbarch.c: Rebuild.
4627 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4628 * interps.c (interp_new): Likewise.
4629 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4630 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4631 * mi/mi-console.c (mi_console_file_new): Likewise.
4632 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4633 * mi/mi-out.c (mi_out_new): Likewise.
4634 * mi/mi-parse.c (mi_parse): Likewise.
4635 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4636 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4637 * observer.c (xalloc_observer_list_node): Likewise.
4638 * regcache.c (regcache_xmalloc_1): Likewise.
4639 * reggroups.c (reggroup_new): Likewise.
4640 (_initialize_reggroup): Likewise.
4641 * registry.c (register_data_with_cleanup): Likewise.
4642 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4643 * ser-base.c (serial_ttystate): Likewise.
4644 * ser-mingw.c (make_pipe_state): Likewise.
4645 * ser-pipe.c (pipe_open): Likewise.
4646 * serial.c (serial_open): Likewise.
4647 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4648 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4649 (tui_alloc_win_info): Likewise.
4650 (tui_add_content_elements): Likewise.
4651 * tui/tui-file.c (tui_file_new): Likewise.
4652 * tui/tui-out.c (tui_out_new): Likewise.
4653 * ui-file.c (mem_file_new): Likewise.
4654 * ui-out.c (push_level): Likewise.
4655 (make_cleanup_ui_out_end): Likewise.
4656 (append_header_to_list): Likewise.
4657 (ui_out_new): Likewise.
4658 * user-regs.c (user_reg_add_builtin): Likewise.
4659
41bf6aca
TT
46602014-01-13 Tom Tromey <tromey@redhat.com>
4661
4662 * defs.h (XZALLOC): Remove.
4663 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4664 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4665 (get_ada_tasks_inferior_data): Likewise.
4666 * auto-load.c (get_auto_load_pspace_data): Likewise.
4667 * auxv.c (get_auxv_inferior_data): Likewise.
4668 * bfd-target.c (target_bfd_reopen): Likewise.
4669 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4670 (deprecated_insert_raw_breakpoint): Likewise.
4671 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4672 * corelow.c (core_open): Likewise.
4673 * darwin-nat.c (darwin_check_new_threads): Likewise.
4674 (darwin_attach_pid): Likewise.
4675 * dummy-frame.c (dummy_frame_push): Likewise.
4676 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4677 * dwarf2loc.c (allocate_piece_closure): Likewise.
4678 * elfread.c (elf_symfile_segments): Likewise.
4679 * eval.c (ptrmath_type_p): Likewise.
4680 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4681 * gdbtypes.c (alloc_type_arch): Likewise.
4682 (alloc_type_instance): Likewise.
4683 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4684 * inf-child.c (inf_child_can_use_agent): Likewise.
4685 * inflow.c (get_inflow_inferior_data): Likewise.
4686 * infrun.c (save_infcall_suspend_state): Likewise.
4687 * jit.c (jit_reader_load): Likewise.
4688 (get_jit_objfile_data): Likewise.
4689 (get_jit_program_space_data): Likewise.
4690 (jit_object_open_impl): Likewise.
4691 (jit_symtab_open_impl): Likewise.
4692 (jit_block_open_impl): Likewise.
4693 (jit_frame_sniffer): Likewise.
4694 * linux-fork.c (add_fork): Likewise.
4695 * maint.c (make_command_stats_cleanup): Likewise.
4696 * objfiles.c (get_objfile_pspace_data): Likewise.
4697 * opencl-lang.c (struct lval_closure): Likewise.
4698 * osdata.c (osdata_start_osdata): Likewise.
4699 * progspace.c (new_address_space): Likewise.
4700 (add_program_space): Likewise.
4701 * remote-sim.c (get_sim_inferior_data): Likewise.
4702 * sh-tdep.c (sh_gdbarch_init): Likewise.
4703 * skip.c (Ignore): Likewise.
4704 (skip_delete_command): Likewise.
4705 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4706 (library_list_start_library): Likewise.
4707 (solib_aix_current_sos): Likewise.
4708 * solib-darwin.c (get_darwin_info): Likewise.
4709 (darwin_current_sos): Likewise.
4710 * solib-dsbt.c (get_dsbt_info): Likewise.
4711 * solib-ia64-hpux.c (new_so_list): Likewise.
4712 (ia64_hpux_get_solib_linkage_addr): Likewise.
4713 * solib-spu.c (append_ocl_sos): Likewise.
4714 (spu_current_sos): Likewise.
4715 * solib-svr4.c (get_svr4_info): Likewise.
4716 (svr4_keep_data_in_core): Likewise.
4717 (library_list_start_library): Likewise.
4718 (svr4_default_sos): Likewise.
4719 (svr4_read_so_list): Likewise.
4720 * solib-target.c (library_list_start_library): Likewise.
4721 (solib_target_current_sos): Likewise.
4722 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4723 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4724 * symfile.c (default_symfile_segments): Likewise.
4725 * target-descriptions.c (tdesc_data_init): Likewise.
4726 (tdesc_create_reg): Likewise.
4727 (struct tdesc_type *): Likewise.
4728 (tdesc_create_vector): Likewise.
4729 (tdesc_set_struct_size): Likewise.
4730 (struct tdesc_type *): Likewise.
4731 (tdesc_free_feature): Likewise.
4732 (tdesc_create_feature): Likewise.
4733 * windows-nat.c (windows_add_thread): Likewise.
4734 (windows_make_so): Likewise.
4735 * xml-support.c (gdb_xml_body_text): Likewise.
4736 (gdb_xml_create_parser_and_cleanup): Likewise.
4737 (xml_process_xincludes): Likewise.
4738 * xml-syscall.c (allocate_syscalls_info): Likewise.
4739 (syscall_create_syscall_desc): Likewise.
4740
5acfdbae
SDJ
47412014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4742
4743 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4744 function, with code from i386_stap_parse_special_token.
4745 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4746 (i386_stap_parse_special_token): Move code to the two functions
4747 above; simplify it.
4748
0000e5cc
PA
47492014-01-09 Pedro Alves <palves@redhat.com>
4750 Hui Zhu <hui@codesourcery.com>
4751
4752 PR gdb/16101
4753 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4754 bp_err_string. Don't mark the location shlib_disabled if the
4755 error thrown wasn't a generic or memory error. Catch errors
4756 thrown while inserting breakpoints in overlayed code. Output
4757 error message of software breakpoints.
4758 * remote.c (remote_insert_breakpoint): If this breakpoint has
4759 target-side commands but this stub doesn't support Z0 packets,
4760 throw NOT_SUPPORTED_ERROR error.
4761 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4762 * target.h (target_insert_breakpoint): Extend comment.
4763 (target_insert_hw_breakpoint): Add comment.
4764
b7ea362b
PA
47652014-01-08 Pedro Alves <palves@redhat.com>
4766
4767 * remote.c (remote_add_thread): Add threads silently if starting
4768 up.
4769 (remote_notice_new_inferior): If in all-stop, and starting up,
4770 don't call notice_new_inferior.
4771 (get_current_thread): New function, factored out from ...
4772 (add_current_inferior_and_thread): ... this. Adjust.
4773 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4774 found any thread, then select the remote's current thread as GDB's
4775 current thread too.
4776
b7bba001
JB
47772014-01-08 Joel Brobecker <brobecker@adacore.com>
4778
4779 * NEWS: Create a new section for the next release branch.
4780 Rename the section of the current branch, now that it has
4781 been cut.
4782
16dfbded
JB
47832014-01-08 Joel Brobecker <brobecker@adacore.com>
4784
4785 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4786 * version.in: Bump version to 7.7.50.DATE-cvs.
4787
22c90ac1
YQ
47882014-01-08 Yao Qi <yao@codesourcery.com>
4789
4790 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4791 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4792 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4793
d64ad97c
YQ
47942014-01-08 Yao Qi <yao@codesourcery.com>
4795
4796 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4797 return value of bfd_get_filename to symbol_file_add_from_bfd.
4798
f93ba80c
PM
47992014-01-08 Pierre Muller <muller@sourceware.org>
4800
4801 Fix PR16201.
4802 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4803 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4804 to prim_record_mininal_symbol_and_info.
4805 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4806 in call to prim_record_minimal_symbol_and_info.
4807 (read_pe_exported_syms): Set index field of section_data.
4808
a4d9ba85
AP
48092014-01-07 Andrew Pinski <apinski@cavium.com>
4810
4811 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4812 * features/aarch64.c: Regenerate.
4813
1b67eb02
AS
48142014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4815
4816 * target.c (return_null): Define.
4817 (update_current_target): Use it instead of return_zero for
4818 functions that return a pointer.
4819
5e3f4fab
EBM
48202014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4821
4822 * source.c (add_path): Fix check for duplicated paths in the previously
4823 included paths.
4824
e2616788
HK
48252014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4826
4827 * ada-lang.c: Remove duplicated include statements.
4828 * alphabsd-nat.c: Ditto.
4829 * amd64-darwin-tdep.c: Ditto.
4830 * amd64fbsd-nat.c: Ditto.
4831 * auto-load.c: Ditto.
4832 * ax-gdb.c: Ditto.
4833 * breakpoint.c: Ditto.
4834 * dbxread.c: Ditto.
4835 * fork-child.c: Ditto.
4836 * gdb_usleep.c: Ditto.
4837 * i386-darwin-tdep.c: Ditto.
4838 * i386fbsd-nat.c: Ditto.
4839 * infcmd.c: Ditto.
4840 * inferior.c: Ditto.
4841 * jv-lang.c: Ditto.
4842 * linux-nat.c: Ditto.
4843 * linux-tdep.c: Ditto.
4844 * m68kbsd-nat.c: Ditto.
4845 * m68klinux-nat.c: Ditto.
4846 * microblaze-tdep.c: Ditto.
4847 * mips-linux-tdep.c: Ditto.
4848 * mn10300-tdep.c: Ditto.
4849 * nto-tdep.c: Ditto.
4850 * opencl-lang.c: Ditto.
4851 * osdata.c: Ditto.
4852 * printcmd.c: Ditto.
4853 * regcache.c: Ditto.
4854 * remote-m32r-sdi.c: Ditto.
4855 * remote.c: Ditto.
4856 * symfile.c: Ditto.
4857 * symtab.c: Ditto.
4858 * tilegx-linux-nat.c: Ditto.
4859 * tilegx-tdep.c: Ditto.
4860 * tracepoint.c: Ditto.
4861 * valops.c: Ditto.
4862 * vaxbsd-nat.c: Ditto.
4863 * windows-nat.c: Ditto.
4864 * xtensa-tdep.c: Ditto.
4865
bd1f7788
YQ
48662014-01-07 Yao Qi <yao@codesourcery.com>
4867
4868 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4869
79301218
JB
48702014-01-07 Yao Qi <yao@codesourcery.com>
4871 Joel Brobecker <brobecker@adacore.com>
4872
4873 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4874 (pdc_write_regs): Likewise.
4875 (fetch_regs_kernel_thread): Likewise.
4876 (store_regs_kernel_thread): Likewise.
4877
48782014-01-07 Joel Brobecker <brobecker@adacore.com>
4879
4880 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4881 tagged type objects to their actual type.
4882
8e355c5d
JB
48832014-01-07 Joel Brobecker <brobecker@adacore.com>
4884
4885 * ada-valprint.c (print_field_values): Add "language" parameter.
4886 Update calls to print_field_values and print_variant_part.
4887 Pass new parameter "language" in call to val_print instead
4888 of "current_language". Replace call to ada_val_print by call
4889 to val_print.
4890 (print_variant_part): Add "language" parameter.
4891 (ada_val_print_struct_union): Update call to print_field_values.
4892
4fbf5aa5
JB
48932014-01-07 Joel Brobecker <brobecker@adacore.com>
4894
4895 * ada-valprint.c (ui_memcpy): Delete.
4896 (ada_print_floating): Update documentation. Add empty line
4897 between between function documentation and implementation.
4898 Delete variable "buffer". Use ui_file_xstrdup in place of
4899 ui_file_put. Minor adjustments following this change.
4900
71855601
JB
49012014-01-07 Joel Brobecker <brobecker@adacore.com>
4902
4903 * ada-valprint.c (ada_val_print_string): New function,
4904 extracted from ada_val_print_array.
4905 (ada_val_print_array): Replace extracted code by call
4906 to ada_val_print_string followed by a return. Move
4907 "else" branch to the function's top block.
4908
4eb27a30
JB
49092014-01-07 Joel Brobecker <brobecker@adacore.com>
4910
4911 * ada-valprint.c (ada_val_print_array): Move implementation
4912 down. Rename parameter "offset" and "val" into "offset_aligned"
4913 and "original_value" respectively. Add parameter "offset".
4914
34b27950
JB
49152014-01-07 Joel Brobecker <brobecker@adacore.com>
4916
4917 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4918 re-organizing the code. Change the "???" message printed
4919 when target type is a TYPE_CODE_UNDEF into
4920 "<ref to undefined type>".
4921
079e4591
JB
49222014-01-07 Joel Brobecker <brobecker@adacore.com>
4923
4924 * ada-valprint.c (print_record): Delete, implementation inlined...
4925 (ada_val_print_struct_union): ... here. Remove call to
4926 ada_check_typedef in inlined implementation.
4927
8004dfd1
JB
49282014-01-07 Joel Brobecker <brobecker@adacore.com>
4929
4930 * ada-valprint.c (ada_val_print_gnat_array): New function,
4931 extracted from ada_val_print_1;
4932 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4933 (ada_val_print_flt, ada_val_print_struct_union)
4934 (ada_val_print_ref): Likewise.
4935 (ada_val_print_1): Delete variables i and elttype.
4936 Replace extracted-out code by call to corresponding
4937 new functions.
4938
760a2db0
JB
49392014-01-07 Joel Brobecker <brobecker@adacore.com>
4940
4941 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4942
3a92c861
JB
49432014-01-07 Joel Brobecker <brobecker@adacore.com>
4944
4945 * ada-valprint.c (ada_val_print_1): Replace calls to
4946 ada_val_print_1 by calls to val_print.
4947
cd1630f9
JB
49482014-01-07 Joel Brobecker <brobecker@adacore.com>
4949
4950 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4951 Update calls to self accordingly. Replace calls to c_val_print
4952 by calls to val_print.
4953
bdf779a0
JB
49542014-01-07 Joel Brobecker <brobecker@adacore.com>
4955
4956 * ada-valprint.c (print_record): Delete declaration.
4957 (adjust_type_signedness, ada_val_print_1): Likewise.
4958 (ada_val_print): Move function implementation down.
4959 (print_variant_part, print_field_values, print_record):
4960 Move function implementation up.
4961
c0d48811
JB
49622014-01-07 Joel Brobecker <brobecker@adacore.com>
4963
4964 * python/py-type.c (typy_get_name): New function.
4965 (type_object_getset): Add entry for attribute "name".
4966 * NEWS: Add entry mentioning this new attribute.
4967
c26e9cbb
YQ
49682014-01-07 Yao Qi <yao@codesourcery.com>
4969
4970 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4971 statement.
4972
0cc6f43d
YQ
49732014-01-07 Yao Qi <yao@codesourcery.com>
4974
4975 * gnu-nat.c (info_port_rights): Add qualifier const to
4976 argument args.
4977
eec03155
YQ
49782014-01-07 Yao Qi <yao@codesourcery.com>
4979
4980 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4981
f04a82ef
YQ
49822014-01-07 Yao Qi <yao@codesourcery.com>
4983
4984 * gnu-nat.c (make_inf) Update declaration.
4985 (make_inf): Make it static.
4986 (inf_set_traced): Likewise.
4987 (inf_port_to_thread, inf_task_died_status): Likewise.
4988
d57dda0a
YQ
49892014-01-07 Yao Qi <yao@codesourcery.com>
4990
4991 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4992
3aa8c969
YQ
49932014-01-07 Yao Qi <yao@codesourcery.com>
4994
4995 * gnu-nat.c (_initialize_gnu_nat): Declare.
4996
94123b4f
YQ
49972014-01-07 Yao Qi <yao@codesourcery.com>
4998
4999 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5000 'enum bfd_endian'.
5001 (struct gdbarch_info) <byte_order>: Change type to
5002 'enum bfd_endian'.
5003 <byte_order_for_code>: Likewise.
5004 * gdbarch.c, gdbarch.h: Regenerated.
5005
dc81d70a
TT
50062014-01-06 Sasha Smundak <asmundak@google.com>
5007
5008 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5009
cc2f3c35
TT
50102014-01-06 Tom Tromey <tromey@redhat.com>
5011
5012 * doublest.c (convert_doublest_to_floatformat): Use const, not
5013 CONST.
5014 * somread.c (som_symtab_read): Likewise.
5015
adcf2eed
HZ
50162014-01-07 Hui Zhu <hui@codesourcery.com>
5017
5018 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5019 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5020 (gdb_bfd_fopen): Ditto.
5021 (gdb_bfd_openr): Ditto.
5022 (gdb_bfd_openw): Ditto.
5023 (gdb_bfd_openr_iovec): Ditto.
5024 (gdb_bfd_fdopenr): Ditto.
5025 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5026 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5027 with xstrdup.
5028 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5029 with xstrdup.
5030 * symfile-mem.c (symbol_file_add_from_memory): Removed
5031 gdb_bfd_stash_filename.
5032
50722198
DE
50332014-01-03 Doug Evans <dje@google.com>
5034
5035 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5036 output.
5037
2fa4b862
JB
50382014-01-01 Joel Brobecker <brobecker@adacore.com>
5039
5040 Update year range in copyright notice of all files.
5041
28498c42
JB
50422014-01-01 Joel Brobecker <brobecker@adacore.com>
5043
5044 * top.c (print_gdb_version): Set copyright year to 2014.
5045
7b6e1046
JB
50462014-01-01 Joel Brobecker <brobecker@adacore.com>
5047
5048 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5049
df96af55 5050For older changes see ChangeLog-2013.
c906108c
SS
5051\f
5052Local Variables:
5053mode: change-log
5054left-margin: 8
5055fill-column: 74
5056version-control: never
57da7796 5057coding: utf-8
c906108c 5058End: