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