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