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