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