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