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