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