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