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