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