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