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