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