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