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