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