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