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