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