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