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