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