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