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