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