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