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