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