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