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