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