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