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