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