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