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