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