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