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