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