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