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