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