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