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