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