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