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