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