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