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