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