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