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