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