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