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