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