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