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