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