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