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