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