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