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