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