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