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