]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Fix ARI warning in thread-thread.c::dec_thread_get_ada_task_ptid
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8d4fdb12
JB
12014-02-20 Joel Brobecker <brobecker@adacore.com>
2
3 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
4 new-line in debug string. Remove trailing spaces.
5
1b281443
SS
62014-02-19 Stan Shebs <stan@codesourcery.com>
7
8 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9
f7bd0f78
SC
102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11
12 * NEWS: Add entry for the new feature
13 * python/py-value.c (valpy_binop): Call value_x_binop for struct
14 and class values.
15
399ebc3d
SS
162014-02-19 Stan Shebs <stan@codesourcery.com>
17
18 * MAINTAINERS: List Yao Qi as nios2 maintainer.
19
c658158d
PA
202014-02-19 Pedro Alves <palves@redhat.com>
21
22 * common/ptid.h (struct ptid): Mention that process_stratum
23 targets should prefer ptid.lwp.
24
ba348170
PA
252014-02-19 Pedro Alves <palves@redhat.com>
26
27 * remote.c (remote_thread_alive, write_ptid, read_ptid)
28 (read_ptid, remote_newthread_step, remote_threads_extra_info)
29 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
30 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
31 store remote thread ids rather than ptid.tid.
32 (_initialize_remote): Adjust.
33
ac01945b
TT
342014-02-19 Tom Tromey <tromey@redhat.com>
35
36 * target.c (target_get_unwinder): Rewrite.
37 (target_get_tailcall_unwinder): Rewrite.
38 * record-btrace.c (record_btrace_to_get_unwinder): New function.
39 (record_btrace_to_get_tailcall_unwinder): New function.
40 (init_record_btrace_ops): Update.
41 * target.h (struct target_ops) <to_get_unwinder,
42 to_get_tailcall_unwinder>: Now function pointers. Use
43 TARGET_DEFAULT_RETURN.
44
8476dc92
TT
452014-02-19 Tom Tromey <tromey@redhat.com>
46
47 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
48 argument.
49 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
50
c0eca49f
TT
512014-02-19 Tom Tromey <tromey@redhat.com>
52
53 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
54 directly.
55 * target-delegates.c: Rebuild.
56 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
57 TARGET_DEFAULT_FUNC.
58 * target.c (default_target_decr_pc_after_break): Rename from
59 forward_target_decr_pc_after_break. Simplify.
60 (target_decr_pc_after_break): Rely on delegation.
61
596b6b39
TT
622014-02-19 Tom Tromey <tromey@redhat.com>
63
64 * target.c (update_current_target): Do not INHERIT to_doc or
65 to_magic. Do not de_fault to_open or to_close.
66
b427c1bc
TT
672014-02-19 Tom Tromey <tromey@redhat.com>
68
69 * gcore.h (objfile_find_memory_regions): Declare.
70 * gcore.c (objfile_find_memory_regions): No longer static. Add
71 "self" argument.
72 (_initialize_gcore): Don't call exec_set_find_memory_regions.
73 * exec.c: Include gcore.h.
74 (exec_set_find_memory_regions): Remove.
75 (exec_find_memory_regions): Remove.
76 (exec_do_find_memory_regions): Remove.
77 (init_exec_ops): Update.
78 * defs.h (exec_set_find_memory_regions): Remove.
79
9b144037
TT
802014-02-19 Tom Tromey <tromey@redhat.com>
81
82 * target-delegates.c: Rebuild.
83 * target.h (struct target_ops) <to_extra_thread_info,
84 to_thread_name, to_pid_to_exec_file, to_get_section_table,
85 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
86 not 0, in TARGET_DEFAULT_RETURN.
87
555bbdeb
TT
882014-02-19 Tom Tromey <tromey@redhat.com>
89
90 * target.c (complete_target_initialization): Remove casts. Use
91 return_zero_has_execution.
92 (return_zero): Add "ignore" argument.
93 (return_zero_has_execution): New function.
94 (init_dummy_target): Remove casts. Use
95 return_zero_has_execution.
96
be4ddd36
TT
972014-02-19 Tom Tromey <tromey@redhat.com>
98
99 * target.c (update_current_target): Update comments. Do not
100 INHERIT to_stratum.
101
2117c711
TT
1022014-02-19 Tom Tromey <tromey@redhat.com>
103
104 * arm-linux-nat.c (arm_linux_read_description): Delegate when
105 needed.
106 * corelow.c (core_read_description): Delegate when needed.
107 * remote.c (remote_read_description): Delegate when needed.
108 * target-delegates.c: Rebuild.
109 * target.c (target_read_description): Rewrite.
110 * target.h (struct target_ops) <to_read_description>: Update
111 comment. Use TARGET_DEFAULT_RETURN.
112
e88ef65c
TT
1132014-02-19 Tom Tromey <tromey@redhat.com>
114
115 * target-delegates.c: Rebuild.
116 * target.c (update_current_target): Don't inherit or default
117 to_can_run.
118 (find_default_run_target): Check against delegate_can_run.
119 * target.h (struct target_ops) <to_can_run>: Use
120 TARGET_DEFAULT_RETURN.
121
86a0854a
TT
1222014-02-19 Tom Tromey <tromey@redhat.com>
123
124 * target-delegates.c: Rebuild.
125 * target.c (target_disconnect): Unconditionally delegate.
126 * target.h (struct target_ops) <to_disconnect>: Use
127 TARGET_DEFAULT_NORETURN.
128
ee97f592
TT
1292014-02-19 Tom Tromey <tromey@redhat.com>
130
131 * record.c (record_stop): Unconditionally delegate.
132 * target-delegates.c: Rebuild.
133 * target.c (target_stop_recording): Unconditionally delegate.
134 * target.h (struct target_ops) <to_stop_recording>: Use
135 TARGET_DEFAULT_IGNORE.
136
6dc7fcf4
TT
1372014-02-19 Tom Tromey <tromey@redhat.com>
138
139 * target-delegates.c: Rebuild.
140 * target.c (target_enable_btrace): Unconditionally delegate.
141 * target.h (struct target_ops) <to_enable_btrace>: Use
142 TARGET_DEFAULT_NORETURN.
143
eb5b20d4
TT
1442014-02-19 Tom Tromey <tromey@redhat.com>
145
146 * target-delegates.c: Rebuild.
147 * target.c (target_read_btrace): Unconditionally delegate.
148 * target.h (struct target_ops) <to_read_btrace>: Use
149 TARGET_DEFAULT_NORETURN.
150
9ace480d
TT
1512014-02-19 Tom Tromey <tromey@redhat.com>
152
153 * target-delegates.c: Rebuild.
154 * target.c (target_teardown_btrace): Unconditionally delegate.
155 * target.h (struct target_ops) <to_teardown_btrace>: Use
156 TARGET_DEFAULT_NORETURN.
157
8dc292d3
TT
1582014-02-19 Tom Tromey <tromey@redhat.com>
159
160 * target-delegates.c: Rebuild.
161 * target.c (target_disable_btrace): Unconditionally delegate.
162 * target.h (struct target_ops) <to_disable_btrace>: Use
163 TARGET_DEFAULT_NORETURN.
164
58a5184e
TT
1652014-02-19 Tom Tromey <tromey@redhat.com>
166
167 * target-delegates.c: Rebuild.
168 * target.c (default_search_memory): New function.
169 (simple_search_memory): Update comment.
170 (target_search_memory): Unconditionally delegate.
171 * target.h (struct target_ops) <to_search_memory>: Use
172 TARGET_DEFAULT_FUNC.
173
8de71aab
TT
1742014-02-19 Tom Tromey <tromey@redhat.com>
175
176 * auxv.c (default_auxv_parse): No longer static.
177 (target_auxv_parse): Unconditionally delegate.
178 * auxv.h (default_auxv_parse): Declare.
179 * target-delegates.c: Rebuild.
180 * target.c: Include auxv.h.
181 * target.h (struct target_ops) <to_auxv_parse>: Use
182 TARGET_DEFAULT_FUNC.
183
6b2c5a57
TT
1842014-02-19 Tom Tromey <tromey@redhat.com>
185
186 * target-delegates.c: Rebuild.
187 * target.c (target_memory_map): Unconditionally delegate.
188 * target.h (struct target_ops) <to_memory_map>: Use
189 TARGET_DEFAULT_RETURN.
190
cbffc065
TT
1912014-02-19 Tom Tromey <tromey@redhat.com>
192
193 * target-delegates.c: Rebuild.
194 * target.c (target_thread_alive): Unconditionally delegate.
195 * target.h (struct target_ops) <to_thread_alive>: Use
196 TARGET_DEFAULT_RETURN.
197
f09e2107
TT
1982014-02-19 Tom Tromey <tromey@redhat.com>
199
200 * target-delegates.c: Rebuild.
201 * target.c (target_save_record): Unconditionally delegate.
202 * target.h (struct target_ops) <to_save_record>: Use
203 TARGET_DEFAULT_NORETURN.
204
07366925
TT
2052014-02-19 Tom Tromey <tromey@redhat.com>
206
207 * target-delegates.c: Rebuild.
208 * target.c (target_delete_record): Unconditionally delegate.
209 * target.h (struct target_ops) <to_delete_record>: Use
210 TARGET_DEFAULT_NORETURN.
211
dd2e9d25
TT
2122014-02-19 Tom Tromey <tromey@redhat.com>
213
214 * target-delegates.c: Rebuild.
215 * target.c (target_record_is_replaying): Unconditionally
216 delegate.
217 * target.h (struct target_ops) <to_record_is_replaying>: Use
218 TARGET_DEFAULT_RETURN.
219
671e76cc
TT
2202014-02-19 Tom Tromey <tromey@redhat.com>
221
222 * target-delegates.c: Rebuild.
223 * target.c (target_goto_record_begin): Unconditionally delegate.
224 * target.h (struct target_ops) <to_goto_record_begin>: Use
225 TARGET_DEFAULT_NORETURN.
226
e9179bb3
TT
2272014-02-19 Tom Tromey <tromey@redhat.com>
228
229 * target-delegates.c: Rebuild.
230 * target.c (target_goto_record_end): Unconditionally delegate.
231 * target.h (struct target_ops) <to_goto_record_end>: Use
232 TARGET_DEFAULT_NORETURN.
233
05969c84
TT
2342014-02-19 Tom Tromey <tromey@redhat.com>
235
236 * target-delegates.c: Rebuild.
237 * target.c (target_goto_record): Unconditionally delegate.
238 * target.h (struct target_ops) <to_goto_record>: Use
239 TARGET_DEFAULT_NORETURN.
240
3679abfa
TT
2412014-02-19 Tom Tromey <tromey@redhat.com>
242
243 * target-delegates.c: Rebuild.
244 * target.c (target_insn_history): Unconditionally delegate.
245 * target.h (struct target_ops) <to_insn_history>: Use
246 TARGET_DEFAULT_NORETURN.
247
8444ab58
TT
2482014-02-19 Tom Tromey <tromey@redhat.com>
249
250 * target-delegates.c: Rebuild.
251 * target.c (target_insn_history_from): Unconditionally delegate.
252 * target.h (struct target_ops) <to_insn_history_from>: Use
253 TARGET_DEFAULT_NORETURN.
254
c29302cc
TT
2552014-02-19 Tom Tromey <tromey@redhat.com>
256
257 * target-delegates.c: Rebuild.
258 * target.c (target_insn_history_range): Unconditionally delegate.
259 * target.h (struct target_ops) <to_insn_history_range>: Use
260 TARGET_DEFAULT_NORETURN.
261
170049d4
TT
2622014-02-19 Tom Tromey <tromey@redhat.com>
263
264 * target-delegates.c: Rebuild.
265 * target.c (target_call_history): Unconditionally delegate.
266 * target.h (struct target_ops) <to_call_history>: Use
267 TARGET_DEFAULT_NORETURN.
268
16fc27d6
TT
2692014-02-19 Tom Tromey <tromey@redhat.com>
270
271 * target-delegates.c: Rebuild.
272 * target.c (target_call_history_from): Unconditionally delegate.
273 * target.h (struct target_ops) <to_call_history_from>: Use
274 TARGET_DEFAULT_NORETURN.
275
115d9817
TT
2762014-02-19 Tom Tromey <tromey@redhat.com>
277
278 * target-delegates.c: Rebuild.
279 * target.c (target_call_history_range): Unconditionally delegate.
280 * target.h (struct target_ops) <to_call_history_range>: Use
281 TARGET_DEFAULT_NORETURN.
282
eb276a6b
TT
2832014-02-19 Tom Tromey <tromey@redhat.com>
284
285 * target-delegates.c: Rebuild.
286 * target.c (target_verify_memory): Unconditionally delegate.
287 * target.h (struct target_ops) <to_verify_memory>: Use
288 TARGET_DEFAULT_NORETURN.
289
9e538d0d
TT
2902014-02-19 Tom Tromey <tromey@redhat.com>
291
292 * target-delegates.c: Rebuild.
293 * target.c (target_core_of_thread): Unconditionally delegate.
294 * target.h (struct target_ops) <to_core_of_thread>: Use
295 TARGET_DEFAULT_RETURN.
296
f6fb2925
TT
2972014-02-19 Tom Tromey <tromey@redhat.com>
298
299 * target-delegates.c: Rebuild.
300 * target.c (target_flash_done): Unconditionally delegate.
301 * target.h (struct target_ops) <to_flash_done>: Use
302 TARGET_DEFAULT_NORETURN.
303
e8a6c6ac
TT
3042014-02-19 Tom Tromey <tromey@redhat.com>
305
306 * target-delegates.c: Rebuild.
307 * target.c (target_flash_erase): Unconditionally delegate.
308 * target.h (struct target_ops) <to_flash_erase>: Use
309 TARGET_DEFAULT_NORETURN.
310
7e35c012
TT
3112014-02-19 Tom Tromey <tromey@redhat.com>
312
313 * target-delegates.c: Rebuild.
314 * target.c (target_get_section_table): Unconditionally delegate.
315 * target.h (struct target_ops) <to_get_section_table>: Use
316 TARGET_DEFAULT_RETURN.
317
770234d3
TT
3182014-02-19 Tom Tromey <tromey@redhat.com>
319
320 * target-delegates.c: Rebuild.
321 * target.c (target_pid_to_str): Unconditionally delegate.
322 (init_dummy_target): Don't initialize to_pid_to_str.
323 (default_pid_to_str): Rename from dummy_pid_to_str.
324 * target.h (struct target_ops) <to_pid_to_str>: Use
325 TARGET_DEFAULT_FUNC.
326
09b0dc2b
TT
3272014-02-19 Tom Tromey <tromey@redhat.com>
328
329 * target-delegates.c: Rebuild.
330 * target.c (target_find_new_threads): Unconditionally delegate.
331 * target.h (struct target_ops) <to_find_new_threads>: Use
332 TARGET_DEFAULT_RETURN.
333
7d4f8efa
TT
3342014-02-19 Tom Tromey <tromey@redhat.com>
335
336 * target-delegates.c: Rebuild.
337 * target.c (target_program_signals): Unconditionally delegate.
338 * target.h (struct target_ops) <to_program_signals>: Use
339 TARGET_DEFAULT_IGNORE.
340
035cad7f
TT
3412014-02-19 Tom Tromey <tromey@redhat.com>
342
343 * target-delegates.c: Rebuild.
344 * target.c (target_pass_signals): Unconditionally delegate.
345 * target.h (struct target_ops) <to_pass_signals>: Use
346 TARGET_DEFAULT_IGNORE.
347
8d657035
TT
3482014-02-19 Tom Tromey <tromey@redhat.com>
349
350 * target-delegates.c: Rebuild.
351 * target.c (default_mourn_inferior): New function.
352 (target_mourn_inferior): Unconditionally delegate.
353 * target.h (struct target_ops) <to_mourn_inferior>: Use
354 TARGET_DEFAULT_FUNC.
355
098dba18
TT
3562014-02-19 Tom Tromey <tromey@redhat.com>
357
358 * target-delegates.c: Rebuild.
359 * target.c (default_follow_fork): New function.
360 (target_follow_fork): Unconditionally delegate.
361 * target.h (struct target_ops) <to_follow_fork>: Use
362 TARGET_DEFAULT_FUNC.
363
423a4807
TT
3642014-02-19 Tom Tromey <tromey@redhat.com>
365
366 * target-delegates.c: Rebuild.
367 * target.c (target_kill): Unconditionally delegate.
368 * target.h (struct target_ops) <to_kill>: Use
369 TARGET_DEFAULT_NORETURN.
370
6c7e5e5c
TT
3712014-02-19 Tom Tromey <tromey@redhat.com>
372
373 * target-delegates.c: Rebuild.
374 * target.c (target_masked_watch_num_registers): Unconditionally
375 delegate.
376 * target.h (struct target_ops) <to_masked_watch_num_registers>:
377 Use TARGET_DEFAULT_RETURN.
378
8b1c364c
TT
3792014-02-19 Tom Tromey <tromey@redhat.com>
380
381 * target-delegates.c: Rebuild.
382 * target.c (target_remove_mask_watchpoint): Unconditionally
383 delegate.
384 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
385 TARGET_DEFAULT_RETURN.
386
cd4ae029
TT
3872014-02-19 Tom Tromey <tromey@redhat.com>
388
389 * target-delegates.c: Rebuild.
390 * target.c (target_insert_mask_watchpoint): Unconditionally
391 delegate.
392 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
393 TARGET_DEFAULT_RETURN.
394
a134316b
TT
3952014-02-19 Tom Tromey <tromey@redhat.com>
396
397 * target-delegates.c: Rebuild.
398 * target.c (target_ranged_break_num_registers): Unconditionally
399 delegate.
400 * target.h (struct target_ops) <to_ranged_break_num_registers>:
401 Use TARGET_DEFAULT_RETURN.
402
ad5989bd
TT
4032014-02-19 Tom Tromey <tromey@redhat.com>
404
405 * target-delegates.c: Rebuild.
406 * target.c (target_fetch_registers): Unconditionally delegate.
407 * target.h (struct target_ops) <to_fetch_registers>: Use
408 TARGET_DEFAULT_NORETURN.
409
46ee7e8d
TT
4102014-02-19 Tom Tromey <tromey@redhat.com>
411
412 * target-delegates.c: Rebuild.
413 * target.c (update_current_target): Don't inherit or default
414 to_stop.
415 * target.h (struct target_ops) <to_stop>: Use
416 TARGET_DEFAULT_IGNORE.
417
843f59ed
TT
4182014-02-19 Tom Tromey <tromey@redhat.com>
419
420 * target-delegates.c: Rebuild.
421 * target.c (update_current_target): Don't inherit or default
422 to_can_run_breakpoint_commands.
423 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
424 Use TARGET_DEFAULT_RETURN.
425
ccfde2a0
TT
4262014-02-19 Tom Tromey <tromey@redhat.com>
427
428 * target-delegates.c: Rebuild.
429 * target.c (update_current_target): Don't inherit or default
430 to_supports_evaluation_of_breakpoint_conditions.
431 * target.h (struct target_ops)
432 <to_supports_evaluation_of_breakpoint_conditions>: Use
433 TARGET_DEFAULT_RETURN.
434
0de91722
TT
4352014-02-19 Tom Tromey <tromey@redhat.com>
436
437 * target-delegates.c: Rebuild.
438 * target.c (update_current_target): Don't inherit or default
439 to_augmented_libraries_svr4_read.
440 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
441 Use TARGET_DEFAULT_RETURN.
442
9a7d8b48
TT
4432014-02-19 Tom Tromey <tromey@redhat.com>
444
445 * target-delegates.c: Rebuild.
446 * target.c (update_current_target): Don't inherit or default
447 to_can_use_agent.
448 * target.h (struct target_ops) <to_can_use_agent>: Use
449 TARGET_DEFAULT_RETURN.
450
d9db5b21
TT
4512014-02-19 Tom Tromey <tromey@redhat.com>
452
453 * target-delegates.c: Rebuild.
454 * target.c (update_current_target): Don't inherit or default
455 to_use_agent.
456 * target.h (struct target_ops) <to_use_agent>: Use
457 TARGET_DEFAULT_NORETURN.
458
92155eeb
TT
4592014-02-19 Tom Tromey <tromey@redhat.com>
460
461 * target-delegates.c: Rebuild.
462 * target.c (update_current_target): Don't inherit or default
463 to_traceframe_info.
464 (return_null): Remove.
465 * target.h (struct target_ops) <to_traceframe_info>: Use
466 TARGET_DEFAULT_RETURN.
467
d6522a22
TT
4682014-02-19 Tom Tromey <tromey@redhat.com>
469
470 * target-delegates.c: Rebuild.
471 * target.c (update_current_target): Don't inherit or default
472 to_static_tracepoint_markers_by_strid.
473 * target.h (struct target_ops)
474 <to_static_tracepoint_markers_by_strid>: Use
475 TARGET_DEFAULT_NORETURN.
476
4c3e4425
TT
4772014-02-19 Tom Tromey <tromey@redhat.com>
478
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
481 to_static_tracepoint_marker_at.
482 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
483 Use TARGET_DEFAULT_RETURN.
484
dcd6917f
TT
4852014-02-19 Tom Tromey <tromey@redhat.com>
486
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_set_permissions.
490 * target.h (struct target_ops) <to_set_permissions>: Use
491 TARGET_DEFAULT_IGNORE.
492
22bcceee
TT
4932014-02-19 Tom Tromey <tromey@redhat.com>
494
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
497 to_get_tib_address.
498 * target.h (struct target_ops) <to_get_tib_address>: Use
499 TARGET_DEFAULT_NORETURN.
500
8586ccaa
TT
5012014-02-19 Tom Tromey <tromey@redhat.com>
502
503 * target-delegates.c: Rebuild.
504 * target.c (update_current_target): Don't inherit or default
505 to_set_trace_notes.
506 * target.h (struct target_ops) <to_set_trace_notes>: Use
507 TARGET_DEFAULT_RETURN.
508
91df8d1d
TT
5092014-02-19 Tom Tromey <tromey@redhat.com>
510
511 * target-delegates.c: Rebuild.
512 * target.c (update_current_target): Don't initialize
513 to_set_trace_buffer_size.
514 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
515 TARGET_DEFAULT_IGNORE.
516
8d526939
TT
5172014-02-19 Tom Tromey <tromey@redhat.com>
518
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
521 to_set_circular_trace_buffer.
522 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
523 TARGET_DEFAULT_IGNORE.
524
0bcfeddf
TT
5252014-02-19 Tom Tromey <tromey@redhat.com>
526
527 * target-delegates.c: Rebuild.
528 * target.c (update_current_target): Don't inherit or default
529 to_set_disconnected_tracing.
530 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
531 TARGET_DEFAULT_IGNORE.
532
9249843f
TT
5332014-02-19 Tom Tromey <tromey@redhat.com>
534
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
537 to_get_min_fast_tracepoint_insn_len.
538 (return_minus_one): Remove.
539 * target.h (struct target_ops)
540 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
541
ace92e7d
TT
5422014-02-19 Tom Tromey <tromey@redhat.com>
543
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
546 to_get_raw_trace_data.
547 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
548 TARGET_DEFAULT_NORETURN.
549
08120467
TT
5502014-02-19 Tom Tromey <tromey@redhat.com>
551
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
554 to_upload_trace_state_variables.
555 * target.h (struct target_ops) <to_upload_trace_state_variables>:
556 Use TARGET_DEFAULT_RETURN.
557
1e949b00
TT
5582014-02-19 Tom Tromey <tromey@redhat.com>
559
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
562 to_upload_tracepoints.
563 * target.h (struct target_ops) <to_upload_tracepoints>: Use
564 TARGET_DEFAULT_RETURN.
565
a2e6c147
TT
5662014-02-19 Tom Tromey <tromey@redhat.com>
567
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
570 to_save_trace_data.
571 * target.h (struct target_ops) <to_save_trace_data>: Use
572 TARGET_DEFAULT_NORETURN.
573
959bcd0b
TT
5742014-02-19 Tom Tromey <tromey@redhat.com>
575
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
578 to_get_trace_state_variable_value.
579 * target.h (struct target_ops)
580 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
581
afc94e66
TT
5822014-02-19 Tom Tromey <tromey@redhat.com>
583
584 * target-delegates.c: Rebuild.
585 * target.c (update_current_target): Don't inherit or default
586 to_trace_find.
587 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
588
e51c07ea
TT
5892014-02-19 Tom Tromey <tromey@redhat.com>
590
591 * target-delegates.c: Rebuild.
592 * target.c (update_current_target): Don't inherit or default
593 to_trace_stop.
594 * target.h (struct target_ops) <to_trace_stop>: Use
595 TARGET_DEFAULT_NORETURN.
596
6fea14cd
TT
5972014-02-19 Tom Tromey <tromey@redhat.com>
598
599 * target-delegates.c: Rebuild.
600 * target.c (update_current_target): Don't inherit or default
601 to_get_tracepoint_status.
602 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
603 TARGET_DEFAULT_NORETURN.
604
4072d4ff
TT
6052014-02-19 Tom Tromey <tromey@redhat.com>
606
607 * target-delegates.c: Rebuild.
608 * target.c (update_current_target): Don't inherit or default
609 to_get_trace_status.
610 * target.h (struct target_ops) <to_get_trace_status>: Use
611 TARGET_DEFAULT_RETURN.
612
25da2e80
TT
6132014-02-19 Tom Tromey <tromey@redhat.com>
614
615 * target-delegates.c: Rebuild.
616 * target.c (update_current_target): Don't inherit or default
617 to_trace_start.
618 * target.h (struct target_ops) <to_trace_start>: Use
619 TARGET_DEFAULT_NORETURN.
620
86dd181d
TT
6212014-02-19 Tom Tromey <tromey@redhat.com>
622
623 * target-delegates.c: Rebuild.
624 * target.c (update_current_target): Don't inherit or default
625 to_trace_set_readonly_regions.
626 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
627 Use TARGET_DEFAULT_NORETURN.
628
05c41993
TT
6292014-02-19 Tom Tromey <tromey@redhat.com>
630
631 * target-delegates.c: Rebuild.
632 * target.c (update_current_target): Don't inherit or default
633 to_disable_tracepoint.
634 * target.h (struct target_ops) <to_disable_tracepoint>: Use
635 TARGET_DEFAULT_NORETURN.
636
151f70f1
TT
6372014-02-19 Tom Tromey <tromey@redhat.com>
638
639 * target-delegates.c: Rebuild.
640 * target.c (update_current_target): Don't inherit or default
641 to_enable_tracepoint.
642 * target.h (struct target_ops) <to_enable_tracepoint>: Use
643 TARGET_DEFAULT_NORETURN.
644
94eb98b9
TT
6452014-02-19 Tom Tromey <tromey@redhat.com>
646
647 * target-delegates.c: Rebuild.
648 * target.c (update_current_target): Don't inherit or default
649 to_download_trace_state_variable.
650 * target.h (struct target_ops) <to_download_trace_state_variable>:
651 Use TARGET_DEFAULT_NORETURN.
652
719acc4a
TT
6532014-02-19 Tom Tromey <tromey@redhat.com>
654
655 * target-delegates.c: Rebuild.
656 * target.c (update_current_target): Don't inherit or default
657 to_can_download_tracepoint.
658 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
659 TARGET_DEFAULT_RETURN.
660
9a980a22
TT
6612014-02-19 Tom Tromey <tromey@redhat.com>
662
663 * target-delegates.c: Rebuild.
664 * target.c (update_current_target): Don't inherit or default
665 to_download_tracepoint.
666 * target.h (struct target_ops) <to_download_tracepoint>: Use
667 TARGET_DEFAULT_NORETURN.
668
5536135b
TT
6692014-02-19 Tom Tromey <tromey@redhat.com>
670
671 * target-delegates.c: Rebuild.
672 * target.c (update_current_target): Don't inherit or default
673 to_trace_init.
674 * target.h (struct target_ops) <to_trace_init>: Use
675 TARGET_DEFAULT_RETURN.
676
9409d39e
TT
6772014-02-19 Tom Tromey <tromey@redhat.com>
678
679 * target-delegates.c: Rebuild.
680 * target.c (update_current_target): Don't inherit or default
681 to_supports_string_tracing.
682 * target.h (struct target_ops) <to_supports_string_tracing>: Use
683 TARGET_DEFAULT_RETURN.
684
aab1b22d
TT
6852014-02-19 Tom Tromey <tromey@redhat.com>
686
687 * target-delegates.c: Rebuild.
688 * target.c (update_current_target): Don't inherit or default
689 to_supports_enable_disable_tracepoint.
690 * target.h (struct target_ops)
691 <to_supports_enable_disable_tracepoint>: Use
692 TARGET_DEFAULT_RETURN.
693
a7304748
TT
6942014-02-19 Tom Tromey <tromey@redhat.com>
695
696 * target-delegates.c: Rebuild.
697 * target.c (update_current_target): Don't inherit or default
698 to_supports_multi_process.
699 * target.h (struct target_ops) <to_supports_multi_process>: Use
700 TARGET_DEFAULT_RETURN.
701
4229b31d
TT
7022014-02-19 Tom Tromey <tromey@redhat.com>
703
704 * target-delegates.c: Rebuild.
705 * target.c (update_current_target): Don't inherit or default
706 to_get_ada_task_ptid.
707 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
708 TARGET_DEFAULT_FUNC.
709
43eba180
TT
7102014-02-19 Tom Tromey <tromey@redhat.com>
711
712 * target-delegates.c: Rebuild.
713 * target.c (update_current_target): Don't inherit or default
714 to_thread_architecture.
715 * target.h (struct target_ops) <to_thread_architecture>: Use
716 TARGET_DEFAULT_FUNC.
717
fe31bf5b
TT
7182014-02-19 Tom Tromey <tromey@redhat.com>
719
720 * target-delegates.c: Rebuild.
721 * target.c (update_current_target): Don't inherit or default
722 to_execution_direction.
723 * target.h (struct target_ops) <to_execution_direction>: Use
724 TARGET_DEFAULT_FUNC.
725
53e1cfc7
TT
7262014-02-19 Tom Tromey <tromey@redhat.com>
727
728 * target-delegates.c: Rebuild.
729 * target.c (update_current_target): Don't inherit or default
730 to_can_execute_reverse.
731 * target.h (struct target_ops) <to_can_execute_reverse>: Use
732 TARGET_DEFAULT_RETURN.
733 (target_can_execute_reverse): Unconditionally delegate.
734
9bb9d61d
TT
7352014-02-19 Tom Tromey <tromey@redhat.com>
736
737 * target-delegates.c: Rebuild.
738 * target.c (update_current_target): Don't inherit or default
739 to_goto_bookmark.
740 (dummy_goto_bookmark): Remove.
741 (init_dummy_target): Don't inherit or default to_goto_bookmark.
742 * target.h (struct target_ops) <to_goto_bookmark>: Use
743 TARGET_DEFAULT_NORETURN.
744
3dbafbbb
TT
7452014-02-19 Tom Tromey <tromey@redhat.com>
746
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_get_bookmark.
750 (dummy_get_bookmark): Remove.
751 (init_dummy_target): Don't inherit or default to_get_bookmark.
752 * target.h (struct target_ops) <to_get_bookmark>: Use
753 TARGET_DEFAULT_NORETURN
754
16f796b1
TT
7552014-02-19 Tom Tromey <tromey@redhat.com>
756
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_make_corefile_notes.
760 (init_dummy_target): Don't initialize to_make_corefile_notes.
761 * target.h (struct target_ops) <to_make_corefile_notes>: Use
762 TARGET_DEFAULT_FUNC.
763
0b5a2719
TT
7642014-02-19 Tom Tromey <tromey@redhat.com>
765
766 * target-delegates.c: Rebuild.
767 * target.c (update_current_target): Don't inherit or default
768 to_find_memory_regions.
769 (init_dummy_target): Don't initialize to_find_memory_regions.
770 * target.h (struct target_ops) <to_find_memory_regions>: Use
771 TARGET_DEFAULT_FUNC.
772
d9cb0195
TT
7732014-02-19 Tom Tromey <tromey@redhat.com>
774
775 * target-delegates.c: Rebuild.
776 * target.c (update_current_target): Don't inherit or default
777 to_log_command.
778 * target.h (struct target_ops) <to_log_command>: Use
779 TARGET_DEFAULT_IGNORE.
780 (target_log_command): Unconditionally delegate.
781
830ca330
TT
7822014-02-19 Tom Tromey <tromey@redhat.com>
783
784 * target-delegates.c: Rebuild.
785 * target.c (update_current_target): Don't inherit or default
786 to_pid_to_exec_file.
787 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
788 TARGET_DEFAULT_RETURN.
789
825828fc
TT
7902014-02-19 Tom Tromey <tromey@redhat.com>
791
792 * target-delegates.c: Rebuild.
793 * target.c (update_current_target): Don't inherit or default
794 to_thread_name.
795 (target_thread_name): Unconditionally delegate.
796 * target.h (struct target_ops) <to_thread_name>: Use
797 TARGET_DEFAULT_RETURN.
798
4a7e6dda
TT
7992014-02-19 Tom Tromey <tromey@redhat.com>
800
801 * target-delegates.c: Rebuild.
802 * target.c (update_current_target): Don't inherit or default
803 to_extra_thread_info.
804 * target.h (struct target_ops) <to_extra_thread_info>: Use
805 TARGET_DEFAULT_RETURN.
806
0db88c1d
TT
8072014-02-19 Tom Tromey <tromey@redhat.com>
808
809 * target-delegates.c: Rebuild.
810 * target.c (update_current_target): Don't inherit or default
811 to_has_exited.
812 * target.h (struct target_ops) <to_has_exited>: Use
813 TARGET_DEFAULT_RETURN..
814
6a9fa051
TT
8152014-02-19 Tom Tromey <tromey@redhat.com>
816
817 * target-delegates.c: Rebuild.
818 * target.c (update_current_target): Don't inherit or default
819 to_set_syscall_catchpoint.
820 (return_one): Remove.
821 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
822 TARGET_DEFAULT_RETURN.
823
62f64d7a
TT
8242014-02-19 Tom Tromey <tromey@redhat.com>
825
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
828 to_insert_exec_catchpoint.
829 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
830 TARGET_DEFAULT_RETURN.
831
cda0f38c
TT
8322014-01-08 Tom Tromey <tromey@redhat.com>
833
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
836 to_insert_exec_catchpoint.
837 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
838 TARGET_DEFAULT_RETURN.
839
95c3375e
TT
8402014-02-19 Tom Tromey <tromey@redhat.com>
841
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't inherit or default
844 to_remove_vfork_catchpoint.
845 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
846 TARGET_DEFAULT_RETURN.
847
7e18a8dc
TT
8482014-02-19 Tom Tromey <tromey@redhat.com>
849
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_insert_vfork_catchpoint.
853 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
854 TARGET_DEFAULT_RETURN.
855
e1a21fb7
TT
8562014-02-19 Tom Tromey <tromey@redhat.com>
857
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
860 to_remove_fork_catchpoint.
861 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
862 TARGET_DEFAULT_RETURN.
863
5958ebeb
TT
8642014-02-19 Tom Tromey <tromey@redhat.com>
865
866 * target-delegates.c: Rebuild.
867 * target.c (update_current_target): Don't inherit or default
868 to_insert_fork_catchpoint.
869 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
870 TARGET_DEFAULT_RETURN.
871
340ba4bf
TT
8722014-02-19 Tom Tromey <tromey@redhat.com>
873
874 * target-delegates.c: Rebuild.
875 * target.c (update_current_target): Don't inherit or default
876 to_post_startup_inferior.
877 * target.h (struct target_ops) <to_post_startup_inferior>: Use
878 TARGET_DEFAULT_IGNORE.
879
7634da87
TT
8802014-02-19 Tom Tromey <tromey@redhat.com>
881
882 * target-delegates.c: Rebuild.
883 * target.c (update_current_target): Don't inherit or default
884 to_load.
885 * target.h (struct target_ops) <to_load>: Use
886 TARGET_DEFAULT_NORETURN.
887
e19e919f
TT
8882014-02-19 Tom Tromey <tromey@redhat.com>
889
890 * target-delegates.c: Rebuild.
891 * target.c (update_current_target): Don't inherit or default
892 to_terminal_info.
893 * target.h (struct target_ops) <to_terminal_info>: Use
894 TARGET_DEFAULT_FUNC.
895
c6ea8f79
TT
8962014-02-19 Tom Tromey <tromey@redhat.com>
897
898 * target-delegates.c: Rebuild.
899 * target.c (update_current_target): Don't inherit or default
900 to_terminal_save_ours.
901 * target.h (struct target_ops) <to_terminal_save_ours>: Use
902 TARGET_DEFAULT_IGNORE.
903
e4a733f1
TT
9042014-02-19 Tom Tromey <tromey@redhat.com>
905
906 * target-delegates.c: Rebuild.
907 * target.c (update_current_target): Don't inherit or default
908 to_terminal_ours.
909 * target.h (struct target_ops) <to_terminal_ours>: Use
910 TARGET_DEFAULT_IGNORE.
911
74fcbef9
TT
9122014-02-19 Tom Tromey <tromey@redhat.com>
913
914 * target-delegates.c: Rebuild.
915 * target.c (update_current_target): Don't inherit or default
916 to_terminal_ours_for_output.
917 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
918 TARGET_DEFAULT_IGNORE.
919
ddeaacc9
TT
9202014-02-19 Tom Tromey <tromey@redhat.com>
921
922 * target-delegates.c: Rebuild.
923 * target.c (update_current_target): Don't inherit or default
924 to_terminal_inferior.
925 * target.h (struct target_ops) <to_terminal_inferior>: Use
926 TARGET_DEFAULT_IGNORE.
927
0343661d
TT
9282014-02-19 Tom Tromey <tromey@redhat.com>
929
930 * target-delegates.c: Rebuild.
931 * target.c (update_current_target): Don't inherit or default
932 to_terminal_init.
933 * target.h (struct target_ops) <to_terminal_init>: Use
934 TARGET_DEFAULT_IGNORE.
935
77cdffe9
TT
9362014-02-19 Tom Tromey <tromey@redhat.com>
937
938 * target-delegates.c: Rebuild.
939 * target.c (update_current_target): Don't inherit or default
940 to_can_accel_watchpoint_condition.
941 * target.h (struct target_ops)
942 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
943
d03655e4
TT
9442014-02-19 Tom Tromey <tromey@redhat.com>
945
946 * target-delegates.c: Rebuild.
947 * target.c (update_current_target): Don't inherit or default
948 to_region_ok_for_hw_watchpoint.
949 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
950 Use TARGET_DEFAULT_FUNC.
951
65f160a9
TT
9522014-02-19 Tom Tromey <tromey@redhat.com>
953
954 * target-delegates.c: Rebuild.
955 * target.c (update_current_target): Don't inherit or default
956 to_watchpoint_addr_within_range.
957 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
958 Use TARGET_DEFAULT_FUNC.
959
61dd109f
TT
9602014-02-19 Tom Tromey <tromey@redhat.com>
961
962 * target-delegates.c: Rebuild.
963 * target.c (update_current_target): Don't inherit or default
964 to_remove_watchpoint.
965 * target.h (struct target_ops) <to_remove_watchpoint>: Use
966 TARGET_DEFAULT_NORETURN.
967
016facd4
TT
9682014-02-19 Tom Tromey <tromey@redhat.com>
969
970 * target-delegates.c: Rebuild.
971 * target.c (update_current_target): Don't inherit or default
972 to_insert_watchpoint.
973 * target.h (struct target_ops) <to_insert_watchpoint>: Use
974 TARGET_DEFAULT_RETURN.
975
418dabac
TT
9762014-02-19 Tom Tromey <tromey@redhat.com>
977
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
980 to_remove_hw_breakpoint.
981 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
982 TARGET_DEFAULT_RETURN.
983
61b371f9
TT
9842014-02-19 Tom Tromey <tromey@redhat.com>
985
986 * target-delegates.c: Rebuild.
987 * target.c (update_current_target): Don't inherit or default
988 to_insert_hw_breakpoint.
989 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
990 TARGET_DEFAULT_RETURN.
991
52b51d06
TT
9922014-02-19 Tom Tromey <tromey@redhat.com>
993
994 * target-delegates.c: Rebuild.
995 * target.c (update_current_target): Don't inherit or default
996 to_can_use_hw_breakpoint.
997 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
998 TARGET_DEFAULT_RETURN.
999
f86e59b2
TT
10002014-02-19 Tom Tromey <tromey@redhat.com>
1001
1002 * target-delegates.c: Rebuild.
1003 * target.c (update_current_target): Don't inherit or default
1004 to_files_info.
1005 * target.h (struct target_ops) <to_files_info>: Use
1006 TARGET_DEFAULT_IGNORE.
1007
6c628163
TT
10082014-02-19 Tom Tromey <tromey@redhat.com>
1009
1010 * target-delegates.c: Rebuild.
1011 * target.c (update_current_target): Don't inherit or default
1012 to_store.
1013 * target.h (struct target_ops) <to_store>: Use
1014 TARGET_DEFAULT_NORETURN.
1015
bebd3233
TT
10162014-02-19 Tom Tromey <tromey@redhat.com>
1017
1018 * target-delegates.c: Rebuild.
1019 * target.c (update_current_target): Don't inherit or default
1020 to_post_attach.
1021 * target.h (struct target_ops) <to_post_attach>: Use
1022 TARGET_DEFAULT_IGNORE.
1023
a53f3625
TT
10242014-02-19 Tom Tromey <tromey@redhat.com>
1025
1026 * target-delegates.c: Rebuild.
1027 * target.c (update_current_target): Don't inherit or default
1028 to_rcmd.
1029 (default_rcmd): New function.
1030 (do_monitor_command): Unconditionally delegate.
1031 * target.h (struct target_ops) <to_rmcd>: Use
1032 TARGET_DEFAULT_FUNC.
1033
e9a29200
TT
10342014-02-19 Tom Tromey <tromey@redhat.com>
1035
1036 * target-delegates.c: Rebuild.
1037 * target.c (init_dummy_target): Don't initialize to_attach.
1038 (target_attach): Unconditionally delegate.
1039 * target.h (struct target_ops) <to_attach>: Use
1040 TARGET_DEFAULT_FUNC.
1041
09da0d0a
TT
10422014-02-19 Tom Tromey <tromey@redhat.com>
1043
1044 * target-delegates.c: Rebuild.
1045 * target.c (target_detach): Unconditionally delegate.
1046 (init_dummy_target): Don't initialize to_detach.
1047 * target.h (struct target_ops) <to_detach>: Use
1048 TARGET_DEFAULT_IGNORE.
1049
5436ff03
TT
10502014-02-19 Tom Tromey <tromey@redhat.com>
1051
1052 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1053 Add argument.
1054 (target_augmented_libraries_svr4_read): Add argument.
1055 * target.c (update_current_target): Update.
1056 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1057 argument.
1058
f0d960ea
TT
10592014-02-19 Tom Tromey <tromey@redhat.com>
1060
1061 * target.h (struct target_ops) <to_call_history_range>: Add
1062 argument.
1063 * target.c (target_call_history_range): Add argument.
1064 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1065 argument.
1066 (record_btrace_call_history_from): Update.
1067
ec0aea04
TT
10682014-02-19 Tom Tromey <tromey@redhat.com>
1069
1070 * target.h (struct target_ops) <to_call_history_from>: Add
1071 argument.
1072 * target.c (target_call_history_from): Add argument.
1073 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1074 argument.
1075
5df2fcba
TT
10762014-02-19 Tom Tromey <tromey@redhat.com>
1077
1078 * target.h (struct target_ops) <to_call_history>: Add argument.
1079 * target.c (target_call_history): Add argument.
1080 * record-btrace.c (record_btrace_call_history): Add 'self'
1081 argument.
1082
4e99c6b7
TT
10832014-02-19 Tom Tromey <tromey@redhat.com>
1084
1085 * target.h (struct target_ops) <to_insn_history_range>: Add
1086 argument.
1087 * target.c (target_insn_history_range): Add argument.
1088 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1089 argument.
1090 (record_btrace_insn_history_from): Update.
1091
9abc3ff3
TT
10922014-02-19 Tom Tromey <tromey@redhat.com>
1093
1094 * target.h (struct target_ops) <to_insn_history_from>: Add
1095 argument.
1096 * target.c (target_insn_history_from): Add argument.
1097 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1098 argument.
1099
7a6c5609
TT
11002014-02-19 Tom Tromey <tromey@redhat.com>
1101
1102 * target.h (struct target_ops) <to_insn_history>: Add argument.
1103 * target.c (target_insn_history): Add argument.
1104 * record-btrace.c (record_btrace_insn_history): Add 'self'
1105 argument.
1106
606183ac
TT
11072014-02-19 Tom Tromey <tromey@redhat.com>
1108
1109 * target.h (struct target_ops) <to_goto_record>: Add argument.
1110 * target.c (target_goto_record): Add argument.
1111 * record-full.c (record_full_goto): Add 'self' argument.
1112 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1113
307a1b91
TT
11142014-02-19 Tom Tromey <tromey@redhat.com>
1115
1116 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1117 * target.c (target_goto_record_end): Add argument.
1118 * record-full.c (record_full_goto_end): Add 'self' argument.
1119 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1120
08475817
TT
11212014-02-19 Tom Tromey <tromey@redhat.com>
1122
1123 * target.h (struct target_ops) <to_goto_record_begin>: Add
1124 argument.
1125 * target.c (target_goto_record_begin): Add argument.
1126 * record-full.c (record_full_goto_begin): Add 'self' argument.
1127 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1128 argument.
1129
1c63c994
TT
11302014-02-19 Tom Tromey <tromey@redhat.com>
1131
1132 * target.h (struct target_ops) <to_record_is_replaying>: Add
1133 argument.
1134 * target.c (target_record_is_replaying): Add argument.
1135 * record-full.c (record_full_is_replaying): Add 'self' argument.
1136 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1137 argument.
1138 (record_btrace_xfer_partial, record_btrace_store_registers)
1139 (record_btrace_prepare_to_store, record_btrace_resume)
1140 (record_btrace_wait, record_btrace_decr_pc_after_break)
1141 (record_btrace_find_new_threads, record_btrace_thread_alive):
1142 Update.
1143
d1b55219
TT
11442014-02-19 Tom Tromey <tromey@redhat.com>
1145
1146 * target.h (struct target_ops) <to_delete_record>: Add argument.
1147 * target.c (target_delete_record): Add argument.
1148 * record-full.c (record_full_delete): Add 'self' argument.
1149
1390f529
TT
11502014-02-19 Tom Tromey <tromey@redhat.com>
1151
1152 * target.h (struct target_ops) <to_save_record>: Add argument.
1153 * target.c (target_save_record): Add argument.
1154 * record-full.c (record_full_save): Add 'self' argument.
1155 (record_full_save): Add 'self' argument.
1156
630d6a4a
TT
11572014-02-19 Tom Tromey <tromey@redhat.com>
1158
1159 * target.h (struct target_ops) <to_info_record>: Add argument.
1160 * target.c (target_info_record): Add argument.
1161 * record.c (info_record_command): Add argument.
1162 * record-full.c (record_full_info): Add 'self' argument.
1163 * record-btrace.c (record_btrace_info): Add 'self' argument.
1164
c6cd7c02
TT
11652014-02-19 Tom Tromey <tromey@redhat.com>
1166
1167 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1168 * target.c (target_stop_recording): Add argument.
1169 * record.c (record_stop): Add argument.
1170 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1171 argument.
1172
39c49f83
TT
11732014-02-19 Tom Tromey <tromey@redhat.com>
1174
1175 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1176 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1177 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1178 argument.
1179 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1180 (_initialize_amd64_linux_nat): Use it.
1181 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1182 (_initialize_i386_linux_nat): Use it.
1183
1777056d
TT
11842014-02-19 Tom Tromey <tromey@redhat.com>
1185
1186 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1187 * target.c (target_teardown_btrace): Add argument.
1188 * remote.c (remote_teardown_btrace): Add 'self' argument.
1189 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1190 argument.
1191 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1192 argument.
1193
25e95349
TT
11942014-02-19 Tom Tromey <tromey@redhat.com>
1195
1196 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1197 * target.c (target_disable_btrace): Add argument.
1198 * remote.c (remote_disable_btrace): Add 'self' argument.
1199 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1200 argument.
1201 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1202 argument.
1203
e3c49f88
TT
12042014-02-19 Tom Tromey <tromey@redhat.com>
1205
1206 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1207 * target.c (target_enable_btrace): Add argument.
1208 * remote.c (remote_enable_btrace): Add 'self' argument.
1209 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1210 argument.
1211 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1212 argument.
1213
fe38f897
TT
12142014-02-19 Tom Tromey <tromey@redhat.com>
1215
1216 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1217 (target_can_use_agent): Add argument.
1218 * target.c (update_current_target): Update.
1219 * remote.c (remote_can_use_agent): Add 'self' argument.
1220 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1221
2c152180
TT
12222014-02-19 Tom Tromey <tromey@redhat.com>
1223
1224 * target.h (struct target_ops) <to_use_agent>: Add argument.
1225 (target_use_agent): Add argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (remote_use_agent): Add 'self' argument.
1228 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1229
a893e81f
TT
12302014-02-19 Tom Tromey <tromey@redhat.com>
1231
1232 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1233 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1234 (target_traceframe_info): Add argument.
1235 * target.c (update_current_target): Update.
1236 * remote.c (remote_traceframe_info): Add 'self' argument.
1237 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1238
c686c57f
TT
12392014-02-19 Tom Tromey <tromey@redhat.com>
1240
1241 * target.h (target_static_tracepoint_markers_by_strid): Add
1242 argument.
1243 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1244 'self' argument.
1245 * target.c (update_current_target): Update.
1246 * remote.c (struct target_ops)
1247 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1248 * linux-nat.c (struct target_ops)
1249 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1250
61fc905d
TT
12512014-02-19 Tom Tromey <tromey@redhat.com>
1252
1253 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1254 Add argument.
1255 (target_static_tracepoint_marker_at): Add argument.
1256 * target.c (update_current_target): Update.
1257 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1258 argument.
1259
c378d69d
TT
12602014-02-19 Tom Tromey <tromey@redhat.com>
1261
1262 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1263 (target_set_permissions): Add argument.
1264 * target.c (update_current_target): Update.
1265 * remote.c (remote_set_permissions): Add 'self' argument.
1266 (remote_start_remote): Update.
1267
bd7ae0f5
TT
12682014-02-19 Tom Tromey <tromey@redhat.com>
1269
1270 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1271 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1272 (target_get_tib_address): Add argument.
1273 * target.c (update_current_target): Update.
1274 * remote.c (remote_get_tib_address): Add 'self' argument.
1275
d9e68a2c
TT
12762014-02-19 Tom Tromey <tromey@redhat.com>
1277
1278 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1279 (target_set_trace_notes): Add argument.
1280 * target.c (update_current_target): Update.
1281 * remote.c (remote_set_trace_notes): Add 'self' argument.
1282
4da384be
TT
12832014-02-19 Tom Tromey <tromey@redhat.com>
1284
1285 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1286 argument.
1287 (target_set_trace_buffer_size): Add argument.
1288 * target.c (update_current_target): Update.
1289 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1290
736d5b1f
TT
12912014-02-19 Tom Tromey <tromey@redhat.com>
1292
1293 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1294 argument.
1295 (target_set_circular_trace_buffer): Add argument.
1296 * target.c (update_current_target): Update.
1297 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1298 argument.
1299
37b25738
TT
13002014-02-19 Tom Tromey <tromey@redhat.com>
1301
1302 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1303 argument.
1304 (target_set_disconnected_tracing): Add argument.
1305 * target.c (update_current_target): Update.
1306 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1307
0e67620a
TT
13082014-02-19 Tom Tromey <tromey@redhat.com>
1309
1310 * target.h (struct target_ops)
1311 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1312 (target_get_min_fast_tracepoint_insn_len): Add argument.
1313 * target.c (update_current_target): Update.
1314 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1315 argument.
1316
88ee6f45
TT
13172014-02-19 Tom Tromey <tromey@redhat.com>
1318
1319 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1320 argument.
1321 (target_get_raw_trace_data): Add argument.
1322 * target.c (update_current_target): Update.
1323 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1324
181e3713
TT
13252014-02-19 Tom Tromey <tromey@redhat.com>
1326
1327 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1328 Add argument.
1329 (target_upload_trace_state_variables): Add argument.
1330 * target.c (update_current_target): Update.
1331 * remote.c (remote_upload_trace_state_variables): Add 'self'
1332 argument.
1333 (remote_start_remote): Update.
1334
ab6617cc
TT
13352014-02-19 Tom Tromey <tromey@redhat.com>
1336
1337 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1338 argument.
1339 (target_upload_tracepoints): Add argument.
1340 * target.c (update_current_target): Update.
1341 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1342 (remote_start_remote): Update.
1343
dc3decaf
TT
13442014-02-19 Tom Tromey <tromey@redhat.com>
1345
1346 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1347 (target_save_trace_data): Add argument.
1348 * target.c (update_current_target): Update.
1349 * remote.c (remote_save_trace_data): Add 'self' argument.
1350
4011015b
TT
13512014-02-19 Tom Tromey <tromey@redhat.com>
1352
1353 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1354 argument.
1355 * target.h (struct target_ops)
1356 <to_get_trace_state_variable_value>: Add argument.
1357 (target_get_trace_state_variable_value): Add argument.
1358 * target.c (update_current_target): Update.
1359 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1360 argument.
1361 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1362
bd4c6793
TT
13632014-02-19 Tom Tromey <tromey@redhat.com>
1364
1365 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1366 * target.h (struct target_ops) <to_trace_find>: Add argument.
1367 (target_trace_find): Add argument.
1368 * target.c (update_current_target): Update.
1369 * remote.c (remote_trace_find): Add 'self' argument.
1370 * ctf.c (ctf_trace_find): Add 'self' argument.
1371
74499f1b
TT
13722014-02-19 Tom Tromey <tromey@redhat.com>
1373
1374 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1375 (target_trace_stop): Add argument.
1376 * target.c (update_current_target): Update.
1377 * remote.c (remote_trace_stop): Add 'self' argument.
1378
db90e85c
TT
13792014-02-19 Tom Tromey <tromey@redhat.com>
1380
1381 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1382 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1383 argument.
1384 (target_get_tracepoint_status): Add argument.
1385 * target.c (update_current_target): Update.
1386 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1387
8bd200f1
TT
13882014-02-19 Tom Tromey <tromey@redhat.com>
1389
1390 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1391 * target.h (struct target_ops) <to_get_trace_status>: Add
1392 argument.
1393 (target_get_trace_status): Add argument.
1394 * target.c (update_current_target): Update.
1395 * remote.c (remote_get_trace_status): Add 'self' argument.
1396 (remote_start_remote, remote_can_download_tracepoint): Update.
1397 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1398
e2d1aae3
TT
13992014-02-19 Tom Tromey <tromey@redhat.com>
1400
1401 * target.h (struct target_ops) <to_trace_start>: Add argument.
1402 (target_trace_start): Add argument.
1403 * target.c (update_current_target): Update.
1404 * remote.c (remote_trace_start): Add 'self' argument.
1405
583f9a86
TT
14062014-02-19 Tom Tromey <tromey@redhat.com>
1407
1408 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1409 Add argument.
1410 (target_trace_set_readonly_regions): Add argument.
1411 * target.c (update_current_target): Update.
1412 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1413 argument.
1414
780b049c
TT
14152014-02-19 Tom Tromey <tromey@redhat.com>
1416
1417 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1418 argument.
1419 (target_disable_tracepoint): Add argument.
1420 * target.c (update_current_target): Update.
1421 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1422
46670d57
TT
14232014-02-19 Tom Tromey <tromey@redhat.com>
1424
1425 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1426 argument.
1427 (target_enable_tracepoint): Add argument.
1428 * target.c (update_current_target): Update.
1429 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1430
559d2b81
TT
14312014-02-19 Tom Tromey <tromey@redhat.com>
1432
1433 * target.h (struct target_ops) <to_download_trace_state_variable>:
1434 Add argument.
1435 (target_download_trace_state_variable): Add argument.
1436 * target.c (update_current_target): Update.
1437 * remote.c (remote_download_trace_state_variable): Add 'self'
1438 argument.
1439
a52a8357
TT
14402014-02-19 Tom Tromey <tromey@redhat.com>
1441
1442 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1443 argument.
1444 (target_can_download_tracepoint): Add argument.
1445 * target.c (update_current_target): Update.
1446 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1447
548f7808
TT
14482014-02-19 Tom Tromey <tromey@redhat.com>
1449
1450 * target.h (struct target_ops) <to_download_tracepoint>: Add
1451 argument.
1452 (target_download_tracepoint): Add argument.
1453 * target.c (update_current_target): Update.
1454 * remote.c (remote_download_tracepoint): Add 'self' argument.
1455
ecae04e1
TT
14562014-02-19 Tom Tromey <tromey@redhat.com>
1457
1458 * target.h (struct target_ops) <to_trace_init>: Add argument.
1459 (target_trace_init): Add argument.
1460 * target.c (update_current_target): Update.
1461 * remote.c (remote_trace_init): Add 'self' argument.
1462
fab5aa7c
TT
14632014-02-19 Tom Tromey <tromey@redhat.com>
1464
1465 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1466 * target.c (target_fileio_readlink): Add argument.
1467 * remote.c (remote_hostio_readlink): Add 'self' argument.
1468 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1469
dbbca37d
TT
14702014-02-19 Tom Tromey <tromey@redhat.com>
1471
1472 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1473 * target.c (target_fileio_unlink): Add argument.
1474 * remote.c (remote_hostio_unlink): Add 'self' argument.
1475 (remote_file_delete): Update.
1476 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1477
df39ea25
TT
14782014-02-19 Tom Tromey <tromey@redhat.com>
1479
1480 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1481 * target.c (target_fileio_close): Add argument.
1482 * remote.c (remote_hostio_close): Add 'self' argument.
1483 (remote_hostio_close_cleanup): Update.
1484 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1485 Update.
1486 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1487
a3be983c
TT
14882014-02-19 Tom Tromey <tromey@redhat.com>
1489
1490 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1491 * target.c (target_fileio_pread): Add argument.
1492 * remote.c (remote_hostio_pread): Add 'self' argument.
1493 (remote_bfd_iovec_pread, remote_file_get): Update.
1494 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1495
0d866f62
TT
14962014-02-19 Tom Tromey <tromey@redhat.com>
1497
1498 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1499 * target.c (target_fileio_pwrite): Add argument.
1500 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1501 (remote_file_put): Update.
1502 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1503
cd897586
TT
15042014-02-19 Tom Tromey <tromey@redhat.com>
1505
1506 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1507 * target.c (target_fileio_open): Add argument.
1508 * remote.c (remote_hostio_open): Add 'self' argument.
1509 (remote_bfd_iovec_open): Add 'self' argument.
1510 (remote_file_put): Add 'self' argument.
1511 (remote_file_get): Add 'self' argument.
1512 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1513
78eff0ec
TT
15142014-02-19 Tom Tromey <tromey@redhat.com>
1515
1516 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1517 Add argument.
1518 (target_can_run_breakpoint_commands): Add argument.
1519 * target.c (update_current_target): Update.
1520 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1521 argument.
1522 (remote_insert_breakpoint): Add 'self' argument.
1523 (remote_insert_hw_breakpoint): Add 'self' argument.
1524 (remote_can_run_breakpoint_commands): Add 'self' argument.
1525
efcc2da7
TT
15262014-02-19 Tom Tromey <tromey@redhat.com>
1527
1528 * target.h (struct target_ops)
1529 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1530 (target_supports_evaluation_of_breakpoint_conditions): Add
1531 argument.
1532 * target.c (update_current_target): Update.
1533 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1534 argument.
1535 (remote_insert_breakpoint): Add 'self' argument.
1536 (remote_insert_hw_breakpoint): Add 'self' argument.
1537 (remote_supports_cond_breakpoints): Add 'self' argument.
1538
6de37a3a
TT
15392014-02-19 Tom Tromey <tromey@redhat.com>
1540
1541 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1542 argument.
1543 (target_supports_string_tracing): Add argument.
1544 * target.c (update_current_target): Update.
1545 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1546
2bfc0540
TT
15472014-02-19 Tom Tromey <tromey@redhat.com>
1548
1549 * target.h (struct target_ops)
1550 <to_supports_disable_randomization>: Add argument.
1551 * target.c (find_default_supports_disable_randomization): Add
1552 argument.
1553 (target_supports_disable_randomization): Add argument.
1554 (find_default_supports_disable_randomization): Add 'self'
1555 argument.
1556 * remote.c (extended_remote_supports_disable_randomization): Add
1557 'self' argument.
1558 (remote_supports_disable_randomization): Add 'self' argument.
1559 (extended_remote_create_inferior): Update.
1560 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1561 'self' argument.
1562
7d178d6a
TT
15632014-02-19 Tom Tromey <tromey@redhat.com>
1564
1565 * target.h (struct target_ops)
1566 <to_supports_enable_disable_tracepoint>: Add argument.
1567 (target_supports_enable_disable_tracepoint): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1570 argument.
1571
86ce2668
TT
15722014-02-19 Tom Tromey <tromey@redhat.com>
1573
1574 * target.h (struct target_ops) <to_supports_multi_process>: Add
1575 argument.
1576 (target_supports_multi_process): Add argument.
1577 * target.c (update_current_target): Update.
1578 * remote.c (remote_supports_multi_process): Add 'self' argument.
1579 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1580 argument.
1581 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1582 argument.
1583
4c612759
TT
15842014-02-19 Tom Tromey <tromey@redhat.com>
1585
1586 * target.h (struct target_ops) <to_execution_direction>: Add
1587 argument.
1588 (target_execution_direction): Add argument.
1589 * target.c (default_execution_direction): Add 'self' argument.
1590 * record-full.c (record_full_execution_direction): Add 'self'
1591 argument.
1592
19db3e69
TT
15932014-02-19 Tom Tromey <tromey@redhat.com>
1594
1595 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1596 argument.
1597 (target_can_execute_reverse): Add argument.
1598 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1599 * record-full.c (record_full_can_execute_reverse): Add 'self'
1600 argument.
1601 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1602 argument.
1603
1e6b91a4
TT
16042014-02-19 Tom Tromey <tromey@redhat.com>
1605
1606 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1607 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1608 argument.
1609 (target_get_ada_task_ptid): Add argument.
1610 * target.c (update_current_target): Update.
1611 (default_get_ada_task_ptid): Add 'self' argument.
1612 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1613 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1614 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1615 argument.
1616 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1617 argument.
1618 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1619 argument.
1620 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1621 argument.
1622 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1623 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1624 argument.
1625
3c80fb48
TT
16262014-02-19 Tom Tromey <tromey@redhat.com>
1627
1628 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1629 (target_goto_bookmark): Add argument.
1630 * target.c (dummy_goto_bookmark): Add 'self' argument.
1631 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1632
dd0e2830
TT
16332014-02-19 Tom Tromey <tromey@redhat.com>
1634
1635 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1636 (target_get_bookmark): Add argument.
1637 * target.c (dummy_get_bookmark): Add 'self' argument.
1638 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1639
fc6691b2
TT
16402014-02-19 Tom Tromey <tromey@redhat.com>
1641
1642 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1643 argument.
1644 (target_make_corefile_notes): Add argument.
1645 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1646 * procfs.c (procfs_make_note_section): Add 'self' argument.
1647 (procfs_make_note_section): Add 'self' argument.
1648 (procfs_make_note_section): Add 'self' argument.
1649 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1650 argument.
1651 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1652 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1653 * exec.c (exec_make_note_section): Add 'self' argument.
1654 (exec_make_note_section): Add 'self' argument.
1655
2e73927c
TT
16562014-02-19 Tom Tromey <tromey@redhat.com>
1657
1658 * target.h (struct target_ops) <to_find_memory_regions>: Add
1659 argument.
1660 (target_find_memory_regions): Add argument.
1661 * target.c (dummy_find_memory_regions): Add 'self' argument.
1662 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1663 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1664 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1665 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1666 * exec. (exec_do_find_memory_regions): New global.
1667 (exec_set_find_memory_regions): Rewrite.
1668 (exec_find_memory_regions): New function.
1669 (init_exec_ops): Use exec_find_memory_regions.
1670
2a9a2795
TT
16712014-02-19 Tom Tromey <tromey@redhat.com>
1672
1673 * target.h (struct target_ops) <to_supports_non_stop>: Add
1674 argument.
1675 * target.c (find_default_supports_non_stop): Add argument.
1676 (target_supports_non_stop): Add argument.
1677 (find_default_supports_non_stop): Add 'self' argument.
1678 * remote.c (remote_supports_non_stop): Add 'self' argument.
1679 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1680
4ab76ea3
TT
16812014-02-19 Tom Tromey <tromey@redhat.com>
1682
1683 * target.h (struct target_ops) <to_log_command>: Add argument.
1684 (target_log_command): Add argument.
1685 * serial.h (serial_log_command): Add 'self' argument.
1686 * serial.c (serial_log_command): Add 'self' argument.
1687
8dd27370
TT
16882014-02-19 Tom Tromey <tromey@redhat.com>
1689
1690 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1691 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1692 argument.
1693 (target_pid_to_exec_file): Add argument.
1694 * target.c (debug_to_pid_to_exec_file): Add argument.
1695 (update_current_target): Update.
1696 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1697 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1698 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1699 (linux_handle_extended_wait): Update.
1700 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1701 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1702 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1703 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1704
1aac633b
TT
17052014-02-19 Tom Tromey <tromey@redhat.com>
1706
1707 * target.h (struct target_ops) <to_rcmd>: Add argument.
1708 (target_rcmd): Add argument.
1709 * target.c (debug_to_rcmd): Add argument.
1710 (update_current_target, do_monitor_command): Update.
1711 * remote.c (remote_rcmd): Add 'self' argument.
1712 * monitor.c (monitor_rcmd): Add 'self' argument.
1713
1eab8a48
TT
17142014-02-19 Tom Tromey <tromey@redhat.com>
1715
1716 * windows-nat.c (windows_stop): Add 'self' argument.
1717 * target.h (struct target_ops) <to_stop>: Add argument.
1718 * target.c (target_stop): Add argument.
1719 (debug_to_stop): Add argument.
1720 (update_current_target): Update.
1721 * remote.c (remote_stop): Add 'self' argument.
1722 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1723 (gdbsim_cntrl_c): Update.
1724 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1725 * procfs.c (procfs_stop): Add 'self' argument.
1726 * nto-procfs.c (procfs_stop): Add 'self' argument.
1727 * monitor.c (monitor_stop): Add 'self' argument.
1728 (monitor_open): Update.
1729 * linux-nat.c (linux_nat_stop): Add argument.
1730 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1731 * gnu-nat.c (gnu_stop): Add 'self' argument.
1732 * darwin-nat.c (darwin_stop): Add 'self' argument.
1733
503a628d
TT
17342014-02-19 Tom Tromey <tromey@redhat.com>
1735
1736 * target.h (struct target_ops) <to_thread_name>: Add argument.
1737 * target.c (target_thread_name): Add argument.
1738 (update_current_target): Update.
1739 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1740
c15906d8
TT
17412014-02-19 Tom Tromey <tromey@redhat.com>
1742
1743 * target.h (struct target_ops) <to_extra_thread_info>: Add
1744 argument.
1745 (target_extra_thread_info): Add argument.
1746 * target.c (update_current_target): Update.
1747 * remote.c (remote_threads_extra_info): Add 'self' argument.
1748 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1749 argument.
1750 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1751 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1752 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1753 argument.
1754 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1755 argument.
1756 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1757 argument.
1758 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1759 argument.
1760
daf5e9b6
TT
17612014-02-19 Tom Tromey <tromey@redhat.com>
1762
1763 * target.h (struct target_ops) <to_program_signals>: Add argument.
1764 * target.c (target_program_signals): Add argument.
1765 * remote.c (remote_program_signals): Add 'self' argument.
1766
94bedb42
TT
17672014-02-19 Tom Tromey <tromey@redhat.com>
1768
1769 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1770 * target.c (target_pass_signals): Add argument.
1771 * remote.c (remote_pass_signals): Add 'self' argument.
1772 (remote_start_remote): Update.
1773 * procfs.c (procfs_pass_signals): Add 'self' argument.
1774 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1775 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1776 (linux_nat_create_inferior, linux_nat_attach): Update.
1777
da82bd6b
TT
17782014-02-19 Tom Tromey <tromey@redhat.com>
1779
1780 * windows-nat.c (windows_can_run): Add 'self' argument.
1781 * target.h (struct target_ops) <to_can_run>: Add argument.
1782 (target_can_run): Add argument.
1783 * target.c (debug_to_can_run): Add argument.
1784 (update_current_target): Update.
1785 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1786 * inf-child.c (inf_child_can_run): Add 'self' argument.
1787 * go32-nat.c (go32_can_run): Add 'self' argument.
1788
d796e1d6
TT
17892014-02-19 Tom Tromey <tromey@redhat.com>
1790
1791 * target.h (struct target_ops) <to_has_exited>: Add argument.
1792 (target_has_exited): Add argument.
1793 * target.c (debug_to_has_exited): Add argument.
1794 (update_current_target): Update.
1795
ff214e67
TT
17962014-02-19 Tom Tromey <tromey@redhat.com>
1797
1798 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1799 argument.
1800 (target_set_syscall_catchpoint): Add argument.
1801 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1802 argument.
1803 * target.c (update_current_target): Update.
1804
758e29d2
TT
18052014-02-19 Tom Tromey <tromey@redhat.com>
1806
1807 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1808 argument.
1809 (target_remove_exec_catchpoint): Add argument.
1810 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1811 (update_current_target): Update.
1812 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1813 argument.
1814
ba025e51
TT
18152014-02-19 Tom Tromey <tromey@redhat.com>
1816
1817 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1818 argument.
1819 (target_insert_exec_catchpoint): Add argument.
1820 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1821 (update_current_target): Update.
1822 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1823 argument.
1824
e98cf0cd
TT
18252014-02-19 Tom Tromey <tromey@redhat.com>
1826
1827 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1828 argument.
1829 (target_remove_vfork_catchpoint): Add argument.
1830 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1831 (update_current_target): Update.
1832 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1833 argument.
1834
3ecc7da0
TT
18352014-02-19 Tom Tromey <tromey@redhat.com>
1836
1837 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1838 argument.
1839 (target_insert_vfork_catchpoint): Add argument.
1840 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1841 (update_current_target): Update.
1842 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1843 argument.
1844
973fc227
TT
18452014-02-19 Tom Tromey <tromey@redhat.com>
1846
1847 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1848 argument.
1849 (target_remove_fork_catchpoint): Add argument.
1850 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1851 (update_current_target): Update.
1852 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1853 argument.
1854
a863b201
TT
18552014-02-19 Tom Tromey <tromey@redhat.com>
1856
1857 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1858 argument.
1859 (target_insert_fork_catchpoint): Add argument.
1860 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1861 (update_current_target): Update.
1862 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1863 argument.
1864
2e97a79e
TT
18652014-02-19 Tom Tromey <tromey@redhat.com>
1866
1867 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1868 argument.
1869 (target_post_startup_inferior): Add argument.
1870 * target.c (debug_to_post_startup_inferior): Add argument.
1871 (update_current_target): Update.
1872 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1873 argument.
1874 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1875 argument.
1876 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1877 argument.
1878 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1879 argument.
1880 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1881 'self' argument.
1882 (super_post_startup_inferior): Likewise.
1883 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1884 'self' argument.
1885 (super_post_startup_inferior): Likewise.
1886 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1887 Add 'self' argument.
1888 (super_post_startup_inferior): Likewise.
1889
71a9f134
TT
18902014-02-19 Tom Tromey <tromey@redhat.com>
1891
1892 * target.h (struct target_ops) <to_load>: Add argument.
1893 * target.c (target_load): Add argument.
1894 (debug_to_load): Add argument.
1895 (update_current_target): Update.
1896 * remote.c (remote_load): Add 'self' argument.
1897 * remote-sim.c (gdbsim_load): Add 'self' argument.
1898 * remote-mips.c (mips_load): Add 'self' argument.
1899 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1900 * monitor.c (monitor_load): Add 'self' argument.
1901 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1902
0a4f40a2
TT
19032014-02-19 Tom Tromey <tromey@redhat.com>
1904
1905 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1906 (target_terminal_info): Add argument.
1907 * target.c (debug_to_terminal_info): Add argument.
1908 (default_terminal_info): Likewise.
1909 * inflow.c (child_terminal_info): Add 'self' argument.
1910 * inferior.h (child_terminal_info): Add 'self' argument.
1911 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1912
ae3bd431
TT
19132014-02-19 Tom Tromey <tromey@redhat.com>
1914
1915 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1916 argument.
1917 (target_terminal_save_ours): Add argument.
1918 * target.c (debug_to_terminal_save_ours): Add argument.
1919 (update_current_target): Update.
1920 * inflow.c (terminal_save_ours): Add 'self' argument.
1921 * inferior.h (terminal_save_ours): Add 'self' argument.
1922
e3594fd1
TT
19232014-02-19 Tom Tromey <tromey@redhat.com>
1924
1925 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1926 (target_terminal_ours): Add argument.
1927 * target.c (debug_to_terminal_ours): Add argument.
1928 (update_current_target): Update.
1929 * remote.c (remote_terminal_ours): Add 'self' argument.
1930 (remote_close): Update.
1931 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1932 * inflow.c (terminal_ours): Add 'self' argument.
1933 * inferior.h (terminal_ours): Add 'self' argument.
1934 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1935
2e1e1a19
TT
19362014-02-19 Pedro Alves <palves@redhat.com>
1937 Tom Tromey <tromey@redhat.com>
1938
1939 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1940 argument.
1941 (target_terminal_ours_for_output): Add argument.
1942 * target.c (debug_to_terminal_ours_for_output): Add argument.
1943 (update_current_target): Update.
1944 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1945 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1946 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1947
d2f640d4
TT
19482014-02-19 Tom Tromey <tromey@redhat.com>
1949
1950 * target.h (struct target_ops) <to_terminal_inferior>: Add
1951 argument.
1952 * target.c (target_terminal_inferior): Add argument.
1953 (update_current_target): Update.
1954 * remote.c (remote_terminal_inferior): Add 'self' argument.
1955 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1956 * inflow.c (terminal_inferior): Add 'self' argument.
1957 * inferior.h (terminal_inferior): Add 'self' argument.
1958 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1959 (go32_terminal_inferior): Add 'self' argument.
1960
c42bf286
TT
19612014-02-19 Tom Tromey <tromey@redhat.com>
1962
1963 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1964 (target_terminal_init): Add argument.
1965 * target.c (debug_to_terminal_init): Add argument.
1966 (update_current_target): Update.
1967 * inflow.c (terminal_init_inferior): Add 'self' argument.
1968 * inferior.h (terminal_init_inferior): Add 'self' argument.
1969 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1970 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1971
c3a5ff89
TT
19722014-02-19 Tom Tromey <tromey@redhat.com>
1973
1974 * target.h (struct target_ops)
1975 <to_can_accel_watchpoint_condition>: Add argument.
1976 (target_can_accel_watchpoint_condition): Add argument.
1977 * target.c (debug_to_can_accel_watchpoint_condition): Add
1978 argument.
1979 (update_current_target): Update.
1980 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1981 'self' argument.
1982
31568a15
TT
19832014-02-19 Tom Tromey <tromey@redhat.com>
1984
1985 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1986 Add argument.
1987 (target_region_ok_for_hw_watchpoint): Add argument.
1988 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1989 (default_region_ok_for_hw_watchpoint): Add argument.
1990 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1991 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1992 argument.
1993 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1994 argument.
1995 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1996 argument.
1997 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1998 'self' argument.
1999 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2000 'self' argument.
2001 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2002 'self' argument.
2003 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2004 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2005 'self' argument.
2006 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2007 Add 'self' argument.
2008
7bb99c53
TT
20092014-02-19 Tom Tromey <tromey@redhat.com>
2010
2011 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2012 argument.
2013 (target_insert_watchpoint): Add argument.
2014 * target.c (debug_to_insert_watchpoint): Add argument.
2015 (update_current_target): Update.
2016 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2017 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2018 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2019 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2020 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2021 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2022 argument.
2023 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2024 (procfs_insert_hw_watchpoint): Add 'self' argument.
2025 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2026 argument.
2027 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2028 argument.
2029 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2030 argument.
2031 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2032 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2033 argument.
2034 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2035 'self' argument.
2036
11b5219a
TT
20372014-02-19 Tom Tromey <tromey@redhat.com>
2038
2039 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2040 argument.
2041 (target_remove_watchpoint): Add argument.
2042 * target.c (debug_to_remove_watchpoint): Add argument.
2043 (update_current_target): Update.
2044 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2045 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2046 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2047 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2048 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2049 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2050 argument.
2051 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2052 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2053 argument.
2054 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2055 argument.
2056 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2057 argument.
2058 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2059 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2060 argument.
2061 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2062 'self' argument.
2063
a64dc96c
TT
20642014-02-19 Tom Tromey <tromey@redhat.com>
2065
2066 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2067 argument.
2068 (target_remove_hw_breakpoint): Add argument.
2069 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2070 (update_current_target): Update.
2071 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2072 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2073 argument.
2074 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2075 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2076 argument.
2077 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2078 'self' argument.
2079
23a26771
TT
20802014-02-19 Tom Tromey <tromey@redhat.com>
2081
2082 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2083 argument.
2084 (target_insert_hw_breakpoint): Add argument.
2085 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2086 (update_current_target): Update.
2087 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2088 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2089 argument.
2090 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2091 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2092 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2093 argument.
2094 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2095 'self' argument.
2096
5461485a
TT
20972014-02-19 Tom Tromey <tromey@redhat.com>
2098
2099 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2100 argument.
2101 (target_can_use_hardware_watchpoint): Add argument.
2102 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2103 (update_current_target): Update.
2104 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2105 argument.
2106 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2107 argument.
2108 * remote.c (remote_check_watch_resources): Add 'self' argument.
2109 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2110 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2111 argument.
2112 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2113 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2114 argument.
2115 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2116 argument.
2117 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2118 argument.
2119 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2120 argument.
2121 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2122 argument.
2123 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2124 argument.
2125 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2126 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2127 argument.
2128 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2129 'self' argument.
2130
f045800c
TT
21312014-02-19 Tom Tromey <tromey@redhat.com>
2132
2133 * target.h (struct target_ops) <to_post_attach>: Add argument.
2134 (target_post_attach): Add argument.
2135 * target.c (debug_to_post_attach): Add argument.
2136 (update_current_target): Update.
2137 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2138 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2139 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2140 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2141 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2142
de90e03d
TT
21432014-02-19 Tom Tromey <tromey@redhat.com>
2144
2145 * windows-nat.c (windows_close): Add 'self' argument.
2146 * tracepoint.c (tfile_close): Add 'self' argument.
2147 * target.h (struct target_ops) <to_close>: Add argument.
2148 * target.c (target_close): Add argument.
2149 (update_current_target): Update.
2150 * remote.c (remote_close): Add 'self' argument.
2151 * remote-sim.c (gdbsim_close): Add 'self' argument.
2152 * remote-mips.c (mips_close): Add 'self' argument.
2153 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2154 * record-full.c (record_full_close): Add 'self' argument.
2155 * record-btrace.c (record_btrace_close): Add 'self' argument.
2156 * monitor.h (monitor_close): Add 'self' argument.
2157 * monitor.c (monitor_close): Add 'self' argument.
2158 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2159 * linux-nat.c (linux_nat_close): Add argument.
2160 * go32-nat.c (go32_close): Add 'self' argument.
2161 * exec.c (exec_close_1): Add 'self' argument.
2162 * ctf.c (ctf_close): Add 'self' argument.
2163 * corelow.c (core_close): Add 'self' argument.
2164 (core_close_cleanup): Update.
2165 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2166 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2167
9dd130a0
TT
21682014-02-19 Tom Tromey <tromey@redhat.com>
2169
2170 * remote.c (remote_load): New function.
2171 (init_remote_ops): Use it.
2172
46917d26
TT
21732014-02-19 Tom Tromey <tromey@redhat.com>
2174
2175 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2176 argument.
2177 * common/linux-btrace.h (linux_supports_btrace): Update.
2178 * remote.c (remote_supports_btrace): Add "self" argument.
2179 * target-delegates.c: Rebuild.
2180 * target.c (target_supports_btrace): Remove.
2181 * target.h (struct target_ops) <to_supports_btrace>: Add
2182 target_ops argument.
2183 (target_supports_btrace): New define.
2184
6b84065d
TT
21852014-02-19 Tom Tromey <tromey@redhat.com>
2186
2187 * record-full.c (record_full_beneath_to_resume_ops)
2188 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2189 (record_full_beneath_to_wait)
2190 (record_full_beneath_to_store_registers_ops)
2191 (record_full_beneath_to_store_registers)
2192 (record_full_beneath_to_xfer_partial_ops)
2193 (record_full_beneath_to_xfer_partial)
2194 (record_full_beneath_to_insert_breakpoint_ops)
2195 (record_full_beneath_to_insert_breakpoint)
2196 (record_full_beneath_to_remove_breakpoint_ops)
2197 (record_full_beneath_to_remove_breakpoint)
2198 (record_full_beneath_to_stopped_by_watchpoint)
2199 (record_full_beneath_to_stopped_data_address)
2200 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2201 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2202 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2203 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2204 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2205 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2206 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2207 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2208 (record_full_resume, record_full_wait_1)
2209 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2210 (record_full_store_registers, record_full_xfer_partial)
2211 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2212 (record_full_async, record_full_core_xfer_partial): Use target
2213 delegation.
2214 * target-delegates.c: Rebuild.
2215 * target.c (current_xfer_partial): Remove.
2216 (update_current_target): Do not INHERIT or de_fault
2217 to_insert_breakpoint, to_remove_breakpoint,
2218 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2219 to_is_async_p, to_async. Do not set to_xfer_partial field.
2220 (default_xfer_partial): Simplify.
2221 (current_xfer_partial): Remove.
2222 (target_wait, target_resume): Simplify.
2223 (find_default_can_async_p, find_default_is_async_p): Update.
2224 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2225 to_xfer_partial, to_stopped_by_watchpoint,
2226 to_stopped_data_address.
2227 (target_store_registers): Simplify.
2228 (forward_target_remove_breakpoint)
2229 (forward_target_insert_breakpoint): Remove.
2230 (target_remove_breakpoint, target_insert_breakpoint)
2231 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2232 * target.h (struct target_ops) <to_resume, to_wait,
2233 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2234 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2235 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2236 markup.
2237 (forward_target_remove_breakpoint)
2238 (forward_target_insert_breakpoint): Remove.
2239 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2240 directly.
2241 (record_btrace_insert_breakpoint): Delegate directly.
2242
1101cb7b
TT
22432014-02-19 Tom Tromey <tromey@redhat.com>
2244
2245 PR build/7701:
2246 * target-delegates.c: New file.
2247 * target.c: Include target-delegates.c.
2248 (init_dummy_target): Call install_dummy_methods.
2249 (complete_target_initialization): Call install_delegators.
2250 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2251 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2252 * make-target-delegates: New file.
2253
8b06beed
TT
22542014-02-19 Tom Tromey <tromey@redhat.com>
2255
2256 * record.c (find_record_target): Use find_target_at.
2257 * target.c (find_target_at): New function.
2258 * target.h (find_target_at): Declare.
2259
6a109b6b
TT
22602014-02-19 Tom Tromey <tromey@redhat.com>
2261
2262 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2263 Add 'ops' argument.
2264 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2265 'ops' argument.
2266 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2267 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2268 'ops' argument.
2269 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2270 argument.
2271 * linux-nat.c (save_sigtrap): Update.
2272 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2273 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2274 (linux_nat_close): Update.
2275 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2276 argument.
2277 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2278 argument.
2279 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2280 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2281 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2282 (tmp_to_async): Add 'ops' argument.
2283 (record_full_stopped_by_watchpoint, record_full_async)
2284 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2285 argument.
2286 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2287 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2288 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2289 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2290 (remote_is_async_p, remote_async): Add 'ops' argument.
2291 (remote_stopped_data_address): Update.
2292 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2293 * target.c (update_current_target)
2294 (find_default_can_async_p, find_default_is_async_p): Update.
2295 (init_dummy_target): Update.
2296 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2297 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2298 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2299 (target_can_async_p, target_is_async_p, target_async)
2300 (target_stopped_by_watchpoint): Update.
2301
e095146b
YQ
23022014-02-19 Yao Qi <yao@codesourcery.com>
2303
2304 PR gdb/16220
2305 * gdbarch.sh: Remove startup_gdbarch.
2306 * gdbarch.c: Regenerated.
2307 * gdbarch.h: Likewise.
2308
bc3c6b36
KB
23092014-02-17 Kevin Buettner <kevinb@redhat.com>
2310
2311 * rl78-tdep.c (rl78_g10_register_name): New function.
2312 (rl78_return_value): Add g10 support.
2313 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2314 g10.
2315
98dc0167 23162014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
2317
2318 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2319 (SUBDIR_GUILE_SRCS): Ditto.
2320 (scm-gsmob.o): Ditto.
2321
842c05cd
YQ
23222014-02-17 Yao Qi <yao@codesourcery.com>
2323
2324 * gnu-nat.c (ILL_RPC): Declare defined function.
2325
25c0bd04
YQ
23262014-02-17 Yao Qi <yao@codesourcery.com>
2327
2328 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2329 mach_msg_type_number_t.
2330 (gnu_write_inferior): Likewise.
2331
a9a758e3
YQ
23322014-02-17 Yao Qi <yao@codesourcery.com>
2333
2334 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2335 in format string.
2336 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2337 (inf_validate_procs, inf_signal): Likewise.
2338 (S_exception_raise_request): Likewise.
2339 (do_mach_notify_dead_name): Likewise.
2340 (steal_exc_port): Likewise.
2341 (gnu_read_inferior): Change 'copy_count''s type to
2342 mach_msg_type_number_t.
2343 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2344 format string.
2345
bae8023e
TS
23462014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2347
c82f56d9
TS
2348 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2349 flag. Adjust all users; in particular...
2350 (gnu_wait): ..., don't decrement its value in here...
2351 (gnu_create_inferior): ..., and instead set the flag in here,
2352 around the startup_inferior call, and call that one with
2353 START_INFERIOR_TRAPS_EXPECTED.
2354
3398af6a
TS
2355 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2356 (ILL_RPC): ... new macro.
2357 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2358 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2359 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2360 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2361 functions with ILL_RPC macro.
2362 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2363 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2364 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2365 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2366 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2367 (S_proc_getlogin_reply, S_proc_getsid_reply)
2368 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2369 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2370 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2371 (S_proc_getnports_reply, S_proc_is_important_reply)
2372 (S_proc_get_code_reply): New stub functions, generated with
2373 ILL_RPC macro.
2374
d47642c9
TS
2375 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2376 collected the type check structures.
2377
bae8023e
TS
2378 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2379
8a55ffb0
DE
23802014-02-14 Doug Evans <dje@google.com>
2381
2382 * target.c (target_write_partial): Fix result type.
2383
c2853f3d
JM
23842014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2385
2386 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2387 the proper offsets to access fpregset_t.
2388
ac61d2db
SA
23892014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2390
2391 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2392 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2393 * h8300-tdep.c (setmachinelist): Remove global.
2394 * hppa-tdep.c (hppa_sigtramp): Remove global.
2395 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2396 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2397 * ravenscar-thread.c (update_target_observer): Remove global.
2398 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2399
9d2d0b8b
TT
24002014-02-12 Tom Tromey <tromey@redhat.com>
2401
2402 * common/rsp-low.c: Update comments.
2403 * common/rsp-low.h: Update comments.
2404
a7191e8b
TT
24052014-02-12 Tom Tromey <tromey@redhat.com>
2406
2407 * common/rsp-low.c (convert_ascii_to_int): Remove.
2408 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2409
ff0e980e
TT
24102014-02-12 Tom Tromey <tromey@redhat.com>
2411
2412 * common/rsp-low.h (unhexify): Don't declare.
2413 * common/rsp-low.c (unhexify): Remove.
2414
e9371aff
TT
24152014-02-12 Tom Tromey <tromey@redhat.com>
2416
2417 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2418 * common/rsp-low.c (convert_int_to_ascii): Remove.
2419
971dc0b8
TT
24202014-02-12 Tom Tromey <tromey@redhat.com>
2421
2422 * common/rsp-low.h (hexify): Don't declare.
2423 * common/rsp-low.c (hexify): Remove.
2424
0a822afb
TT
24252014-02-12 Tom Tromey <tromey@redhat.com>
2426
2427 * common/rsp-low.c (hexify): Never take strlen of argument.
2428
9f1b45b0
TT
24292014-02-12 Tom Tromey <tromey@redhat.com>
2430
2431 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2432 * remote.c (extended_remote_run, remote_rcmd)
2433 (remote_download_trace_state_variable, remote_save_trace_data)
2434 (remote_set_trace_notes): Update.
2435 * tracepoint.c (encode_source_string, tfile_write_status)
2436 (tfile_write_uploaded_tsv): Update.
2437
9c3d6531
TT
24382014-02-12 Tom Tromey <tromey@redhat.com>
2439
2440 * tracepoint.c: Include rsp-low.h.
2441 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2442 * remote.c: Include rsp-low.h.
2443 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2444 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2445 (remote_unescape_input): Move to common/rsp-low.c.
2446 * common/rsp-low.h: New file.
2447 * common/rsp-low.c: New file.
2448 * Makefile.in (SFILES): Add common/rsp-low.c.
2449 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2450 (COMMON_OBS): Add rsp-low.o.
2451 (rsp-low.o): New target.
2452
01fd3ea5
TT
24532014-02-12 Tom Tromey <tromey@redhat.com>
2454
2455 * utils.h: Include print-utils.h.
2456 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2457 (int_string, core_addr_to_string, core_addr_to_string_nz)
2458 (hex_string, hex_string_custom): Don't declare.
2459 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2460 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2461 (hex_string_custom, int_string, core_addr_to_string)
2462 (core_addr_to_string_nz, host_address_to_string): Move to
2463 common/print-utils.c.
2464 * common/print-utils.h: New file.
2465 * common/print-utils.c: New file
2466 * Makefile.in (SFILES): Add common/print-utils.c.
2467 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2468 (COMMON_OBS): Add print-utils.o.
2469 (print-utils.o): New target.
2470
9fb50108
TT
24712014-02-12 Tom Tromey <tromey@redhat.com>
2472
2473 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2474
0548b5db
MK
24752014-02-12 Mark Kettenis <kettenis@gnu.org>
2476
2477 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2478
493443a4
MK
24792014-02-12 Mark Kettenis <kettenis@gnu.org>
2480
2481 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2482 if a PT_IO ptrace request returns sucessfully but indicates that 0
2483 bytes were transferred.
2484
706d0883
PA
24852014-02-12 Pedro Alves <palves@redhat.com>
2486 Kevin Buettner <kevinb@redhat.com>
2487
2488 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2489 TYPE_INSTANCE_FLAG_CODE_SPACE.
2490
5caa2f0b
PA
24912014-02-12 Pedro Alves <palves@redhat.com>
2492
2493 * h8300-tdep.c (pseudo_from_raw_register)
2494 (raw_from_pseudo_register): New functions.
2495 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2496 them.
2497
76fd5f74
PA
24982014-02-12 Pedro Alves <palves@redhat.com>
2499
2500 * h8300-tdep.c (h8300_register_sim_regno): New function.
2501 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2502 gdbarch_register_sim_regno hook.
2503
8f008406
SA
25042014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2505
2506 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2507
195abc10
SA
25082014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2509
2510 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2511
93ffa5b9
MK
25122014-02-12 Mark Kettenis <kettenis@gnu.org>
2513
2514 * obsd-tdep.h (obsd_init_abi): New prototype.
2515 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2516 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2517 (obsd_init_abi): New functions.
2518 * i386obsd-tdep.c: Include "obsd-tdep.h".
2519 (i386obsd_init_abi): Call obsd_init_abi.
2520 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2521 (amd64obsd_init_abi): Call obsd_init_abi.
2522 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2523 obsd-tdep.c to gdb_target_obs.
2524
49caec94
JM
25252014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2526
2527 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2528 double float arguments to 16-byte in the argument slots.
2529
e1402065
DE
25302014-02-11 Doug Evans <xdje42@gmail.com>
2531
2532 * configure.ac: Don't crash if pkg-config is not found and guile
2533 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2534 in guile checks.
2535 * configure: Regenerate.
2536
edcc890f
YQ
25372014-02-11 Yao Qi <yao@codesourcery.com>
2538
2539 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2540 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2541 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2542 * gnu-nat.c (gnu_xfer_memory): Likewise.
2543 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2544 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2545 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2546 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2547
9b409511
YQ
25482014-02-11 Yao Qi <yao@codesourcery.com>
2549
2550 * target.h (enum target_xfer_error): Rename to ...
2551 (enum target_xfer_status): ... it. New. All users updated.
2552 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2553 New.
2554 (TARGET_XFER_STATUS_ERROR_P): New macro.
2555 (target_xfer_error_to_string): Remove declaration.
2556 (target_xfer_status_to_string): Declare.
2557 (target_xfer_partial_ftype): Adjust it.
2558 (struct target_ops) <to_xfer_partial>: Return
2559 target_xfer_status. Add argument xfered_len. Update
2560 comments.
2561 * target.c (target_xfer_error_to_string): Rename to ...
2562 (target_xfer_status_to_string): ... it. New. All callers
2563 updated.
2564 (target_read_live_memory): Likewise. Call target_xfer_partial
2565 instead of target_read.
2566 (memory_xfer_live_readonly_partial): Return
2567 target_xfer_status. Add argument xfered_len.
2568 (raw_memory_xfer_partial): Likewise.
2569 (memory_xfer_partial_1): Likewise.
2570 (memory_xfer_partial): Likewise.
2571 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2572 properly. Update debug message.
2573 (default_xfer_partial, current_xfer_partial): Likewise.
2574 (target_write_partial): Likewise.
2575 (target_read_partial): Likewise. All callers updated.
2576 (read_whatever_is_readable): Likewise.
2577 (target_write_with_progress): Likewise.
2578 (target_read_alloc_1): Likewise.
2579
2580 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2581 * auxv.c (procfs_xfer_auxv): Likewise.
2582 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2583 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2584 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2585 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2586 * corefile.c (read_memory): Adjust.
2587 * corelow.c (core_xfer_partial): Likewise.
2588 * ctf.c (ctf_xfer_partial): Likewise.
2589 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2590 updated.
2591 (darwin_xfer_partial): Likewise.
2592 * exec.c (section_table_xfer_memory_partial): Likewise. All
2593 callers updated.
2594 (exec_xfer_partial): Likewise.
2595 * exec.h (section_table_xfer_memory_partial): Update
2596 declaration.
2597 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2598 negative.
2599 (gnu_xfer_partial): Likewise.
2600 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2601 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2602 (ia64_hpux_xfer_solib_got): Likewise.
2603 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2604 type of 'partial_len' to ULONGEST.
2605 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2606 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2607 (linux_nat_xfer_partial): Likewise.
2608 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2609 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2610 * monitor.c (monitor_xfer_memory): Likewise.
2611 (monitor_xfer_partial): Likewise.
2612 * procfs.c (procfs_xfer_partial): Likewise.
2613 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2614 * record-full.c (record_full_xfer_partial): Likewise.
2615 (record_full_core_xfer_partial): Likewise.
2616 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2617 (gdbsim_xfer_partial): Likewise.
2618 * remote.c (remote_write_bytes_aux): Likewise. All callers
2619 updated.
2620 (remote_write_bytes, remote_read_bytes): Likewise. All
2621 callers updated.
2622 (remote_flash_erase): Likewise. All callers updated.
2623 (remote_write_qxfer): Likewise. All callers updated.
2624 (remote_read_qxfer): Likewise. All callers updated.
2625 (remote_xfer_partial): Likewise.
2626 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2627 (rs6000_xfer_shared_libraries): Likewise.
2628 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2629 (sol_thread_xfer_partial): Likewise.
2630 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2631 (sparc_xfer_partial): Likewise.
2632 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2633 updated.
2634 (spu_xfer_partial): Likewise.
2635 * spu-multiarch.c (spu_xfer_partial): Likewise.
2636 * tracepoint.c (tfile_xfer_partial): Likewise.
2637 * windows-nat.c (windows_xfer_memory): Likewise.
2638 (windows_xfer_shared_libraries): Likewise.
2639 (windows_xfer_partial): Likewise.
2640 * valprint.c: Replace 'target_xfer_error' with
2641 'target_xfer_status' in comments.
2642
a8e63083
JB
26432014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2644
2645 Checked in by Joel Brobecker <brobecker@adacore.com>.
2646 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2647
e86b67d3
JB
26482014-02-11 Joel Brobecker <brobecker@adacore.com>
2649
2650 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2651 function parameters.
2652
4b7d1f7f
WN
26532014-02-10 Will Newton <will.newton@linaro.org>
2654
2655 * elfread.c (elf_rel_plt_read): Look for a .got section if
2656 looking up .got.plt fails.
2657 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2658 on address passed to elf_gnu_ifunc_record_cache.
2659 (elf_gnu_ifunc_resolve_addr): Likewise.
2660 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2661
961842b2
JM
26622014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2663
2664 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2665 (X_RETTURN): New macro.
2666 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2667
2668 * sparc64-tdep.c (sparc64_init_abi): Hook
2669 sparc_in_function_epilogue_p.
2670
3f03e7b1
GB
26712014-02-10 Gary Benson <gbenson@redhat.com>
2672
2673 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2674 Rename name_matcher to symbol_matcher.
2675
96f861ef
GB
26762014-02-10 Gary Benson <gbenson@redhat.com>
2677
2678 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2679 Use expand_symtabs_file_matcher_ftype and
2680 expand_symtabs_symbol_matcher_ftype.
2681
ee01b665
JB
26822014-02-10 Joel Brobecker <brobecker@adacore.com>
2683
2684 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2685 (struct ada_symbol_cache): New.
2686 (ada_free_symbol_cache): Forward declare.
2687 (struct ada_pspace_data): New.
2688 (ada_pspace_data_handle): New static global.
2689 (get_ada_pspace_data, ada_pspace_data_cleanup)
2690 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2691 (cache_space, cache): Delete, now folded inside struct
2692 ada_pspace_data.
2693 (ada_get_symbol_cache): New function.
2694 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2695 implementation.
2696 (_initialize_ada_language): Remove initialization of cache_space.
2697 Move call to observer_attach_inferior_exit up, grouping it
2698 with the other observer registrations inside this function.
2699 Rename command to be more general. Add call to
2700 register_program_space_data_with_cleanup.
2701
143adbbf
JB
27022014-02-10 Joel Brobecker <brobecker@adacore.com>
2703
2704 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2705 ada_new_objfile_observer.
2706 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2707 (_initialize_tasks): Update uses of ada_new_objfile_observer
2708 and ada_tasks_normal_stop_observer.
2709
aa4fb036
JB
27102014-02-10 Joel Brobecker <brobecker@adacore.com>
2711
2712 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2713 returned by the 'Length attribute to integer.
2714
9dee8cc6
JB
27152014-02-10 Joel Brobecker <brobecker@adacore.com>
2716
2717 * ada-lang.c (_initialize_ada_language): Initialize
2718 cache_space obstack.
2719
3d9434b5
JB
27202014-02-10 Joel Brobecker <brobecker@adacore.com>
2721
2722 * ada-lang.c (HASH_SIZE): New macro.
2723 (struct cache_entry): New type.
2724 (cache_space, cache): New static globals.
2725 (ada_clear_symbol_cache, find_entry): New functions.
2726 (lookup_cached_symbol, cache_symbol): Implement.
2727 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2728 (_initialize_ada_language): Attach ada_new_objfile_observer
2729 and ada_free_objfile_observer.
2730
f0c5f9b2
JB
27312014-02-10 Joel Brobecker <brobecker@adacore.com>
2732
2733 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2734 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2735 struct block * parameter.
2736 (ada_lookup_symbol_list_worker): Constify local variable "block".
2737 Remove cast which is no longer necessary.
2738
ed3ef339
DE
27392014-02-10 Doug Evans <xdje42@gmail.com>
2740
2741 Add Guile as an extension language.
2742 * NEWS: Mention Guile scripting.
2743 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2744 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2745 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2746 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2747 (CLIBS): Add GUILE_LIBS.
2748 (install-guile): New rule.
2749 (guile.o): New rule.
2750 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2751 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2752 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2753 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2754 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2755 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2756 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2757 * configure.ac: New option --with-guile.
2758 * configure: Regenerate.
2759 * config.in: Regenerate.
2760 * auto-load.c: Remove #include "python/python.h". Add #include
2761 "gdb/section-scripts.h".
2762 (source_section_scripts): Handle Guile scripts.
2763 (_initialize_auto_load): Add name of Guile objfile script to
2764 scripts-directory help text.
2765 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2766 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2767 (struct breakpoint): New member scm_bp_object.
2768 * defs.h (enum command_control_type): New value guile_control.
2769 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2770 "extension.h".
2771 (show_user): Update comment.
2772 (_initialize_cli_cmds): Update help text for "show user". Update help
2773 text for max-user-call-depth.
2774 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2775 "extension.h".
2776 (multi_line_command_p): Add guile_control.
2777 (print_command_lines): Handle guile_control.
2778 (execute_control_command, recurse_read_control_structure): Ditto.
2779 (process_next_line): Recognize "guile" commands.
2780 * disasm.c (gdb_disassemble_info): Make non-static.
2781 * disasm.h: #include "dis-asm.h".
2782 (struct gdbarch): Add forward decl.
2783 (gdb_disassemble_info): Declare.
2784 * extension.c: #include "guile/guile.h".
2785 (extension_languages): Add guile.
2786 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2787 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2788 * gdbtypes.c (get_unsigned_type_max): New function.
2789 (get_signed_type_minmax): New function.
2790 * gdbtypes.h (get_unsigned_type_max): Declare.
2791 (get_signed_type_minmax): Declare.
2792 * guile/README: New file.
2793 * guile/guile-internal.h: New file.
2794 * guile/guile.c: New file.
2795 * guile/guile.h: New file.
2796 * guile/scm-arch.c: New file.
2797 * guile/scm-auto-load.c: New file.
2798 * guile/scm-block.c: New file.
2799 * guile/scm-breakpoint.c: New file.
2800 * guile/scm-disasm.c: New file.
2801 * guile/scm-exception.c: New file.
2802 * guile/scm-frame.c: New file.
2803 * guile/scm-gsmob.c: New file.
2804 * guile/scm-iterator.c: New file.
2805 * guile/scm-lazy-string.c: New file.
2806 * guile/scm-math.c: New file.
2807 * guile/scm-objfile.c: New file.
2808 * guile/scm-ports.c: New file.
2809 * guile/scm-pretty-print.c: New file.
2810 * guile/scm-safe-call.c: New file.
2811 * guile/scm-string.c: New file.
2812 * guile/scm-symbol.c: New file.
2813 * guile/scm-symtab.c: New file.
2814 * guile/scm-type.c: New file.
2815 * guile/scm-utils.c: New file.
2816 * guile/scm-value.c: New file.
2817 * guile/lib/gdb.scm: New file.
2818 * guile/lib/gdb/boot.scm: New file.
2819 * guile/lib/gdb/experimental.scm: New file.
2820 * guile/lib/gdb/init.scm: New file.
2821 * guile/lib/gdb/iterator.scm: New file.
2822 * guile/lib/gdb/printing.scm: New file.
2823 * guile/lib/gdb/types.scm: New file.
2824 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2825 (VPATH): Add $(GUILE_SRCDIR).
2826 (GUILE_DIR): New variable.
2827 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2828 (all): Add stamp-guile dependency.
2829 (stamp-guile): New rule.
2830 (clean-guile, install-guile, uninstall-guile): New rules.
2831 (install-only): Add install-guile dependency.
2832 (uninstall): Add uninstall-guile dependency.
2833 (clean): Add clean-guile dependency.
2834
ac020ec5
DE
28352014-02-09 Doug Evans <xdje42@gmail.com>
2836
2837 Revert this patch (which I approved, mea culpa).
2838
2839 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2840
2841 * Makefile.in (all-lib): Remove.
2842 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2843
2a081c59
JK
28442014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2845
2846 Fix Python stack corruption.
2847 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2848 gdb_py_longest.
2849
0a6bd22d
MK
28502014-02-08 Mark Kettenis <kettenis@gnu.org>
2851
2852 * Makefile.in (all-lib): Remove.
2853 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2854
1a860409
DE
28552014-02-07 Doug Evans <dje@google.com>
2856
2857 * extension-priv.h (extension_language_script_ops): Add comment.
2858 (extension_language_ops): Add comment.
caf5a491 2859 (active_ext_lang_state): Fix typo in comment.
1a860409 2860
d137e6dc
PA
28612014-02-07 Pedro Alves <palves@redhat.com>
2862
2863 * infrun.c (handle_signal_stop) <signal arrives while stepping
2864 over a breakpoint>: Switch back to the stepping thread.
2865
ce6d0892
YQ
28662014-02-07 Yao Qi <yao@codesourcery.com>
2867
2868 * target.c (target_xfer_partial): Return zero if LEN is zero.
2869
2ed4b548
YQ
28702014-02-07 Yao Qi <yao@codesourcery.com>
2871
2872 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2873 (ld_so_xfer_auxv): Likewise.
2874 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2875 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2876 * corelow.c (core_xfer_partial): Likewise.
2877 * ctf.c (ctf_xfer_partial): Likewise.
2878 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2879 (darwin_xfer_partial): Likewise.
2880 * exec.c (exec_xfer_partial): Likewise.
2881 * gnu-nat.c (gnu_xfer_partial): Likewise.
2882 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2883 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2884 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2885 * linux-nat.c (linux_xfer_siginfo): Likewise.
2886 (linux_proc_xfer_spu): Likewise.
2887 * procfs.c (procfs_xfer_partial): Likewise.
2888 * record-full.c (record_full_xfer_partial): Likewise.
2889 (record_full_core_xfer_partial): Likewise.
2890 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2891 * remote.c (remote_write_qxfer): Likewise.
2892 (remote_write_qxfer, remote_read_qxfer): Likewise.
2893 (remote_xfer_partial): Likewise.
2894 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2895 (rs6000_xfer_shared_libraries): Likewise.
2896 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2897 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2898 (spu_xfer_partial): Likewise.
2899 * target.c (memory_xfer_partial_1): Likewise.
2900 * tracepoint.c (tfile_xfer_partial): Likewise.
2901 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2902 (windows_xfer_partial): Likewise.
2903
c09f20e4
YQ
29042014-02-07 Yao Qi <yao@codesourcery.com>
2905
2906 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2907 comments.
2908 (core_xfer_shared_libraries_aix): Likewise.
2909 * gdbarch.c, gdbarch.h: Regenerated.
2910 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2911 ULONGEST. Change 'len_avail' type to ULONGEST.
2912 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2913 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2914 declaration.
2915 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2916
8635b3bf
YQ
29172014-02-07 Yao Qi <yao@codesourcery.com>
2918
2919 * corefile.c (memory_error): Get 'exception' from ERR and pass
2920 'exception' to throw_error.
2921
6dddc817
DE
29222014-02-06 Doug Evans <xdje42@gmail.com>
2923
2924 * configure.ac (libpython checking): Remove all but python.o from
2925 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2926 * configure: Regenerate.
2927
2928 * Makefile.in (SFILES): Add extension.c.
2929 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2930 (COMMON_OBS): Add extension.o.
2931 * extension.h: New file.
2932 * extension-priv.h: New file.
2933 * extension.c: New file.
2934
2935 * python/python-internal.h: #include "extension.h".
2936 (gdbpy_auto_load_enabled): Declare.
2937 (gdbpy_apply_val_pretty_printer): Declare.
2938 (gdbpy_apply_frame_filter): Declare.
2939 (gdbpy_preserve_values): Declare.
2940 (gdbpy_breakpoint_cond_says_stop): Declare.
2941 (gdbpy_breakpoint_has_cond): Declare.
2942 (void source_python_script_for_objfile): Delete.
2943 * python/python.c: #include "extension-priv.h".
2944 Delete inclusion of "observer.h".
2945 (extension_language_python): Moved here and renamed from
2946 script_language_python in py-auto-load.c.
2947 Redefined to be of type extension_language_defn.
2948 (python_extension_script_ops): New global.
2949 (python_extension_ops): New global.
2950 (struct python_env): New member previous_active.
2951 (restore_python_env): Call restore_active_ext_lang.
2952 (ensure_python_env): Call set_active_ext_lang.
2953 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2954 New arg extlang.
2955 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2956 New arg extlang.
2957 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2958 New arg extlang.
2959 (gdbpy_eval_from_control_command): Renamed from
2960 eval_python_from_control_command, made static. New arg extlang.
2961 (gdbpy_source_script) Renamed from source_python_script, made static.
2962 New arg extlang.
2963 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2964 result to int. New arg extlang.
2965 (gdbpy_source_objfile_script): Renamed from
2966 source_python_script_for_objfile, made static. New arg extlang.
2967 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2968 static. New args extlang, extlang_printers. Change result type to
2969 "void".
2970 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2971 static. New arg extlang. Rename arg printers to extlang_printers
2972 and change type to ext_lang_type_printers *.
2973 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2974 static. Replace argument arg with extlang, extlang_printers.
2975 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2976 (!HAVE_PYTHON, source_python_script): Delete.
2977 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2978 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2979 (!HAVE_PYTHON, start_type_printers): Delete.
2980 (!HAVE_PYTHON, apply_type_printers): Delete.
2981 (!HAVE_PYTHON, free_type_printers): Delete.
2982 (_initialize_python): Delete call to observer_attach_before_prompt.
2983 (finalize_python): Set/restore active extension language.
2984 (gdbpy_finish_initialization) Renamed from
2985 finish_python_initialization, made static. New arg extlang.
2986 (gdbpy_initialized): New function.
2987 * python/python.h: #include "extension.h". Delete #include
2988 "value.h", "mi/mi-cmds.h".
2989 (extension_language_python): Declare.
2990 (GDBPY_AUTO_FILE_NAME): Delete.
2991 (enum py_bt_status): Moved to extension.h and renamed to
2992 ext_lang_bt_status.
2993 (enum frame_filter_flags): Moved to extension.h.
2994 (enum py_frame_args): Moved to extension.h and renamed to
2995 ext_lang_frame_args.
2996 (finish_python_initialization): Delete.
2997 (eval_python_from_control_command): Delete.
2998 (source_python_script): Delete.
2999 (apply_val_pretty_printer): Delete.
3000 (apply_frame_filter): Delete.
3001 (preserve_python_values): Delete.
3002 (gdbpy_script_language_defn): Delete.
3003 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3004 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3005
3006 * auto-load.c: #include "extension.h".
3007 (GDB_AUTO_FILE_NAME): Delete.
3008 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3009 (script_language_gdb): Delete, moved to extension.c and renamed to
3010 extension_language_gdb.
3011 (source_gdb_script_for_objfile): Delete.
3012 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3013 (loaded_script): Change type of language member to
3014 struct extension_language_defn *.
3015 (init_loaded_scripts_info): Initialize
3016 unsupported_script_warning_printed.
3017 (maybe_add_script): Make static. Change type of language arg to
3018 struct extension_language_defn *.
3019 (clear_section_scripts): Reset unsupported_script_warning_printed.
3020 (auto_load_objfile_script_1): Rewrite to use extension language API.
3021 (auto_load_objfile_script): Make public. Remove support-compiled-in
3022 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3023 (source_section_scripts): Rewrite to use extension language API.
3024 (load_auto_scripts_for_objfile): Rewrite to use
3025 auto_load_scripts_for_objfile.
3026 (collect_matching_scripts_data): Change type of language member to
3027 struct extension_language_defn *.
3028 (auto_load_info_scripts): Change type of language arg to
3029 struct extension_language_defn *.
3030 (unsupported_script_warning_print): New function.
3031 (script_not_found_warning_print): Make static.
3032 (_initialize_auto_load): Rewrite construction of scripts-directory
3033 help.
3034 * auto-load.h (struct objfile): Add forward decl.
3035 (struct script_language): Delete.
3036 (struct auto_load_pspace_info): Add forward decl.
3037 (struct extension_language_defn): Add forward decl.
3038 (maybe_add_script): Delete.
3039 (auto_load_objfile_script): Declare.
3040 (script_not_found_warning_print): Delete.
3041 (auto_load_info_scripts): Update prototype.
3042 (auto_load_gdb_scripts_enabled): Declare.
3043 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3044 auto_load_python_scripts_enabled and made public.
3045 (script_language_python): Delete, moved to python.c.
3046 (gdbpy_script_language_defn): Delete.
3047 (info_auto_load_python_scripts): Update to use
3048 extension_language_python.
3049
3050 * breakpoint.c (condition_command): Replace call to
3051 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3052 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3053 with call to breakpoint_ext_lang_cond_says_stop.
3054 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3055 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3056 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3057 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3058 New arg slang.
3059 (local_setattro): Print name of extension language with existing
3060 stop condition.
3061
3062 * valprint.c (val_print, value_print): Update to call
3063 apply_ext_lang_val_pretty_printer.
3064 * cp-valprint.c (cp_print_value): Update call to
3065 apply_ext_lang_val_pretty_printer.
3066 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3067 (gdbpy_apply_val_pretty_printer): Renamed from
3068 apply_val_pretty_printer. New arg extlang.
3069 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3070
3071 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3072 extension language API.
3073 * cli/cli-script.c (execute_control_command): Update to call
3074 eval_ext_lang_from_control_command.
3075
3076 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3077 enum ext_lang_bt_status values. Update call to
3078 apply_ext_lang_frame_filter.
3079 (mi_cmd_stack_list_locals): Ditto.
3080 (mi_cmd_stack_list_args): Ditto.
3081 (mi_cmd_stack_list_variables): Ditto.
3082 * mi/mi-main.c: Delete #include "python/python-internal.h".
3083 Add #include "extension.h".
3084 (mi_cmd_list_features): Replace reference to python internal variable
3085 gdb_python_initialized with call to ext_lang_initialized_p.
3086
3087 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3088 Update to use enum ext_lang_frame_args. Update to call
3089 apply_ext_lang_frame_filter.
3090 * python/py-framefilter.c (extract_sym): Update to use enum
3091 ext_lang_bt_status.
3092 (extract_value, py_print_type, py_print_value): Ditto.
3093 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3094 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3095 (py_print_frame): Ditto.
3096 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3097 New arg extlang. Update to use enum ext_lang_bt_status.
3098
3099 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3100 finish_python_initialization. Replace with call to
3101 finish_ext_lang_initialization.
3102
3103 * typeprint.c (do_free_global_table): Update to call
3104 free_ext_lang_type_printers.
3105 (create_global_typedef_table): Update to call
3106 start_ext_lang_type_printers.
3107 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3108 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3109 (type_print_options): Change type of global_printers from "void *"
3110 to "struct ext_lang_type_printers *".
3111
3112 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3113 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3114 (gdbpy_preserve_values): Renamed from preserve_python_values.
3115 New arg extlang.
3116 (!HAVE_PYTHON, preserve_python_values): Delete.
3117
3118 * utils.c (quit_flag): Delete, moved to extension.c.
3119 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3120 extension.c.
3121
3122 * eval.c: Delete #include "python/python.h".
3123 * main.c: Delete #include "python/python.h".
3124
3125 * defs.h: Update comment.
3126
6af79985
JB
31272014-02-06 Joel Brobecker <brobecker@adacore.com>
3128
3129 GDB 7.7 released.
3130
12c5175d
MK
31312014-02-05 Mark Kettenis <kettenis@gnu.org>
3132
3133 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3134 defined.
3135
8dc5b319
YQ
31362014-02-05 Yao Qi <yao@codesourcery.com>
3137
3138 * remote.c (remote_pass_signals): Remove local 'buf' and use
3139 rs->buf.
3140 (remote_program_signals): Likewise.
3141
de7b2893
YQ
31422014-02-05 Yao Qi <yao@codesourcery.com>
3143
3144 * ctf.c: Include "inferior.h" and "gdbthread.h".
3145 (CTF_PID): A new macro.
3146 (ctf_open): Call inferior_appeared and add_thread_silent.
3147 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3148 (ctf_thread_alive): New function.
3149 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3150
66d032ac
YQ
31512014-02-05 Yao Qi <yao@codesourcery.com>
3152
3153 Revert this patch:
3154
3155 2013-05-24 Yao Qi <yao@codesourcery.com>
3156
3157 * tracepoint.c (TFILE_PID): Remove.
3158 (tfile_open): Don't add thread and inferior.
3159 (tfile_close): Don't set 'inferior_ptid'. Don't call
3160 exit_inferior_silent.
3161 (tfile_thread_alive): Remove.
3162 (init_tfile_ops): Don't set field 'to_thread_alive' of
3163 tfile_ops.
3164
f4ccffad
CE
31652014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3166
3167 * remote.c (remote_start_remote): Call remote_check_symbols even
3168 if only symbol-file (not file) has been given.
3169
591a12a1
UW
31702014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3171
3172 * gdbarch.sh (skip_entrypoint): New callback.
3173 * gdbarch.c, gdbarch.h: Regenerate.
3174 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3175 * infrun.c (fill_in_stop_func): Likewise.
3176 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3177 (ppc_elfv2_elf_make_msymbol_special): New function.
3178 (ppc_elfv2_skip_entrypoint): Likewise.
3179 (ppc_linux_init_abi): Install them for ELFv2.
3180
cc0e89c5
UW
31812014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3182
3183 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3184 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3185 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3186 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3187 structures returned in GPRs.
3188
52f548e4
UW
31892014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3190
3191 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3192 offset to the stack parameter list for the ELFv2 ABI.
3193
d4094b6a
UW
31942014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3195
3196 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3197 set_gdbarch_convert_from_func_ptr_addr and
3198 set_gdbarch_elf_make_msymbol_special for ELFv1.
3199 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3200 function descriptors on ELFv1.
3201 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3202 set up r12 at function entry.
3203
cd453cd0
UW
32042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3205
3206 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3207 (struct gdbarch_tdep): New member elf_abi.
3208
3209 * rs6000-tdep.c: Include "elf/ppc64.h".
3210 (rs6000_gdbarch_init): Detect ELF ABI version.
3211
0ff3e01f
UW
32122014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3213
3214 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3215 within a register pair holding a DFP 128-bit value on little-endian.
3216 (ppc64_sysv_abi_return_value_base): Likewise.
3217 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3218 (dfp_pseudo_register_write): Likewise.
3219
5b757e5d
UW
32202014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3221
3222 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3223 offset on little-endian when passing _Decimal32.
3224 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3225
084ee545
UW
32262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3227
3228 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3229 of the overlapped FP register within the VSX register on little-
3230 endian platforms.
3231 (efpr_pseudo_register_write): Likewise.
3232
d63167af
UW
32332014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3234
3235 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3236 offset on little-endian when passing small structures.
3237
e765b44c
UW
32382014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3239
3240 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3241 (struct ppc64_sysv_argpos): New data structure.
3242 (ppc64_sysv_abi_push_float): Remove.
3243 (ppc64_sysv_abi_push_val): New function.
3244 (ppc64_sysv_abi_push_integer): Likewise.
3245 (ppc64_sysv_abi_push_freg): Likewise.
3246 (ppc64_sysv_abi_push_vreg): Likewise.
3247 (ppc64_sysv_abi_push_param): Likewise.
3248 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3249 (ppc64_sysv_abi_return_value_base): New function.
3250 (ppc64_sysv_abi_return_value): Refactor to use it.
3251
36c24d95
UW
32522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3253
3254 * NEWS: Document new target powerpc64le-*-linux*.
3255
26fd9228
MK
32562014-02-04 Mark Kettenis <kettenis@gnu.org>
3257
3258 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3259 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3260 core dumps.
3261 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3262 register set used in ELF core dumps. Add floating-point register set.
3263
c5bb7362
KB
32642014-02-03 Kevin Buettner <kevinb@redhat.com>
3265
3266 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3267 dwarf2_to_gdb[] table using symbolic constants. Adjust
3268 penultimate entry from number representing the PC register
3269 to symbolic constant representing the MDR register. Add
3270 constant for the PC register to the end of the table.
3271
af09351e
MK
32722014-02-03 Mark Kettenis <kettenis@gnu.org>
3273
3274 * bsd-kvm.c: Include <sys/param.h>
3275
8507e05d
MK
32762014-02-03 Mark Kettenis <kettenis@gnu.org>
3277
3278 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3279
ae56bfb8
JB
32802014-01-31 Joel Brobecker <brobecker@adacore.com>
3281
3282 * ada-lang.h (clear_ada_sym_cache): Delete.
3283
718ee4dc
UW
32842014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3285
3286 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3287
401e27fd
JM
32882014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3289
3290 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3291 the sigreturn register save area only if the syscall is
3292 sigreturn.
3293
a7c88acd
JB
32942014-01-29 Joel Brobecker <brobecker@adacore.com>
3295
3296 * valops.c (value_slice): Minor reformatting.
3297
fa0079ea
UW
32982014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3299
3300 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3301
c6044dd1
JB
33022014-01-28 Joel Brobecker <brobecker@adacore.com>
3303
3304 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3305 New static globals.
3306 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3307 (ada_ignore_descriptive_types_p): New static global.
3308 (find_parallel_type_by_descriptive_type): Return immediately
3309 if ada_ignore_descriptive_types_p is set.
3310 (_initialize_ada_language): Register new commands "maintenance
3311 set ada", "maintenance show ada", "maintenance set ada
3312 ignore-descriptive-types" and "maintenance show ada
3313 ignore-descriptive-types".
3314 * NEWS: Add entry for new "maint ada set/show
3315 ignore-descriptive-types" commands.
3316
568e808b
MM
33172014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3318
3319 * record-btrace.c (record_btrace_close): Call btrace_teardown
3320 for all threads.
3321
467d141b
JB
33222014-01-27 Joel Brobecker <brobecker@adacore.com>
3323
3324 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3325 "ui-out.h".
3326
fb151210
JB
33272014-01-27 Joel Brobecker <brobecker@adacore.com>
3328
3329 * ada-typeprint (type_is_full_subrange_of_target_type):
3330 New function.
3331 (print_range): Add parameter bounds_prefered_p. If not set,
3332 try printing range types using the name of their base type.
3333 (print_range_type): Add parameter bounds_prefered_p.
3334 Use it in call to print_range.
3335 (print_array_type, ada_print_type): Update calls to print_range
3336 and print_range_type.
3337
aba02109
JB
33382014-01-27 Joel Brobecker <brobecker@adacore.com>
3339
3340 * ada-typeprint.c (print_array_type, print_choices, print_range)
3341 (print_range_bound, print_dynamic_range_bound, print_range_type):
3342 Remove declaration.
3343
e62e21fd
JB
33442014-01-27 Joel Brobecker <brobecker@adacore.com>
3345
3346 * ada-typeprint.c (print_range): Add missing empty line
3347 after local declaration.
3348
859cf5d1
JB
33492014-01-27 Joel Brobecker <brobecker@adacore.com>
3350
3351 * ada-valprint.c (print_optional_low_bound): Get index_type's
3352 target type for as long as it is a TYPE_CODE_RANGE.
3353
25790f6f
JB
33542014-01-27 Joel Brobecker <brobecker@adacore.com>
3355
3356 * procfs.c (procfs_make_note_section): Remove assertion and
3357 associated comment.
3358
6b6aa828
YQ
33592014-01-24 Yao Qi <yao@codesourcery.com>
3360
3361 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3362 * corelow.c (get_core_siginfo): Likewise.
3363
5d6df423
YQ
33642014-01-24 Yao Qi <yao@codesourcery.com>
3365
3366 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3367 ULONGEST. Don't check 'len' is negative.
3368 (remote_write_bytes): Change type of 'len' to ULONGEST.
3369
83b645b8
TT
33702014-01-23 Tom Tromey <tromey@redhat.com>
3371
3372 PR python/16485:
3373 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3374 Handle exception from frame.block.
3375 (FrameVars.fetch_frame_locals): Likewise.
3376
0740f8d8
TT
33772014-01-23 Tom Tromey <tromey@redhat.com>
3378
3379 PR python/16487:
3380 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3381 on a NULL pointer. Move "goto error" to correct place.
3382
21909fa1
TT
33832014-01-23 Tom Tromey <tromey@redhat.com>
3384
3385 PR python/16491:
3386 * python/py-framefilter.c (apply_frame_filter): Call
3387 ensure_python_env after computing gdbarch.
3388
17fde6d0
YQ
33892014-01-23 Yao Qi <yao@codesourcery.com>
3390
3391 * target.c (raw_memory_xfer_partial): Change argument type
3392 from void * to gdb_byte *.
3393 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3394
87ce2a04
DE
33952014-01-22 Doug Evans <dje@google.com>
3396
3397 New gdbserver option --debug-format=timestamp.
3398 * NEWS: Mention it.
3399
237b092b
AA
34002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3401
3402 * syscalls/s390x-linux.xml: New file.
3403 * syscalls/s390-linux.xml: New file.
3404 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3405 (XML_SYSCALL_FILENAME_S390X): Likewise.
3406 (op_svc): New enum value for SVC opcode.
3407 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3408 (s390_linux_get_syscall_number): New function.
3409 (s390_gdbarch_init): Register '*get_syscall_number' and the
3410 syscall xml file name.
3411 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3412 "s390-linux.xml" and "s390x-linux.xml".
3413 * NEWS: Announce new feature.
3414
54bff650
BS
34152014-01-22 Baruch Siach <baruch@tkos.co.il>
3416
3417 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3418
14e361d7
PA
34192014-01-22 Pedro Alves <palves@redhat.com>
3420
3421 * xtensa-config.c: Include defs.h.
3422
46bbb3ed
JB
34232014-01-22 Joel Brobecker <brobecker@adacore.com>
3424
3425 * common/common-utils.h: Add "ARI:" comment beside __func__
3426 reference.
3427
3a80edfc
JB
34282014-01-22 Joel Brobecker <brobecker@adacore.com>
3429
3430 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3431 documentation a bit.
3432
4869db5e
RM
34332014-01-21 Roland McGrath <mcgrathr@google.com>
3434
3435 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3436 * configure: Regenerate.
3437 * aclocal.m4: Regenerate.
3438 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3439 New substituted variables.
3440 (install-strip): New target.
3441 (INSTALL_SCRIPT): New substituted variable.
3442 (FLAGS_TO_PASS): Add it.
3443 (install-only): Use $(INSTALL_SCRIPT) rather than
3444 $(INSTALL_PROGRAM) for gcore.
3445
9ea4267d
TT
34462014-01-20 Tom Tromey <tromey@redhat.com>
3447
3448 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3449 together.
3450
1f2bdf09
TT
34512014-01-20 Tom Tromey <tromey@redhat.com>
3452
3453 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3454 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3455 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3456 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3457 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3458 (struct cmd_list_element) <flags>: Remove.
3459 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3460 doc_allocated>: New fields.
3461 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3462 bitfields.
3463 * maint.c (maintenance_do_deprecate): Update.
3464 * top.c (execute_command): Update.
3465
e671835b
BS
34662014-01-20 Baruch Siach <baruch@tkos.co.il>
3467
3468 * xtensa-linux-nat.c: Include asm/ptrace.h.
3469
50367cd2
IB
34702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3471
3472 * Makefile.in (SFILES): Add d-support.c.
3473 (COMMON_OBS): Add d-support.o.
3474 * d-lang.h (d_parse_symbol): Add comment, now defined in
3475 d-support.c.
3476 * d-lang.c (parse_call_convention)
3477 (parse_attributes, parse_function_types)
3478 (parse_function_args, parse_type, parse_identifier)
3479 (call_convention_p, d_parse_symbol): Move functions to ...
3480 * d-support.c: ... New file.
3481
ec9f644a
IB
34822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3483
3484 * d-lang.h (d_parse_symbol): Add declaration.
3485 * d-lang.c (extract_identifiers)
3486 (extract_type_info): Remove functions.
3487 (parse_call_convention, parse_attributes)
3488 (parse_function_types, parse_function_args)
3489 (parse_type, parse_identifier, call_convention_p)
3490 (d_parse_symbol): New functions.
3491 (d_demangle): Use d_parse_symbol to demangle D symbols.
3492
94b1b47e
IB
34932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3494
3495 * d-lang.h (struct builtin_d_type): New data type.
3496 (builtin_d_type): Add declaration.
3497 * d-lang.c (d_language_arch_info, build_d_types)
3498 (builtin_d_type): New functions.
3499 (enum d_primitive_types): New data type.
3500 (d_language_defn): Change c_language_arch_info to
3501 d_language_arch_info.
3502 (d_type_data): New static variable.
3503 (_initialize_d_language): Initialize d_type_data.
3504
63778547
IB
35052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3506
3507 * d-lang.h (d_main_name): Add declaration.
3508 * d-lang.c (d_main_name): New function.
3509 * symtab.c (find_main_name): Add call to d_main_name.
3510
3271ba66
IB
35112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3512
3513 * d-lang.c (d_language_defn): Change macro_expansion_c to
3514 macro_expansion_no.
3515
d36b3012
IB
35162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3517
3518 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3519
c90a6fb7
SDJ
35202014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3521
3522 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3523 gdb_exception" declaration.
3524 * remote.c (getpkt_or_notif_sane): Likewise.
3525
749234e5
DE
35262014-01-17 Doug Evans <dje@google.com>
3527
3528 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3529 function, contents of dirnames_to_char_ptr_vec_append moved here.
3530 (delim_string_to_char_ptr_vec): New function.
3531 (dirnames_to_char_ptr_vec_append): Rewrite.
3532 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3533
df049a58
DE
35342014-01-17 Doug Evans <dje@google.com>
3535
3536 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3537 and moved here ...
3538 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3539 #include "common-utils.h".
3540 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3541 * common/vec.h (VEC_ASSERT_PASS): Update.
3542 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3543 (MACH_CHECK_ERROR): Update.
3544
69f97648
SM
35452014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3546
3547 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3548 comments.
3549 * gdbarch.h: Regenerate.
3550
98b1cfdc
TT
35512014-01-16 Tom Tromey <tromey@redhat.com>
3552
3553 * value.c (struct value) <regnum>: Move earlier.
3554
77a19445
TT
35552014-01-16 Tom Tromey <tromey@redhat.com>
3556
3557 * remote.c (extended_remote_create_inferior): Rename from
3558 extended_remote_create_inferior_1. Add "ops" argument. Remove
3559 old implementation.
3560
62261490
PA
35612014-01-16 Pedro Alves <palves@redhat.com>
3562
3563 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3564 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3565 the backchain.
3566
4d65956b
DE
35672014-01-16 Doug Evans <dje@google.com>
3568
3569 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3570
52834460
MM
35712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3572
3573 * btrace.h (btrace_thread_flag): New.
3574 (struct btrace_thread_info) <flags>: New.
3575 * record-btrace.c (record_btrace_resume_thread)
3576 (record_btrace_find_thread_to_move, btrace_step_no_history)
3577 (btrace_step_stopped, record_btrace_start_replaying)
3578 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3579 (record_btrace_find_resume_thread): New.
3580 (record_btrace_resume, record_btrace_wait): Extend.
3581 (record_btrace_can_execute_reverse): New.
3582 (record_btrace_open): Fail in non-stop mode.
3583 (record_btrace_set_replay): Split into this, ...
3584 (record_btrace_stop_replaying): ... this, ...
3585 (record_btrace_clear_histories): ... and this.
3586 (init_record_btrace_ops): Init to_can_execute_reverse.
3587 * NEWS: Announce it.
3588
118e6252
MM
35892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3590
3591 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3592 (forward_target_decr_pc_after_break)
3593 (target_decr_pc_after_break): New.
3594 * target.c (forward_target_decr_pc_after_break)
3595 (target_decr_pc_after_break): New.
3596 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3597 instead of gdbarch_decr_pc_after_break.
3598 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3599 instead of gdbarch_decr_pc_after_break.
3600 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3601 instead of gdbarch_decr_pc_after_break.
3602 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3603 instead of gdbarch_decr_pc_after_break.
3604 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3605 instead of gdbarch_decr_pc_after_break.
3606 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3607 instead of gdbarch_decr_pc_after_break.
3608
6e07b1d2
MM
36092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3610
3611 * btrace.c: Include regcache.h.
3612 (btrace_add_pc): New.
3613 (btrace_enable): Call btrace_add_pc.
3614 (btrace_is_empty): New.
3615 * btrace.h (btrace_is_empty): New.
3616 * record-btrace.c (require_btrace, record_btrace_info): Call
3617 btrace_is_empty.
3618
969c39fb
MM
36192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3620
3621 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3622 Support delta reads.
3623 (linux_disable_btrace): Change return type.
3624 * common/linux-btrace.h (linux_read_btrace): Change parameters
3625 and return type to allow error reporting. Update users.
3626 (linux_disable_btrace): Change return type. Update users.
3627 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3628 New.
3629 (btrace_error): New.
3630 (btrace_block) <begin>: Comment on BEGIN == 0.
3631 * btrace.c (btrace_compute_ftrace): Start from the end of
3632 the current trace.
3633 (btrace_stitch_trace, btrace_clear_history): New.
3634 (btrace_fetch): Read delta trace, return if replaying.
3635 (btrace_clear): Move clear history code to btrace_clear_history.
3636 (parse_xml_btrace): Throw an error if parsing failed.
3637 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3638 and return type to allow error reporting.
3639 (target_read_btrace): Change parameters and return type to allow
3640 error reporting.
3641 * target.c (target_read_btrace): Update.
3642 * remote.c (remote_read_btrace): Support delta reads. Pass
3643 errors on.
3644 * NEWS: Announce it.
3645
0b722aec
MM
36462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3647
3648 * record.h (record_btrace_frame_unwind)
3649 (record_btrace_tailcall_frame_unwind): New declarations.
3650 * dwarf2-frame: Include record.h
3651 (dwarf2_frame_cfa): Throw an error for btrace frames.
3652 * record-btrace.c: Include hashtab.h.
3653 (btrace_get_bfun_name): New.
3654 (btrace_call_history): Call btrace_get_bfun_name.
3655 (struct btrace_frame_cache): New.
3656 (bfcache): New.
3657 (bfcache_hash, bfcache_eq, bfcache_new): New.
3658 (btrace_get_frame_function): New.
3659 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3660 (record_btrace_frame_this_id): Compute own id.
3661 (record_btrace_frame_prev_register): Provide PC, throw_error
3662 for all other registers.
3663 (record_btrace_frame_sniffer): Detect btrace frames.
3664 (record_btrace_tailcall_frame_sniffer): New.
3665 (record_btrace_frame_dealloc_cache): New.
3666 (record_btrace_frame_unwind): Add new functions.
3667 (record_btrace_tailcall_frame_unwind): New.
3668 (_initialize_record_btrace): Allocate cache.
3669 * btrace.c (btrace_clear): Call reinit_frame_cache.
3670 * NEWS: Announce it.
3671
066ce621
MM
36722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3673
3674 * record-btrace.c (record_btrace_set_replay)
3675 (record_btrace_goto_begin, record_btrace_goto_end)
3676 (record_btrace_goto): New.
3677 (init_record_btrace_ops): Initialize them.
3678 * NEWS: Announce it.
3679
e2887aa3
MM
36802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3681
3682 * record-btrace.c (record_btrace_find_new_threads)
3683 (record_btrace_thread_alive): New.
3684 (init_record_btrace_ops): Initialize to_find_new_threads and
3685 to_thread_alive.
3686
b2f4cfde
MM
36872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3688
3689 * record-btrace.c (record_btrace_resume): New.
3690 (record_btrace_wait): New.
3691 (init_record_btrace_ops): Initialize to_wait and to_resume.
3692
633785ff
MM
36932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3694
3695 * record-btrace.c (record_btrace_xfer_partial)
3696 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3697 (record_btrace_allow_memory_access): New.
3698 (init_record_btrace_ops): Initialize new methods.
3699 * target.c (raw_memory_xfer_partial): Bail out if target reports
3700 that this memory is not available.
3701
3db08215
MM
37022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3703
3704 * target.h (target_ops) <to_insert_breakpoint>
3705 <to_remove_breakpoint>: Add target_ops parameter.
3706 (forward_target_insert_breakpoint): New.
3707 (forward_target_remove_breakpoint): New.
3708 (memory_remove_breakpoint, memory_insert_breakpoint):
3709 Add target_ops parameter.
3710 * target.c (target_insert_breakpoint): Split into this and ...
3711 (forward_target_insert_breakpoint): ... this.
3712 (target_remove_breakpoint): Split into this and ...
3713 (forward_target_remove_breakpoint): ... this.
3714 (debug_to_insert_breakpoint): Add target_ops parameter.
3715 Call forward_target_insert_breakpoint.
3716 (debug_to_remove_breakpoint): Add target_ops parameter.
3717 Call forward_target_remove_breakpoint.
3718 (update_current_target): Do not inherit or default to_insert_breakpoint
3719 and to_remove_breakpoint.
3720 * corelow.c (ignore): Add target_ops parameter.
3721 * exec.c (ignore): Add target_ops parameter.
3722 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3723 Add target_ops parameter.
3724 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3725 Add target_ops parameter.
3726 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3727 Add target_ops parameter.
3728 * record-full.c (record_full_beneath_to_insert_breakpoint)
3729 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3730 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3731 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3732 (record_full_core_remove_breakpoint): Add target_ops parameter.
3733 Update users.
3734 (record_full_beneath_to_insert_breakpoint_ops)
3735 (record_full_beneath_to_remove_breakpoint_ops)
3736 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3737 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3738 tmp_to_remove_breakpoint_ops,
3739 record_full_beneath_to_insert_breakpoint_ops, and
3740 record_full_beneath_to_remove_breakpoint_ops.
3741 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3742 (m32r_remove_breakpoint): Add target_ops parameter.
3743 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3744 Add target_ops parameter.
3745 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3746 Add target_ops parameter.
3747
cecac1ab
MM
37482014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3749 Markus Metzger <markus.t.metzger@intel.com>
3750
3751 * record-btrace.c: Include frame-unwind.h.
3752 (record_btrace_frame_unwind_stop_reason)
3753 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3754 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3755 New.
3756 (init_record_btrace_ops): Install it.
3757
824344ca
MM
37582014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3759
3760 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3761 get_prev_frame_1.
3762
32261e52
MM
37632014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3764
3765 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3766 earlier.
3767
ea001bdc
MM
37682014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3769
3770 * frame-unwind.c: Include target.h.
3771 (frame_unwind_try_unwinder): New function with code from ...
3772 (frame_unwind_find_by_frame): ... here. New variable
3773 unwinder_from_target, call also target_get_unwinder)
3774 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3775 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3776 * target.h (struct target_ops): New fields to_get_unwinder and
3777 to_get_tailcall_unwinder.
3778 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3779
1f3ef581
MM
37802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3781
3782 * record-btrace.c (record_btrace_fetch_registers)
3783 (record_btrace_store_registers)
3784 (record_btrace_to_prepare_to_store): New.
3785 (init_record_btrace_ops): Add the above.
3786
f32dbf8c
MM
37872014-01-16 Tom Tromey <tromey@redhat.com>
3788
3789 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3790 * target.h (struct target_ops) <to_prepare_to_store>: Add
3791 argument.
3792 (target_prepare_to_store): Add argument.
3793 * target.c (debug_to_prepare_to_store): Add argument.
3794 (update_current_target): Update.
3795 * remote.c (remote_prepare_to_store): Add 'self' argument.
3796 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3797 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3798 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3799 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3800 argument.
3801 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3802 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3803 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3804 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3805 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3806
07bbe694
MM
38072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3808
3809 * btrace.h (replay) <replay>: New.
3810 (btrace_is_replaying): New.
3811 * btrace.c (btrace_clear): Free replay iterator.
3812 (btrace_is_replaying): New.
3813 * record-btrace.c (record_btrace_is_replaying): New.
3814 (record_btrace_info): Print insn number if replaying.
3815 (record_btrace_insn_history): Start at replay position.
3816 (record_btrace_call_history): Start at replay position.
3817 (init_record_btrace_ops): Init to_record_is_replaying.
3818
0688d04e
MM
38192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3820
3821 * record-btrace.c (record_btrace_insn_history_range): Include
3822 end.
3823 (record_btrace_insn_history_from): Adjust range.
3824 (record_btrace_call_history_range): Include
3825 end.
3826 (record_btrace_call_history_from): Adjust range.
3827 * NEWS: Announce changes.
3828
8710b709
MM
38292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3830
3831 * record.h (enum record_print_flag)
3832 <record_print_indent_calls>: New.
3833 * record.c (get_call_history_modifiers): Recognize /c modifier.
3834 (_initialize_record): Document /c modifier.
3835 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3836 Reorder fields. Optionally indent the function name. Update
3837 all users.
3838 * NEWS: Announce changes.
3839
d0fa7535
MM
38402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841
3842 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3843
5de9129b
MM
38442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3845
3846 * btrace.c (ftrace_new_function): Start counting at one.
3847 * record-btrace.c (record_btrace_info): Adjust number of calls
3848 and insns.
3849 * NEWS: Announce it.
3850
7acbe133
MM
38512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3852
3853 * record-btrace.c (btrace_call_history_insn_range): Print
3854 insn range as [begin, end].
3855
23a7fe75
MM
38562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3857
3858 * btrace.h (struct btrace_func_link): New.
3859 (enum btrace_function_flag): New.
3860 (struct btrace_inst): Rename to ...
3861 (struct btrace_insn): ...this. Update all users.
3862 (struct btrace_func) <ibegin, iend>: Remove.
3863 (struct btrace_func_link): New.
3864 (struct btrace_func): Rename to ...
3865 (struct btrace_function): ...this. Update all users.
3866 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3867 (number, level, flags>: New.
3868 (struct btrace_insn_iterator): Rename to ...
3869 (struct btrace_insn_history): ...this.
3870 Update all users.
3871 (struct btrace_insn_iterator, btrace_call_iterator): New.
3872 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3873 (struct btrace_target_info) <begin, end, level>
3874 <insn_history, call_history>: New.
3875 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3876 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3877 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3878 (btrace_call_number, btrace_call_begin, btrace_call_end)
3879 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3880 (btrace_find_function_by_number, btrace_set_insn_history)
3881 (btrace_set_call_history): New.
3882 * btrace.c (btrace_init_insn_iterator)
3883 (btrace_init_func_iterator, compute_itrace): Remove.
3884 (ftrace_print_function_name, ftrace_print_filename)
3885 (ftrace_skip_file): Change
3886 parameter to const.
3887 (ftrace_init_func): Remove.
3888 (ftrace_debug): Use new btrace_function fields.
3889 (ftrace_function_switched): Also consider gaining and
3890 losing symbol information).
3891 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3892 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3893 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3894 New.
3895 (ftrace_new_function): Move. Remove debug print.
3896 (ftrace_update_lines, ftrace_update_insns): New.
3897 (ftrace_update_function): Check for call, ret, and jump.
3898 (compute_ftrace): Renamed to ...
3899 (btrace_compute_ftrace): ...this. Rewritten to compute call
3900 stack.
3901 (btrace_fetch, btrace_clear): Updated.
3902 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3903 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3904 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3905 (btrace_call_number, btrace_call_begin, btrace_call_end)
3906 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3907 (btrace_find_function_by_number, btrace_set_insn_history)
3908 (btrace_set_call_history): New.
3909 * record-btrace.c (require_btrace): Use new btrace thread
3910 info fields.
3911 (record_btrace_info, btrace_insn_history)
3912 (record_btrace_insn_history, record_btrace_insn_history_range):
3913 Use new btrace thread info fields and new iterator.
3914 (btrace_func_history_src_line): Rename to ...
3915 (btrace_call_history_src_line): ...this. Use new btrace
3916 thread info fields.
3917 (btrace_func_history): Rename to ...
3918 (btrace_call_history): ...this. Use new btrace thread info
3919 fields and new iterator.
3920 (record_btrace_call_history, record_btrace_call_history_range):
3921 Use new btrace thread info fields and new iterator.
3922
8372a7cb
MM
39232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3924
3925 * frame.h (frame_id_build_unavailable_stack_special): New.
3926 * frame.c (frame_id_build_unavailable_stack_special): New.
3927
c2170eef
MM
39282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3929
3930 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3931 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3932 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3933 to gdbarch.
3934 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3935 (i386_insn_is_jump, i386_jmp_p): New.
3936 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3937 insn_is_jump to gdbarch.
3938 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3939 * gdbarch.h: Regenerated.
3940 * gdbarch.c: Regenerated.
3941 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3942 (default_insn_is_jump): New.
3943 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3944 (default_insn_is_jump): New.
3945
864089d2
MM
39462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3947
3948 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3949 Change to ...
3950 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3951 (btrace_read_type) <btrace_read_new>: Change to ...
3952 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3953
ed9edfb5
MM
39542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3955
3956 * common/linux-btrace.c (linux_read_btrace): Free trace from
3957 previous iteration.
3958
fbcbc3fd
DE
39592014-01-15 Doug Evans <dje@google.com>
3960
3961 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3962 uint32_t.
3963
3d548a53
TT
39642014-01-15 Tom Tromey <tromey@redhat.com>
3965
3966 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3967 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3968 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3969 (set_objfile_main_name): New function.
3970 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3971 language_of_main>: New fields.
3972 (set_objfile_main_name): Declare.
3973 * symtab.c (find_main_name): Loop over objfiles to find the main
3974 name and language.
3975 (set_main_name): Now static.
3976 (get_main_info): Add comment.
3977 * symtab.h (set_main_name): Don't declare.
3978
32ac0d11
TT
39792014-01-15 Tom Tromey <tromey@redhat.com>
3980
3981 * symtab.c (main_progspace_key): New global.
3982 (struct main_info): New.
3983 (name_of_main, language_of_main): Remove.
3984 (get_main_info, main_info_cleanup): New function.
3985 (set_main_name, main_name, main_language): Use get_main_info.
3986 (_initialize_symtab): Initialize main_progspace_key.
3987
9e6c82ad
TT
39882014-01-15 Tom Tromey <tromey@redhat.com>
3989
3990 * dbxread.c (process_one_symbol): Update.
3991 * dwarf2read.c (read_partial_die): Update.
3992 * symfile.c (set_initial_language): Call main_language.
3993 * symtab.c (language_of_main): Now static.
3994 (set_main_name): Add 'lang' parameter.
3995 (find_main_name): Update.
3996 (main_language): New function.
3997 (symtab_observer_executable_changed): Update.
3998 * symtab.h (set_main_name): Update.
3999 (language_of_main): Remove.
4000 (main_language): Declare.
4001
6ef55de7
TT
40022014-01-15 Tom Tromey <tromey@redhat.com>
4003
4004 * symfile.c (init_entry_point_info): Use new "initialized" field.
4005 Update.
4006 * objfiles.h (struct entry_point) <initialized>: New field.
4007 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4008 (struct objfile) <ei>: ...here. Remove.
4009 * objfiles.c (entry_point_address_query): Update.
4010
53eddfa6
TT
40112014-01-15 Tom Tromey <tromey@redhat.com>
4012
4013 * objfiles.c (entry_point_address_query): Relocate entry point
4014 address.
4015 (objfile_relocate1): Do not relocate entry point address.
4016 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4017 <the_bfd_section_index>: New field.
4018 * symfile.c (init_entry_point_info): Find the entry point's
4019 section.
4020
d56e56aa
TT
40212014-01-15 Tom Tromey <tromey@redhat.com>
4022
4023 * solib-frv.c (enable_break): Use entry_point_address_query.
4024
33a97bbe
OJ
40252014-01-15 Omair Javaid <omair.javaid@linaro.org>
4026
4027 * NEWS: Add note on improved process record-replay on
4028 arm*-linux* targets.
4029
c6ec2b30
OJ
40302014-01-15 Omair Javaid <omair.javaid@linaro.org>
4031
4032 * arm-tdep.c (enum arm_record_result): New enum.
4033 (arm_record_unsupported_insn): New function.
4034 (arm_record_coproc_data_proc): Removed.
4035 (thumb2_record_ld_st_multiple): New function.
4036 (thumb2_record_ld_st_dual_ex_tbb): New function.
4037 (thumb2_record_data_proc_sreg_mimm): New function.
4038 (thumb2_record_ps_dest_generic): New function.
4039 (thumb2_record_branch_misc_cntrl): New function.
4040 (thumb2_record_str_single_data): New function.
4041 (thumb2_record_ld_mem_hints): New function.
4042 (thumb2_record_ld_word): New function.
4043 (thumb2_record_lmul_lmla_div): New function.
4044 (thumb2_record_decode_insn_handler): New function.
4045 (decode_insn): Add thumb32 instruction handlers.
4046
97dfe206
OJ
40472014-01-15 Omair Javaid <omair.javaid@linaro.org>
4048
4049 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4050 (struct arm_linux_record_tdep): Declare.
4051 (arm_canonicalize_syscall): New function.
4052 (arm_all_but_pc_registers_record): New function.
4053 (arm_linux_syscall_record): New function.
4054 (arm_linux_init_abi): Add syscall recording constructs.
4055 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4056 decoding. (arm_record_coproc_data_proc): Update arm syscall
4057 decoding.
4058 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4059 <arm_syscall_record>: New field.
4060 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4061 gdb_target_obs.
4062
9904a494
OJ
40632014-01-15 Omair Javaid <omair.javaid@linaro.org>
4064
4065 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4066 register for push instruction recording.
4067
f969241e
OJ
40682014-01-15 Omair Javaid <omair.javaid@linaro.org>
4069
4070 * arm-tdep.c (thumb_record_misc): Update to correct logical
4071 error while recording ldm, ldmia and pop instructions.
4072
bfbbec00
OJ
40732014-01-15 Omair Javaid <omair.javaid@linaro.org>
4074
4075 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4076
e40adcc9
PA
40772014-01-15 Pedro Alves <palves@redhat.com>
4078
4079 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4080 (go32_resume, go32_fetch_registers, store_register)
4081 (go32_store_registers, go32_prepare_to_store)
4082 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4083 (go32_create_inferior, go32_can_run, go32_terminal_init)
4084 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4085 declarations.
4086
b0a16e66
TT
40872014-01-15 Tom Tromey <tromey@redhat.com>
4088
4089 * target.h (async_callback_ftype): New typedef.
4090 (struct target_ops) <to_async>: Use it.
4091
bf7105a4
JB
40922014-01-15 Joel Brobecker <brobecker@adacore.com>
4093
4094 * python/py-value.c (get_field_type): Remove unnecessary curly
4095 braces for single-statement if block.
4096
a8f35c2e
JB
40972014-01-15 Joel Brobecker <brobecker@adacore.com>
4098
4099 * python/py-type.c (convert_field): Add missing empty line
4100 after declarations.
4101
bb4142cf
DE
41022014-01-14 Doug Evans <dje@google.com>
4103
4104 * symfile.h (expand_symtabs_matching): Renamed from
4105 expand_partial_symbol_names. Update prototype.
4106 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4107 * symfile.c (expand_symtabs_matching): Renamed from
4108 expand_partial_symbol_names. New args file_matcher, kind.
4109 Rename arg fun to symbol_matcher.
4110 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4111 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4112 ada_expand_partial_symbol_name.
4113 (ada_make_symbol_completion_list): Update to call
4114 expand_symtabs_matching.
4115 (ada_add_global_exceptions): Call expand_symtabs_matching.
4116 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4117 call map_symbol_filenames.
4118 * symtab.c (sources_info): Update to call map_symbol_filenames.
4119 (search_symbols): Call expand_symtabs_matching.
4120 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4121 (default_make_symbol_completion_list_break_on): Update to call
4122 expand_symtabs_matching.
4123 (make_source_files_completion_list): Update to call
4124 map_symbol_filenames.
4125
206f2a57
DE
41262014-01-14 Doug Evans <dje@google.com>
4127
4128 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4129 (expand_symtabs_symbol_matcher_ftype): New typedef.
4130 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4131 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4132 * symfile.c (expand_partial_symbol_names): Update to use
4133 expand_symtabs_symbol_matcher_ftype.
4134 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4135 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4136 Arg name_matcher renamed to symbol_matcher.
4137 * psymtab.c (recursively_search_psymtabs): Update to use
4138 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4139 sym_matcher.
4140 (expand_symtabs_matching_via_partial): Update to use
4141 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4142 Arg name_matcher renamed to symbol_matcher.
4143
540c2971
DE
41442014-01-14 Doug Evans <dje@google.com>
4145
4146 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4147 (map_partial_symbol_filenames): Ditto.
4148 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4149 (map_partial_symbol_filenames): Ditto.
4150 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4151 (map_partial_symbol_filenames): Ditto.
4152 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4153 (map_partial_symbol_filenames): Ditto.
4154 * symtab.c: Delete #include "psymtab.h".
4155
8213266a
PA
41562014-01-14 Pedro Alves <palves@redhat.com>
4157 Tom Tromey <tromey@redhat.com>
4158
4159 * infrun.c (use_displaced_stepping): Use find_record_target
4160 instead of RECORD_IS_USED.
4161 (adjust_pc_after_break): Use record_full_is_used instead of
4162 RECORD_IS_USED.
4163 * record-btrace.c (record_btrace_open): Call record_preopen
4164 instead of checking RECORD_IS_USED.
4165 * record-full.c (record_full_shortname)
4166 (record_full_core_shortname): New globals.
4167 (record_full_is_used): New function.
4168 (find_full_open): Call record_preopen instead of checking
4169 RECORD_IS_USED.
4170 (init_record_full_ops): Set the target's shortname to
4171 record_full_shortname.
4172 (init_record_full_core_ops): Set the target's shortname to
4173 record_full_core_shortname.
4174 * record-full.h (record_full_is_used): Declare.
4175 * record.c (find_record_target): Make extern.
4176 (record_preopen): New function.
4177 * record.h (RECORD_IS_USED): Delete macro.
4178 (find_record_target, record_preopen): Declare functions.
4179
7ec1862d
YQ
41802014-01-14 Yao Qi <yao@codesourcery.com>
4181
4182 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4183 'len''s type to ULONGEST.
4184 (core_xfer_shared_libraries_aix): Likewise.
4185 * gdbarch.c, gdbarch.h: Regenerated.
4186 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4187 Change type of 'len' to ULONGEST.
4188 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4189 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4190
dea80a27
YQ
41912014-01-14 Yao Qi <yao@codesourcery.com>
4192
4193 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4194 type of 'len' to ULONGEST.
4195 (linux_xfer_osdata_processgroups): Likewise.
4196 (linux_xfer_osdata_threads): Likewise.
4197 (linux_xfer_osdata_fds): Likewise.
4198 (linux_xfer_osdata_isockets): Likewise.
4199 (linux_xfer_osdata_shm): Likewise.
4200 (linux_xfer_osdata_sem): Likewise.
4201 (linux_xfer_osdata_msg): Likewise.
4202 (linux_common_xfer_osdata): Likewise.
4203 (struct osdata_type) <getter>: Likewise.
4204 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4205 the declaration.
4206
b55e14c7
YQ
42072014-01-14 Yao Qi <yao@codesourcery.com>
4208
4209 * target.h (target_xfer_partial_ftype): Update.
4210 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4211 ULONGEST.
4212 * aix-thread.c (aix_thread_xfer_partial): Change type of
4213 argument 'len' to ULONGEST.
4214 * auxv.c (procfs_xfer_auxv): Likewise.
4215 (ld_so_xfer_auxv): Likewise.
4216 (memory_xfer_auxv): Likewise.
4217 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4218 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4219 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4220 * corelow.c (core_xfer_partial): Likewise.
4221 * ctf.c (ctf_xfer_partial): Likewise.
4222 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4223 '%u'.
4224 (darwin_read_dyld_info): Likewise.
4225 (darwin_xfer_partial): Likewise.
4226 * exec.c (section_table_xfer_memory_partial): Likewise.
4227 (exec_xfer_partial): Likewise.
4228 * exec.h (section_table_xfer_memory_partial): Update
4229 declaration.
4230 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4231 instead of plongest.
4232 (gnu_xfer_partial): Likewise.
4233 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4234 (ia64_hpux_xfer_solib_got): Likewise.
4235 (ia64_hpux_xfer_partial): Likewise.
4236 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4237 * inf-ptrace.c (inf_ptrace_xfer_partial):
4238 * inf-ttrace.c (inf_ttrace_xfer_partial):
4239 * linux-nat.c (linux_xfer_siginfo): Likewise.
4240 (linux_nat_xfer_partial): Likewise.
4241 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4242 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4243 * monitor.c (monitor_xfer_memory): Likewise.
4244 (monitor_xfer_partial): Likewise.
4245 * procfs.c (procfs_xfer_partial): Likewise.
4246 * record-full.c (record_full_xfer_partial): Likewise.
4247 (record_full_core_xfer_partial): Likewise.
4248 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4249 instead of plongest.
4250 (gdbsim_xfer_partial): Likewise.
4251 * remote.c (remote_xfer_partial): Likewise.
4252 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4253 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4254 declaration.
4255 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4256 (rs6000_xfer_shared_libraries): Likewise.
4257 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4258 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4259 (sparc_xfer_partial): Likewise.
4260 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4261 (spu_xfer_partial): Likewise.
4262 * spu-multiarch.c (spu_xfer_partial): Likewise.
4263 * target.c (target_read_live_memory): Likewise.
4264 (memory_xfer_live_readonly_partial): Likewise.
4265 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4266 (target_xfer_partial, default_xfer_partial): Likewise.
4267 (current_xfer_partial): Likewise.
4268 * tracepoint.c (tfile_xfer_partial): Likewise.
4269 * windows-nat.c (windows_xfer_memory): Likewise. Call
4270 pulongest instead of plongest.
4271 (windows_xfer_partial): Likewise.
4272 (windows_xfer_shared_libraries): Likewise.
4273
05804640
YQ
42742014-01-14 Yao Qi <yao@codesourcery.com>
4275
4276 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4277 target_xfer_partial_ftype.
4278
b5b08fb4
SC
42792014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4280
4281 PR python/15464
4282 PR python/16113
4283 * valops.c (value_struct_elt_bitpos): New function
4284 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4285 object to 'None' if the field name is an empty string ("").
4286 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4287 attribute to look for a field when 'name' is 'None'.
4288 (get_field_type): New function
4289
13aaf454
DE
42902014-01-13 Doug Evans <dje@google.com>
4291
4292 PR symtab/16426
4293 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4294 (try_open_dwop_file): Ditto.
4295 * gdb_bfd.c: #include "vec.h".
4296 (bfdp): New typedef.
4297 (struct gdb_bfd_data): New member included_bfds.
4298 (gdb_bfd_unref): Unref all included bfds.
4299 (gdb_bfd_record_inclusion): New function.
4300 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4301
c2cec97c
TT
43022014-01-13 Tom Tromey <tromey@redhat.com>
4303
4304 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4305
78e5999d
TT
43062014-01-13 Tom Tromey <tromey@redhat.com>
4307
4308 * defs.h (use_windows): Remove.
4309 * gdb.c (main): Update.
4310 * main.c (captured_main, gdb_main): Update.
4311 * main.h (struct captured_main_args) <use_windows>: Remove.
4312 * top.c (use_windows): Remove.
4313
f2052bbe
TT
43142014-01-13 Tom Tromey <tromey@redhat.com>
4315
4316 * defs.h (deprecated_flush_hook): Remove.
4317
fde4f8ed
JK
43182014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4319
4320 PR threads/16216
4321 * linux-thread-db.c (try_thread_db_load): Add parameter
4322 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4323 (try_thread_db_load_from_pdir_1): Move it there from here.
4324 (try_thread_db_load_from_sdir): Update caller.
4325 (try_thread_db_load_from_dir): Move it there from here.
4326
bdf61915
PP
43272014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4328
4329 * regformats/regdat.sh: Always rewrite the register file.
4330
f71e1a8d
PA
43312014-01-13 Pedro Alves <palves@redhat.com>
4332
4333 * Makefile.in (CHECK_HEADERS): New variable.
4334 (check-headers:): New rule.
4335
42c85435
TT
43362014-01-13 Tom Tromey <tromey@redhat.com>
4337
4338 * cli/cli-setshow.c (do_set_command): Update.
4339 * defs.h (deprecated_set_hook): Remove.
4340 * top.c (deprecated_set_hook): Remove.
4341
f8de5129
PA
43422014-01-13 Pedro Alves <palves@redhat.com>
4343
4344 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4345 the tracepoint if the PC is a pseudo-register.
4346
fc270c35
TT
43472014-01-13 Tom Tromey <tromey@redhat.com>
4348
4349 * defs.h (XCALLOC): Remove.
4350 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4351 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4352 * dwarf2loc.c (allocate_piece_closure): Likewise.
4353 * elfread.c (elf_symfile_segments): Likewise.
4354 (elf_symfile_segments): Likewise.
4355 * gdbtypes.c (copy_type_recursive): Likewise.
4356 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4357 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4358 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4359 XCALLOC.
4360 * mt-tdep.c (mt_gdbarch_init): Likewise.
4361 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4362 XCALLOC.
4363 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4364 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4365 * registry.c (registry_alloc_data): Likewise.
4366 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4367 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4368 * serial.c (serial_fdopen_ops): Likewise.
4369 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4370 XCALLOC.
4371 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4372 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4373 not XCALLOC.
4374
70ba0933
TT
43752014-01-13 Tom Tromey <tromey@redhat.com>
4376
4377 * defs.h (XMALLOC): Remove.
4378 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4379 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4380 * cli-out.c (struct ui_out *): Likewise.
4381 * cli/cli-dump.c (add_dump_command): Likewise.
4382 (add_dump_command): Likewise.
4383 * complaints.c (get_complaints): Likewise.
4384 (find_complaint): Likewise.
4385 * dwarf2-frame.c (execute_cfa_program): Likewise.
4386 * dwarf2read.c (abbrev_table_read_table): Likewise.
4387 * gdbarch.sh: Likewise.
4388 * gdbarch.c: Rebuild.
4389 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4390 * interps.c (interp_new): Likewise.
4391 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4392 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4393 * mi/mi-console.c (mi_console_file_new): Likewise.
4394 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4395 * mi/mi-out.c (mi_out_new): Likewise.
4396 * mi/mi-parse.c (mi_parse): Likewise.
4397 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4398 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4399 * observer.c (xalloc_observer_list_node): Likewise.
4400 * regcache.c (regcache_xmalloc_1): Likewise.
4401 * reggroups.c (reggroup_new): Likewise.
4402 (_initialize_reggroup): Likewise.
4403 * registry.c (register_data_with_cleanup): Likewise.
4404 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4405 * ser-base.c (serial_ttystate): Likewise.
4406 * ser-mingw.c (make_pipe_state): Likewise.
4407 * ser-pipe.c (pipe_open): Likewise.
4408 * serial.c (serial_open): Likewise.
4409 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4410 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4411 (tui_alloc_win_info): Likewise.
4412 (tui_add_content_elements): Likewise.
4413 * tui/tui-file.c (tui_file_new): Likewise.
4414 * tui/tui-out.c (tui_out_new): Likewise.
4415 * ui-file.c (mem_file_new): Likewise.
4416 * ui-out.c (push_level): Likewise.
4417 (make_cleanup_ui_out_end): Likewise.
4418 (append_header_to_list): Likewise.
4419 (ui_out_new): Likewise.
4420 * user-regs.c (user_reg_add_builtin): Likewise.
4421
41bf6aca
TT
44222014-01-13 Tom Tromey <tromey@redhat.com>
4423
4424 * defs.h (XZALLOC): Remove.
4425 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4426 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4427 (get_ada_tasks_inferior_data): Likewise.
4428 * auto-load.c (get_auto_load_pspace_data): Likewise.
4429 * auxv.c (get_auxv_inferior_data): Likewise.
4430 * bfd-target.c (target_bfd_reopen): Likewise.
4431 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4432 (deprecated_insert_raw_breakpoint): Likewise.
4433 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4434 * corelow.c (core_open): Likewise.
4435 * darwin-nat.c (darwin_check_new_threads): Likewise.
4436 (darwin_attach_pid): Likewise.
4437 * dummy-frame.c (dummy_frame_push): Likewise.
4438 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4439 * dwarf2loc.c (allocate_piece_closure): Likewise.
4440 * elfread.c (elf_symfile_segments): Likewise.
4441 * eval.c (ptrmath_type_p): Likewise.
4442 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4443 * gdbtypes.c (alloc_type_arch): Likewise.
4444 (alloc_type_instance): Likewise.
4445 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4446 * inf-child.c (inf_child_can_use_agent): Likewise.
4447 * inflow.c (get_inflow_inferior_data): Likewise.
4448 * infrun.c (save_infcall_suspend_state): Likewise.
4449 * jit.c (jit_reader_load): Likewise.
4450 (get_jit_objfile_data): Likewise.
4451 (get_jit_program_space_data): Likewise.
4452 (jit_object_open_impl): Likewise.
4453 (jit_symtab_open_impl): Likewise.
4454 (jit_block_open_impl): Likewise.
4455 (jit_frame_sniffer): Likewise.
4456 * linux-fork.c (add_fork): Likewise.
4457 * maint.c (make_command_stats_cleanup): Likewise.
4458 * objfiles.c (get_objfile_pspace_data): Likewise.
4459 * opencl-lang.c (struct lval_closure): Likewise.
4460 * osdata.c (osdata_start_osdata): Likewise.
4461 * progspace.c (new_address_space): Likewise.
4462 (add_program_space): Likewise.
4463 * remote-sim.c (get_sim_inferior_data): Likewise.
4464 * sh-tdep.c (sh_gdbarch_init): Likewise.
4465 * skip.c (Ignore): Likewise.
4466 (skip_delete_command): Likewise.
4467 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4468 (library_list_start_library): Likewise.
4469 (solib_aix_current_sos): Likewise.
4470 * solib-darwin.c (get_darwin_info): Likewise.
4471 (darwin_current_sos): Likewise.
4472 * solib-dsbt.c (get_dsbt_info): Likewise.
4473 * solib-ia64-hpux.c (new_so_list): Likewise.
4474 (ia64_hpux_get_solib_linkage_addr): Likewise.
4475 * solib-spu.c (append_ocl_sos): Likewise.
4476 (spu_current_sos): Likewise.
4477 * solib-svr4.c (get_svr4_info): Likewise.
4478 (svr4_keep_data_in_core): Likewise.
4479 (library_list_start_library): Likewise.
4480 (svr4_default_sos): Likewise.
4481 (svr4_read_so_list): Likewise.
4482 * solib-target.c (library_list_start_library): Likewise.
4483 (solib_target_current_sos): Likewise.
4484 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4485 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4486 * symfile.c (default_symfile_segments): Likewise.
4487 * target-descriptions.c (tdesc_data_init): Likewise.
4488 (tdesc_create_reg): Likewise.
4489 (struct tdesc_type *): Likewise.
4490 (tdesc_create_vector): Likewise.
4491 (tdesc_set_struct_size): Likewise.
4492 (struct tdesc_type *): Likewise.
4493 (tdesc_free_feature): Likewise.
4494 (tdesc_create_feature): Likewise.
4495 * windows-nat.c (windows_add_thread): Likewise.
4496 (windows_make_so): Likewise.
4497 * xml-support.c (gdb_xml_body_text): Likewise.
4498 (gdb_xml_create_parser_and_cleanup): Likewise.
4499 (xml_process_xincludes): Likewise.
4500 * xml-syscall.c (allocate_syscalls_info): Likewise.
4501 (syscall_create_syscall_desc): Likewise.
4502
5acfdbae
SDJ
45032014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4504
4505 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4506 function, with code from i386_stap_parse_special_token.
4507 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4508 (i386_stap_parse_special_token): Move code to the two functions
4509 above; simplify it.
4510
0000e5cc
PA
45112014-01-09 Pedro Alves <palves@redhat.com>
4512 Hui Zhu <hui@codesourcery.com>
4513
4514 PR gdb/16101
4515 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4516 bp_err_string. Don't mark the location shlib_disabled if the
4517 error thrown wasn't a generic or memory error. Catch errors
4518 thrown while inserting breakpoints in overlayed code. Output
4519 error message of software breakpoints.
4520 * remote.c (remote_insert_breakpoint): If this breakpoint has
4521 target-side commands but this stub doesn't support Z0 packets,
4522 throw NOT_SUPPORTED_ERROR error.
4523 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4524 * target.h (target_insert_breakpoint): Extend comment.
4525 (target_insert_hw_breakpoint): Add comment.
4526
b7ea362b
PA
45272014-01-08 Pedro Alves <palves@redhat.com>
4528
4529 * remote.c (remote_add_thread): Add threads silently if starting
4530 up.
4531 (remote_notice_new_inferior): If in all-stop, and starting up,
4532 don't call notice_new_inferior.
4533 (get_current_thread): New function, factored out from ...
4534 (add_current_inferior_and_thread): ... this. Adjust.
4535 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4536 found any thread, then select the remote's current thread as GDB's
4537 current thread too.
4538
b7bba001
JB
45392014-01-08 Joel Brobecker <brobecker@adacore.com>
4540
4541 * NEWS: Create a new section for the next release branch.
4542 Rename the section of the current branch, now that it has
4543 been cut.
4544
16dfbded
JB
45452014-01-08 Joel Brobecker <brobecker@adacore.com>
4546
4547 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4548 * version.in: Bump version to 7.7.50.DATE-cvs.
4549
22c90ac1
YQ
45502014-01-08 Yao Qi <yao@codesourcery.com>
4551
4552 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4553 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4554 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4555
d64ad97c
YQ
45562014-01-08 Yao Qi <yao@codesourcery.com>
4557
4558 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4559 return value of bfd_get_filename to symbol_file_add_from_bfd.
4560
f93ba80c
PM
45612014-01-08 Pierre Muller <muller@sourceware.org>
4562
4563 Fix PR16201.
4564 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4565 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4566 to prim_record_mininal_symbol_and_info.
4567 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4568 in call to prim_record_minimal_symbol_and_info.
4569 (read_pe_exported_syms): Set index field of section_data.
4570
a4d9ba85
AP
45712014-01-07 Andrew Pinski <apinski@cavium.com>
4572
4573 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4574 * features/aarch64.c: Regenerate.
4575
1b67eb02
AS
45762014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4577
4578 * target.c (return_null): Define.
4579 (update_current_target): Use it instead of return_zero for
4580 functions that return a pointer.
4581
5e3f4fab
EBM
45822014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4583
4584 * source.c (add_path): Fix check for duplicated paths in the previously
4585 included paths.
4586
e2616788
HK
45872014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4588
4589 * ada-lang.c: Remove duplicated include statements.
4590 * alphabsd-nat.c: Ditto.
4591 * amd64-darwin-tdep.c: Ditto.
4592 * amd64fbsd-nat.c: Ditto.
4593 * auto-load.c: Ditto.
4594 * ax-gdb.c: Ditto.
4595 * breakpoint.c: Ditto.
4596 * dbxread.c: Ditto.
4597 * fork-child.c: Ditto.
4598 * gdb_usleep.c: Ditto.
4599 * i386-darwin-tdep.c: Ditto.
4600 * i386fbsd-nat.c: Ditto.
4601 * infcmd.c: Ditto.
4602 * inferior.c: Ditto.
4603 * jv-lang.c: Ditto.
4604 * linux-nat.c: Ditto.
4605 * linux-tdep.c: Ditto.
4606 * m68kbsd-nat.c: Ditto.
4607 * m68klinux-nat.c: Ditto.
4608 * microblaze-tdep.c: Ditto.
4609 * mips-linux-tdep.c: Ditto.
4610 * mn10300-tdep.c: Ditto.
4611 * nto-tdep.c: Ditto.
4612 * opencl-lang.c: Ditto.
4613 * osdata.c: Ditto.
4614 * printcmd.c: Ditto.
4615 * regcache.c: Ditto.
4616 * remote-m32r-sdi.c: Ditto.
4617 * remote.c: Ditto.
4618 * symfile.c: Ditto.
4619 * symtab.c: Ditto.
4620 * tilegx-linux-nat.c: Ditto.
4621 * tilegx-tdep.c: Ditto.
4622 * tracepoint.c: Ditto.
4623 * valops.c: Ditto.
4624 * vaxbsd-nat.c: Ditto.
4625 * windows-nat.c: Ditto.
4626 * xtensa-tdep.c: Ditto.
4627
bd1f7788
YQ
46282014-01-07 Yao Qi <yao@codesourcery.com>
4629
4630 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4631
79301218
JB
46322014-01-07 Yao Qi <yao@codesourcery.com>
4633 Joel Brobecker <brobecker@adacore.com>
4634
4635 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4636 (pdc_write_regs): Likewise.
4637 (fetch_regs_kernel_thread): Likewise.
4638 (store_regs_kernel_thread): Likewise.
4639
46402014-01-07 Joel Brobecker <brobecker@adacore.com>
4641
4642 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4643 tagged type objects to their actual type.
4644
8e355c5d
JB
46452014-01-07 Joel Brobecker <brobecker@adacore.com>
4646
4647 * ada-valprint.c (print_field_values): Add "language" parameter.
4648 Update calls to print_field_values and print_variant_part.
4649 Pass new parameter "language" in call to val_print instead
4650 of "current_language". Replace call to ada_val_print by call
4651 to val_print.
4652 (print_variant_part): Add "language" parameter.
4653 (ada_val_print_struct_union): Update call to print_field_values.
4654
4fbf5aa5
JB
46552014-01-07 Joel Brobecker <brobecker@adacore.com>
4656
4657 * ada-valprint.c (ui_memcpy): Delete.
4658 (ada_print_floating): Update documentation. Add empty line
4659 between between function documentation and implementation.
4660 Delete variable "buffer". Use ui_file_xstrdup in place of
4661 ui_file_put. Minor adjustments following this change.
4662
71855601
JB
46632014-01-07 Joel Brobecker <brobecker@adacore.com>
4664
4665 * ada-valprint.c (ada_val_print_string): New function,
4666 extracted from ada_val_print_array.
4667 (ada_val_print_array): Replace extracted code by call
4668 to ada_val_print_string followed by a return. Move
4669 "else" branch to the function's top block.
4670
4eb27a30
JB
46712014-01-07 Joel Brobecker <brobecker@adacore.com>
4672
4673 * ada-valprint.c (ada_val_print_array): Move implementation
4674 down. Rename parameter "offset" and "val" into "offset_aligned"
4675 and "original_value" respectively. Add parameter "offset".
4676
34b27950
JB
46772014-01-07 Joel Brobecker <brobecker@adacore.com>
4678
4679 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4680 re-organizing the code. Change the "???" message printed
4681 when target type is a TYPE_CODE_UNDEF into
4682 "<ref to undefined type>".
4683
079e4591
JB
46842014-01-07 Joel Brobecker <brobecker@adacore.com>
4685
4686 * ada-valprint.c (print_record): Delete, implementation inlined...
4687 (ada_val_print_struct_union): ... here. Remove call to
4688 ada_check_typedef in inlined implementation.
4689
8004dfd1
JB
46902014-01-07 Joel Brobecker <brobecker@adacore.com>
4691
4692 * ada-valprint.c (ada_val_print_gnat_array): New function,
4693 extracted from ada_val_print_1;
4694 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4695 (ada_val_print_flt, ada_val_print_struct_union)
4696 (ada_val_print_ref): Likewise.
4697 (ada_val_print_1): Delete variables i and elttype.
4698 Replace extracted-out code by call to corresponding
4699 new functions.
4700
760a2db0
JB
47012014-01-07 Joel Brobecker <brobecker@adacore.com>
4702
4703 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4704
3a92c861
JB
47052014-01-07 Joel Brobecker <brobecker@adacore.com>
4706
4707 * ada-valprint.c (ada_val_print_1): Replace calls to
4708 ada_val_print_1 by calls to val_print.
4709
cd1630f9
JB
47102014-01-07 Joel Brobecker <brobecker@adacore.com>
4711
4712 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4713 Update calls to self accordingly. Replace calls to c_val_print
4714 by calls to val_print.
4715
bdf779a0
JB
47162014-01-07 Joel Brobecker <brobecker@adacore.com>
4717
4718 * ada-valprint.c (print_record): Delete declaration.
4719 (adjust_type_signedness, ada_val_print_1): Likewise.
4720 (ada_val_print): Move function implementation down.
4721 (print_variant_part, print_field_values, print_record):
4722 Move function implementation up.
4723
c0d48811
JB
47242014-01-07 Joel Brobecker <brobecker@adacore.com>
4725
4726 * python/py-type.c (typy_get_name): New function.
4727 (type_object_getset): Add entry for attribute "name".
4728 * NEWS: Add entry mentioning this new attribute.
4729
c26e9cbb
YQ
47302014-01-07 Yao Qi <yao@codesourcery.com>
4731
4732 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4733 statement.
4734
0cc6f43d
YQ
47352014-01-07 Yao Qi <yao@codesourcery.com>
4736
4737 * gnu-nat.c (info_port_rights): Add qualifier const to
4738 argument args.
4739
eec03155
YQ
47402014-01-07 Yao Qi <yao@codesourcery.com>
4741
4742 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4743
f04a82ef
YQ
47442014-01-07 Yao Qi <yao@codesourcery.com>
4745
4746 * gnu-nat.c (make_inf) Update declaration.
4747 (make_inf): Make it static.
4748 (inf_set_traced): Likewise.
4749 (inf_port_to_thread, inf_task_died_status): Likewise.
4750
d57dda0a
YQ
47512014-01-07 Yao Qi <yao@codesourcery.com>
4752
4753 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4754
3aa8c969
YQ
47552014-01-07 Yao Qi <yao@codesourcery.com>
4756
4757 * gnu-nat.c (_initialize_gnu_nat): Declare.
4758
94123b4f
YQ
47592014-01-07 Yao Qi <yao@codesourcery.com>
4760
4761 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4762 'enum bfd_endian'.
4763 (struct gdbarch_info) <byte_order>: Change type to
4764 'enum bfd_endian'.
4765 <byte_order_for_code>: Likewise.
4766 * gdbarch.c, gdbarch.h: Regenerated.
4767
dc81d70a
TT
47682014-01-06 Sasha Smundak <asmundak@google.com>
4769
4770 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4771
cc2f3c35
TT
47722014-01-06 Tom Tromey <tromey@redhat.com>
4773
4774 * doublest.c (convert_doublest_to_floatformat): Use const, not
4775 CONST.
4776 * somread.c (som_symtab_read): Likewise.
4777
adcf2eed
HZ
47782014-01-07 Hui Zhu <hui@codesourcery.com>
4779
4780 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4781 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4782 (gdb_bfd_fopen): Ditto.
4783 (gdb_bfd_openr): Ditto.
4784 (gdb_bfd_openw): Ditto.
4785 (gdb_bfd_openr_iovec): Ditto.
4786 (gdb_bfd_fdopenr): Ditto.
4787 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4788 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4789 with xstrdup.
4790 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4791 with xstrdup.
4792 * symfile-mem.c (symbol_file_add_from_memory): Removed
4793 gdb_bfd_stash_filename.
4794
50722198
DE
47952014-01-03 Doug Evans <dje@google.com>
4796
4797 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4798 output.
4799
2fa4b862
JB
48002014-01-01 Joel Brobecker <brobecker@adacore.com>
4801
4802 Update year range in copyright notice of all files.
4803
28498c42
JB
48042014-01-01 Joel Brobecker <brobecker@adacore.com>
4805
4806 * top.c (print_gdb_version): Set copyright year to 2014.
4807
7b6e1046
JB
48082014-01-01 Joel Brobecker <brobecker@adacore.com>
4809
4810 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4811
df96af55 4812For older changes see ChangeLog-2013.
c906108c
SS
4813\f
4814Local Variables:
4815mode: change-log
4816left-margin: 8
4817fill-column: 74
4818version-control: never
57da7796 4819coding: utf-8
c906108c 4820End: