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