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