convert to_download_trace_state_variable
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
94eb98b9
TT
12014-02-19 Tom Tromey <tromey@redhat.com>
2
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
5 to_download_trace_state_variable.
6 * target.h (struct target_ops) <to_download_trace_state_variable>:
7 Use TARGET_DEFAULT_NORETURN.
8
719acc4a
TT
92014-02-19 Tom Tromey <tromey@redhat.com>
10
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
13 to_can_download_tracepoint.
14 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
15 TARGET_DEFAULT_RETURN.
16
9a980a22
TT
172014-02-19 Tom Tromey <tromey@redhat.com>
18
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
21 to_download_tracepoint.
22 * target.h (struct target_ops) <to_download_tracepoint>: Use
23 TARGET_DEFAULT_NORETURN.
24
5536135b
TT
252014-02-19 Tom Tromey <tromey@redhat.com>
26
27 * target-delegates.c: Rebuild.
28 * target.c (update_current_target): Don't inherit or default
29 to_trace_init.
30 * target.h (struct target_ops) <to_trace_init>: Use
31 TARGET_DEFAULT_RETURN.
32
9409d39e
TT
332014-02-19 Tom Tromey <tromey@redhat.com>
34
35 * target-delegates.c: Rebuild.
36 * target.c (update_current_target): Don't inherit or default
37 to_supports_string_tracing.
38 * target.h (struct target_ops) <to_supports_string_tracing>: Use
39 TARGET_DEFAULT_RETURN.
40
aab1b22d
TT
412014-02-19 Tom Tromey <tromey@redhat.com>
42
43 * target-delegates.c: Rebuild.
44 * target.c (update_current_target): Don't inherit or default
45 to_supports_enable_disable_tracepoint.
46 * target.h (struct target_ops)
47 <to_supports_enable_disable_tracepoint>: Use
48 TARGET_DEFAULT_RETURN.
49
a7304748
TT
502014-02-19 Tom Tromey <tromey@redhat.com>
51
52 * target-delegates.c: Rebuild.
53 * target.c (update_current_target): Don't inherit or default
54 to_supports_multi_process.
55 * target.h (struct target_ops) <to_supports_multi_process>: Use
56 TARGET_DEFAULT_RETURN.
57
4229b31d
TT
582014-02-19 Tom Tromey <tromey@redhat.com>
59
60 * target-delegates.c: Rebuild.
61 * target.c (update_current_target): Don't inherit or default
62 to_get_ada_task_ptid.
63 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
64 TARGET_DEFAULT_FUNC.
65
43eba180
TT
662014-02-19 Tom Tromey <tromey@redhat.com>
67
68 * target-delegates.c: Rebuild.
69 * target.c (update_current_target): Don't inherit or default
70 to_thread_architecture.
71 * target.h (struct target_ops) <to_thread_architecture>: Use
72 TARGET_DEFAULT_FUNC.
73
fe31bf5b
TT
742014-02-19 Tom Tromey <tromey@redhat.com>
75
76 * target-delegates.c: Rebuild.
77 * target.c (update_current_target): Don't inherit or default
78 to_execution_direction.
79 * target.h (struct target_ops) <to_execution_direction>: Use
80 TARGET_DEFAULT_FUNC.
81
53e1cfc7
TT
822014-02-19 Tom Tromey <tromey@redhat.com>
83
84 * target-delegates.c: Rebuild.
85 * target.c (update_current_target): Don't inherit or default
86 to_can_execute_reverse.
87 * target.h (struct target_ops) <to_can_execute_reverse>: Use
88 TARGET_DEFAULT_RETURN.
89 (target_can_execute_reverse): Unconditionally delegate.
90
9bb9d61d
TT
912014-02-19 Tom Tromey <tromey@redhat.com>
92
93 * target-delegates.c: Rebuild.
94 * target.c (update_current_target): Don't inherit or default
95 to_goto_bookmark.
96 (dummy_goto_bookmark): Remove.
97 (init_dummy_target): Don't inherit or default to_goto_bookmark.
98 * target.h (struct target_ops) <to_goto_bookmark>: Use
99 TARGET_DEFAULT_NORETURN.
100
3dbafbbb
TT
1012014-02-19 Tom Tromey <tromey@redhat.com>
102
103 * target-delegates.c: Rebuild.
104 * target.c (update_current_target): Don't inherit or default
105 to_get_bookmark.
106 (dummy_get_bookmark): Remove.
107 (init_dummy_target): Don't inherit or default to_get_bookmark.
108 * target.h (struct target_ops) <to_get_bookmark>: Use
109 TARGET_DEFAULT_NORETURN
110
16f796b1
TT
1112014-02-19 Tom Tromey <tromey@redhat.com>
112
113 * target-delegates.c: Rebuild.
114 * target.c (update_current_target): Don't inherit or default
115 to_make_corefile_notes.
116 (init_dummy_target): Don't initialize to_make_corefile_notes.
117 * target.h (struct target_ops) <to_make_corefile_notes>: Use
118 TARGET_DEFAULT_FUNC.
119
0b5a2719
TT
1202014-02-19 Tom Tromey <tromey@redhat.com>
121
122 * target-delegates.c: Rebuild.
123 * target.c (update_current_target): Don't inherit or default
124 to_find_memory_regions.
125 (init_dummy_target): Don't initialize to_find_memory_regions.
126 * target.h (struct target_ops) <to_find_memory_regions>: Use
127 TARGET_DEFAULT_FUNC.
128
d9cb0195
TT
1292014-02-19 Tom Tromey <tromey@redhat.com>
130
131 * target-delegates.c: Rebuild.
132 * target.c (update_current_target): Don't inherit or default
133 to_log_command.
134 * target.h (struct target_ops) <to_log_command>: Use
135 TARGET_DEFAULT_IGNORE.
136 (target_log_command): Unconditionally delegate.
137
830ca330
TT
1382014-02-19 Tom Tromey <tromey@redhat.com>
139
140 * target-delegates.c: Rebuild.
141 * target.c (update_current_target): Don't inherit or default
142 to_pid_to_exec_file.
143 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
144 TARGET_DEFAULT_RETURN.
145
825828fc
TT
1462014-02-19 Tom Tromey <tromey@redhat.com>
147
148 * target-delegates.c: Rebuild.
149 * target.c (update_current_target): Don't inherit or default
150 to_thread_name.
151 (target_thread_name): Unconditionally delegate.
152 * target.h (struct target_ops) <to_thread_name>: Use
153 TARGET_DEFAULT_RETURN.
154
4a7e6dda
TT
1552014-02-19 Tom Tromey <tromey@redhat.com>
156
157 * target-delegates.c: Rebuild.
158 * target.c (update_current_target): Don't inherit or default
159 to_extra_thread_info.
160 * target.h (struct target_ops) <to_extra_thread_info>: Use
161 TARGET_DEFAULT_RETURN.
162
0db88c1d
TT
1632014-02-19 Tom Tromey <tromey@redhat.com>
164
165 * target-delegates.c: Rebuild.
166 * target.c (update_current_target): Don't inherit or default
167 to_has_exited.
168 * target.h (struct target_ops) <to_has_exited>: Use
169 TARGET_DEFAULT_RETURN..
170
6a9fa051
TT
1712014-02-19 Tom Tromey <tromey@redhat.com>
172
173 * target-delegates.c: Rebuild.
174 * target.c (update_current_target): Don't inherit or default
175 to_set_syscall_catchpoint.
176 (return_one): Remove.
177 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
178 TARGET_DEFAULT_RETURN.
179
62f64d7a
TT
1802014-02-19 Tom Tromey <tromey@redhat.com>
181
182 * target-delegates.c: Rebuild.
183 * target.c (update_current_target): Don't inherit or default
184 to_insert_exec_catchpoint.
185 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
186 TARGET_DEFAULT_RETURN.
187
cda0f38c
TT
1882014-01-08 Tom Tromey <tromey@redhat.com>
189
190 * target-delegates.c: Rebuild.
191 * target.c (update_current_target): Don't inherit or default
192 to_insert_exec_catchpoint.
193 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
194 TARGET_DEFAULT_RETURN.
195
95c3375e
TT
1962014-02-19 Tom Tromey <tromey@redhat.com>
197
198 * target-delegates.c: Rebuild.
199 * target.c (update_current_target): Don't inherit or default
200 to_remove_vfork_catchpoint.
201 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
202 TARGET_DEFAULT_RETURN.
203
7e18a8dc
TT
2042014-02-19 Tom Tromey <tromey@redhat.com>
205
206 * target-delegates.c: Rebuild.
207 * target.c (update_current_target): Don't inherit or default
208 to_insert_vfork_catchpoint.
209 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
210 TARGET_DEFAULT_RETURN.
211
e1a21fb7
TT
2122014-02-19 Tom Tromey <tromey@redhat.com>
213
214 * target-delegates.c: Rebuild.
215 * target.c (update_current_target): Don't inherit or default
216 to_remove_fork_catchpoint.
217 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
218 TARGET_DEFAULT_RETURN.
219
5958ebeb
TT
2202014-02-19 Tom Tromey <tromey@redhat.com>
221
222 * target-delegates.c: Rebuild.
223 * target.c (update_current_target): Don't inherit or default
224 to_insert_fork_catchpoint.
225 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
226 TARGET_DEFAULT_RETURN.
227
340ba4bf
TT
2282014-02-19 Tom Tromey <tromey@redhat.com>
229
230 * target-delegates.c: Rebuild.
231 * target.c (update_current_target): Don't inherit or default
232 to_post_startup_inferior.
233 * target.h (struct target_ops) <to_post_startup_inferior>: Use
234 TARGET_DEFAULT_IGNORE.
235
7634da87
TT
2362014-02-19 Tom Tromey <tromey@redhat.com>
237
238 * target-delegates.c: Rebuild.
239 * target.c (update_current_target): Don't inherit or default
240 to_load.
241 * target.h (struct target_ops) <to_load>: Use
242 TARGET_DEFAULT_NORETURN.
243
e19e919f
TT
2442014-02-19 Tom Tromey <tromey@redhat.com>
245
246 * target-delegates.c: Rebuild.
247 * target.c (update_current_target): Don't inherit or default
248 to_terminal_info.
249 * target.h (struct target_ops) <to_terminal_info>: Use
250 TARGET_DEFAULT_FUNC.
251
c6ea8f79
TT
2522014-02-19 Tom Tromey <tromey@redhat.com>
253
254 * target-delegates.c: Rebuild.
255 * target.c (update_current_target): Don't inherit or default
256 to_terminal_save_ours.
257 * target.h (struct target_ops) <to_terminal_save_ours>: Use
258 TARGET_DEFAULT_IGNORE.
259
e4a733f1
TT
2602014-02-19 Tom Tromey <tromey@redhat.com>
261
262 * target-delegates.c: Rebuild.
263 * target.c (update_current_target): Don't inherit or default
264 to_terminal_ours.
265 * target.h (struct target_ops) <to_terminal_ours>: Use
266 TARGET_DEFAULT_IGNORE.
267
74fcbef9
TT
2682014-02-19 Tom Tromey <tromey@redhat.com>
269
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
272 to_terminal_ours_for_output.
273 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
274 TARGET_DEFAULT_IGNORE.
275
ddeaacc9
TT
2762014-02-19 Tom Tromey <tromey@redhat.com>
277
278 * target-delegates.c: Rebuild.
279 * target.c (update_current_target): Don't inherit or default
280 to_terminal_inferior.
281 * target.h (struct target_ops) <to_terminal_inferior>: Use
282 TARGET_DEFAULT_IGNORE.
283
0343661d
TT
2842014-02-19 Tom Tromey <tromey@redhat.com>
285
286 * target-delegates.c: Rebuild.
287 * target.c (update_current_target): Don't inherit or default
288 to_terminal_init.
289 * target.h (struct target_ops) <to_terminal_init>: Use
290 TARGET_DEFAULT_IGNORE.
291
77cdffe9
TT
2922014-02-19 Tom Tromey <tromey@redhat.com>
293
294 * target-delegates.c: Rebuild.
295 * target.c (update_current_target): Don't inherit or default
296 to_can_accel_watchpoint_condition.
297 * target.h (struct target_ops)
298 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
299
d03655e4
TT
3002014-02-19 Tom Tromey <tromey@redhat.com>
301
302 * target-delegates.c: Rebuild.
303 * target.c (update_current_target): Don't inherit or default
304 to_region_ok_for_hw_watchpoint.
305 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
306 Use TARGET_DEFAULT_FUNC.
307
65f160a9
TT
3082014-02-19 Tom Tromey <tromey@redhat.com>
309
310 * target-delegates.c: Rebuild.
311 * target.c (update_current_target): Don't inherit or default
312 to_watchpoint_addr_within_range.
313 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
314 Use TARGET_DEFAULT_FUNC.
315
61dd109f
TT
3162014-02-19 Tom Tromey <tromey@redhat.com>
317
318 * target-delegates.c: Rebuild.
319 * target.c (update_current_target): Don't inherit or default
320 to_remove_watchpoint.
321 * target.h (struct target_ops) <to_remove_watchpoint>: Use
322 TARGET_DEFAULT_NORETURN.
323
016facd4
TT
3242014-02-19 Tom Tromey <tromey@redhat.com>
325
326 * target-delegates.c: Rebuild.
327 * target.c (update_current_target): Don't inherit or default
328 to_insert_watchpoint.
329 * target.h (struct target_ops) <to_insert_watchpoint>: Use
330 TARGET_DEFAULT_RETURN.
331
418dabac
TT
3322014-02-19 Tom Tromey <tromey@redhat.com>
333
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
336 to_remove_hw_breakpoint.
337 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
338 TARGET_DEFAULT_RETURN.
339
61b371f9
TT
3402014-02-19 Tom Tromey <tromey@redhat.com>
341
342 * target-delegates.c: Rebuild.
343 * target.c (update_current_target): Don't inherit or default
344 to_insert_hw_breakpoint.
345 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
346 TARGET_DEFAULT_RETURN.
347
52b51d06
TT
3482014-02-19 Tom Tromey <tromey@redhat.com>
349
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
352 to_can_use_hw_breakpoint.
353 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
354 TARGET_DEFAULT_RETURN.
355
f86e59b2
TT
3562014-02-19 Tom Tromey <tromey@redhat.com>
357
358 * target-delegates.c: Rebuild.
359 * target.c (update_current_target): Don't inherit or default
360 to_files_info.
361 * target.h (struct target_ops) <to_files_info>: Use
362 TARGET_DEFAULT_IGNORE.
363
6c628163
TT
3642014-02-19 Tom Tromey <tromey@redhat.com>
365
366 * target-delegates.c: Rebuild.
367 * target.c (update_current_target): Don't inherit or default
368 to_store.
369 * target.h (struct target_ops) <to_store>: Use
370 TARGET_DEFAULT_NORETURN.
371
bebd3233
TT
3722014-02-19 Tom Tromey <tromey@redhat.com>
373
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
376 to_post_attach.
377 * target.h (struct target_ops) <to_post_attach>: Use
378 TARGET_DEFAULT_IGNORE.
379
a53f3625
TT
3802014-02-19 Tom Tromey <tromey@redhat.com>
381
382 * target-delegates.c: Rebuild.
383 * target.c (update_current_target): Don't inherit or default
384 to_rcmd.
385 (default_rcmd): New function.
386 (do_monitor_command): Unconditionally delegate.
387 * target.h (struct target_ops) <to_rmcd>: Use
388 TARGET_DEFAULT_FUNC.
389
e9a29200
TT
3902014-02-19 Tom Tromey <tromey@redhat.com>
391
392 * target-delegates.c: Rebuild.
393 * target.c (init_dummy_target): Don't initialize to_attach.
394 (target_attach): Unconditionally delegate.
395 * target.h (struct target_ops) <to_attach>: Use
396 TARGET_DEFAULT_FUNC.
397
09da0d0a
TT
3982014-02-19 Tom Tromey <tromey@redhat.com>
399
400 * target-delegates.c: Rebuild.
401 * target.c (target_detach): Unconditionally delegate.
402 (init_dummy_target): Don't initialize to_detach.
403 * target.h (struct target_ops) <to_detach>: Use
404 TARGET_DEFAULT_IGNORE.
405
5436ff03
TT
4062014-02-19 Tom Tromey <tromey@redhat.com>
407
408 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
409 Add argument.
410 (target_augmented_libraries_svr4_read): Add argument.
411 * target.c (update_current_target): Update.
412 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
413 argument.
414
f0d960ea
TT
4152014-02-19 Tom Tromey <tromey@redhat.com>
416
417 * target.h (struct target_ops) <to_call_history_range>: Add
418 argument.
419 * target.c (target_call_history_range): Add argument.
420 * record-btrace.c (record_btrace_call_history_range): Add 'self'
421 argument.
422 (record_btrace_call_history_from): Update.
423
ec0aea04
TT
4242014-02-19 Tom Tromey <tromey@redhat.com>
425
426 * target.h (struct target_ops) <to_call_history_from>: Add
427 argument.
428 * target.c (target_call_history_from): Add argument.
429 * record-btrace.c (record_btrace_call_history_from): Add 'self'
430 argument.
431
5df2fcba
TT
4322014-02-19 Tom Tromey <tromey@redhat.com>
433
434 * target.h (struct target_ops) <to_call_history>: Add argument.
435 * target.c (target_call_history): Add argument.
436 * record-btrace.c (record_btrace_call_history): Add 'self'
437 argument.
438
4e99c6b7
TT
4392014-02-19 Tom Tromey <tromey@redhat.com>
440
441 * target.h (struct target_ops) <to_insn_history_range>: Add
442 argument.
443 * target.c (target_insn_history_range): Add argument.
444 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
445 argument.
446 (record_btrace_insn_history_from): Update.
447
9abc3ff3
TT
4482014-02-19 Tom Tromey <tromey@redhat.com>
449
450 * target.h (struct target_ops) <to_insn_history_from>: Add
451 argument.
452 * target.c (target_insn_history_from): Add argument.
453 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
454 argument.
455
7a6c5609
TT
4562014-02-19 Tom Tromey <tromey@redhat.com>
457
458 * target.h (struct target_ops) <to_insn_history>: Add argument.
459 * target.c (target_insn_history): Add argument.
460 * record-btrace.c (record_btrace_insn_history): Add 'self'
461 argument.
462
606183ac
TT
4632014-02-19 Tom Tromey <tromey@redhat.com>
464
465 * target.h (struct target_ops) <to_goto_record>: Add argument.
466 * target.c (target_goto_record): Add argument.
467 * record-full.c (record_full_goto): Add 'self' argument.
468 * record-btrace.c (record_btrace_goto): Add 'self' argument.
469
307a1b91
TT
4702014-02-19 Tom Tromey <tromey@redhat.com>
471
472 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
473 * target.c (target_goto_record_end): Add argument.
474 * record-full.c (record_full_goto_end): Add 'self' argument.
475 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
476
08475817
TT
4772014-02-19 Tom Tromey <tromey@redhat.com>
478
479 * target.h (struct target_ops) <to_goto_record_begin>: Add
480 argument.
481 * target.c (target_goto_record_begin): Add argument.
482 * record-full.c (record_full_goto_begin): Add 'self' argument.
483 * record-btrace.c (record_btrace_goto_begin): Add 'self'
484 argument.
485
1c63c994
TT
4862014-02-19 Tom Tromey <tromey@redhat.com>
487
488 * target.h (struct target_ops) <to_record_is_replaying>: Add
489 argument.
490 * target.c (target_record_is_replaying): Add argument.
491 * record-full.c (record_full_is_replaying): Add 'self' argument.
492 * record-btrace.c (record_btrace_is_replaying): Add 'self'
493 argument.
494 (record_btrace_xfer_partial, record_btrace_store_registers)
495 (record_btrace_prepare_to_store, record_btrace_resume)
496 (record_btrace_wait, record_btrace_decr_pc_after_break)
497 (record_btrace_find_new_threads, record_btrace_thread_alive):
498 Update.
499
d1b55219
TT
5002014-02-19 Tom Tromey <tromey@redhat.com>
501
502 * target.h (struct target_ops) <to_delete_record>: Add argument.
503 * target.c (target_delete_record): Add argument.
504 * record-full.c (record_full_delete): Add 'self' argument.
505
1390f529
TT
5062014-02-19 Tom Tromey <tromey@redhat.com>
507
508 * target.h (struct target_ops) <to_save_record>: Add argument.
509 * target.c (target_save_record): Add argument.
510 * record-full.c (record_full_save): Add 'self' argument.
511 (record_full_save): Add 'self' argument.
512
630d6a4a
TT
5132014-02-19 Tom Tromey <tromey@redhat.com>
514
515 * target.h (struct target_ops) <to_info_record>: Add argument.
516 * target.c (target_info_record): Add argument.
517 * record.c (info_record_command): Add argument.
518 * record-full.c (record_full_info): Add 'self' argument.
519 * record-btrace.c (record_btrace_info): Add 'self' argument.
520
c6cd7c02
TT
5212014-02-19 Tom Tromey <tromey@redhat.com>
522
523 * target.h (struct target_ops) <to_stop_recording>: Add argument.
524 * target.c (target_stop_recording): Add argument.
525 * record.c (record_stop): Add argument.
526 * record-btrace.c (record_btrace_stop_recording): Add 'self'
527 argument.
528
39c49f83
TT
5292014-02-19 Tom Tromey <tromey@redhat.com>
530
531 * target.h (struct target_ops) <to_read_btrace>: Add argument.
532 * target.c (struct target_ops) <to_read_btrace>: Add argument.
533 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
534 argument.
535 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
536 (_initialize_amd64_linux_nat): Use it.
537 * i386-linux-nat.c (i386_linux_read_btrace): New function.
538 (_initialize_i386_linux_nat): Use it.
539
1777056d
TT
5402014-02-19 Tom Tromey <tromey@redhat.com>
541
542 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
543 * target.c (target_teardown_btrace): Add argument.
544 * remote.c (remote_teardown_btrace): Add 'self' argument.
545 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
546 argument.
547 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
548 argument.
549
25e95349
TT
5502014-02-19 Tom Tromey <tromey@redhat.com>
551
552 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
553 * target.c (target_disable_btrace): Add argument.
554 * remote.c (remote_disable_btrace): Add 'self' argument.
555 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
556 argument.
557 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
558 argument.
559
e3c49f88
TT
5602014-02-19 Tom Tromey <tromey@redhat.com>
561
562 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
563 * target.c (target_enable_btrace): Add argument.
564 * remote.c (remote_enable_btrace): Add 'self' argument.
565 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
566 argument.
567 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
568 argument.
569
fe38f897
TT
5702014-02-19 Tom Tromey <tromey@redhat.com>
571
572 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
573 (target_can_use_agent): Add argument.
574 * target.c (update_current_target): Update.
575 * remote.c (remote_can_use_agent): Add 'self' argument.
576 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
577
2c152180
TT
5782014-02-19 Tom Tromey <tromey@redhat.com>
579
580 * target.h (struct target_ops) <to_use_agent>: Add argument.
581 (target_use_agent): Add argument.
582 * target.c (update_current_target): Update.
583 * remote.c (remote_use_agent): Add 'self' argument.
584 * inf-child.c (inf_child_use_agent): Add 'self' argument.
585
a893e81f
TT
5862014-02-19 Tom Tromey <tromey@redhat.com>
587
588 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
589 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
590 (target_traceframe_info): Add argument.
591 * target.c (update_current_target): Update.
592 * remote.c (remote_traceframe_info): Add 'self' argument.
593 * ctf.c (ctf_traceframe_info): Add 'self' argument.
594
c686c57f
TT
5952014-02-19 Tom Tromey <tromey@redhat.com>
596
597 * target.h (target_static_tracepoint_markers_by_strid): Add
598 argument.
599 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
600 'self' argument.
601 * target.c (update_current_target): Update.
602 * remote.c (struct target_ops)
603 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
604 * linux-nat.c (struct target_ops)
605 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
606
61fc905d
TT
6072014-02-19 Tom Tromey <tromey@redhat.com>
608
609 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
610 Add argument.
611 (target_static_tracepoint_marker_at): Add argument.
612 * target.c (update_current_target): Update.
613 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
614 argument.
615
c378d69d
TT
6162014-02-19 Tom Tromey <tromey@redhat.com>
617
618 * target.h (struct target_ops) <to_set_permissions>: Add argument.
619 (target_set_permissions): Add argument.
620 * target.c (update_current_target): Update.
621 * remote.c (remote_set_permissions): Add 'self' argument.
622 (remote_start_remote): Update.
623
bd7ae0f5
TT
6242014-02-19 Tom Tromey <tromey@redhat.com>
625
626 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
627 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
628 (target_get_tib_address): Add argument.
629 * target.c (update_current_target): Update.
630 * remote.c (remote_get_tib_address): Add 'self' argument.
631
d9e68a2c
TT
6322014-02-19 Tom Tromey <tromey@redhat.com>
633
634 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
635 (target_set_trace_notes): Add argument.
636 * target.c (update_current_target): Update.
637 * remote.c (remote_set_trace_notes): Add 'self' argument.
638
4da384be
TT
6392014-02-19 Tom Tromey <tromey@redhat.com>
640
641 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
642 argument.
643 (target_set_trace_buffer_size): Add argument.
644 * target.c (update_current_target): Update.
645 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
646
736d5b1f
TT
6472014-02-19 Tom Tromey <tromey@redhat.com>
648
649 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
650 argument.
651 (target_set_circular_trace_buffer): Add argument.
652 * target.c (update_current_target): Update.
653 * remote.c (remote_set_circular_trace_buffer): Add 'self'
654 argument.
655
37b25738
TT
6562014-02-19 Tom Tromey <tromey@redhat.com>
657
658 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
659 argument.
660 (target_set_disconnected_tracing): Add argument.
661 * target.c (update_current_target): Update.
662 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
663
0e67620a
TT
6642014-02-19 Tom Tromey <tromey@redhat.com>
665
666 * target.h (struct target_ops)
667 <to_get_min_fast_tracepoint_insn_len>: Add argument.
668 (target_get_min_fast_tracepoint_insn_len): Add argument.
669 * target.c (update_current_target): Update.
670 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
671 argument.
672
88ee6f45
TT
6732014-02-19 Tom Tromey <tromey@redhat.com>
674
675 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
676 argument.
677 (target_get_raw_trace_data): Add argument.
678 * target.c (update_current_target): Update.
679 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
680
181e3713
TT
6812014-02-19 Tom Tromey <tromey@redhat.com>
682
683 * target.h (struct target_ops) <to_upload_trace_state_variables>:
684 Add argument.
685 (target_upload_trace_state_variables): Add argument.
686 * target.c (update_current_target): Update.
687 * remote.c (remote_upload_trace_state_variables): Add 'self'
688 argument.
689 (remote_start_remote): Update.
690
ab6617cc
TT
6912014-02-19 Tom Tromey <tromey@redhat.com>
692
693 * target.h (struct target_ops) <to_upload_tracepoints>: Add
694 argument.
695 (target_upload_tracepoints): Add argument.
696 * target.c (update_current_target): Update.
697 * remote.c (remote_upload_tracepoints): Add 'self' argument.
698 (remote_start_remote): Update.
699
dc3decaf
TT
7002014-02-19 Tom Tromey <tromey@redhat.com>
701
702 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
703 (target_save_trace_data): Add argument.
704 * target.c (update_current_target): Update.
705 * remote.c (remote_save_trace_data): Add 'self' argument.
706
4011015b
TT
7072014-02-19 Tom Tromey <tromey@redhat.com>
708
709 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
710 argument.
711 * target.h (struct target_ops)
712 <to_get_trace_state_variable_value>: Add argument.
713 (target_get_trace_state_variable_value): Add argument.
714 * target.c (update_current_target): Update.
715 * remote.c (remote_get_trace_state_variable_value): Add 'self'
716 argument.
717 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
718
bd4c6793
TT
7192014-02-19 Tom Tromey <tromey@redhat.com>
720
721 * tracepoint.c (tfile_trace_find): Add 'self' argument.
722 * target.h (struct target_ops) <to_trace_find>: Add argument.
723 (target_trace_find): Add argument.
724 * target.c (update_current_target): Update.
725 * remote.c (remote_trace_find): Add 'self' argument.
726 * ctf.c (ctf_trace_find): Add 'self' argument.
727
74499f1b
TT
7282014-02-19 Tom Tromey <tromey@redhat.com>
729
730 * target.h (struct target_ops) <to_trace_stop>: Add argument.
731 (target_trace_stop): Add argument.
732 * target.c (update_current_target): Update.
733 * remote.c (remote_trace_stop): Add 'self' argument.
734
db90e85c
TT
7352014-02-19 Tom Tromey <tromey@redhat.com>
736
737 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
738 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
739 argument.
740 (target_get_tracepoint_status): Add argument.
741 * target.c (update_current_target): Update.
742 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
743
8bd200f1
TT
7442014-02-19 Tom Tromey <tromey@redhat.com>
745
746 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
747 * target.h (struct target_ops) <to_get_trace_status>: Add
748 argument.
749 (target_get_trace_status): Add argument.
750 * target.c (update_current_target): Update.
751 * remote.c (remote_get_trace_status): Add 'self' argument.
752 (remote_start_remote, remote_can_download_tracepoint): Update.
753 * ctf.c (ctf_get_trace_status): Add 'self' argument.
754
e2d1aae3
TT
7552014-02-19 Tom Tromey <tromey@redhat.com>
756
757 * target.h (struct target_ops) <to_trace_start>: Add argument.
758 (target_trace_start): Add argument.
759 * target.c (update_current_target): Update.
760 * remote.c (remote_trace_start): Add 'self' argument.
761
583f9a86
TT
7622014-02-19 Tom Tromey <tromey@redhat.com>
763
764 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
765 Add argument.
766 (target_trace_set_readonly_regions): Add argument.
767 * target.c (update_current_target): Update.
768 * remote.c (remote_trace_set_readonly_regions): Add 'self'
769 argument.
770
780b049c
TT
7712014-02-19 Tom Tromey <tromey@redhat.com>
772
773 * target.h (struct target_ops) <to_disable_tracepoint>: Add
774 argument.
775 (target_disable_tracepoint): Add argument.
776 * target.c (update_current_target): Update.
777 * remote.c (remote_disable_tracepoint): Add 'self' argument.
778
46670d57
TT
7792014-02-19 Tom Tromey <tromey@redhat.com>
780
781 * target.h (struct target_ops) <to_enable_tracepoint>: Add
782 argument.
783 (target_enable_tracepoint): Add argument.
784 * target.c (update_current_target): Update.
785 * remote.c (remote_enable_tracepoint): Add 'self' argument.
786
559d2b81
TT
7872014-02-19 Tom Tromey <tromey@redhat.com>
788
789 * target.h (struct target_ops) <to_download_trace_state_variable>:
790 Add argument.
791 (target_download_trace_state_variable): Add argument.
792 * target.c (update_current_target): Update.
793 * remote.c (remote_download_trace_state_variable): Add 'self'
794 argument.
795
a52a8357
TT
7962014-02-19 Tom Tromey <tromey@redhat.com>
797
798 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
799 argument.
800 (target_can_download_tracepoint): Add argument.
801 * target.c (update_current_target): Update.
802 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
803
548f7808
TT
8042014-02-19 Tom Tromey <tromey@redhat.com>
805
806 * target.h (struct target_ops) <to_download_tracepoint>: Add
807 argument.
808 (target_download_tracepoint): Add argument.
809 * target.c (update_current_target): Update.
810 * remote.c (remote_download_tracepoint): Add 'self' argument.
811
ecae04e1
TT
8122014-02-19 Tom Tromey <tromey@redhat.com>
813
814 * target.h (struct target_ops) <to_trace_init>: Add argument.
815 (target_trace_init): Add argument.
816 * target.c (update_current_target): Update.
817 * remote.c (remote_trace_init): Add 'self' argument.
818
fab5aa7c
TT
8192014-02-19 Tom Tromey <tromey@redhat.com>
820
821 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
822 * target.c (target_fileio_readlink): Add argument.
823 * remote.c (remote_hostio_readlink): Add 'self' argument.
824 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
825
dbbca37d
TT
8262014-02-19 Tom Tromey <tromey@redhat.com>
827
828 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
829 * target.c (target_fileio_unlink): Add argument.
830 * remote.c (remote_hostio_unlink): Add 'self' argument.
831 (remote_file_delete): Update.
832 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
833
df39ea25
TT
8342014-02-19 Tom Tromey <tromey@redhat.com>
835
836 * target.h (struct target_ops) <to_fileio_close>: Add argument.
837 * target.c (target_fileio_close): Add argument.
838 * remote.c (remote_hostio_close): Add 'self' argument.
839 (remote_hostio_close_cleanup): Update.
840 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
841 Update.
842 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
843
a3be983c
TT
8442014-02-19 Tom Tromey <tromey@redhat.com>
845
846 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
847 * target.c (target_fileio_pread): Add argument.
848 * remote.c (remote_hostio_pread): Add 'self' argument.
849 (remote_bfd_iovec_pread, remote_file_get): Update.
850 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
851
0d866f62
TT
8522014-02-19 Tom Tromey <tromey@redhat.com>
853
854 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
855 * target.c (target_fileio_pwrite): Add argument.
856 * remote.c (remote_hostio_pwrite): Add 'self' argument.
857 (remote_file_put): Update.
858 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
859
cd897586
TT
8602014-02-19 Tom Tromey <tromey@redhat.com>
861
862 * target.h (struct target_ops) <to_fileio_open>: Add argument.
863 * target.c (target_fileio_open): Add argument.
864 * remote.c (remote_hostio_open): Add 'self' argument.
865 (remote_bfd_iovec_open): Add 'self' argument.
866 (remote_file_put): Add 'self' argument.
867 (remote_file_get): Add 'self' argument.
868 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
869
78eff0ec
TT
8702014-02-19 Tom Tromey <tromey@redhat.com>
871
872 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
873 Add argument.
874 (target_can_run_breakpoint_commands): Add argument.
875 * target.c (update_current_target): Update.
876 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
877 argument.
878 (remote_insert_breakpoint): Add 'self' argument.
879 (remote_insert_hw_breakpoint): Add 'self' argument.
880 (remote_can_run_breakpoint_commands): Add 'self' argument.
881
efcc2da7
TT
8822014-02-19 Tom Tromey <tromey@redhat.com>
883
884 * target.h (struct target_ops)
885 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
886 (target_supports_evaluation_of_breakpoint_conditions): Add
887 argument.
888 * target.c (update_current_target): Update.
889 * remote.c (remote_supports_cond_breakpoints): Add 'self'
890 argument.
891 (remote_insert_breakpoint): Add 'self' argument.
892 (remote_insert_hw_breakpoint): Add 'self' argument.
893 (remote_supports_cond_breakpoints): Add 'self' argument.
894
6de37a3a
TT
8952014-02-19 Tom Tromey <tromey@redhat.com>
896
897 * target.h (struct target_ops) <to_supports_string_tracing>: Add
898 argument.
899 (target_supports_string_tracing): Add argument.
900 * target.c (update_current_target): Update.
901 * remote.c (remote_supports_string_tracing): Add 'self' argument.
902
2bfc0540
TT
9032014-02-19 Tom Tromey <tromey@redhat.com>
904
905 * target.h (struct target_ops)
906 <to_supports_disable_randomization>: Add argument.
907 * target.c (find_default_supports_disable_randomization): Add
908 argument.
909 (target_supports_disable_randomization): Add argument.
910 (find_default_supports_disable_randomization): Add 'self'
911 argument.
912 * remote.c (extended_remote_supports_disable_randomization): Add
913 'self' argument.
914 (remote_supports_disable_randomization): Add 'self' argument.
915 (extended_remote_create_inferior): Update.
916 * linux-nat.c (linux_nat_supports_disable_randomization): Add
917 'self' argument.
918
7d178d6a
TT
9192014-02-19 Tom Tromey <tromey@redhat.com>
920
921 * target.h (struct target_ops)
922 <to_supports_enable_disable_tracepoint>: Add argument.
923 (target_supports_enable_disable_tracepoint): Add argument.
924 * target.c (update_current_target): Update.
925 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
926 argument.
927
86ce2668
TT
9282014-02-19 Tom Tromey <tromey@redhat.com>
929
930 * target.h (struct target_ops) <to_supports_multi_process>: Add
931 argument.
932 (target_supports_multi_process): Add argument.
933 * target.c (update_current_target): Update.
934 * remote.c (remote_supports_multi_process): Add 'self' argument.
935 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
936 argument.
937 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
938 argument.
939
4c612759
TT
9402014-02-19 Tom Tromey <tromey@redhat.com>
941
942 * target.h (struct target_ops) <to_execution_direction>: Add
943 argument.
944 (target_execution_direction): Add argument.
945 * target.c (default_execution_direction): Add 'self' argument.
946 * record-full.c (record_full_execution_direction): Add 'self'
947 argument.
948
19db3e69
TT
9492014-02-19 Tom Tromey <tromey@redhat.com>
950
951 * target.h (struct target_ops) <to_can_execute_reverse>: Add
952 argument.
953 (target_can_execute_reverse): Add argument.
954 * remote.c (remote_can_execute_reverse): Add 'self' argument.
955 * record-full.c (record_full_can_execute_reverse): Add 'self'
956 argument.
957 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
958 argument.
959
1e6b91a4
TT
9602014-02-19 Tom Tromey <tromey@redhat.com>
961
962 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
963 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
964 argument.
965 (target_get_ada_task_ptid): Add argument.
966 * target.c (update_current_target): Update.
967 (default_get_ada_task_ptid): Add 'self' argument.
968 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
969 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
970 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
971 argument.
972 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
973 argument.
974 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
975 argument.
976 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
977 argument.
978 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
979 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
980 argument.
981
3c80fb48
TT
9822014-02-19 Tom Tromey <tromey@redhat.com>
983
984 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
985 (target_goto_bookmark): Add argument.
986 * target.c (dummy_goto_bookmark): Add 'self' argument.
987 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
988
dd0e2830
TT
9892014-02-19 Tom Tromey <tromey@redhat.com>
990
991 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
992 (target_get_bookmark): Add argument.
993 * target.c (dummy_get_bookmark): Add 'self' argument.
994 * record-full.c (record_full_get_bookmark): Add 'self' argument.
995
fc6691b2
TT
9962014-02-19 Tom Tromey <tromey@redhat.com>
997
998 * target.h (struct target_ops) <to_make_corefile_notes>: Add
999 argument.
1000 (target_make_corefile_notes): Add argument.
1001 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1002 * procfs.c (procfs_make_note_section): Add 'self' argument.
1003 (procfs_make_note_section): Add 'self' argument.
1004 (procfs_make_note_section): Add 'self' argument.
1005 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1006 argument.
1007 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1008 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1009 * exec.c (exec_make_note_section): Add 'self' argument.
1010 (exec_make_note_section): Add 'self' argument.
1011
2e73927c
TT
10122014-02-19 Tom Tromey <tromey@redhat.com>
1013
1014 * target.h (struct target_ops) <to_find_memory_regions>: Add
1015 argument.
1016 (target_find_memory_regions): Add argument.
1017 * target.c (dummy_find_memory_regions): Add 'self' argument.
1018 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1019 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1020 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1021 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1022 * exec. (exec_do_find_memory_regions): New global.
1023 (exec_set_find_memory_regions): Rewrite.
1024 (exec_find_memory_regions): New function.
1025 (init_exec_ops): Use exec_find_memory_regions.
1026
2a9a2795
TT
10272014-02-19 Tom Tromey <tromey@redhat.com>
1028
1029 * target.h (struct target_ops) <to_supports_non_stop>: Add
1030 argument.
1031 * target.c (find_default_supports_non_stop): Add argument.
1032 (target_supports_non_stop): Add argument.
1033 (find_default_supports_non_stop): Add 'self' argument.
1034 * remote.c (remote_supports_non_stop): Add 'self' argument.
1035 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1036
4ab76ea3
TT
10372014-02-19 Tom Tromey <tromey@redhat.com>
1038
1039 * target.h (struct target_ops) <to_log_command>: Add argument.
1040 (target_log_command): Add argument.
1041 * serial.h (serial_log_command): Add 'self' argument.
1042 * serial.c (serial_log_command): Add 'self' argument.
1043
8dd27370
TT
10442014-02-19 Tom Tromey <tromey@redhat.com>
1045
1046 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1047 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1048 argument.
1049 (target_pid_to_exec_file): Add argument.
1050 * target.c (debug_to_pid_to_exec_file): Add argument.
1051 (update_current_target): Update.
1052 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1053 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1054 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1055 (linux_handle_extended_wait): Update.
1056 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1057 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1058 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1059 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1060
1aac633b
TT
10612014-02-19 Tom Tromey <tromey@redhat.com>
1062
1063 * target.h (struct target_ops) <to_rcmd>: Add argument.
1064 (target_rcmd): Add argument.
1065 * target.c (debug_to_rcmd): Add argument.
1066 (update_current_target, do_monitor_command): Update.
1067 * remote.c (remote_rcmd): Add 'self' argument.
1068 * monitor.c (monitor_rcmd): Add 'self' argument.
1069
1eab8a48
TT
10702014-02-19 Tom Tromey <tromey@redhat.com>
1071
1072 * windows-nat.c (windows_stop): Add 'self' argument.
1073 * target.h (struct target_ops) <to_stop>: Add argument.
1074 * target.c (target_stop): Add argument.
1075 (debug_to_stop): Add argument.
1076 (update_current_target): Update.
1077 * remote.c (remote_stop): Add 'self' argument.
1078 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1079 (gdbsim_cntrl_c): Update.
1080 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1081 * procfs.c (procfs_stop): Add 'self' argument.
1082 * nto-procfs.c (procfs_stop): Add 'self' argument.
1083 * monitor.c (monitor_stop): Add 'self' argument.
1084 (monitor_open): Update.
1085 * linux-nat.c (linux_nat_stop): Add argument.
1086 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1087 * gnu-nat.c (gnu_stop): Add 'self' argument.
1088 * darwin-nat.c (darwin_stop): Add 'self' argument.
1089
503a628d
TT
10902014-02-19 Tom Tromey <tromey@redhat.com>
1091
1092 * target.h (struct target_ops) <to_thread_name>: Add argument.
1093 * target.c (target_thread_name): Add argument.
1094 (update_current_target): Update.
1095 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1096
c15906d8
TT
10972014-02-19 Tom Tromey <tromey@redhat.com>
1098
1099 * target.h (struct target_ops) <to_extra_thread_info>: Add
1100 argument.
1101 (target_extra_thread_info): Add argument.
1102 * target.c (update_current_target): Update.
1103 * remote.c (remote_threads_extra_info): Add 'self' argument.
1104 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1105 argument.
1106 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1107 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1108 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1109 argument.
1110 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1111 argument.
1112 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1113 argument.
1114 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1115 argument.
1116
daf5e9b6
TT
11172014-02-19 Tom Tromey <tromey@redhat.com>
1118
1119 * target.h (struct target_ops) <to_program_signals>: Add argument.
1120 * target.c (target_program_signals): Add argument.
1121 * remote.c (remote_program_signals): Add 'self' argument.
1122
94bedb42
TT
11232014-02-19 Tom Tromey <tromey@redhat.com>
1124
1125 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1126 * target.c (target_pass_signals): Add argument.
1127 * remote.c (remote_pass_signals): Add 'self' argument.
1128 (remote_start_remote): Update.
1129 * procfs.c (procfs_pass_signals): Add 'self' argument.
1130 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1131 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1132 (linux_nat_create_inferior, linux_nat_attach): Update.
1133
da82bd6b
TT
11342014-02-19 Tom Tromey <tromey@redhat.com>
1135
1136 * windows-nat.c (windows_can_run): Add 'self' argument.
1137 * target.h (struct target_ops) <to_can_run>: Add argument.
1138 (target_can_run): Add argument.
1139 * target.c (debug_to_can_run): Add argument.
1140 (update_current_target): Update.
1141 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1142 * inf-child.c (inf_child_can_run): Add 'self' argument.
1143 * go32-nat.c (go32_can_run): Add 'self' argument.
1144
d796e1d6
TT
11452014-02-19 Tom Tromey <tromey@redhat.com>
1146
1147 * target.h (struct target_ops) <to_has_exited>: Add argument.
1148 (target_has_exited): Add argument.
1149 * target.c (debug_to_has_exited): Add argument.
1150 (update_current_target): Update.
1151
ff214e67
TT
11522014-02-19 Tom Tromey <tromey@redhat.com>
1153
1154 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1155 argument.
1156 (target_set_syscall_catchpoint): Add argument.
1157 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1158 argument.
1159 * target.c (update_current_target): Update.
1160
758e29d2
TT
11612014-02-19 Tom Tromey <tromey@redhat.com>
1162
1163 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1164 argument.
1165 (target_remove_exec_catchpoint): Add argument.
1166 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1167 (update_current_target): Update.
1168 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1169 argument.
1170
ba025e51
TT
11712014-02-19 Tom Tromey <tromey@redhat.com>
1172
1173 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1174 argument.
1175 (target_insert_exec_catchpoint): Add argument.
1176 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1177 (update_current_target): Update.
1178 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1179 argument.
1180
e98cf0cd
TT
11812014-02-19 Tom Tromey <tromey@redhat.com>
1182
1183 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1184 argument.
1185 (target_remove_vfork_catchpoint): Add argument.
1186 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1187 (update_current_target): Update.
1188 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1189 argument.
1190
3ecc7da0
TT
11912014-02-19 Tom Tromey <tromey@redhat.com>
1192
1193 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1194 argument.
1195 (target_insert_vfork_catchpoint): Add argument.
1196 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1197 (update_current_target): Update.
1198 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1199 argument.
1200
973fc227
TT
12012014-02-19 Tom Tromey <tromey@redhat.com>
1202
1203 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1204 argument.
1205 (target_remove_fork_catchpoint): Add argument.
1206 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1207 (update_current_target): Update.
1208 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1209 argument.
1210
a863b201
TT
12112014-02-19 Tom Tromey <tromey@redhat.com>
1212
1213 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1214 argument.
1215 (target_insert_fork_catchpoint): Add argument.
1216 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1217 (update_current_target): Update.
1218 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1219 argument.
1220
2e97a79e
TT
12212014-02-19 Tom Tromey <tromey@redhat.com>
1222
1223 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1224 argument.
1225 (target_post_startup_inferior): Add argument.
1226 * target.c (debug_to_post_startup_inferior): Add argument.
1227 (update_current_target): Update.
1228 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1229 argument.
1230 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1231 argument.
1232 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1233 argument.
1234 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1235 argument.
1236 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1237 'self' argument.
1238 (super_post_startup_inferior): Likewise.
1239 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1240 'self' argument.
1241 (super_post_startup_inferior): Likewise.
1242 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1243 Add 'self' argument.
1244 (super_post_startup_inferior): Likewise.
1245
71a9f134
TT
12462014-02-19 Tom Tromey <tromey@redhat.com>
1247
1248 * target.h (struct target_ops) <to_load>: Add argument.
1249 * target.c (target_load): Add argument.
1250 (debug_to_load): Add argument.
1251 (update_current_target): Update.
1252 * remote.c (remote_load): Add 'self' argument.
1253 * remote-sim.c (gdbsim_load): Add 'self' argument.
1254 * remote-mips.c (mips_load): Add 'self' argument.
1255 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1256 * monitor.c (monitor_load): Add 'self' argument.
1257 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1258
0a4f40a2
TT
12592014-02-19 Tom Tromey <tromey@redhat.com>
1260
1261 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1262 (target_terminal_info): Add argument.
1263 * target.c (debug_to_terminal_info): Add argument.
1264 (default_terminal_info): Likewise.
1265 * inflow.c (child_terminal_info): Add 'self' argument.
1266 * inferior.h (child_terminal_info): Add 'self' argument.
1267 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1268
ae3bd431
TT
12692014-02-19 Tom Tromey <tromey@redhat.com>
1270
1271 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1272 argument.
1273 (target_terminal_save_ours): Add argument.
1274 * target.c (debug_to_terminal_save_ours): Add argument.
1275 (update_current_target): Update.
1276 * inflow.c (terminal_save_ours): Add 'self' argument.
1277 * inferior.h (terminal_save_ours): Add 'self' argument.
1278
e3594fd1
TT
12792014-02-19 Tom Tromey <tromey@redhat.com>
1280
1281 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1282 (target_terminal_ours): Add argument.
1283 * target.c (debug_to_terminal_ours): Add argument.
1284 (update_current_target): Update.
1285 * remote.c (remote_terminal_ours): Add 'self' argument.
1286 (remote_close): Update.
1287 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1288 * inflow.c (terminal_ours): Add 'self' argument.
1289 * inferior.h (terminal_ours): Add 'self' argument.
1290 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1291
2e1e1a19
TT
12922014-02-19 Pedro Alves <palves@redhat.com>
1293 Tom Tromey <tromey@redhat.com>
1294
1295 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1296 argument.
1297 (target_terminal_ours_for_output): Add argument.
1298 * target.c (debug_to_terminal_ours_for_output): Add argument.
1299 (update_current_target): Update.
1300 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1301 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1302 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1303
d2f640d4
TT
13042014-02-19 Tom Tromey <tromey@redhat.com>
1305
1306 * target.h (struct target_ops) <to_terminal_inferior>: Add
1307 argument.
1308 * target.c (target_terminal_inferior): Add argument.
1309 (update_current_target): Update.
1310 * remote.c (remote_terminal_inferior): Add 'self' argument.
1311 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1312 * inflow.c (terminal_inferior): Add 'self' argument.
1313 * inferior.h (terminal_inferior): Add 'self' argument.
1314 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1315 (go32_terminal_inferior): Add 'self' argument.
1316
c42bf286
TT
13172014-02-19 Tom Tromey <tromey@redhat.com>
1318
1319 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1320 (target_terminal_init): Add argument.
1321 * target.c (debug_to_terminal_init): Add argument.
1322 (update_current_target): Update.
1323 * inflow.c (terminal_init_inferior): Add 'self' argument.
1324 * inferior.h (terminal_init_inferior): Add 'self' argument.
1325 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1326 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1327
c3a5ff89
TT
13282014-02-19 Tom Tromey <tromey@redhat.com>
1329
1330 * target.h (struct target_ops)
1331 <to_can_accel_watchpoint_condition>: Add argument.
1332 (target_can_accel_watchpoint_condition): Add argument.
1333 * target.c (debug_to_can_accel_watchpoint_condition): Add
1334 argument.
1335 (update_current_target): Update.
1336 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1337 'self' argument.
1338
31568a15
TT
13392014-02-19 Tom Tromey <tromey@redhat.com>
1340
1341 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1342 Add argument.
1343 (target_region_ok_for_hw_watchpoint): Add argument.
1344 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1345 (default_region_ok_for_hw_watchpoint): Add argument.
1346 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1347 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1348 argument.
1349 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1350 argument.
1351 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1352 argument.
1353 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1354 'self' argument.
1355 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1356 'self' argument.
1357 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1358 'self' argument.
1359 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1360 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1361 'self' argument.
1362 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1363 Add 'self' argument.
1364
7bb99c53
TT
13652014-02-19 Tom Tromey <tromey@redhat.com>
1366
1367 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1368 argument.
1369 (target_insert_watchpoint): Add argument.
1370 * target.c (debug_to_insert_watchpoint): Add argument.
1371 (update_current_target): Update.
1372 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1373 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1374 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1375 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1376 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1377 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1378 argument.
1379 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1380 (procfs_insert_hw_watchpoint): Add 'self' argument.
1381 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1382 argument.
1383 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1384 argument.
1385 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1386 argument.
1387 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1388 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1389 argument.
1390 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1391 'self' argument.
1392
11b5219a
TT
13932014-02-19 Tom Tromey <tromey@redhat.com>
1394
1395 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1396 argument.
1397 (target_remove_watchpoint): Add argument.
1398 * target.c (debug_to_remove_watchpoint): Add argument.
1399 (update_current_target): Update.
1400 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1401 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1402 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1403 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1404 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1405 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1406 argument.
1407 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1408 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1409 argument.
1410 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1411 argument.
1412 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1413 argument.
1414 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1415 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1416 argument.
1417 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1418 'self' argument.
1419
a64dc96c
TT
14202014-02-19 Tom Tromey <tromey@redhat.com>
1421
1422 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1423 argument.
1424 (target_remove_hw_breakpoint): Add argument.
1425 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1426 (update_current_target): Update.
1427 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1428 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1429 argument.
1430 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1431 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1432 argument.
1433 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1434 'self' argument.
1435
23a26771
TT
14362014-02-19 Tom Tromey <tromey@redhat.com>
1437
1438 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1439 argument.
1440 (target_insert_hw_breakpoint): Add argument.
1441 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1442 (update_current_target): Update.
1443 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1444 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1445 argument.
1446 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1447 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1448 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1449 argument.
1450 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1451 'self' argument.
1452
5461485a
TT
14532014-02-19 Tom Tromey <tromey@redhat.com>
1454
1455 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1456 argument.
1457 (target_can_use_hardware_watchpoint): Add argument.
1458 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1459 (update_current_target): Update.
1460 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1461 argument.
1462 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1463 argument.
1464 * remote.c (remote_check_watch_resources): Add 'self' argument.
1465 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1466 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1467 argument.
1468 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1469 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1470 argument.
1471 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1472 argument.
1473 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1474 argument.
1475 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1476 argument.
1477 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1478 argument.
1479 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1480 argument.
1481 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1482 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1483 argument.
1484 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1485 'self' argument.
1486
f045800c
TT
14872014-02-19 Tom Tromey <tromey@redhat.com>
1488
1489 * target.h (struct target_ops) <to_post_attach>: Add argument.
1490 (target_post_attach): Add argument.
1491 * target.c (debug_to_post_attach): Add argument.
1492 (update_current_target): Update.
1493 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1494 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1495 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1496 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1497 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1498
de90e03d
TT
14992014-02-19 Tom Tromey <tromey@redhat.com>
1500
1501 * windows-nat.c (windows_close): Add 'self' argument.
1502 * tracepoint.c (tfile_close): Add 'self' argument.
1503 * target.h (struct target_ops) <to_close>: Add argument.
1504 * target.c (target_close): Add argument.
1505 (update_current_target): Update.
1506 * remote.c (remote_close): Add 'self' argument.
1507 * remote-sim.c (gdbsim_close): Add 'self' argument.
1508 * remote-mips.c (mips_close): Add 'self' argument.
1509 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1510 * record-full.c (record_full_close): Add 'self' argument.
1511 * record-btrace.c (record_btrace_close): Add 'self' argument.
1512 * monitor.h (monitor_close): Add 'self' argument.
1513 * monitor.c (monitor_close): Add 'self' argument.
1514 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1515 * linux-nat.c (linux_nat_close): Add argument.
1516 * go32-nat.c (go32_close): Add 'self' argument.
1517 * exec.c (exec_close_1): Add 'self' argument.
1518 * ctf.c (ctf_close): Add 'self' argument.
1519 * corelow.c (core_close): Add 'self' argument.
1520 (core_close_cleanup): Update.
1521 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1522 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1523
9dd130a0
TT
15242014-02-19 Tom Tromey <tromey@redhat.com>
1525
1526 * remote.c (remote_load): New function.
1527 (init_remote_ops): Use it.
1528
46917d26
TT
15292014-02-19 Tom Tromey <tromey@redhat.com>
1530
1531 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1532 argument.
1533 * common/linux-btrace.h (linux_supports_btrace): Update.
1534 * remote.c (remote_supports_btrace): Add "self" argument.
1535 * target-delegates.c: Rebuild.
1536 * target.c (target_supports_btrace): Remove.
1537 * target.h (struct target_ops) <to_supports_btrace>: Add
1538 target_ops argument.
1539 (target_supports_btrace): New define.
1540
6b84065d
TT
15412014-02-19 Tom Tromey <tromey@redhat.com>
1542
1543 * record-full.c (record_full_beneath_to_resume_ops)
1544 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1545 (record_full_beneath_to_wait)
1546 (record_full_beneath_to_store_registers_ops)
1547 (record_full_beneath_to_store_registers)
1548 (record_full_beneath_to_xfer_partial_ops)
1549 (record_full_beneath_to_xfer_partial)
1550 (record_full_beneath_to_insert_breakpoint_ops)
1551 (record_full_beneath_to_insert_breakpoint)
1552 (record_full_beneath_to_remove_breakpoint_ops)
1553 (record_full_beneath_to_remove_breakpoint)
1554 (record_full_beneath_to_stopped_by_watchpoint)
1555 (record_full_beneath_to_stopped_data_address)
1556 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1557 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1558 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1559 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1560 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1561 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1562 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1563 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1564 (record_full_resume, record_full_wait_1)
1565 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1566 (record_full_store_registers, record_full_xfer_partial)
1567 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1568 (record_full_async, record_full_core_xfer_partial): Use target
1569 delegation.
1570 * target-delegates.c: Rebuild.
1571 * target.c (current_xfer_partial): Remove.
1572 (update_current_target): Do not INHERIT or de_fault
1573 to_insert_breakpoint, to_remove_breakpoint,
1574 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1575 to_is_async_p, to_async. Do not set to_xfer_partial field.
1576 (default_xfer_partial): Simplify.
1577 (current_xfer_partial): Remove.
1578 (target_wait, target_resume): Simplify.
1579 (find_default_can_async_p, find_default_is_async_p): Update.
1580 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1581 to_xfer_partial, to_stopped_by_watchpoint,
1582 to_stopped_data_address.
1583 (target_store_registers): Simplify.
1584 (forward_target_remove_breakpoint)
1585 (forward_target_insert_breakpoint): Remove.
1586 (target_remove_breakpoint, target_insert_breakpoint)
1587 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1588 * target.h (struct target_ops) <to_resume, to_wait,
1589 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1590 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1591 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1592 markup.
1593 (forward_target_remove_breakpoint)
1594 (forward_target_insert_breakpoint): Remove.
1595 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1596 directly.
1597 (record_btrace_insert_breakpoint): Delegate directly.
1598
1101cb7b
TT
15992014-02-19 Tom Tromey <tromey@redhat.com>
1600
1601 PR build/7701:
1602 * target-delegates.c: New file.
1603 * target.c: Include target-delegates.c.
1604 (init_dummy_target): Call install_dummy_methods.
1605 (complete_target_initialization): Call install_delegators.
1606 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1607 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1608 * make-target-delegates: New file.
1609
8b06beed
TT
16102014-02-19 Tom Tromey <tromey@redhat.com>
1611
1612 * record.c (find_record_target): Use find_target_at.
1613 * target.c (find_target_at): New function.
1614 * target.h (find_target_at): Declare.
1615
6a109b6b
TT
16162014-02-19 Tom Tromey <tromey@redhat.com>
1617
1618 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1619 Add 'ops' argument.
1620 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1621 'ops' argument.
1622 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1623 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1624 'ops' argument.
1625 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1626 argument.
1627 * linux-nat.c (save_sigtrap): Update.
1628 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1629 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1630 (linux_nat_close): Update.
1631 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1632 argument.
1633 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1634 argument.
1635 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1636 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1637 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1638 (tmp_to_async): Add 'ops' argument.
1639 (record_full_stopped_by_watchpoint, record_full_async)
1640 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1641 argument.
1642 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1643 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1644 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1645 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1646 (remote_is_async_p, remote_async): Add 'ops' argument.
1647 (remote_stopped_data_address): Update.
1648 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1649 * target.c (update_current_target)
1650 (find_default_can_async_p, find_default_is_async_p): Update.
1651 (init_dummy_target): Update.
1652 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1653 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1654 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1655 (target_can_async_p, target_is_async_p, target_async)
1656 (target_stopped_by_watchpoint): Update.
1657
e095146b
YQ
16582014-02-19 Yao Qi <yao@codesourcery.com>
1659
1660 PR gdb/16220
1661 * gdbarch.sh: Remove startup_gdbarch.
1662 * gdbarch.c: Regenerated.
1663 * gdbarch.h: Likewise.
1664
bc3c6b36
KB
16652014-02-17 Kevin Buettner <kevinb@redhat.com>
1666
1667 * rl78-tdep.c (rl78_g10_register_name): New function.
1668 (rl78_return_value): Add g10 support.
1669 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1670 g10.
1671
98dc0167 16722014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
1673
1674 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1675 (SUBDIR_GUILE_SRCS): Ditto.
1676 (scm-gsmob.o): Ditto.
1677
842c05cd
YQ
16782014-02-17 Yao Qi <yao@codesourcery.com>
1679
1680 * gnu-nat.c (ILL_RPC): Declare defined function.
1681
25c0bd04
YQ
16822014-02-17 Yao Qi <yao@codesourcery.com>
1683
1684 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1685 mach_msg_type_number_t.
1686 (gnu_write_inferior): Likewise.
1687
a9a758e3
YQ
16882014-02-17 Yao Qi <yao@codesourcery.com>
1689
1690 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1691 in format string.
1692 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1693 (inf_validate_procs, inf_signal): Likewise.
1694 (S_exception_raise_request): Likewise.
1695 (do_mach_notify_dead_name): Likewise.
1696 (steal_exc_port): Likewise.
1697 (gnu_read_inferior): Change 'copy_count''s type to
1698 mach_msg_type_number_t.
1699 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1700 format string.
1701
bae8023e
TS
17022014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1703
c82f56d9
TS
1704 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1705 flag. Adjust all users; in particular...
1706 (gnu_wait): ..., don't decrement its value in here...
1707 (gnu_create_inferior): ..., and instead set the flag in here,
1708 around the startup_inferior call, and call that one with
1709 START_INFERIOR_TRAPS_EXPECTED.
1710
3398af6a
TS
1711 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1712 (ILL_RPC): ... new macro.
1713 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1714 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1715 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1716 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1717 functions with ILL_RPC macro.
1718 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1719 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1720 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1721 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1722 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1723 (S_proc_getlogin_reply, S_proc_getsid_reply)
1724 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1725 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1726 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1727 (S_proc_getnports_reply, S_proc_is_important_reply)
1728 (S_proc_get_code_reply): New stub functions, generated with
1729 ILL_RPC macro.
1730
d47642c9
TS
1731 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1732 collected the type check structures.
1733
bae8023e
TS
1734 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1735
8a55ffb0
DE
17362014-02-14 Doug Evans <dje@google.com>
1737
1738 * target.c (target_write_partial): Fix result type.
1739
c2853f3d
JM
17402014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1741
1742 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1743 the proper offsets to access fpregset_t.
1744
ac61d2db
SA
17452014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1746
1747 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1748 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1749 * h8300-tdep.c (setmachinelist): Remove global.
1750 * hppa-tdep.c (hppa_sigtramp): Remove global.
1751 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1752 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1753 * ravenscar-thread.c (update_target_observer): Remove global.
1754 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1755
9d2d0b8b
TT
17562014-02-12 Tom Tromey <tromey@redhat.com>
1757
1758 * common/rsp-low.c: Update comments.
1759 * common/rsp-low.h: Update comments.
1760
a7191e8b
TT
17612014-02-12 Tom Tromey <tromey@redhat.com>
1762
1763 * common/rsp-low.c (convert_ascii_to_int): Remove.
1764 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1765
ff0e980e
TT
17662014-02-12 Tom Tromey <tromey@redhat.com>
1767
1768 * common/rsp-low.h (unhexify): Don't declare.
1769 * common/rsp-low.c (unhexify): Remove.
1770
e9371aff
TT
17712014-02-12 Tom Tromey <tromey@redhat.com>
1772
1773 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1774 * common/rsp-low.c (convert_int_to_ascii): Remove.
1775
971dc0b8
TT
17762014-02-12 Tom Tromey <tromey@redhat.com>
1777
1778 * common/rsp-low.h (hexify): Don't declare.
1779 * common/rsp-low.c (hexify): Remove.
1780
0a822afb
TT
17812014-02-12 Tom Tromey <tromey@redhat.com>
1782
1783 * common/rsp-low.c (hexify): Never take strlen of argument.
1784
9f1b45b0
TT
17852014-02-12 Tom Tromey <tromey@redhat.com>
1786
1787 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1788 * remote.c (extended_remote_run, remote_rcmd)
1789 (remote_download_trace_state_variable, remote_save_trace_data)
1790 (remote_set_trace_notes): Update.
1791 * tracepoint.c (encode_source_string, tfile_write_status)
1792 (tfile_write_uploaded_tsv): Update.
1793
9c3d6531
TT
17942014-02-12 Tom Tromey <tromey@redhat.com>
1795
1796 * tracepoint.c: Include rsp-low.h.
1797 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1798 * remote.c: Include rsp-low.h.
1799 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1800 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1801 (remote_unescape_input): Move to common/rsp-low.c.
1802 * common/rsp-low.h: New file.
1803 * common/rsp-low.c: New file.
1804 * Makefile.in (SFILES): Add common/rsp-low.c.
1805 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1806 (COMMON_OBS): Add rsp-low.o.
1807 (rsp-low.o): New target.
1808
01fd3ea5
TT
18092014-02-12 Tom Tromey <tromey@redhat.com>
1810
1811 * utils.h: Include print-utils.h.
1812 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1813 (int_string, core_addr_to_string, core_addr_to_string_nz)
1814 (hex_string, hex_string_custom): Don't declare.
1815 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1816 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1817 (hex_string_custom, int_string, core_addr_to_string)
1818 (core_addr_to_string_nz, host_address_to_string): Move to
1819 common/print-utils.c.
1820 * common/print-utils.h: New file.
1821 * common/print-utils.c: New file
1822 * Makefile.in (SFILES): Add common/print-utils.c.
1823 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1824 (COMMON_OBS): Add print-utils.o.
1825 (print-utils.o): New target.
1826
9fb50108
TT
18272014-02-12 Tom Tromey <tromey@redhat.com>
1828
1829 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1830
0548b5db
MK
18312014-02-12 Mark Kettenis <kettenis@gnu.org>
1832
1833 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1834
493443a4
MK
18352014-02-12 Mark Kettenis <kettenis@gnu.org>
1836
1837 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1838 if a PT_IO ptrace request returns sucessfully but indicates that 0
1839 bytes were transferred.
1840
706d0883
PA
18412014-02-12 Pedro Alves <palves@redhat.com>
1842 Kevin Buettner <kevinb@redhat.com>
1843
1844 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1845 TYPE_INSTANCE_FLAG_CODE_SPACE.
1846
5caa2f0b
PA
18472014-02-12 Pedro Alves <palves@redhat.com>
1848
1849 * h8300-tdep.c (pseudo_from_raw_register)
1850 (raw_from_pseudo_register): New functions.
1851 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1852 them.
1853
76fd5f74
PA
18542014-02-12 Pedro Alves <palves@redhat.com>
1855
1856 * h8300-tdep.c (h8300_register_sim_regno): New function.
1857 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1858 gdbarch_register_sim_regno hook.
1859
8f008406
SA
18602014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1861
1862 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1863
195abc10
SA
18642014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1865
1866 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1867
93ffa5b9
MK
18682014-02-12 Mark Kettenis <kettenis@gnu.org>
1869
1870 * obsd-tdep.h (obsd_init_abi): New prototype.
1871 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1872 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1873 (obsd_init_abi): New functions.
1874 * i386obsd-tdep.c: Include "obsd-tdep.h".
1875 (i386obsd_init_abi): Call obsd_init_abi.
1876 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1877 (amd64obsd_init_abi): Call obsd_init_abi.
1878 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1879 obsd-tdep.c to gdb_target_obs.
1880
49caec94
JM
18812014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1882
1883 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1884 double float arguments to 16-byte in the argument slots.
1885
e1402065
DE
18862014-02-11 Doug Evans <xdje42@gmail.com>
1887
1888 * configure.ac: Don't crash if pkg-config is not found and guile
1889 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1890 in guile checks.
1891 * configure: Regenerate.
1892
edcc890f
YQ
18932014-02-11 Yao Qi <yao@codesourcery.com>
1894
1895 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1896 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1897 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1898 * gnu-nat.c (gnu_xfer_memory): Likewise.
1899 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1900 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1901 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1902 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1903
9b409511
YQ
19042014-02-11 Yao Qi <yao@codesourcery.com>
1905
1906 * target.h (enum target_xfer_error): Rename to ...
1907 (enum target_xfer_status): ... it. New. All users updated.
1908 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1909 New.
1910 (TARGET_XFER_STATUS_ERROR_P): New macro.
1911 (target_xfer_error_to_string): Remove declaration.
1912 (target_xfer_status_to_string): Declare.
1913 (target_xfer_partial_ftype): Adjust it.
1914 (struct target_ops) <to_xfer_partial>: Return
1915 target_xfer_status. Add argument xfered_len. Update
1916 comments.
1917 * target.c (target_xfer_error_to_string): Rename to ...
1918 (target_xfer_status_to_string): ... it. New. All callers
1919 updated.
1920 (target_read_live_memory): Likewise. Call target_xfer_partial
1921 instead of target_read.
1922 (memory_xfer_live_readonly_partial): Return
1923 target_xfer_status. Add argument xfered_len.
1924 (raw_memory_xfer_partial): Likewise.
1925 (memory_xfer_partial_1): Likewise.
1926 (memory_xfer_partial): Likewise.
1927 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1928 properly. Update debug message.
1929 (default_xfer_partial, current_xfer_partial): Likewise.
1930 (target_write_partial): Likewise.
1931 (target_read_partial): Likewise. All callers updated.
1932 (read_whatever_is_readable): Likewise.
1933 (target_write_with_progress): Likewise.
1934 (target_read_alloc_1): Likewise.
1935
1936 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1937 * auxv.c (procfs_xfer_auxv): Likewise.
1938 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1939 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1940 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1941 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1942 * corefile.c (read_memory): Adjust.
1943 * corelow.c (core_xfer_partial): Likewise.
1944 * ctf.c (ctf_xfer_partial): Likewise.
1945 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1946 updated.
1947 (darwin_xfer_partial): Likewise.
1948 * exec.c (section_table_xfer_memory_partial): Likewise. All
1949 callers updated.
1950 (exec_xfer_partial): Likewise.
1951 * exec.h (section_table_xfer_memory_partial): Update
1952 declaration.
1953 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1954 negative.
1955 (gnu_xfer_partial): Likewise.
1956 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1957 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1958 (ia64_hpux_xfer_solib_got): Likewise.
1959 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1960 type of 'partial_len' to ULONGEST.
1961 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1962 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1963 (linux_nat_xfer_partial): Likewise.
1964 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1965 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1966 * monitor.c (monitor_xfer_memory): Likewise.
1967 (monitor_xfer_partial): Likewise.
1968 * procfs.c (procfs_xfer_partial): Likewise.
1969 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1970 * record-full.c (record_full_xfer_partial): Likewise.
1971 (record_full_core_xfer_partial): Likewise.
1972 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1973 (gdbsim_xfer_partial): Likewise.
1974 * remote.c (remote_write_bytes_aux): Likewise. All callers
1975 updated.
1976 (remote_write_bytes, remote_read_bytes): Likewise. All
1977 callers updated.
1978 (remote_flash_erase): Likewise. All callers updated.
1979 (remote_write_qxfer): Likewise. All callers updated.
1980 (remote_read_qxfer): Likewise. All callers updated.
1981 (remote_xfer_partial): Likewise.
1982 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1983 (rs6000_xfer_shared_libraries): Likewise.
1984 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1985 (sol_thread_xfer_partial): Likewise.
1986 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1987 (sparc_xfer_partial): Likewise.
1988 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1989 updated.
1990 (spu_xfer_partial): Likewise.
1991 * spu-multiarch.c (spu_xfer_partial): Likewise.
1992 * tracepoint.c (tfile_xfer_partial): Likewise.
1993 * windows-nat.c (windows_xfer_memory): Likewise.
1994 (windows_xfer_shared_libraries): Likewise.
1995 (windows_xfer_partial): Likewise.
1996 * valprint.c: Replace 'target_xfer_error' with
1997 'target_xfer_status' in comments.
1998
a8e63083
JB
19992014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2000
2001 Checked in by Joel Brobecker <brobecker@adacore.com>.
2002 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2003
e86b67d3
JB
20042014-02-11 Joel Brobecker <brobecker@adacore.com>
2005
2006 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2007 function parameters.
2008
4b7d1f7f
WN
20092014-02-10 Will Newton <will.newton@linaro.org>
2010
2011 * elfread.c (elf_rel_plt_read): Look for a .got section if
2012 looking up .got.plt fails.
2013 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2014 on address passed to elf_gnu_ifunc_record_cache.
2015 (elf_gnu_ifunc_resolve_addr): Likewise.
2016 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2017
961842b2
JM
20182014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2019
2020 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2021 (X_RETTURN): New macro.
2022 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2023
2024 * sparc64-tdep.c (sparc64_init_abi): Hook
2025 sparc_in_function_epilogue_p.
2026
3f03e7b1
GB
20272014-02-10 Gary Benson <gbenson@redhat.com>
2028
2029 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2030 Rename name_matcher to symbol_matcher.
2031
96f861ef
GB
20322014-02-10 Gary Benson <gbenson@redhat.com>
2033
2034 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2035 Use expand_symtabs_file_matcher_ftype and
2036 expand_symtabs_symbol_matcher_ftype.
2037
ee01b665
JB
20382014-02-10 Joel Brobecker <brobecker@adacore.com>
2039
2040 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2041 (struct ada_symbol_cache): New.
2042 (ada_free_symbol_cache): Forward declare.
2043 (struct ada_pspace_data): New.
2044 (ada_pspace_data_handle): New static global.
2045 (get_ada_pspace_data, ada_pspace_data_cleanup)
2046 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2047 (cache_space, cache): Delete, now folded inside struct
2048 ada_pspace_data.
2049 (ada_get_symbol_cache): New function.
2050 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2051 implementation.
2052 (_initialize_ada_language): Remove initialization of cache_space.
2053 Move call to observer_attach_inferior_exit up, grouping it
2054 with the other observer registrations inside this function.
2055 Rename command to be more general. Add call to
2056 register_program_space_data_with_cleanup.
2057
143adbbf
JB
20582014-02-10 Joel Brobecker <brobecker@adacore.com>
2059
2060 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2061 ada_new_objfile_observer.
2062 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2063 (_initialize_tasks): Update uses of ada_new_objfile_observer
2064 and ada_tasks_normal_stop_observer.
2065
aa4fb036
JB
20662014-02-10 Joel Brobecker <brobecker@adacore.com>
2067
2068 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2069 returned by the 'Length attribute to integer.
2070
9dee8cc6
JB
20712014-02-10 Joel Brobecker <brobecker@adacore.com>
2072
2073 * ada-lang.c (_initialize_ada_language): Initialize
2074 cache_space obstack.
2075
3d9434b5
JB
20762014-02-10 Joel Brobecker <brobecker@adacore.com>
2077
2078 * ada-lang.c (HASH_SIZE): New macro.
2079 (struct cache_entry): New type.
2080 (cache_space, cache): New static globals.
2081 (ada_clear_symbol_cache, find_entry): New functions.
2082 (lookup_cached_symbol, cache_symbol): Implement.
2083 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2084 (_initialize_ada_language): Attach ada_new_objfile_observer
2085 and ada_free_objfile_observer.
2086
f0c5f9b2
JB
20872014-02-10 Joel Brobecker <brobecker@adacore.com>
2088
2089 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2090 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2091 struct block * parameter.
2092 (ada_lookup_symbol_list_worker): Constify local variable "block".
2093 Remove cast which is no longer necessary.
2094
ed3ef339
DE
20952014-02-10 Doug Evans <xdje42@gmail.com>
2096
2097 Add Guile as an extension language.
2098 * NEWS: Mention Guile scripting.
2099 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2100 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2101 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2102 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2103 (CLIBS): Add GUILE_LIBS.
2104 (install-guile): New rule.
2105 (guile.o): New rule.
2106 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2107 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2108 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2109 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2110 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2111 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2112 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2113 * configure.ac: New option --with-guile.
2114 * configure: Regenerate.
2115 * config.in: Regenerate.
2116 * auto-load.c: Remove #include "python/python.h". Add #include
2117 "gdb/section-scripts.h".
2118 (source_section_scripts): Handle Guile scripts.
2119 (_initialize_auto_load): Add name of Guile objfile script to
2120 scripts-directory help text.
2121 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2122 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2123 (struct breakpoint): New member scm_bp_object.
2124 * defs.h (enum command_control_type): New value guile_control.
2125 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2126 "extension.h".
2127 (show_user): Update comment.
2128 (_initialize_cli_cmds): Update help text for "show user". Update help
2129 text for max-user-call-depth.
2130 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2131 "extension.h".
2132 (multi_line_command_p): Add guile_control.
2133 (print_command_lines): Handle guile_control.
2134 (execute_control_command, recurse_read_control_structure): Ditto.
2135 (process_next_line): Recognize "guile" commands.
2136 * disasm.c (gdb_disassemble_info): Make non-static.
2137 * disasm.h: #include "dis-asm.h".
2138 (struct gdbarch): Add forward decl.
2139 (gdb_disassemble_info): Declare.
2140 * extension.c: #include "guile/guile.h".
2141 (extension_languages): Add guile.
2142 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2143 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2144 * gdbtypes.c (get_unsigned_type_max): New function.
2145 (get_signed_type_minmax): New function.
2146 * gdbtypes.h (get_unsigned_type_max): Declare.
2147 (get_signed_type_minmax): Declare.
2148 * guile/README: New file.
2149 * guile/guile-internal.h: New file.
2150 * guile/guile.c: New file.
2151 * guile/guile.h: New file.
2152 * guile/scm-arch.c: New file.
2153 * guile/scm-auto-load.c: New file.
2154 * guile/scm-block.c: New file.
2155 * guile/scm-breakpoint.c: New file.
2156 * guile/scm-disasm.c: New file.
2157 * guile/scm-exception.c: New file.
2158 * guile/scm-frame.c: New file.
2159 * guile/scm-gsmob.c: New file.
2160 * guile/scm-iterator.c: New file.
2161 * guile/scm-lazy-string.c: New file.
2162 * guile/scm-math.c: New file.
2163 * guile/scm-objfile.c: New file.
2164 * guile/scm-ports.c: New file.
2165 * guile/scm-pretty-print.c: New file.
2166 * guile/scm-safe-call.c: New file.
2167 * guile/scm-string.c: New file.
2168 * guile/scm-symbol.c: New file.
2169 * guile/scm-symtab.c: New file.
2170 * guile/scm-type.c: New file.
2171 * guile/scm-utils.c: New file.
2172 * guile/scm-value.c: New file.
2173 * guile/lib/gdb.scm: New file.
2174 * guile/lib/gdb/boot.scm: New file.
2175 * guile/lib/gdb/experimental.scm: New file.
2176 * guile/lib/gdb/init.scm: New file.
2177 * guile/lib/gdb/iterator.scm: New file.
2178 * guile/lib/gdb/printing.scm: New file.
2179 * guile/lib/gdb/types.scm: New file.
2180 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2181 (VPATH): Add $(GUILE_SRCDIR).
2182 (GUILE_DIR): New variable.
2183 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2184 (all): Add stamp-guile dependency.
2185 (stamp-guile): New rule.
2186 (clean-guile, install-guile, uninstall-guile): New rules.
2187 (install-only): Add install-guile dependency.
2188 (uninstall): Add uninstall-guile dependency.
2189 (clean): Add clean-guile dependency.
2190
ac020ec5
DE
21912014-02-09 Doug Evans <xdje42@gmail.com>
2192
2193 Revert this patch (which I approved, mea culpa).
2194
2195 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2196
2197 * Makefile.in (all-lib): Remove.
2198 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2199
2a081c59
JK
22002014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2201
2202 Fix Python stack corruption.
2203 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2204 gdb_py_longest.
2205
0a6bd22d
MK
22062014-02-08 Mark Kettenis <kettenis@gnu.org>
2207
2208 * Makefile.in (all-lib): Remove.
2209 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2210
1a860409
DE
22112014-02-07 Doug Evans <dje@google.com>
2212
2213 * extension-priv.h (extension_language_script_ops): Add comment.
2214 (extension_language_ops): Add comment.
caf5a491 2215 (active_ext_lang_state): Fix typo in comment.
1a860409 2216
d137e6dc
PA
22172014-02-07 Pedro Alves <palves@redhat.com>
2218
2219 * infrun.c (handle_signal_stop) <signal arrives while stepping
2220 over a breakpoint>: Switch back to the stepping thread.
2221
ce6d0892
YQ
22222014-02-07 Yao Qi <yao@codesourcery.com>
2223
2224 * target.c (target_xfer_partial): Return zero if LEN is zero.
2225
2ed4b548
YQ
22262014-02-07 Yao Qi <yao@codesourcery.com>
2227
2228 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2229 (ld_so_xfer_auxv): Likewise.
2230 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2231 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2232 * corelow.c (core_xfer_partial): Likewise.
2233 * ctf.c (ctf_xfer_partial): Likewise.
2234 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2235 (darwin_xfer_partial): Likewise.
2236 * exec.c (exec_xfer_partial): Likewise.
2237 * gnu-nat.c (gnu_xfer_partial): Likewise.
2238 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2239 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2240 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2241 * linux-nat.c (linux_xfer_siginfo): Likewise.
2242 (linux_proc_xfer_spu): Likewise.
2243 * procfs.c (procfs_xfer_partial): Likewise.
2244 * record-full.c (record_full_xfer_partial): Likewise.
2245 (record_full_core_xfer_partial): Likewise.
2246 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2247 * remote.c (remote_write_qxfer): Likewise.
2248 (remote_write_qxfer, remote_read_qxfer): Likewise.
2249 (remote_xfer_partial): Likewise.
2250 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2251 (rs6000_xfer_shared_libraries): Likewise.
2252 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2253 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2254 (spu_xfer_partial): Likewise.
2255 * target.c (memory_xfer_partial_1): Likewise.
2256 * tracepoint.c (tfile_xfer_partial): Likewise.
2257 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2258 (windows_xfer_partial): Likewise.
2259
c09f20e4
YQ
22602014-02-07 Yao Qi <yao@codesourcery.com>
2261
2262 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2263 comments.
2264 (core_xfer_shared_libraries_aix): Likewise.
2265 * gdbarch.c, gdbarch.h: Regenerated.
2266 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2267 ULONGEST. Change 'len_avail' type to ULONGEST.
2268 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2269 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2270 declaration.
2271 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2272
8635b3bf
YQ
22732014-02-07 Yao Qi <yao@codesourcery.com>
2274
2275 * corefile.c (memory_error): Get 'exception' from ERR and pass
2276 'exception' to throw_error.
2277
6dddc817
DE
22782014-02-06 Doug Evans <xdje42@gmail.com>
2279
2280 * configure.ac (libpython checking): Remove all but python.o from
2281 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2282 * configure: Regenerate.
2283
2284 * Makefile.in (SFILES): Add extension.c.
2285 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2286 (COMMON_OBS): Add extension.o.
2287 * extension.h: New file.
2288 * extension-priv.h: New file.
2289 * extension.c: New file.
2290
2291 * python/python-internal.h: #include "extension.h".
2292 (gdbpy_auto_load_enabled): Declare.
2293 (gdbpy_apply_val_pretty_printer): Declare.
2294 (gdbpy_apply_frame_filter): Declare.
2295 (gdbpy_preserve_values): Declare.
2296 (gdbpy_breakpoint_cond_says_stop): Declare.
2297 (gdbpy_breakpoint_has_cond): Declare.
2298 (void source_python_script_for_objfile): Delete.
2299 * python/python.c: #include "extension-priv.h".
2300 Delete inclusion of "observer.h".
2301 (extension_language_python): Moved here and renamed from
2302 script_language_python in py-auto-load.c.
2303 Redefined to be of type extension_language_defn.
2304 (python_extension_script_ops): New global.
2305 (python_extension_ops): New global.
2306 (struct python_env): New member previous_active.
2307 (restore_python_env): Call restore_active_ext_lang.
2308 (ensure_python_env): Call set_active_ext_lang.
2309 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2310 New arg extlang.
2311 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2312 New arg extlang.
2313 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2314 New arg extlang.
2315 (gdbpy_eval_from_control_command): Renamed from
2316 eval_python_from_control_command, made static. New arg extlang.
2317 (gdbpy_source_script) Renamed from source_python_script, made static.
2318 New arg extlang.
2319 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2320 result to int. New arg extlang.
2321 (gdbpy_source_objfile_script): Renamed from
2322 source_python_script_for_objfile, made static. New arg extlang.
2323 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2324 static. New args extlang, extlang_printers. Change result type to
2325 "void".
2326 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2327 static. New arg extlang. Rename arg printers to extlang_printers
2328 and change type to ext_lang_type_printers *.
2329 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2330 static. Replace argument arg with extlang, extlang_printers.
2331 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2332 (!HAVE_PYTHON, source_python_script): Delete.
2333 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2334 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2335 (!HAVE_PYTHON, start_type_printers): Delete.
2336 (!HAVE_PYTHON, apply_type_printers): Delete.
2337 (!HAVE_PYTHON, free_type_printers): Delete.
2338 (_initialize_python): Delete call to observer_attach_before_prompt.
2339 (finalize_python): Set/restore active extension language.
2340 (gdbpy_finish_initialization) Renamed from
2341 finish_python_initialization, made static. New arg extlang.
2342 (gdbpy_initialized): New function.
2343 * python/python.h: #include "extension.h". Delete #include
2344 "value.h", "mi/mi-cmds.h".
2345 (extension_language_python): Declare.
2346 (GDBPY_AUTO_FILE_NAME): Delete.
2347 (enum py_bt_status): Moved to extension.h and renamed to
2348 ext_lang_bt_status.
2349 (enum frame_filter_flags): Moved to extension.h.
2350 (enum py_frame_args): Moved to extension.h and renamed to
2351 ext_lang_frame_args.
2352 (finish_python_initialization): Delete.
2353 (eval_python_from_control_command): Delete.
2354 (source_python_script): Delete.
2355 (apply_val_pretty_printer): Delete.
2356 (apply_frame_filter): Delete.
2357 (preserve_python_values): Delete.
2358 (gdbpy_script_language_defn): Delete.
2359 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2360 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2361
2362 * auto-load.c: #include "extension.h".
2363 (GDB_AUTO_FILE_NAME): Delete.
2364 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2365 (script_language_gdb): Delete, moved to extension.c and renamed to
2366 extension_language_gdb.
2367 (source_gdb_script_for_objfile): Delete.
2368 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2369 (loaded_script): Change type of language member to
2370 struct extension_language_defn *.
2371 (init_loaded_scripts_info): Initialize
2372 unsupported_script_warning_printed.
2373 (maybe_add_script): Make static. Change type of language arg to
2374 struct extension_language_defn *.
2375 (clear_section_scripts): Reset unsupported_script_warning_printed.
2376 (auto_load_objfile_script_1): Rewrite to use extension language API.
2377 (auto_load_objfile_script): Make public. Remove support-compiled-in
2378 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2379 (source_section_scripts): Rewrite to use extension language API.
2380 (load_auto_scripts_for_objfile): Rewrite to use
2381 auto_load_scripts_for_objfile.
2382 (collect_matching_scripts_data): Change type of language member to
2383 struct extension_language_defn *.
2384 (auto_load_info_scripts): Change type of language arg to
2385 struct extension_language_defn *.
2386 (unsupported_script_warning_print): New function.
2387 (script_not_found_warning_print): Make static.
2388 (_initialize_auto_load): Rewrite construction of scripts-directory
2389 help.
2390 * auto-load.h (struct objfile): Add forward decl.
2391 (struct script_language): Delete.
2392 (struct auto_load_pspace_info): Add forward decl.
2393 (struct extension_language_defn): Add forward decl.
2394 (maybe_add_script): Delete.
2395 (auto_load_objfile_script): Declare.
2396 (script_not_found_warning_print): Delete.
2397 (auto_load_info_scripts): Update prototype.
2398 (auto_load_gdb_scripts_enabled): Declare.
2399 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2400 auto_load_python_scripts_enabled and made public.
2401 (script_language_python): Delete, moved to python.c.
2402 (gdbpy_script_language_defn): Delete.
2403 (info_auto_load_python_scripts): Update to use
2404 extension_language_python.
2405
2406 * breakpoint.c (condition_command): Replace call to
2407 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2408 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2409 with call to breakpoint_ext_lang_cond_says_stop.
2410 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2411 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2412 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2413 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2414 New arg slang.
2415 (local_setattro): Print name of extension language with existing
2416 stop condition.
2417
2418 * valprint.c (val_print, value_print): Update to call
2419 apply_ext_lang_val_pretty_printer.
2420 * cp-valprint.c (cp_print_value): Update call to
2421 apply_ext_lang_val_pretty_printer.
2422 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2423 (gdbpy_apply_val_pretty_printer): Renamed from
2424 apply_val_pretty_printer. New arg extlang.
2425 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2426
2427 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2428 extension language API.
2429 * cli/cli-script.c (execute_control_command): Update to call
2430 eval_ext_lang_from_control_command.
2431
2432 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2433 enum ext_lang_bt_status values. Update call to
2434 apply_ext_lang_frame_filter.
2435 (mi_cmd_stack_list_locals): Ditto.
2436 (mi_cmd_stack_list_args): Ditto.
2437 (mi_cmd_stack_list_variables): Ditto.
2438 * mi/mi-main.c: Delete #include "python/python-internal.h".
2439 Add #include "extension.h".
2440 (mi_cmd_list_features): Replace reference to python internal variable
2441 gdb_python_initialized with call to ext_lang_initialized_p.
2442
2443 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2444 Update to use enum ext_lang_frame_args. Update to call
2445 apply_ext_lang_frame_filter.
2446 * python/py-framefilter.c (extract_sym): Update to use enum
2447 ext_lang_bt_status.
2448 (extract_value, py_print_type, py_print_value): Ditto.
2449 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2450 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2451 (py_print_frame): Ditto.
2452 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2453 New arg extlang. Update to use enum ext_lang_bt_status.
2454
2455 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2456 finish_python_initialization. Replace with call to
2457 finish_ext_lang_initialization.
2458
2459 * typeprint.c (do_free_global_table): Update to call
2460 free_ext_lang_type_printers.
2461 (create_global_typedef_table): Update to call
2462 start_ext_lang_type_printers.
2463 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2464 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2465 (type_print_options): Change type of global_printers from "void *"
2466 to "struct ext_lang_type_printers *".
2467
2468 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2469 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2470 (gdbpy_preserve_values): Renamed from preserve_python_values.
2471 New arg extlang.
2472 (!HAVE_PYTHON, preserve_python_values): Delete.
2473
2474 * utils.c (quit_flag): Delete, moved to extension.c.
2475 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2476 extension.c.
2477
2478 * eval.c: Delete #include "python/python.h".
2479 * main.c: Delete #include "python/python.h".
2480
2481 * defs.h: Update comment.
2482
6af79985
JB
24832014-02-06 Joel Brobecker <brobecker@adacore.com>
2484
2485 GDB 7.7 released.
2486
12c5175d
MK
24872014-02-05 Mark Kettenis <kettenis@gnu.org>
2488
2489 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2490 defined.
2491
8dc5b319
YQ
24922014-02-05 Yao Qi <yao@codesourcery.com>
2493
2494 * remote.c (remote_pass_signals): Remove local 'buf' and use
2495 rs->buf.
2496 (remote_program_signals): Likewise.
2497
de7b2893
YQ
24982014-02-05 Yao Qi <yao@codesourcery.com>
2499
2500 * ctf.c: Include "inferior.h" and "gdbthread.h".
2501 (CTF_PID): A new macro.
2502 (ctf_open): Call inferior_appeared and add_thread_silent.
2503 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2504 (ctf_thread_alive): New function.
2505 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2506
66d032ac
YQ
25072014-02-05 Yao Qi <yao@codesourcery.com>
2508
2509 Revert this patch:
2510
2511 2013-05-24 Yao Qi <yao@codesourcery.com>
2512
2513 * tracepoint.c (TFILE_PID): Remove.
2514 (tfile_open): Don't add thread and inferior.
2515 (tfile_close): Don't set 'inferior_ptid'. Don't call
2516 exit_inferior_silent.
2517 (tfile_thread_alive): Remove.
2518 (init_tfile_ops): Don't set field 'to_thread_alive' of
2519 tfile_ops.
2520
f4ccffad
CE
25212014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2522
2523 * remote.c (remote_start_remote): Call remote_check_symbols even
2524 if only symbol-file (not file) has been given.
2525
591a12a1
UW
25262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2527
2528 * gdbarch.sh (skip_entrypoint): New callback.
2529 * gdbarch.c, gdbarch.h: Regenerate.
2530 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2531 * infrun.c (fill_in_stop_func): Likewise.
2532 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2533 (ppc_elfv2_elf_make_msymbol_special): New function.
2534 (ppc_elfv2_skip_entrypoint): Likewise.
2535 (ppc_linux_init_abi): Install them for ELFv2.
2536
cc0e89c5
UW
25372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2538
2539 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2540 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2541 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2542 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2543 structures returned in GPRs.
2544
52f548e4
UW
25452014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2546
2547 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2548 offset to the stack parameter list for the ELFv2 ABI.
2549
d4094b6a
UW
25502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2551
2552 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2553 set_gdbarch_convert_from_func_ptr_addr and
2554 set_gdbarch_elf_make_msymbol_special for ELFv1.
2555 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2556 function descriptors on ELFv1.
2557 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2558 set up r12 at function entry.
2559
cd453cd0
UW
25602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2561
2562 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2563 (struct gdbarch_tdep): New member elf_abi.
2564
2565 * rs6000-tdep.c: Include "elf/ppc64.h".
2566 (rs6000_gdbarch_init): Detect ELF ABI version.
2567
0ff3e01f
UW
25682014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2569
2570 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2571 within a register pair holding a DFP 128-bit value on little-endian.
2572 (ppc64_sysv_abi_return_value_base): Likewise.
2573 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2574 (dfp_pseudo_register_write): Likewise.
2575
5b757e5d
UW
25762014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2577
2578 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2579 offset on little-endian when passing _Decimal32.
2580 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2581
084ee545
UW
25822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2583
2584 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2585 of the overlapped FP register within the VSX register on little-
2586 endian platforms.
2587 (efpr_pseudo_register_write): Likewise.
2588
d63167af
UW
25892014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2590
2591 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2592 offset on little-endian when passing small structures.
2593
e765b44c
UW
25942014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2595
2596 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2597 (struct ppc64_sysv_argpos): New data structure.
2598 (ppc64_sysv_abi_push_float): Remove.
2599 (ppc64_sysv_abi_push_val): New function.
2600 (ppc64_sysv_abi_push_integer): Likewise.
2601 (ppc64_sysv_abi_push_freg): Likewise.
2602 (ppc64_sysv_abi_push_vreg): Likewise.
2603 (ppc64_sysv_abi_push_param): Likewise.
2604 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2605 (ppc64_sysv_abi_return_value_base): New function.
2606 (ppc64_sysv_abi_return_value): Refactor to use it.
2607
36c24d95
UW
26082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2609
2610 * NEWS: Document new target powerpc64le-*-linux*.
2611
26fd9228
MK
26122014-02-04 Mark Kettenis <kettenis@gnu.org>
2613
2614 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2615 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2616 core dumps.
2617 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2618 register set used in ELF core dumps. Add floating-point register set.
2619
c5bb7362
KB
26202014-02-03 Kevin Buettner <kevinb@redhat.com>
2621
2622 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2623 dwarf2_to_gdb[] table using symbolic constants. Adjust
2624 penultimate entry from number representing the PC register
2625 to symbolic constant representing the MDR register. Add
2626 constant for the PC register to the end of the table.
2627
af09351e
MK
26282014-02-03 Mark Kettenis <kettenis@gnu.org>
2629
2630 * bsd-kvm.c: Include <sys/param.h>
2631
8507e05d
MK
26322014-02-03 Mark Kettenis <kettenis@gnu.org>
2633
2634 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2635
ae56bfb8
JB
26362014-01-31 Joel Brobecker <brobecker@adacore.com>
2637
2638 * ada-lang.h (clear_ada_sym_cache): Delete.
2639
718ee4dc
UW
26402014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
2641
2642 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2643
401e27fd
JM
26442014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2645
2646 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2647 the sigreturn register save area only if the syscall is
2648 sigreturn.
2649
a7c88acd
JB
26502014-01-29 Joel Brobecker <brobecker@adacore.com>
2651
2652 * valops.c (value_slice): Minor reformatting.
2653
fa0079ea
UW
26542014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
2655
2656 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2657
c6044dd1
JB
26582014-01-28 Joel Brobecker <brobecker@adacore.com>
2659
2660 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2661 New static globals.
2662 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2663 (ada_ignore_descriptive_types_p): New static global.
2664 (find_parallel_type_by_descriptive_type): Return immediately
2665 if ada_ignore_descriptive_types_p is set.
2666 (_initialize_ada_language): Register new commands "maintenance
2667 set ada", "maintenance show ada", "maintenance set ada
2668 ignore-descriptive-types" and "maintenance show ada
2669 ignore-descriptive-types".
2670 * NEWS: Add entry for new "maint ada set/show
2671 ignore-descriptive-types" commands.
2672
568e808b
MM
26732014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2674
2675 * record-btrace.c (record_btrace_close): Call btrace_teardown
2676 for all threads.
2677
467d141b
JB
26782014-01-27 Joel Brobecker <brobecker@adacore.com>
2679
2680 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2681 "ui-out.h".
2682
fb151210
JB
26832014-01-27 Joel Brobecker <brobecker@adacore.com>
2684
2685 * ada-typeprint (type_is_full_subrange_of_target_type):
2686 New function.
2687 (print_range): Add parameter bounds_prefered_p. If not set,
2688 try printing range types using the name of their base type.
2689 (print_range_type): Add parameter bounds_prefered_p.
2690 Use it in call to print_range.
2691 (print_array_type, ada_print_type): Update calls to print_range
2692 and print_range_type.
2693
aba02109
JB
26942014-01-27 Joel Brobecker <brobecker@adacore.com>
2695
2696 * ada-typeprint.c (print_array_type, print_choices, print_range)
2697 (print_range_bound, print_dynamic_range_bound, print_range_type):
2698 Remove declaration.
2699
e62e21fd
JB
27002014-01-27 Joel Brobecker <brobecker@adacore.com>
2701
2702 * ada-typeprint.c (print_range): Add missing empty line
2703 after local declaration.
2704
859cf5d1
JB
27052014-01-27 Joel Brobecker <brobecker@adacore.com>
2706
2707 * ada-valprint.c (print_optional_low_bound): Get index_type's
2708 target type for as long as it is a TYPE_CODE_RANGE.
2709
25790f6f
JB
27102014-01-27 Joel Brobecker <brobecker@adacore.com>
2711
2712 * procfs.c (procfs_make_note_section): Remove assertion and
2713 associated comment.
2714
6b6aa828
YQ
27152014-01-24 Yao Qi <yao@codesourcery.com>
2716
2717 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2718 * corelow.c (get_core_siginfo): Likewise.
2719
5d6df423
YQ
27202014-01-24 Yao Qi <yao@codesourcery.com>
2721
2722 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2723 ULONGEST. Don't check 'len' is negative.
2724 (remote_write_bytes): Change type of 'len' to ULONGEST.
2725
83b645b8
TT
27262014-01-23 Tom Tromey <tromey@redhat.com>
2727
2728 PR python/16485:
2729 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2730 Handle exception from frame.block.
2731 (FrameVars.fetch_frame_locals): Likewise.
2732
0740f8d8
TT
27332014-01-23 Tom Tromey <tromey@redhat.com>
2734
2735 PR python/16487:
2736 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2737 on a NULL pointer. Move "goto error" to correct place.
2738
21909fa1
TT
27392014-01-23 Tom Tromey <tromey@redhat.com>
2740
2741 PR python/16491:
2742 * python/py-framefilter.c (apply_frame_filter): Call
2743 ensure_python_env after computing gdbarch.
2744
17fde6d0
YQ
27452014-01-23 Yao Qi <yao@codesourcery.com>
2746
2747 * target.c (raw_memory_xfer_partial): Change argument type
2748 from void * to gdb_byte *.
2749 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2750
87ce2a04
DE
27512014-01-22 Doug Evans <dje@google.com>
2752
2753 New gdbserver option --debug-format=timestamp.
2754 * NEWS: Mention it.
2755
237b092b
AA
27562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2757
2758 * syscalls/s390x-linux.xml: New file.
2759 * syscalls/s390-linux.xml: New file.
2760 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2761 (XML_SYSCALL_FILENAME_S390X): Likewise.
2762 (op_svc): New enum value for SVC opcode.
2763 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2764 (s390_linux_get_syscall_number): New function.
2765 (s390_gdbarch_init): Register '*get_syscall_number' and the
2766 syscall xml file name.
2767 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2768 "s390-linux.xml" and "s390x-linux.xml".
2769 * NEWS: Announce new feature.
2770
54bff650
BS
27712014-01-22 Baruch Siach <baruch@tkos.co.il>
2772
2773 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2774
14e361d7
PA
27752014-01-22 Pedro Alves <palves@redhat.com>
2776
2777 * xtensa-config.c: Include defs.h.
2778
46bbb3ed
JB
27792014-01-22 Joel Brobecker <brobecker@adacore.com>
2780
2781 * common/common-utils.h: Add "ARI:" comment beside __func__
2782 reference.
2783
3a80edfc
JB
27842014-01-22 Joel Brobecker <brobecker@adacore.com>
2785
2786 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2787 documentation a bit.
2788
4869db5e
RM
27892014-01-21 Roland McGrath <mcgrathr@google.com>
2790
2791 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2792 * configure: Regenerate.
2793 * aclocal.m4: Regenerate.
2794 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2795 New substituted variables.
2796 (install-strip): New target.
2797 (INSTALL_SCRIPT): New substituted variable.
2798 (FLAGS_TO_PASS): Add it.
2799 (install-only): Use $(INSTALL_SCRIPT) rather than
2800 $(INSTALL_PROGRAM) for gcore.
2801
9ea4267d
TT
28022014-01-20 Tom Tromey <tromey@redhat.com>
2803
2804 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2805 together.
2806
1f2bdf09
TT
28072014-01-20 Tom Tromey <tromey@redhat.com>
2808
2809 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2810 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2811 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2812 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2813 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2814 (struct cmd_list_element) <flags>: Remove.
2815 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2816 doc_allocated>: New fields.
2817 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2818 bitfields.
2819 * maint.c (maintenance_do_deprecate): Update.
2820 * top.c (execute_command): Update.
2821
e671835b
BS
28222014-01-20 Baruch Siach <baruch@tkos.co.il>
2823
2824 * xtensa-linux-nat.c: Include asm/ptrace.h.
2825
50367cd2
IB
28262014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2827
2828 * Makefile.in (SFILES): Add d-support.c.
2829 (COMMON_OBS): Add d-support.o.
2830 * d-lang.h (d_parse_symbol): Add comment, now defined in
2831 d-support.c.
2832 * d-lang.c (parse_call_convention)
2833 (parse_attributes, parse_function_types)
2834 (parse_function_args, parse_type, parse_identifier)
2835 (call_convention_p, d_parse_symbol): Move functions to ...
2836 * d-support.c: ... New file.
2837
ec9f644a
IB
28382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2839
2840 * d-lang.h (d_parse_symbol): Add declaration.
2841 * d-lang.c (extract_identifiers)
2842 (extract_type_info): Remove functions.
2843 (parse_call_convention, parse_attributes)
2844 (parse_function_types, parse_function_args)
2845 (parse_type, parse_identifier, call_convention_p)
2846 (d_parse_symbol): New functions.
2847 (d_demangle): Use d_parse_symbol to demangle D symbols.
2848
94b1b47e
IB
28492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2850
2851 * d-lang.h (struct builtin_d_type): New data type.
2852 (builtin_d_type): Add declaration.
2853 * d-lang.c (d_language_arch_info, build_d_types)
2854 (builtin_d_type): New functions.
2855 (enum d_primitive_types): New data type.
2856 (d_language_defn): Change c_language_arch_info to
2857 d_language_arch_info.
2858 (d_type_data): New static variable.
2859 (_initialize_d_language): Initialize d_type_data.
2860
63778547
IB
28612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2862
2863 * d-lang.h (d_main_name): Add declaration.
2864 * d-lang.c (d_main_name): New function.
2865 * symtab.c (find_main_name): Add call to d_main_name.
2866
3271ba66
IB
28672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2868
2869 * d-lang.c (d_language_defn): Change macro_expansion_c to
2870 macro_expansion_no.
2871
d36b3012
IB
28722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2873
2874 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2875
c90a6fb7
SDJ
28762014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2877
2878 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2879 gdb_exception" declaration.
2880 * remote.c (getpkt_or_notif_sane): Likewise.
2881
749234e5
DE
28822014-01-17 Doug Evans <dje@google.com>
2883
2884 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2885 function, contents of dirnames_to_char_ptr_vec_append moved here.
2886 (delim_string_to_char_ptr_vec): New function.
2887 (dirnames_to_char_ptr_vec_append): Rewrite.
2888 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2889
df049a58
DE
28902014-01-17 Doug Evans <dje@google.com>
2891
2892 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2893 and moved here ...
2894 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2895 #include "common-utils.h".
2896 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2897 * common/vec.h (VEC_ASSERT_PASS): Update.
2898 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2899 (MACH_CHECK_ERROR): Update.
2900
69f97648
SM
29012014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2902
2903 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2904 comments.
2905 * gdbarch.h: Regenerate.
2906
98b1cfdc
TT
29072014-01-16 Tom Tromey <tromey@redhat.com>
2908
2909 * value.c (struct value) <regnum>: Move earlier.
2910
77a19445
TT
29112014-01-16 Tom Tromey <tromey@redhat.com>
2912
2913 * remote.c (extended_remote_create_inferior): Rename from
2914 extended_remote_create_inferior_1. Add "ops" argument. Remove
2915 old implementation.
2916
62261490
PA
29172014-01-16 Pedro Alves <palves@redhat.com>
2918
2919 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2920 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2921 the backchain.
2922
4d65956b
DE
29232014-01-16 Doug Evans <dje@google.com>
2924
2925 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2926
52834460
MM
29272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2928
2929 * btrace.h (btrace_thread_flag): New.
2930 (struct btrace_thread_info) <flags>: New.
2931 * record-btrace.c (record_btrace_resume_thread)
2932 (record_btrace_find_thread_to_move, btrace_step_no_history)
2933 (btrace_step_stopped, record_btrace_start_replaying)
2934 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2935 (record_btrace_find_resume_thread): New.
2936 (record_btrace_resume, record_btrace_wait): Extend.
2937 (record_btrace_can_execute_reverse): New.
2938 (record_btrace_open): Fail in non-stop mode.
2939 (record_btrace_set_replay): Split into this, ...
2940 (record_btrace_stop_replaying): ... this, ...
2941 (record_btrace_clear_histories): ... and this.
2942 (init_record_btrace_ops): Init to_can_execute_reverse.
2943 * NEWS: Announce it.
2944
118e6252
MM
29452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2946
2947 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2948 (forward_target_decr_pc_after_break)
2949 (target_decr_pc_after_break): New.
2950 * target.c (forward_target_decr_pc_after_break)
2951 (target_decr_pc_after_break): New.
2952 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2953 instead of gdbarch_decr_pc_after_break.
2954 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2955 instead of gdbarch_decr_pc_after_break.
2956 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2957 instead of gdbarch_decr_pc_after_break.
2958 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2959 instead of gdbarch_decr_pc_after_break.
2960 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2961 instead of gdbarch_decr_pc_after_break.
2962 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2963 instead of gdbarch_decr_pc_after_break.
2964
6e07b1d2
MM
29652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2966
2967 * btrace.c: Include regcache.h.
2968 (btrace_add_pc): New.
2969 (btrace_enable): Call btrace_add_pc.
2970 (btrace_is_empty): New.
2971 * btrace.h (btrace_is_empty): New.
2972 * record-btrace.c (require_btrace, record_btrace_info): Call
2973 btrace_is_empty.
2974
969c39fb
MM
29752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2976
2977 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2978 Support delta reads.
2979 (linux_disable_btrace): Change return type.
2980 * common/linux-btrace.h (linux_read_btrace): Change parameters
2981 and return type to allow error reporting. Update users.
2982 (linux_disable_btrace): Change return type. Update users.
2983 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2984 New.
2985 (btrace_error): New.
2986 (btrace_block) <begin>: Comment on BEGIN == 0.
2987 * btrace.c (btrace_compute_ftrace): Start from the end of
2988 the current trace.
2989 (btrace_stitch_trace, btrace_clear_history): New.
2990 (btrace_fetch): Read delta trace, return if replaying.
2991 (btrace_clear): Move clear history code to btrace_clear_history.
2992 (parse_xml_btrace): Throw an error if parsing failed.
2993 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2994 and return type to allow error reporting.
2995 (target_read_btrace): Change parameters and return type to allow
2996 error reporting.
2997 * target.c (target_read_btrace): Update.
2998 * remote.c (remote_read_btrace): Support delta reads. Pass
2999 errors on.
3000 * NEWS: Announce it.
3001
0b722aec
MM
30022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3003
3004 * record.h (record_btrace_frame_unwind)
3005 (record_btrace_tailcall_frame_unwind): New declarations.
3006 * dwarf2-frame: Include record.h
3007 (dwarf2_frame_cfa): Throw an error for btrace frames.
3008 * record-btrace.c: Include hashtab.h.
3009 (btrace_get_bfun_name): New.
3010 (btrace_call_history): Call btrace_get_bfun_name.
3011 (struct btrace_frame_cache): New.
3012 (bfcache): New.
3013 (bfcache_hash, bfcache_eq, bfcache_new): New.
3014 (btrace_get_frame_function): New.
3015 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3016 (record_btrace_frame_this_id): Compute own id.
3017 (record_btrace_frame_prev_register): Provide PC, throw_error
3018 for all other registers.
3019 (record_btrace_frame_sniffer): Detect btrace frames.
3020 (record_btrace_tailcall_frame_sniffer): New.
3021 (record_btrace_frame_dealloc_cache): New.
3022 (record_btrace_frame_unwind): Add new functions.
3023 (record_btrace_tailcall_frame_unwind): New.
3024 (_initialize_record_btrace): Allocate cache.
3025 * btrace.c (btrace_clear): Call reinit_frame_cache.
3026 * NEWS: Announce it.
3027
066ce621
MM
30282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3029
3030 * record-btrace.c (record_btrace_set_replay)
3031 (record_btrace_goto_begin, record_btrace_goto_end)
3032 (record_btrace_goto): New.
3033 (init_record_btrace_ops): Initialize them.
3034 * NEWS: Announce it.
3035
e2887aa3
MM
30362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3037
3038 * record-btrace.c (record_btrace_find_new_threads)
3039 (record_btrace_thread_alive): New.
3040 (init_record_btrace_ops): Initialize to_find_new_threads and
3041 to_thread_alive.
3042
b2f4cfde
MM
30432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3044
3045 * record-btrace.c (record_btrace_resume): New.
3046 (record_btrace_wait): New.
3047 (init_record_btrace_ops): Initialize to_wait and to_resume.
3048
633785ff
MM
30492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3050
3051 * record-btrace.c (record_btrace_xfer_partial)
3052 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3053 (record_btrace_allow_memory_access): New.
3054 (init_record_btrace_ops): Initialize new methods.
3055 * target.c (raw_memory_xfer_partial): Bail out if target reports
3056 that this memory is not available.
3057
3db08215
MM
30582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3059
3060 * target.h (target_ops) <to_insert_breakpoint>
3061 <to_remove_breakpoint>: Add target_ops parameter.
3062 (forward_target_insert_breakpoint): New.
3063 (forward_target_remove_breakpoint): New.
3064 (memory_remove_breakpoint, memory_insert_breakpoint):
3065 Add target_ops parameter.
3066 * target.c (target_insert_breakpoint): Split into this and ...
3067 (forward_target_insert_breakpoint): ... this.
3068 (target_remove_breakpoint): Split into this and ...
3069 (forward_target_remove_breakpoint): ... this.
3070 (debug_to_insert_breakpoint): Add target_ops parameter.
3071 Call forward_target_insert_breakpoint.
3072 (debug_to_remove_breakpoint): Add target_ops parameter.
3073 Call forward_target_remove_breakpoint.
3074 (update_current_target): Do not inherit or default to_insert_breakpoint
3075 and to_remove_breakpoint.
3076 * corelow.c (ignore): Add target_ops parameter.
3077 * exec.c (ignore): Add target_ops parameter.
3078 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3079 Add target_ops parameter.
3080 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3081 Add target_ops parameter.
3082 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3083 Add target_ops parameter.
3084 * record-full.c (record_full_beneath_to_insert_breakpoint)
3085 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3086 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3087 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3088 (record_full_core_remove_breakpoint): Add target_ops parameter.
3089 Update users.
3090 (record_full_beneath_to_insert_breakpoint_ops)
3091 (record_full_beneath_to_remove_breakpoint_ops)
3092 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3093 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3094 tmp_to_remove_breakpoint_ops,
3095 record_full_beneath_to_insert_breakpoint_ops, and
3096 record_full_beneath_to_remove_breakpoint_ops.
3097 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3098 (m32r_remove_breakpoint): Add target_ops parameter.
3099 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3100 Add target_ops parameter.
3101 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3102 Add target_ops parameter.
3103
cecac1ab
MM
31042014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3105 Markus Metzger <markus.t.metzger@intel.com>
3106
3107 * record-btrace.c: Include frame-unwind.h.
3108 (record_btrace_frame_unwind_stop_reason)
3109 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3110 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3111 New.
3112 (init_record_btrace_ops): Install it.
3113
824344ca
MM
31142014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3117 get_prev_frame_1.
3118
32261e52
MM
31192014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3122 earlier.
3123
ea001bdc
MM
31242014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3125
3126 * frame-unwind.c: Include target.h.
3127 (frame_unwind_try_unwinder): New function with code from ...
3128 (frame_unwind_find_by_frame): ... here. New variable
3129 unwinder_from_target, call also target_get_unwinder)
3130 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3131 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3132 * target.h (struct target_ops): New fields to_get_unwinder and
3133 to_get_tailcall_unwinder.
3134 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3135
1f3ef581
MM
31362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3137
3138 * record-btrace.c (record_btrace_fetch_registers)
3139 (record_btrace_store_registers)
3140 (record_btrace_to_prepare_to_store): New.
3141 (init_record_btrace_ops): Add the above.
3142
f32dbf8c
MM
31432014-01-16 Tom Tromey <tromey@redhat.com>
3144
3145 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3146 * target.h (struct target_ops) <to_prepare_to_store>: Add
3147 argument.
3148 (target_prepare_to_store): Add argument.
3149 * target.c (debug_to_prepare_to_store): Add argument.
3150 (update_current_target): Update.
3151 * remote.c (remote_prepare_to_store): Add 'self' argument.
3152 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3153 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3154 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3155 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3156 argument.
3157 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3158 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3159 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3160 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3161 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3162
07bbe694
MM
31632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3164
3165 * btrace.h (replay) <replay>: New.
3166 (btrace_is_replaying): New.
3167 * btrace.c (btrace_clear): Free replay iterator.
3168 (btrace_is_replaying): New.
3169 * record-btrace.c (record_btrace_is_replaying): New.
3170 (record_btrace_info): Print insn number if replaying.
3171 (record_btrace_insn_history): Start at replay position.
3172 (record_btrace_call_history): Start at replay position.
3173 (init_record_btrace_ops): Init to_record_is_replaying.
3174
0688d04e
MM
31752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3176
3177 * record-btrace.c (record_btrace_insn_history_range): Include
3178 end.
3179 (record_btrace_insn_history_from): Adjust range.
3180 (record_btrace_call_history_range): Include
3181 end.
3182 (record_btrace_call_history_from): Adjust range.
3183 * NEWS: Announce changes.
3184
8710b709
MM
31852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3186
3187 * record.h (enum record_print_flag)
3188 <record_print_indent_calls>: New.
3189 * record.c (get_call_history_modifiers): Recognize /c modifier.
3190 (_initialize_record): Document /c modifier.
3191 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3192 Reorder fields. Optionally indent the function name. Update
3193 all users.
3194 * NEWS: Announce changes.
3195
d0fa7535
MM
31962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3197
3198 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3199
5de9129b
MM
32002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3201
3202 * btrace.c (ftrace_new_function): Start counting at one.
3203 * record-btrace.c (record_btrace_info): Adjust number of calls
3204 and insns.
3205 * NEWS: Announce it.
3206
7acbe133
MM
32072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3208
3209 * record-btrace.c (btrace_call_history_insn_range): Print
3210 insn range as [begin, end].
3211
23a7fe75
MM
32122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3213
3214 * btrace.h (struct btrace_func_link): New.
3215 (enum btrace_function_flag): New.
3216 (struct btrace_inst): Rename to ...
3217 (struct btrace_insn): ...this. Update all users.
3218 (struct btrace_func) <ibegin, iend>: Remove.
3219 (struct btrace_func_link): New.
3220 (struct btrace_func): Rename to ...
3221 (struct btrace_function): ...this. Update all users.
3222 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3223 (number, level, flags>: New.
3224 (struct btrace_insn_iterator): Rename to ...
3225 (struct btrace_insn_history): ...this.
3226 Update all users.
3227 (struct btrace_insn_iterator, btrace_call_iterator): New.
3228 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3229 (struct btrace_target_info) <begin, end, level>
3230 <insn_history, call_history>: New.
3231 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3232 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3233 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3234 (btrace_call_number, btrace_call_begin, btrace_call_end)
3235 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3236 (btrace_find_function_by_number, btrace_set_insn_history)
3237 (btrace_set_call_history): New.
3238 * btrace.c (btrace_init_insn_iterator)
3239 (btrace_init_func_iterator, compute_itrace): Remove.
3240 (ftrace_print_function_name, ftrace_print_filename)
3241 (ftrace_skip_file): Change
3242 parameter to const.
3243 (ftrace_init_func): Remove.
3244 (ftrace_debug): Use new btrace_function fields.
3245 (ftrace_function_switched): Also consider gaining and
3246 losing symbol information).
3247 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3248 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3249 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3250 New.
3251 (ftrace_new_function): Move. Remove debug print.
3252 (ftrace_update_lines, ftrace_update_insns): New.
3253 (ftrace_update_function): Check for call, ret, and jump.
3254 (compute_ftrace): Renamed to ...
3255 (btrace_compute_ftrace): ...this. Rewritten to compute call
3256 stack.
3257 (btrace_fetch, btrace_clear): Updated.
3258 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3259 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3260 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3261 (btrace_call_number, btrace_call_begin, btrace_call_end)
3262 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3263 (btrace_find_function_by_number, btrace_set_insn_history)
3264 (btrace_set_call_history): New.
3265 * record-btrace.c (require_btrace): Use new btrace thread
3266 info fields.
3267 (record_btrace_info, btrace_insn_history)
3268 (record_btrace_insn_history, record_btrace_insn_history_range):
3269 Use new btrace thread info fields and new iterator.
3270 (btrace_func_history_src_line): Rename to ...
3271 (btrace_call_history_src_line): ...this. Use new btrace
3272 thread info fields.
3273 (btrace_func_history): Rename to ...
3274 (btrace_call_history): ...this. Use new btrace thread info
3275 fields and new iterator.
3276 (record_btrace_call_history, record_btrace_call_history_range):
3277 Use new btrace thread info fields and new iterator.
3278
8372a7cb
MM
32792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3280
3281 * frame.h (frame_id_build_unavailable_stack_special): New.
3282 * frame.c (frame_id_build_unavailable_stack_special): New.
3283
c2170eef
MM
32842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3285
3286 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3287 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3288 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3289 to gdbarch.
3290 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3291 (i386_insn_is_jump, i386_jmp_p): New.
3292 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3293 insn_is_jump to gdbarch.
3294 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3295 * gdbarch.h: Regenerated.
3296 * gdbarch.c: Regenerated.
3297 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3298 (default_insn_is_jump): New.
3299 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3300 (default_insn_is_jump): New.
3301
864089d2
MM
33022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3303
3304 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3305 Change to ...
3306 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3307 (btrace_read_type) <btrace_read_new>: Change to ...
3308 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3309
ed9edfb5
MM
33102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3311
3312 * common/linux-btrace.c (linux_read_btrace): Free trace from
3313 previous iteration.
3314
fbcbc3fd
DE
33152014-01-15 Doug Evans <dje@google.com>
3316
3317 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3318 uint32_t.
3319
3d548a53
TT
33202014-01-15 Tom Tromey <tromey@redhat.com>
3321
3322 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3323 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3324 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3325 (set_objfile_main_name): New function.
3326 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3327 language_of_main>: New fields.
3328 (set_objfile_main_name): Declare.
3329 * symtab.c (find_main_name): Loop over objfiles to find the main
3330 name and language.
3331 (set_main_name): Now static.
3332 (get_main_info): Add comment.
3333 * symtab.h (set_main_name): Don't declare.
3334
32ac0d11
TT
33352014-01-15 Tom Tromey <tromey@redhat.com>
3336
3337 * symtab.c (main_progspace_key): New global.
3338 (struct main_info): New.
3339 (name_of_main, language_of_main): Remove.
3340 (get_main_info, main_info_cleanup): New function.
3341 (set_main_name, main_name, main_language): Use get_main_info.
3342 (_initialize_symtab): Initialize main_progspace_key.
3343
9e6c82ad
TT
33442014-01-15 Tom Tromey <tromey@redhat.com>
3345
3346 * dbxread.c (process_one_symbol): Update.
3347 * dwarf2read.c (read_partial_die): Update.
3348 * symfile.c (set_initial_language): Call main_language.
3349 * symtab.c (language_of_main): Now static.
3350 (set_main_name): Add 'lang' parameter.
3351 (find_main_name): Update.
3352 (main_language): New function.
3353 (symtab_observer_executable_changed): Update.
3354 * symtab.h (set_main_name): Update.
3355 (language_of_main): Remove.
3356 (main_language): Declare.
3357
6ef55de7
TT
33582014-01-15 Tom Tromey <tromey@redhat.com>
3359
3360 * symfile.c (init_entry_point_info): Use new "initialized" field.
3361 Update.
3362 * objfiles.h (struct entry_point) <initialized>: New field.
3363 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3364 (struct objfile) <ei>: ...here. Remove.
3365 * objfiles.c (entry_point_address_query): Update.
3366
53eddfa6
TT
33672014-01-15 Tom Tromey <tromey@redhat.com>
3368
3369 * objfiles.c (entry_point_address_query): Relocate entry point
3370 address.
3371 (objfile_relocate1): Do not relocate entry point address.
3372 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3373 <the_bfd_section_index>: New field.
3374 * symfile.c (init_entry_point_info): Find the entry point's
3375 section.
3376
d56e56aa
TT
33772014-01-15 Tom Tromey <tromey@redhat.com>
3378
3379 * solib-frv.c (enable_break): Use entry_point_address_query.
3380
33a97bbe
OJ
33812014-01-15 Omair Javaid <omair.javaid@linaro.org>
3382
3383 * NEWS: Add note on improved process record-replay on
3384 arm*-linux* targets.
3385
c6ec2b30
OJ
33862014-01-15 Omair Javaid <omair.javaid@linaro.org>
3387
3388 * arm-tdep.c (enum arm_record_result): New enum.
3389 (arm_record_unsupported_insn): New function.
3390 (arm_record_coproc_data_proc): Removed.
3391 (thumb2_record_ld_st_multiple): New function.
3392 (thumb2_record_ld_st_dual_ex_tbb): New function.
3393 (thumb2_record_data_proc_sreg_mimm): New function.
3394 (thumb2_record_ps_dest_generic): New function.
3395 (thumb2_record_branch_misc_cntrl): New function.
3396 (thumb2_record_str_single_data): New function.
3397 (thumb2_record_ld_mem_hints): New function.
3398 (thumb2_record_ld_word): New function.
3399 (thumb2_record_lmul_lmla_div): New function.
3400 (thumb2_record_decode_insn_handler): New function.
3401 (decode_insn): Add thumb32 instruction handlers.
3402
97dfe206
OJ
34032014-01-15 Omair Javaid <omair.javaid@linaro.org>
3404
3405 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3406 (struct arm_linux_record_tdep): Declare.
3407 (arm_canonicalize_syscall): New function.
3408 (arm_all_but_pc_registers_record): New function.
3409 (arm_linux_syscall_record): New function.
3410 (arm_linux_init_abi): Add syscall recording constructs.
3411 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3412 decoding. (arm_record_coproc_data_proc): Update arm syscall
3413 decoding.
3414 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3415 <arm_syscall_record>: New field.
3416 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3417 gdb_target_obs.
3418
9904a494
OJ
34192014-01-15 Omair Javaid <omair.javaid@linaro.org>
3420
3421 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3422 register for push instruction recording.
3423
f969241e
OJ
34242014-01-15 Omair Javaid <omair.javaid@linaro.org>
3425
3426 * arm-tdep.c (thumb_record_misc): Update to correct logical
3427 error while recording ldm, ldmia and pop instructions.
3428
bfbbec00
OJ
34292014-01-15 Omair Javaid <omair.javaid@linaro.org>
3430
3431 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3432
e40adcc9
PA
34332014-01-15 Pedro Alves <palves@redhat.com>
3434
3435 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3436 (go32_resume, go32_fetch_registers, store_register)
3437 (go32_store_registers, go32_prepare_to_store)
3438 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3439 (go32_create_inferior, go32_can_run, go32_terminal_init)
3440 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3441 declarations.
3442
b0a16e66
TT
34432014-01-15 Tom Tromey <tromey@redhat.com>
3444
3445 * target.h (async_callback_ftype): New typedef.
3446 (struct target_ops) <to_async>: Use it.
3447
bf7105a4
JB
34482014-01-15 Joel Brobecker <brobecker@adacore.com>
3449
3450 * python/py-value.c (get_field_type): Remove unnecessary curly
3451 braces for single-statement if block.
3452
a8f35c2e
JB
34532014-01-15 Joel Brobecker <brobecker@adacore.com>
3454
3455 * python/py-type.c (convert_field): Add missing empty line
3456 after declarations.
3457
bb4142cf
DE
34582014-01-14 Doug Evans <dje@google.com>
3459
3460 * symfile.h (expand_symtabs_matching): Renamed from
3461 expand_partial_symbol_names. Update prototype.
3462 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3463 * symfile.c (expand_symtabs_matching): Renamed from
3464 expand_partial_symbol_names. New args file_matcher, kind.
3465 Rename arg fun to symbol_matcher.
3466 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3467 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3468 ada_expand_partial_symbol_name.
3469 (ada_make_symbol_completion_list): Update to call
3470 expand_symtabs_matching.
3471 (ada_add_global_exceptions): Call expand_symtabs_matching.
3472 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3473 call map_symbol_filenames.
3474 * symtab.c (sources_info): Update to call map_symbol_filenames.
3475 (search_symbols): Call expand_symtabs_matching.
3476 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3477 (default_make_symbol_completion_list_break_on): Update to call
3478 expand_symtabs_matching.
3479 (make_source_files_completion_list): Update to call
3480 map_symbol_filenames.
3481
206f2a57
DE
34822014-01-14 Doug Evans <dje@google.com>
3483
3484 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3485 (expand_symtabs_symbol_matcher_ftype): New typedef.
3486 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3487 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3488 * symfile.c (expand_partial_symbol_names): Update to use
3489 expand_symtabs_symbol_matcher_ftype.
3490 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3491 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3492 Arg name_matcher renamed to symbol_matcher.
3493 * psymtab.c (recursively_search_psymtabs): Update to use
3494 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3495 sym_matcher.
3496 (expand_symtabs_matching_via_partial): Update to use
3497 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3498 Arg name_matcher renamed to symbol_matcher.
3499
540c2971
DE
35002014-01-14 Doug Evans <dje@google.com>
3501
3502 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3503 (map_partial_symbol_filenames): Ditto.
3504 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3505 (map_partial_symbol_filenames): Ditto.
3506 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3507 (map_partial_symbol_filenames): Ditto.
3508 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3509 (map_partial_symbol_filenames): Ditto.
3510 * symtab.c: Delete #include "psymtab.h".
3511
8213266a
PA
35122014-01-14 Pedro Alves <palves@redhat.com>
3513 Tom Tromey <tromey@redhat.com>
3514
3515 * infrun.c (use_displaced_stepping): Use find_record_target
3516 instead of RECORD_IS_USED.
3517 (adjust_pc_after_break): Use record_full_is_used instead of
3518 RECORD_IS_USED.
3519 * record-btrace.c (record_btrace_open): Call record_preopen
3520 instead of checking RECORD_IS_USED.
3521 * record-full.c (record_full_shortname)
3522 (record_full_core_shortname): New globals.
3523 (record_full_is_used): New function.
3524 (find_full_open): Call record_preopen instead of checking
3525 RECORD_IS_USED.
3526 (init_record_full_ops): Set the target's shortname to
3527 record_full_shortname.
3528 (init_record_full_core_ops): Set the target's shortname to
3529 record_full_core_shortname.
3530 * record-full.h (record_full_is_used): Declare.
3531 * record.c (find_record_target): Make extern.
3532 (record_preopen): New function.
3533 * record.h (RECORD_IS_USED): Delete macro.
3534 (find_record_target, record_preopen): Declare functions.
3535
7ec1862d
YQ
35362014-01-14 Yao Qi <yao@codesourcery.com>
3537
3538 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3539 'len''s type to ULONGEST.
3540 (core_xfer_shared_libraries_aix): Likewise.
3541 * gdbarch.c, gdbarch.h: Regenerated.
3542 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3543 Change type of 'len' to ULONGEST.
3544 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3545 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3546
dea80a27
YQ
35472014-01-14 Yao Qi <yao@codesourcery.com>
3548
3549 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3550 type of 'len' to ULONGEST.
3551 (linux_xfer_osdata_processgroups): Likewise.
3552 (linux_xfer_osdata_threads): Likewise.
3553 (linux_xfer_osdata_fds): Likewise.
3554 (linux_xfer_osdata_isockets): Likewise.
3555 (linux_xfer_osdata_shm): Likewise.
3556 (linux_xfer_osdata_sem): Likewise.
3557 (linux_xfer_osdata_msg): Likewise.
3558 (linux_common_xfer_osdata): Likewise.
3559 (struct osdata_type) <getter>: Likewise.
3560 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3561 the declaration.
3562
b55e14c7
YQ
35632014-01-14 Yao Qi <yao@codesourcery.com>
3564
3565 * target.h (target_xfer_partial_ftype): Update.
3566 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3567 ULONGEST.
3568 * aix-thread.c (aix_thread_xfer_partial): Change type of
3569 argument 'len' to ULONGEST.
3570 * auxv.c (procfs_xfer_auxv): Likewise.
3571 (ld_so_xfer_auxv): Likewise.
3572 (memory_xfer_auxv): Likewise.
3573 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3574 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3575 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3576 * corelow.c (core_xfer_partial): Likewise.
3577 * ctf.c (ctf_xfer_partial): Likewise.
3578 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3579 '%u'.
3580 (darwin_read_dyld_info): Likewise.
3581 (darwin_xfer_partial): Likewise.
3582 * exec.c (section_table_xfer_memory_partial): Likewise.
3583 (exec_xfer_partial): Likewise.
3584 * exec.h (section_table_xfer_memory_partial): Update
3585 declaration.
3586 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3587 instead of plongest.
3588 (gnu_xfer_partial): Likewise.
3589 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3590 (ia64_hpux_xfer_solib_got): Likewise.
3591 (ia64_hpux_xfer_partial): Likewise.
3592 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3593 * inf-ptrace.c (inf_ptrace_xfer_partial):
3594 * inf-ttrace.c (inf_ttrace_xfer_partial):
3595 * linux-nat.c (linux_xfer_siginfo): Likewise.
3596 (linux_nat_xfer_partial): Likewise.
3597 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3598 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3599 * monitor.c (monitor_xfer_memory): Likewise.
3600 (monitor_xfer_partial): Likewise.
3601 * procfs.c (procfs_xfer_partial): Likewise.
3602 * record-full.c (record_full_xfer_partial): Likewise.
3603 (record_full_core_xfer_partial): Likewise.
3604 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3605 instead of plongest.
3606 (gdbsim_xfer_partial): Likewise.
3607 * remote.c (remote_xfer_partial): Likewise.
3608 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3609 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3610 declaration.
3611 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3612 (rs6000_xfer_shared_libraries): Likewise.
3613 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3614 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3615 (sparc_xfer_partial): Likewise.
3616 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3617 (spu_xfer_partial): Likewise.
3618 * spu-multiarch.c (spu_xfer_partial): Likewise.
3619 * target.c (target_read_live_memory): Likewise.
3620 (memory_xfer_live_readonly_partial): Likewise.
3621 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3622 (target_xfer_partial, default_xfer_partial): Likewise.
3623 (current_xfer_partial): Likewise.
3624 * tracepoint.c (tfile_xfer_partial): Likewise.
3625 * windows-nat.c (windows_xfer_memory): Likewise. Call
3626 pulongest instead of plongest.
3627 (windows_xfer_partial): Likewise.
3628 (windows_xfer_shared_libraries): Likewise.
3629
05804640
YQ
36302014-01-14 Yao Qi <yao@codesourcery.com>
3631
3632 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3633 target_xfer_partial_ftype.
3634
b5b08fb4
SC
36352014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3636
3637 PR python/15464
3638 PR python/16113
3639 * valops.c (value_struct_elt_bitpos): New function
3640 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3641 object to 'None' if the field name is an empty string ("").
3642 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3643 attribute to look for a field when 'name' is 'None'.
3644 (get_field_type): New function
3645
13aaf454
DE
36462014-01-13 Doug Evans <dje@google.com>
3647
3648 PR symtab/16426
3649 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3650 (try_open_dwop_file): Ditto.
3651 * gdb_bfd.c: #include "vec.h".
3652 (bfdp): New typedef.
3653 (struct gdb_bfd_data): New member included_bfds.
3654 (gdb_bfd_unref): Unref all included bfds.
3655 (gdb_bfd_record_inclusion): New function.
3656 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3657
c2cec97c
TT
36582014-01-13 Tom Tromey <tromey@redhat.com>
3659
3660 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3661
78e5999d
TT
36622014-01-13 Tom Tromey <tromey@redhat.com>
3663
3664 * defs.h (use_windows): Remove.
3665 * gdb.c (main): Update.
3666 * main.c (captured_main, gdb_main): Update.
3667 * main.h (struct captured_main_args) <use_windows>: Remove.
3668 * top.c (use_windows): Remove.
3669
f2052bbe
TT
36702014-01-13 Tom Tromey <tromey@redhat.com>
3671
3672 * defs.h (deprecated_flush_hook): Remove.
3673
fde4f8ed
JK
36742014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3675
3676 PR threads/16216
3677 * linux-thread-db.c (try_thread_db_load): Add parameter
3678 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3679 (try_thread_db_load_from_pdir_1): Move it there from here.
3680 (try_thread_db_load_from_sdir): Update caller.
3681 (try_thread_db_load_from_dir): Move it there from here.
3682
bdf61915
PP
36832014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3684
3685 * regformats/regdat.sh: Always rewrite the register file.
3686
f71e1a8d
PA
36872014-01-13 Pedro Alves <palves@redhat.com>
3688
3689 * Makefile.in (CHECK_HEADERS): New variable.
3690 (check-headers:): New rule.
3691
42c85435
TT
36922014-01-13 Tom Tromey <tromey@redhat.com>
3693
3694 * cli/cli-setshow.c (do_set_command): Update.
3695 * defs.h (deprecated_set_hook): Remove.
3696 * top.c (deprecated_set_hook): Remove.
3697
f8de5129
PA
36982014-01-13 Pedro Alves <palves@redhat.com>
3699
3700 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3701 the tracepoint if the PC is a pseudo-register.
3702
fc270c35
TT
37032014-01-13 Tom Tromey <tromey@redhat.com>
3704
3705 * defs.h (XCALLOC): Remove.
3706 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3707 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3708 * dwarf2loc.c (allocate_piece_closure): Likewise.
3709 * elfread.c (elf_symfile_segments): Likewise.
3710 (elf_symfile_segments): Likewise.
3711 * gdbtypes.c (copy_type_recursive): Likewise.
3712 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3713 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3714 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3715 XCALLOC.
3716 * mt-tdep.c (mt_gdbarch_init): Likewise.
3717 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3718 XCALLOC.
3719 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3720 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3721 * registry.c (registry_alloc_data): Likewise.
3722 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3723 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3724 * serial.c (serial_fdopen_ops): Likewise.
3725 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3726 XCALLOC.
3727 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3728 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3729 not XCALLOC.
3730
70ba0933
TT
37312014-01-13 Tom Tromey <tromey@redhat.com>
3732
3733 * defs.h (XMALLOC): Remove.
3734 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3735 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3736 * cli-out.c (struct ui_out *): Likewise.
3737 * cli/cli-dump.c (add_dump_command): Likewise.
3738 (add_dump_command): Likewise.
3739 * complaints.c (get_complaints): Likewise.
3740 (find_complaint): Likewise.
3741 * dwarf2-frame.c (execute_cfa_program): Likewise.
3742 * dwarf2read.c (abbrev_table_read_table): Likewise.
3743 * gdbarch.sh: Likewise.
3744 * gdbarch.c: Rebuild.
3745 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3746 * interps.c (interp_new): Likewise.
3747 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3748 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3749 * mi/mi-console.c (mi_console_file_new): Likewise.
3750 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3751 * mi/mi-out.c (mi_out_new): Likewise.
3752 * mi/mi-parse.c (mi_parse): Likewise.
3753 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3754 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3755 * observer.c (xalloc_observer_list_node): Likewise.
3756 * regcache.c (regcache_xmalloc_1): Likewise.
3757 * reggroups.c (reggroup_new): Likewise.
3758 (_initialize_reggroup): Likewise.
3759 * registry.c (register_data_with_cleanup): Likewise.
3760 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3761 * ser-base.c (serial_ttystate): Likewise.
3762 * ser-mingw.c (make_pipe_state): Likewise.
3763 * ser-pipe.c (pipe_open): Likewise.
3764 * serial.c (serial_open): Likewise.
3765 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3766 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3767 (tui_alloc_win_info): Likewise.
3768 (tui_add_content_elements): Likewise.
3769 * tui/tui-file.c (tui_file_new): Likewise.
3770 * tui/tui-out.c (tui_out_new): Likewise.
3771 * ui-file.c (mem_file_new): Likewise.
3772 * ui-out.c (push_level): Likewise.
3773 (make_cleanup_ui_out_end): Likewise.
3774 (append_header_to_list): Likewise.
3775 (ui_out_new): Likewise.
3776 * user-regs.c (user_reg_add_builtin): Likewise.
3777
41bf6aca
TT
37782014-01-13 Tom Tromey <tromey@redhat.com>
3779
3780 * defs.h (XZALLOC): Remove.
3781 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3782 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3783 (get_ada_tasks_inferior_data): Likewise.
3784 * auto-load.c (get_auto_load_pspace_data): Likewise.
3785 * auxv.c (get_auxv_inferior_data): Likewise.
3786 * bfd-target.c (target_bfd_reopen): Likewise.
3787 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3788 (deprecated_insert_raw_breakpoint): Likewise.
3789 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3790 * corelow.c (core_open): Likewise.
3791 * darwin-nat.c (darwin_check_new_threads): Likewise.
3792 (darwin_attach_pid): Likewise.
3793 * dummy-frame.c (dummy_frame_push): Likewise.
3794 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3795 * dwarf2loc.c (allocate_piece_closure): Likewise.
3796 * elfread.c (elf_symfile_segments): Likewise.
3797 * eval.c (ptrmath_type_p): Likewise.
3798 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3799 * gdbtypes.c (alloc_type_arch): Likewise.
3800 (alloc_type_instance): Likewise.
3801 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3802 * inf-child.c (inf_child_can_use_agent): Likewise.
3803 * inflow.c (get_inflow_inferior_data): Likewise.
3804 * infrun.c (save_infcall_suspend_state): Likewise.
3805 * jit.c (jit_reader_load): Likewise.
3806 (get_jit_objfile_data): Likewise.
3807 (get_jit_program_space_data): Likewise.
3808 (jit_object_open_impl): Likewise.
3809 (jit_symtab_open_impl): Likewise.
3810 (jit_block_open_impl): Likewise.
3811 (jit_frame_sniffer): Likewise.
3812 * linux-fork.c (add_fork): Likewise.
3813 * maint.c (make_command_stats_cleanup): Likewise.
3814 * objfiles.c (get_objfile_pspace_data): Likewise.
3815 * opencl-lang.c (struct lval_closure): Likewise.
3816 * osdata.c (osdata_start_osdata): Likewise.
3817 * progspace.c (new_address_space): Likewise.
3818 (add_program_space): Likewise.
3819 * remote-sim.c (get_sim_inferior_data): Likewise.
3820 * sh-tdep.c (sh_gdbarch_init): Likewise.
3821 * skip.c (Ignore): Likewise.
3822 (skip_delete_command): Likewise.
3823 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3824 (library_list_start_library): Likewise.
3825 (solib_aix_current_sos): Likewise.
3826 * solib-darwin.c (get_darwin_info): Likewise.
3827 (darwin_current_sos): Likewise.
3828 * solib-dsbt.c (get_dsbt_info): Likewise.
3829 * solib-ia64-hpux.c (new_so_list): Likewise.
3830 (ia64_hpux_get_solib_linkage_addr): Likewise.
3831 * solib-spu.c (append_ocl_sos): Likewise.
3832 (spu_current_sos): Likewise.
3833 * solib-svr4.c (get_svr4_info): Likewise.
3834 (svr4_keep_data_in_core): Likewise.
3835 (library_list_start_library): Likewise.
3836 (svr4_default_sos): Likewise.
3837 (svr4_read_so_list): Likewise.
3838 * solib-target.c (library_list_start_library): Likewise.
3839 (solib_target_current_sos): Likewise.
3840 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3841 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3842 * symfile.c (default_symfile_segments): Likewise.
3843 * target-descriptions.c (tdesc_data_init): Likewise.
3844 (tdesc_create_reg): Likewise.
3845 (struct tdesc_type *): Likewise.
3846 (tdesc_create_vector): Likewise.
3847 (tdesc_set_struct_size): Likewise.
3848 (struct tdesc_type *): Likewise.
3849 (tdesc_free_feature): Likewise.
3850 (tdesc_create_feature): Likewise.
3851 * windows-nat.c (windows_add_thread): Likewise.
3852 (windows_make_so): Likewise.
3853 * xml-support.c (gdb_xml_body_text): Likewise.
3854 (gdb_xml_create_parser_and_cleanup): Likewise.
3855 (xml_process_xincludes): Likewise.
3856 * xml-syscall.c (allocate_syscalls_info): Likewise.
3857 (syscall_create_syscall_desc): Likewise.
3858
5acfdbae
SDJ
38592014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3860
3861 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3862 function, with code from i386_stap_parse_special_token.
3863 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3864 (i386_stap_parse_special_token): Move code to the two functions
3865 above; simplify it.
3866
0000e5cc
PA
38672014-01-09 Pedro Alves <palves@redhat.com>
3868 Hui Zhu <hui@codesourcery.com>
3869
3870 PR gdb/16101
3871 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3872 bp_err_string. Don't mark the location shlib_disabled if the
3873 error thrown wasn't a generic or memory error. Catch errors
3874 thrown while inserting breakpoints in overlayed code. Output
3875 error message of software breakpoints.
3876 * remote.c (remote_insert_breakpoint): If this breakpoint has
3877 target-side commands but this stub doesn't support Z0 packets,
3878 throw NOT_SUPPORTED_ERROR error.
3879 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3880 * target.h (target_insert_breakpoint): Extend comment.
3881 (target_insert_hw_breakpoint): Add comment.
3882
b7ea362b
PA
38832014-01-08 Pedro Alves <palves@redhat.com>
3884
3885 * remote.c (remote_add_thread): Add threads silently if starting
3886 up.
3887 (remote_notice_new_inferior): If in all-stop, and starting up,
3888 don't call notice_new_inferior.
3889 (get_current_thread): New function, factored out from ...
3890 (add_current_inferior_and_thread): ... this. Adjust.
3891 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3892 found any thread, then select the remote's current thread as GDB's
3893 current thread too.
3894
b7bba001
JB
38952014-01-08 Joel Brobecker <brobecker@adacore.com>
3896
3897 * NEWS: Create a new section for the next release branch.
3898 Rename the section of the current branch, now that it has
3899 been cut.
3900
16dfbded
JB
39012014-01-08 Joel Brobecker <brobecker@adacore.com>
3902
3903 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3904 * version.in: Bump version to 7.7.50.DATE-cvs.
3905
22c90ac1
YQ
39062014-01-08 Yao Qi <yao@codesourcery.com>
3907
3908 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3909 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3910 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3911
d64ad97c
YQ
39122014-01-08 Yao Qi <yao@codesourcery.com>
3913
3914 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3915 return value of bfd_get_filename to symbol_file_add_from_bfd.
3916
f93ba80c
PM
39172014-01-08 Pierre Muller <muller@sourceware.org>
3918
3919 Fix PR16201.
3920 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3921 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3922 to prim_record_mininal_symbol_and_info.
3923 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3924 in call to prim_record_minimal_symbol_and_info.
3925 (read_pe_exported_syms): Set index field of section_data.
3926
a4d9ba85
AP
39272014-01-07 Andrew Pinski <apinski@cavium.com>
3928
3929 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3930 * features/aarch64.c: Regenerate.
3931
1b67eb02
AS
39322014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3933
3934 * target.c (return_null): Define.
3935 (update_current_target): Use it instead of return_zero for
3936 functions that return a pointer.
3937
5e3f4fab
EBM
39382014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3939
3940 * source.c (add_path): Fix check for duplicated paths in the previously
3941 included paths.
3942
e2616788
HK
39432014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3944
3945 * ada-lang.c: Remove duplicated include statements.
3946 * alphabsd-nat.c: Ditto.
3947 * amd64-darwin-tdep.c: Ditto.
3948 * amd64fbsd-nat.c: Ditto.
3949 * auto-load.c: Ditto.
3950 * ax-gdb.c: Ditto.
3951 * breakpoint.c: Ditto.
3952 * dbxread.c: Ditto.
3953 * fork-child.c: Ditto.
3954 * gdb_usleep.c: Ditto.
3955 * i386-darwin-tdep.c: Ditto.
3956 * i386fbsd-nat.c: Ditto.
3957 * infcmd.c: Ditto.
3958 * inferior.c: Ditto.
3959 * jv-lang.c: Ditto.
3960 * linux-nat.c: Ditto.
3961 * linux-tdep.c: Ditto.
3962 * m68kbsd-nat.c: Ditto.
3963 * m68klinux-nat.c: Ditto.
3964 * microblaze-tdep.c: Ditto.
3965 * mips-linux-tdep.c: Ditto.
3966 * mn10300-tdep.c: Ditto.
3967 * nto-tdep.c: Ditto.
3968 * opencl-lang.c: Ditto.
3969 * osdata.c: Ditto.
3970 * printcmd.c: Ditto.
3971 * regcache.c: Ditto.
3972 * remote-m32r-sdi.c: Ditto.
3973 * remote.c: Ditto.
3974 * symfile.c: Ditto.
3975 * symtab.c: Ditto.
3976 * tilegx-linux-nat.c: Ditto.
3977 * tilegx-tdep.c: Ditto.
3978 * tracepoint.c: Ditto.
3979 * valops.c: Ditto.
3980 * vaxbsd-nat.c: Ditto.
3981 * windows-nat.c: Ditto.
3982 * xtensa-tdep.c: Ditto.
3983
bd1f7788
YQ
39842014-01-07 Yao Qi <yao@codesourcery.com>
3985
3986 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3987
79301218
JB
39882014-01-07 Yao Qi <yao@codesourcery.com>
3989 Joel Brobecker <brobecker@adacore.com>
3990
3991 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3992 (pdc_write_regs): Likewise.
3993 (fetch_regs_kernel_thread): Likewise.
3994 (store_regs_kernel_thread): Likewise.
3995
39962014-01-07 Joel Brobecker <brobecker@adacore.com>
3997
3998 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3999 tagged type objects to their actual type.
4000
8e355c5d
JB
40012014-01-07 Joel Brobecker <brobecker@adacore.com>
4002
4003 * ada-valprint.c (print_field_values): Add "language" parameter.
4004 Update calls to print_field_values and print_variant_part.
4005 Pass new parameter "language" in call to val_print instead
4006 of "current_language". Replace call to ada_val_print by call
4007 to val_print.
4008 (print_variant_part): Add "language" parameter.
4009 (ada_val_print_struct_union): Update call to print_field_values.
4010
4fbf5aa5
JB
40112014-01-07 Joel Brobecker <brobecker@adacore.com>
4012
4013 * ada-valprint.c (ui_memcpy): Delete.
4014 (ada_print_floating): Update documentation. Add empty line
4015 between between function documentation and implementation.
4016 Delete variable "buffer". Use ui_file_xstrdup in place of
4017 ui_file_put. Minor adjustments following this change.
4018
71855601
JB
40192014-01-07 Joel Brobecker <brobecker@adacore.com>
4020
4021 * ada-valprint.c (ada_val_print_string): New function,
4022 extracted from ada_val_print_array.
4023 (ada_val_print_array): Replace extracted code by call
4024 to ada_val_print_string followed by a return. Move
4025 "else" branch to the function's top block.
4026
4eb27a30
JB
40272014-01-07 Joel Brobecker <brobecker@adacore.com>
4028
4029 * ada-valprint.c (ada_val_print_array): Move implementation
4030 down. Rename parameter "offset" and "val" into "offset_aligned"
4031 and "original_value" respectively. Add parameter "offset".
4032
34b27950
JB
40332014-01-07 Joel Brobecker <brobecker@adacore.com>
4034
4035 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4036 re-organizing the code. Change the "???" message printed
4037 when target type is a TYPE_CODE_UNDEF into
4038 "<ref to undefined type>".
4039
079e4591
JB
40402014-01-07 Joel Brobecker <brobecker@adacore.com>
4041
4042 * ada-valprint.c (print_record): Delete, implementation inlined...
4043 (ada_val_print_struct_union): ... here. Remove call to
4044 ada_check_typedef in inlined implementation.
4045
8004dfd1
JB
40462014-01-07 Joel Brobecker <brobecker@adacore.com>
4047
4048 * ada-valprint.c (ada_val_print_gnat_array): New function,
4049 extracted from ada_val_print_1;
4050 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4051 (ada_val_print_flt, ada_val_print_struct_union)
4052 (ada_val_print_ref): Likewise.
4053 (ada_val_print_1): Delete variables i and elttype.
4054 Replace extracted-out code by call to corresponding
4055 new functions.
4056
760a2db0
JB
40572014-01-07 Joel Brobecker <brobecker@adacore.com>
4058
4059 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4060
3a92c861
JB
40612014-01-07 Joel Brobecker <brobecker@adacore.com>
4062
4063 * ada-valprint.c (ada_val_print_1): Replace calls to
4064 ada_val_print_1 by calls to val_print.
4065
cd1630f9
JB
40662014-01-07 Joel Brobecker <brobecker@adacore.com>
4067
4068 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4069 Update calls to self accordingly. Replace calls to c_val_print
4070 by calls to val_print.
4071
bdf779a0
JB
40722014-01-07 Joel Brobecker <brobecker@adacore.com>
4073
4074 * ada-valprint.c (print_record): Delete declaration.
4075 (adjust_type_signedness, ada_val_print_1): Likewise.
4076 (ada_val_print): Move function implementation down.
4077 (print_variant_part, print_field_values, print_record):
4078 Move function implementation up.
4079
c0d48811
JB
40802014-01-07 Joel Brobecker <brobecker@adacore.com>
4081
4082 * python/py-type.c (typy_get_name): New function.
4083 (type_object_getset): Add entry for attribute "name".
4084 * NEWS: Add entry mentioning this new attribute.
4085
c26e9cbb
YQ
40862014-01-07 Yao Qi <yao@codesourcery.com>
4087
4088 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4089 statement.
4090
0cc6f43d
YQ
40912014-01-07 Yao Qi <yao@codesourcery.com>
4092
4093 * gnu-nat.c (info_port_rights): Add qualifier const to
4094 argument args.
4095
eec03155
YQ
40962014-01-07 Yao Qi <yao@codesourcery.com>
4097
4098 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4099
f04a82ef
YQ
41002014-01-07 Yao Qi <yao@codesourcery.com>
4101
4102 * gnu-nat.c (make_inf) Update declaration.
4103 (make_inf): Make it static.
4104 (inf_set_traced): Likewise.
4105 (inf_port_to_thread, inf_task_died_status): Likewise.
4106
d57dda0a
YQ
41072014-01-07 Yao Qi <yao@codesourcery.com>
4108
4109 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4110
3aa8c969
YQ
41112014-01-07 Yao Qi <yao@codesourcery.com>
4112
4113 * gnu-nat.c (_initialize_gnu_nat): Declare.
4114
94123b4f
YQ
41152014-01-07 Yao Qi <yao@codesourcery.com>
4116
4117 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4118 'enum bfd_endian'.
4119 (struct gdbarch_info) <byte_order>: Change type to
4120 'enum bfd_endian'.
4121 <byte_order_for_code>: Likewise.
4122 * gdbarch.c, gdbarch.h: Regenerated.
4123
dc81d70a
TT
41242014-01-06 Sasha Smundak <asmundak@google.com>
4125
4126 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4127
cc2f3c35
TT
41282014-01-06 Tom Tromey <tromey@redhat.com>
4129
4130 * doublest.c (convert_doublest_to_floatformat): Use const, not
4131 CONST.
4132 * somread.c (som_symtab_read): Likewise.
4133
adcf2eed
HZ
41342014-01-07 Hui Zhu <hui@codesourcery.com>
4135
4136 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4137 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4138 (gdb_bfd_fopen): Ditto.
4139 (gdb_bfd_openr): Ditto.
4140 (gdb_bfd_openw): Ditto.
4141 (gdb_bfd_openr_iovec): Ditto.
4142 (gdb_bfd_fdopenr): Ditto.
4143 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4144 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4145 with xstrdup.
4146 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4147 with xstrdup.
4148 * symfile-mem.c (symbol_file_add_from_memory): Removed
4149 gdb_bfd_stash_filename.
4150
50722198
DE
41512014-01-03 Doug Evans <dje@google.com>
4152
4153 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4154 output.
4155
2fa4b862
JB
41562014-01-01 Joel Brobecker <brobecker@adacore.com>
4157
4158 Update year range in copyright notice of all files.
4159
28498c42
JB
41602014-01-01 Joel Brobecker <brobecker@adacore.com>
4161
4162 * top.c (print_gdb_version): Set copyright year to 2014.
4163
7b6e1046
JB
41642014-01-01 Joel Brobecker <brobecker@adacore.com>
4165
4166 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4167
df96af55 4168For older changes see ChangeLog-2013.
c906108c
SS
4169\f
4170Local Variables:
4171mode: change-log
4172left-margin: 8
4173fill-column: 74
4174version-control: never
57da7796 4175coding: utf-8
c906108c 4176End:
This page took 1.927673 seconds and 4 git commands to generate.