1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_record_is_replaying): Unconditionally
6 * target.h (struct target_ops) <to_record_is_replaying>: Use
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (target_goto_record_begin): Unconditionally delegate.
13 * target.h (struct target_ops) <to_goto_record_begin>: Use
14 TARGET_DEFAULT_NORETURN.
16 2014-02-19 Tom Tromey <tromey@redhat.com>
18 * target-delegates.c: Rebuild.
19 * target.c (target_goto_record_end): Unconditionally delegate.
20 * target.h (struct target_ops) <to_goto_record_end>: Use
21 TARGET_DEFAULT_NORETURN.
23 2014-02-19 Tom Tromey <tromey@redhat.com>
25 * target-delegates.c: Rebuild.
26 * target.c (target_goto_record): Unconditionally delegate.
27 * target.h (struct target_ops) <to_goto_record>: Use
28 TARGET_DEFAULT_NORETURN.
30 2014-02-19 Tom Tromey <tromey@redhat.com>
32 * target-delegates.c: Rebuild.
33 * target.c (target_insn_history): Unconditionally delegate.
34 * target.h (struct target_ops) <to_insn_history>: Use
35 TARGET_DEFAULT_NORETURN.
37 2014-02-19 Tom Tromey <tromey@redhat.com>
39 * target-delegates.c: Rebuild.
40 * target.c (target_insn_history_from): Unconditionally delegate.
41 * target.h (struct target_ops) <to_insn_history_from>: Use
42 TARGET_DEFAULT_NORETURN.
44 2014-02-19 Tom Tromey <tromey@redhat.com>
46 * target-delegates.c: Rebuild.
47 * target.c (target_insn_history_range): Unconditionally delegate.
48 * target.h (struct target_ops) <to_insn_history_range>: Use
49 TARGET_DEFAULT_NORETURN.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (target_call_history): Unconditionally delegate.
55 * target.h (struct target_ops) <to_call_history>: Use
56 TARGET_DEFAULT_NORETURN.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * target-delegates.c: Rebuild.
61 * target.c (target_call_history_from): Unconditionally delegate.
62 * target.h (struct target_ops) <to_call_history_from>: Use
63 TARGET_DEFAULT_NORETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (target_call_history_range): Unconditionally delegate.
69 * target.h (struct target_ops) <to_call_history_range>: Use
70 TARGET_DEFAULT_NORETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (target_verify_memory): Unconditionally delegate.
76 * target.h (struct target_ops) <to_verify_memory>: Use
77 TARGET_DEFAULT_NORETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target-delegates.c: Rebuild.
82 * target.c (target_core_of_thread): Unconditionally delegate.
83 * target.h (struct target_ops) <to_core_of_thread>: Use
84 TARGET_DEFAULT_RETURN.
86 2014-02-19 Tom Tromey <tromey@redhat.com>
88 * target-delegates.c: Rebuild.
89 * target.c (target_flash_done): Unconditionally delegate.
90 * target.h (struct target_ops) <to_flash_done>: Use
91 TARGET_DEFAULT_NORETURN.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target-delegates.c: Rebuild.
96 * target.c (target_flash_erase): Unconditionally delegate.
97 * target.h (struct target_ops) <to_flash_erase>: Use
98 TARGET_DEFAULT_NORETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (target_get_section_table): Unconditionally delegate.
104 * target.h (struct target_ops) <to_get_section_table>: Use
105 TARGET_DEFAULT_RETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (target_pid_to_str): Unconditionally delegate.
111 (init_dummy_target): Don't initialize to_pid_to_str.
112 (default_pid_to_str): Rename from dummy_pid_to_str.
113 * target.h (struct target_ops) <to_pid_to_str>: Use
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target-delegates.c: Rebuild.
119 * target.c (target_find_new_threads): Unconditionally delegate.
120 * target.h (struct target_ops) <to_find_new_threads>: Use
121 TARGET_DEFAULT_RETURN.
123 2014-02-19 Tom Tromey <tromey@redhat.com>
125 * target-delegates.c: Rebuild.
126 * target.c (target_program_signals): Unconditionally delegate.
127 * target.h (struct target_ops) <to_program_signals>: Use
128 TARGET_DEFAULT_IGNORE.
130 2014-02-19 Tom Tromey <tromey@redhat.com>
132 * target-delegates.c: Rebuild.
133 * target.c (target_pass_signals): Unconditionally delegate.
134 * target.h (struct target_ops) <to_pass_signals>: Use
135 TARGET_DEFAULT_IGNORE.
137 2014-02-19 Tom Tromey <tromey@redhat.com>
139 * target-delegates.c: Rebuild.
140 * target.c (default_mourn_inferior): New function.
141 (target_mourn_inferior): Unconditionally delegate.
142 * target.h (struct target_ops) <to_mourn_inferior>: Use
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target-delegates.c: Rebuild.
148 * target.c (default_follow_fork): New function.
149 (target_follow_fork): Unconditionally delegate.
150 * target.h (struct target_ops) <to_follow_fork>: Use
153 2014-02-19 Tom Tromey <tromey@redhat.com>
155 * target-delegates.c: Rebuild.
156 * target.c (target_kill): Unconditionally delegate.
157 * target.h (struct target_ops) <to_kill>: Use
158 TARGET_DEFAULT_NORETURN.
160 2014-02-19 Tom Tromey <tromey@redhat.com>
162 * target-delegates.c: Rebuild.
163 * target.c (target_masked_watch_num_registers): Unconditionally
165 * target.h (struct target_ops) <to_masked_watch_num_registers>:
166 Use TARGET_DEFAULT_RETURN.
168 2014-02-19 Tom Tromey <tromey@redhat.com>
170 * target-delegates.c: Rebuild.
171 * target.c (target_remove_mask_watchpoint): Unconditionally
173 * target.h (struct target_ops) <to_remove_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_insert_mask_watchpoint): Unconditionally
181 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
182 TARGET_DEFAULT_RETURN.
184 2014-02-19 Tom Tromey <tromey@redhat.com>
186 * target-delegates.c: Rebuild.
187 * target.c (target_ranged_break_num_registers): Unconditionally
189 * target.h (struct target_ops) <to_ranged_break_num_registers>:
190 Use TARGET_DEFAULT_RETURN.
192 2014-02-19 Tom Tromey <tromey@redhat.com>
194 * target-delegates.c: Rebuild.
195 * target.c (target_fetch_registers): Unconditionally delegate.
196 * target.h (struct target_ops) <to_fetch_registers>: Use
197 TARGET_DEFAULT_NORETURN.
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
204 * target.h (struct target_ops) <to_stop>: Use
205 TARGET_DEFAULT_IGNORE.
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_can_run_breakpoint_commands.
212 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
213 Use TARGET_DEFAULT_RETURN.
215 2014-02-19 Tom Tromey <tromey@redhat.com>
217 * target-delegates.c: Rebuild.
218 * target.c (update_current_target): Don't inherit or default
219 to_supports_evaluation_of_breakpoint_conditions.
220 * target.h (struct target_ops)
221 <to_supports_evaluation_of_breakpoint_conditions>: Use
222 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
228 to_augmented_libraries_svr4_read.
229 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
230 Use 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_can_use_agent>: Use
238 TARGET_DEFAULT_RETURN.
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 * target.h (struct target_ops) <to_use_agent>: Use
246 TARGET_DEFAULT_NORETURN.
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * target-delegates.c: Rebuild.
251 * target.c (update_current_target): Don't inherit or default
253 (return_null): Remove.
254 * target.h (struct target_ops) <to_traceframe_info>: Use
255 TARGET_DEFAULT_RETURN.
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * target-delegates.c: Rebuild.
260 * target.c (update_current_target): Don't inherit or default
261 to_static_tracepoint_markers_by_strid.
262 * target.h (struct target_ops)
263 <to_static_tracepoint_markers_by_strid>: Use
264 TARGET_DEFAULT_NORETURN.
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
270 to_static_tracepoint_marker_at.
271 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
272 Use TARGET_DEFAULT_RETURN.
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_set_permissions>: Use
280 TARGET_DEFAULT_IGNORE.
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_get_tib_address>: Use
288 TARGET_DEFAULT_NORETURN.
290 2014-02-19 Tom Tromey <tromey@redhat.com>
292 * target-delegates.c: Rebuild.
293 * target.c (update_current_target): Don't inherit or default
295 * target.h (struct target_ops) <to_set_trace_notes>: Use
296 TARGET_DEFAULT_RETURN.
298 2014-02-19 Tom Tromey <tromey@redhat.com>
300 * target-delegates.c: Rebuild.
301 * target.c (update_current_target): Don't initialize
302 to_set_trace_buffer_size.
303 * target.h (struct target_ops) <to_set_trace_buffer_size>: 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_circular_trace_buffer.
311 * target.h (struct target_ops) <to_set_circular_trace_buffer>: 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_set_disconnected_tracing.
319 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
320 TARGET_DEFAULT_IGNORE.
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target-delegates.c: Rebuild.
325 * target.c (update_current_target): Don't inherit or default
326 to_get_min_fast_tracepoint_insn_len.
327 (return_minus_one): Remove.
328 * target.h (struct target_ops)
329 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
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_get_raw_trace_data.
336 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
337 TARGET_DEFAULT_NORETURN.
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_trace_state_variables.
344 * target.h (struct target_ops) <to_upload_trace_state_variables>:
345 Use 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
351 to_upload_tracepoints.
352 * target.h (struct target_ops) <to_upload_tracepoints>: Use
353 TARGET_DEFAULT_RETURN.
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
360 * target.h (struct target_ops) <to_save_trace_data>: Use
361 TARGET_DEFAULT_NORETURN.
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
367 to_get_trace_state_variable_value.
368 * target.h (struct target_ops)
369 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
371 2014-02-19 Tom Tromey <tromey@redhat.com>
373 * target-delegates.c: Rebuild.
374 * target.c (update_current_target): Don't inherit or default
376 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
378 2014-02-19 Tom Tromey <tromey@redhat.com>
380 * target-delegates.c: Rebuild.
381 * target.c (update_current_target): Don't inherit or default
383 * target.h (struct target_ops) <to_trace_stop>: Use
384 TARGET_DEFAULT_NORETURN.
386 2014-02-19 Tom Tromey <tromey@redhat.com>
388 * target-delegates.c: Rebuild.
389 * target.c (update_current_target): Don't inherit or default
390 to_get_tracepoint_status.
391 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
392 TARGET_DEFAULT_NORETURN.
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_get_trace_status>: Use
400 TARGET_DEFAULT_RETURN.
402 2014-02-19 Tom Tromey <tromey@redhat.com>
404 * target-delegates.c: Rebuild.
405 * target.c (update_current_target): Don't inherit or default
407 * target.h (struct target_ops) <to_trace_start>: Use
408 TARGET_DEFAULT_NORETURN.
410 2014-02-19 Tom Tromey <tromey@redhat.com>
412 * target-delegates.c: Rebuild.
413 * target.c (update_current_target): Don't inherit or default
414 to_trace_set_readonly_regions.
415 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
416 Use 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_disable_tracepoint.
423 * target.h (struct target_ops) <to_disable_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_enable_tracepoint.
431 * target.h (struct target_ops) <to_enable_tracepoint>: Use
432 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_download_trace_state_variable.
439 * target.h (struct target_ops) <to_download_trace_state_variable>:
440 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
447 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
448 TARGET_DEFAULT_RETURN.
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
454 to_download_tracepoint.
455 * target.h (struct target_ops) <to_download_tracepoint>: Use
456 TARGET_DEFAULT_NORETURN.
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
463 * target.h (struct target_ops) <to_trace_init>: 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_string_tracing.
471 * target.h (struct target_ops) <to_supports_string_tracing>: Use
472 TARGET_DEFAULT_RETURN.
474 2014-02-19 Tom Tromey <tromey@redhat.com>
476 * target-delegates.c: Rebuild.
477 * target.c (update_current_target): Don't inherit or default
478 to_supports_enable_disable_tracepoint.
479 * target.h (struct target_ops)
480 <to_supports_enable_disable_tracepoint>: 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_supports_multi_process.
488 * target.h (struct target_ops) <to_supports_multi_process>: Use
489 TARGET_DEFAULT_RETURN.
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_get_ada_task_ptid.
496 * target.h (struct target_ops) <to_get_ada_task_ptid>: 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_thread_architecture.
504 * target.h (struct target_ops) <to_thread_architecture>: 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_execution_direction.
512 * target.h (struct target_ops) <to_execution_direction>: Use
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (update_current_target): Don't inherit or default
519 to_can_execute_reverse.
520 * target.h (struct target_ops) <to_can_execute_reverse>: Use
521 TARGET_DEFAULT_RETURN.
522 (target_can_execute_reverse): Unconditionally delegate.
524 2014-02-19 Tom Tromey <tromey@redhat.com>
526 * target-delegates.c: Rebuild.
527 * target.c (update_current_target): Don't inherit or default
529 (dummy_goto_bookmark): Remove.
530 (init_dummy_target): Don't inherit or default to_goto_bookmark.
531 * target.h (struct target_ops) <to_goto_bookmark>: Use
532 TARGET_DEFAULT_NORETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
539 (dummy_get_bookmark): Remove.
540 (init_dummy_target): Don't inherit or default to_get_bookmark.
541 * target.h (struct target_ops) <to_get_bookmark>: Use
542 TARGET_DEFAULT_NORETURN
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (update_current_target): Don't inherit or default
548 to_make_corefile_notes.
549 (init_dummy_target): Don't initialize to_make_corefile_notes.
550 * target.h (struct target_ops) <to_make_corefile_notes>: Use
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target-delegates.c: Rebuild.
556 * target.c (update_current_target): Don't inherit or default
557 to_find_memory_regions.
558 (init_dummy_target): Don't initialize to_find_memory_regions.
559 * target.h (struct target_ops) <to_find_memory_regions>: Use
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target-delegates.c: Rebuild.
565 * target.c (update_current_target): Don't inherit or default
567 * target.h (struct target_ops) <to_log_command>: Use
568 TARGET_DEFAULT_IGNORE.
569 (target_log_command): Unconditionally delegate.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target-delegates.c: Rebuild.
574 * target.c (update_current_target): Don't inherit or default
576 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
577 TARGET_DEFAULT_RETURN.
579 2014-02-19 Tom Tromey <tromey@redhat.com>
581 * target-delegates.c: Rebuild.
582 * target.c (update_current_target): Don't inherit or default
584 (target_thread_name): Unconditionally delegate.
585 * target.h (struct target_ops) <to_thread_name>: 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
592 to_extra_thread_info.
593 * target.h (struct target_ops) <to_extra_thread_info>: 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
601 * target.h (struct target_ops) <to_has_exited>: Use
602 TARGET_DEFAULT_RETURN..
604 2014-02-19 Tom Tromey <tromey@redhat.com>
606 * target-delegates.c: Rebuild.
607 * target.c (update_current_target): Don't inherit or default
608 to_set_syscall_catchpoint.
609 (return_one): Remove.
610 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
611 TARGET_DEFAULT_RETURN.
613 2014-02-19 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-01-08 Tom Tromey <tromey@redhat.com>
623 * target-delegates.c: Rebuild.
624 * target.c (update_current_target): Don't inherit or default
625 to_insert_exec_catchpoint.
626 * target.h (struct target_ops) <to_insert_exec_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_remove_vfork_catchpoint.
634 * target.h (struct target_ops) <to_remove_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_insert_vfork_catchpoint.
642 * target.h (struct target_ops) <to_insert_vfork_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_remove_fork_catchpoint.
650 * target.h (struct target_ops) <to_remove_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_insert_fork_catchpoint.
658 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
659 TARGET_DEFAULT_RETURN.
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
665 to_post_startup_inferior.
666 * target.h (struct target_ops) <to_post_startup_inferior>: Use
667 TARGET_DEFAULT_IGNORE.
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_load>: Use
675 TARGET_DEFAULT_NORETURN.
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
682 * target.h (struct target_ops) <to_terminal_info>: Use
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
689 to_terminal_save_ours.
690 * target.h (struct target_ops) <to_terminal_save_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
698 * target.h (struct target_ops) <to_terminal_ours>: 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_ours_for_output.
706 * target.h (struct target_ops) <to_terminal_ours_for_output>: 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
713 to_terminal_inferior.
714 * target.h (struct target_ops) <to_terminal_inferior>: 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
722 * target.h (struct target_ops) <to_terminal_init>: Use
723 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
730 * target.h (struct target_ops)
731 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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_region_ok_for_hw_watchpoint.
738 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
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_watchpoint_addr_within_range.
746 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
747 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
754 * target.h (struct target_ops) <to_remove_watchpoint>: Use
755 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
762 * target.h (struct target_ops) <to_insert_watchpoint>: 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_remove_hw_breakpoint.
770 * target.h (struct target_ops) <to_remove_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_insert_hw_breakpoint.
778 * target.h (struct target_ops) <to_insert_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
785 to_can_use_hw_breakpoint.
786 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
787 TARGET_DEFAULT_RETURN.
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_files_info>: Use
795 TARGET_DEFAULT_IGNORE.
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_store>: Use
803 TARGET_DEFAULT_NORETURN.
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 * target.h (struct target_ops) <to_post_attach>: Use
811 TARGET_DEFAULT_IGNORE.
813 2014-02-19 Tom Tromey <tromey@redhat.com>
815 * target-delegates.c: Rebuild.
816 * target.c (update_current_target): Don't inherit or default
818 (default_rcmd): New function.
819 (do_monitor_command): Unconditionally delegate.
820 * target.h (struct target_ops) <to_rmcd>: Use
823 2014-02-19 Tom Tromey <tromey@redhat.com>
825 * target-delegates.c: Rebuild.
826 * target.c (init_dummy_target): Don't initialize to_attach.
827 (target_attach): Unconditionally delegate.
828 * target.h (struct target_ops) <to_attach>: Use
831 2014-02-19 Tom Tromey <tromey@redhat.com>
833 * target-delegates.c: Rebuild.
834 * target.c (target_detach): Unconditionally delegate.
835 (init_dummy_target): Don't initialize to_detach.
836 * target.h (struct target_ops) <to_detach>: Use
837 TARGET_DEFAULT_IGNORE.
839 2014-02-19 Tom Tromey <tromey@redhat.com>
841 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
843 (target_augmented_libraries_svr4_read): Add argument.
844 * target.c (update_current_target): Update.
845 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target.h (struct target_ops) <to_call_history_range>: Add
852 * target.c (target_call_history_range): Add argument.
853 * record-btrace.c (record_btrace_call_history_range): Add 'self'
855 (record_btrace_call_history_from): Update.
857 2014-02-19 Tom Tromey <tromey@redhat.com>
859 * target.h (struct target_ops) <to_call_history_from>: Add
861 * target.c (target_call_history_from): Add argument.
862 * record-btrace.c (record_btrace_call_history_from): Add 'self'
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target.h (struct target_ops) <to_call_history>: Add argument.
868 * target.c (target_call_history): Add argument.
869 * record-btrace.c (record_btrace_call_history): Add 'self'
872 2014-02-19 Tom Tromey <tromey@redhat.com>
874 * target.h (struct target_ops) <to_insn_history_range>: Add
876 * target.c (target_insn_history_range): Add argument.
877 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
879 (record_btrace_insn_history_from): Update.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target.h (struct target_ops) <to_insn_history_from>: Add
885 * target.c (target_insn_history_from): Add argument.
886 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
889 2014-02-19 Tom Tromey <tromey@redhat.com>
891 * target.h (struct target_ops) <to_insn_history>: Add argument.
892 * target.c (target_insn_history): Add argument.
893 * record-btrace.c (record_btrace_insn_history): Add 'self'
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * target.h (struct target_ops) <to_goto_record>: Add argument.
899 * target.c (target_goto_record): Add argument.
900 * record-full.c (record_full_goto): Add 'self' argument.
901 * record-btrace.c (record_btrace_goto): Add 'self' argument.
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
906 * target.c (target_goto_record_end): Add argument.
907 * record-full.c (record_full_goto_end): Add 'self' argument.
908 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
910 2014-02-19 Tom Tromey <tromey@redhat.com>
912 * target.h (struct target_ops) <to_goto_record_begin>: Add
914 * target.c (target_goto_record_begin): Add argument.
915 * record-full.c (record_full_goto_begin): Add 'self' argument.
916 * record-btrace.c (record_btrace_goto_begin): Add 'self'
919 2014-02-19 Tom Tromey <tromey@redhat.com>
921 * target.h (struct target_ops) <to_record_is_replaying>: Add
923 * target.c (target_record_is_replaying): Add argument.
924 * record-full.c (record_full_is_replaying): Add 'self' argument.
925 * record-btrace.c (record_btrace_is_replaying): Add 'self'
927 (record_btrace_xfer_partial, record_btrace_store_registers)
928 (record_btrace_prepare_to_store, record_btrace_resume)
929 (record_btrace_wait, record_btrace_decr_pc_after_break)
930 (record_btrace_find_new_threads, record_btrace_thread_alive):
933 2014-02-19 Tom Tromey <tromey@redhat.com>
935 * target.h (struct target_ops) <to_delete_record>: Add argument.
936 * target.c (target_delete_record): Add argument.
937 * record-full.c (record_full_delete): Add 'self' argument.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target.h (struct target_ops) <to_save_record>: Add argument.
942 * target.c (target_save_record): Add argument.
943 * record-full.c (record_full_save): Add 'self' argument.
944 (record_full_save): Add 'self' argument.
946 2014-02-19 Tom Tromey <tromey@redhat.com>
948 * target.h (struct target_ops) <to_info_record>: Add argument.
949 * target.c (target_info_record): Add argument.
950 * record.c (info_record_command): Add argument.
951 * record-full.c (record_full_info): Add 'self' argument.
952 * record-btrace.c (record_btrace_info): Add 'self' argument.
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target.h (struct target_ops) <to_stop_recording>: Add argument.
957 * target.c (target_stop_recording): Add argument.
958 * record.c (record_stop): Add argument.
959 * record-btrace.c (record_btrace_stop_recording): Add 'self'
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target.h (struct target_ops) <to_read_btrace>: Add argument.
965 * target.c (struct target_ops) <to_read_btrace>: Add argument.
966 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
968 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
969 (_initialize_amd64_linux_nat): Use it.
970 * i386-linux-nat.c (i386_linux_read_btrace): New function.
971 (_initialize_i386_linux_nat): Use it.
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
976 * target.c (target_teardown_btrace): Add argument.
977 * remote.c (remote_teardown_btrace): Add 'self' argument.
978 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
980 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
983 2014-02-19 Tom Tromey <tromey@redhat.com>
985 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
986 * target.c (target_disable_btrace): Add argument.
987 * remote.c (remote_disable_btrace): Add 'self' argument.
988 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
990 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
993 2014-02-19 Tom Tromey <tromey@redhat.com>
995 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
996 * target.c (target_enable_btrace): Add argument.
997 * remote.c (remote_enable_btrace): Add 'self' argument.
998 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1000 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1006 (target_can_use_agent): Add argument.
1007 * target.c (update_current_target): Update.
1008 * remote.c (remote_can_use_agent): Add 'self' argument.
1009 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target.h (struct target_ops) <to_use_agent>: Add argument.
1014 (target_use_agent): Add argument.
1015 * target.c (update_current_target): Update.
1016 * remote.c (remote_use_agent): Add 'self' argument.
1017 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1022 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1023 (target_traceframe_info): Add argument.
1024 * target.c (update_current_target): Update.
1025 * remote.c (remote_traceframe_info): Add 'self' argument.
1026 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1028 2014-02-19 Tom Tromey <tromey@redhat.com>
1030 * target.h (target_static_tracepoint_markers_by_strid): Add
1032 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1034 * target.c (update_current_target): Update.
1035 * remote.c (struct target_ops)
1036 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1037 * linux-nat.c (struct target_ops)
1038 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1040 2014-02-19 Tom Tromey <tromey@redhat.com>
1042 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1044 (target_static_tracepoint_marker_at): Add argument.
1045 * target.c (update_current_target): Update.
1046 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1049 2014-02-19 Tom Tromey <tromey@redhat.com>
1051 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1052 (target_set_permissions): Add argument.
1053 * target.c (update_current_target): Update.
1054 * remote.c (remote_set_permissions): Add 'self' argument.
1055 (remote_start_remote): Update.
1057 2014-02-19 Tom Tromey <tromey@redhat.com>
1059 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1060 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1061 (target_get_tib_address): Add argument.
1062 * target.c (update_current_target): Update.
1063 * remote.c (remote_get_tib_address): Add 'self' argument.
1065 2014-02-19 Tom Tromey <tromey@redhat.com>
1067 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1068 (target_set_trace_notes): Add argument.
1069 * target.c (update_current_target): Update.
1070 * remote.c (remote_set_trace_notes): Add 'self' argument.
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1076 (target_set_trace_buffer_size): Add argument.
1077 * target.c (update_current_target): Update.
1078 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1080 2014-02-19 Tom Tromey <tromey@redhat.com>
1082 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1084 (target_set_circular_trace_buffer): Add argument.
1085 * target.c (update_current_target): Update.
1086 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1089 2014-02-19 Tom Tromey <tromey@redhat.com>
1091 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1093 (target_set_disconnected_tracing): Add argument.
1094 * target.c (update_current_target): Update.
1095 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops)
1100 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1101 (target_get_min_fast_tracepoint_insn_len): Add argument.
1102 * target.c (update_current_target): Update.
1103 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1106 2014-02-19 Tom Tromey <tromey@redhat.com>
1108 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1110 (target_get_raw_trace_data): Add argument.
1111 * target.c (update_current_target): Update.
1112 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1118 (target_upload_trace_state_variables): Add argument.
1119 * target.c (update_current_target): Update.
1120 * remote.c (remote_upload_trace_state_variables): Add 'self'
1122 (remote_start_remote): Update.
1124 2014-02-19 Tom Tromey <tromey@redhat.com>
1126 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1128 (target_upload_tracepoints): Add argument.
1129 * target.c (update_current_target): Update.
1130 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1131 (remote_start_remote): Update.
1133 2014-02-19 Tom Tromey <tromey@redhat.com>
1135 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1136 (target_save_trace_data): Add argument.
1137 * target.c (update_current_target): Update.
1138 * remote.c (remote_save_trace_data): Add 'self' argument.
1140 2014-02-19 Tom Tromey <tromey@redhat.com>
1142 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1144 * target.h (struct target_ops)
1145 <to_get_trace_state_variable_value>: Add argument.
1146 (target_get_trace_state_variable_value): Add argument.
1147 * target.c (update_current_target): Update.
1148 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1150 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1155 * target.h (struct target_ops) <to_trace_find>: Add argument.
1156 (target_trace_find): Add argument.
1157 * target.c (update_current_target): Update.
1158 * remote.c (remote_trace_find): Add 'self' argument.
1159 * ctf.c (ctf_trace_find): Add 'self' argument.
1161 2014-02-19 Tom Tromey <tromey@redhat.com>
1163 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1164 (target_trace_stop): Add argument.
1165 * target.c (update_current_target): Update.
1166 * remote.c (remote_trace_stop): Add 'self' argument.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1171 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1173 (target_get_tracepoint_status): Add argument.
1174 * target.c (update_current_target): Update.
1175 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1177 2014-02-19 Tom Tromey <tromey@redhat.com>
1179 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1180 * target.h (struct target_ops) <to_get_trace_status>: Add
1182 (target_get_trace_status): Add argument.
1183 * target.c (update_current_target): Update.
1184 * remote.c (remote_get_trace_status): Add 'self' argument.
1185 (remote_start_remote, remote_can_download_tracepoint): Update.
1186 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target.h (struct target_ops) <to_trace_start>: Add argument.
1191 (target_trace_start): Add argument.
1192 * target.c (update_current_target): Update.
1193 * remote.c (remote_trace_start): Add 'self' argument.
1195 2014-02-19 Tom Tromey <tromey@redhat.com>
1197 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1199 (target_trace_set_readonly_regions): Add argument.
1200 * target.c (update_current_target): Update.
1201 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1208 (target_disable_tracepoint): Add argument.
1209 * target.c (update_current_target): Update.
1210 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1212 2014-02-19 Tom Tromey <tromey@redhat.com>
1214 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1216 (target_enable_tracepoint): Add argument.
1217 * target.c (update_current_target): Update.
1218 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1220 2014-02-19 Tom Tromey <tromey@redhat.com>
1222 * target.h (struct target_ops) <to_download_trace_state_variable>:
1224 (target_download_trace_state_variable): Add argument.
1225 * target.c (update_current_target): Update.
1226 * remote.c (remote_download_trace_state_variable): Add 'self'
1229 2014-02-19 Tom Tromey <tromey@redhat.com>
1231 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1233 (target_can_download_tracepoint): Add argument.
1234 * target.c (update_current_target): Update.
1235 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1237 2014-02-19 Tom Tromey <tromey@redhat.com>
1239 * target.h (struct target_ops) <to_download_tracepoint>: Add
1241 (target_download_tracepoint): Add argument.
1242 * target.c (update_current_target): Update.
1243 * remote.c (remote_download_tracepoint): Add 'self' argument.
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target.h (struct target_ops) <to_trace_init>: Add argument.
1248 (target_trace_init): Add argument.
1249 * target.c (update_current_target): Update.
1250 * remote.c (remote_trace_init): Add 'self' argument.
1252 2014-02-19 Tom Tromey <tromey@redhat.com>
1254 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1255 * target.c (target_fileio_readlink): Add argument.
1256 * remote.c (remote_hostio_readlink): Add 'self' argument.
1257 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1262 * target.c (target_fileio_unlink): Add argument.
1263 * remote.c (remote_hostio_unlink): Add 'self' argument.
1264 (remote_file_delete): Update.
1265 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1270 * target.c (target_fileio_close): Add argument.
1271 * remote.c (remote_hostio_close): Add 'self' argument.
1272 (remote_hostio_close_cleanup): Update.
1273 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1275 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1277 2014-02-19 Tom Tromey <tromey@redhat.com>
1279 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1280 * target.c (target_fileio_pread): Add argument.
1281 * remote.c (remote_hostio_pread): Add 'self' argument.
1282 (remote_bfd_iovec_pread, remote_file_get): Update.
1283 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1288 * target.c (target_fileio_pwrite): Add argument.
1289 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1290 (remote_file_put): Update.
1291 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1295 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1296 * target.c (target_fileio_open): Add argument.
1297 * remote.c (remote_hostio_open): Add 'self' argument.
1298 (remote_bfd_iovec_open): Add 'self' argument.
1299 (remote_file_put): Add 'self' argument.
1300 (remote_file_get): Add 'self' argument.
1301 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1307 (target_can_run_breakpoint_commands): Add argument.
1308 * target.c (update_current_target): Update.
1309 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1311 (remote_insert_breakpoint): Add 'self' argument.
1312 (remote_insert_hw_breakpoint): Add 'self' argument.
1313 (remote_can_run_breakpoint_commands): Add 'self' argument.
1315 2014-02-19 Tom Tromey <tromey@redhat.com>
1317 * target.h (struct target_ops)
1318 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1319 (target_supports_evaluation_of_breakpoint_conditions): Add
1321 * target.c (update_current_target): Update.
1322 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1324 (remote_insert_breakpoint): Add 'self' argument.
1325 (remote_insert_hw_breakpoint): Add 'self' argument.
1326 (remote_supports_cond_breakpoints): Add 'self' argument.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1332 (target_supports_string_tracing): Add argument.
1333 * target.c (update_current_target): Update.
1334 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target.h (struct target_ops)
1339 <to_supports_disable_randomization>: Add argument.
1340 * target.c (find_default_supports_disable_randomization): Add
1342 (target_supports_disable_randomization): Add argument.
1343 (find_default_supports_disable_randomization): Add 'self'
1345 * remote.c (extended_remote_supports_disable_randomization): Add
1347 (remote_supports_disable_randomization): Add 'self' argument.
1348 (extended_remote_create_inferior): Update.
1349 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1352 2014-02-19 Tom Tromey <tromey@redhat.com>
1354 * target.h (struct target_ops)
1355 <to_supports_enable_disable_tracepoint>: Add argument.
1356 (target_supports_enable_disable_tracepoint): Add argument.
1357 * target.c (update_current_target): Update.
1358 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * target.h (struct target_ops) <to_supports_multi_process>: Add
1365 (target_supports_multi_process): Add argument.
1366 * target.c (update_current_target): Update.
1367 * remote.c (remote_supports_multi_process): Add 'self' argument.
1368 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1370 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1373 2014-02-19 Tom Tromey <tromey@redhat.com>
1375 * target.h (struct target_ops) <to_execution_direction>: Add
1377 (target_execution_direction): Add argument.
1378 * target.c (default_execution_direction): Add 'self' argument.
1379 * record-full.c (record_full_execution_direction): Add 'self'
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1386 (target_can_execute_reverse): Add argument.
1387 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1388 * record-full.c (record_full_can_execute_reverse): Add 'self'
1390 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1393 2014-02-19 Tom Tromey <tromey@redhat.com>
1395 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1396 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1398 (target_get_ada_task_ptid): Add argument.
1399 * target.c (update_current_target): Update.
1400 (default_get_ada_task_ptid): Add 'self' argument.
1401 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1402 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1403 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1405 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1407 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1409 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1411 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1412 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1418 (target_goto_bookmark): Add argument.
1419 * target.c (dummy_goto_bookmark): Add 'self' argument.
1420 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1422 2014-02-19 Tom Tromey <tromey@redhat.com>
1424 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1425 (target_get_bookmark): Add argument.
1426 * target.c (dummy_get_bookmark): Add 'self' argument.
1427 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1433 (target_make_corefile_notes): Add argument.
1434 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1435 * procfs.c (procfs_make_note_section): Add 'self' argument.
1436 (procfs_make_note_section): Add 'self' argument.
1437 (procfs_make_note_section): Add 'self' argument.
1438 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1440 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1441 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1442 * exec.c (exec_make_note_section): Add 'self' argument.
1443 (exec_make_note_section): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_find_memory_regions>: Add
1449 (target_find_memory_regions): Add argument.
1450 * target.c (dummy_find_memory_regions): Add 'self' argument.
1451 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1452 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1453 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1454 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1455 * exec. (exec_do_find_memory_regions): New global.
1456 (exec_set_find_memory_regions): Rewrite.
1457 (exec_find_memory_regions): New function.
1458 (init_exec_ops): Use exec_find_memory_regions.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_supports_non_stop>: Add
1464 * target.c (find_default_supports_non_stop): Add argument.
1465 (target_supports_non_stop): Add argument.
1466 (find_default_supports_non_stop): Add 'self' argument.
1467 * remote.c (remote_supports_non_stop): Add 'self' argument.
1468 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1470 2014-02-19 Tom Tromey <tromey@redhat.com>
1472 * target.h (struct target_ops) <to_log_command>: Add argument.
1473 (target_log_command): Add argument.
1474 * serial.h (serial_log_command): Add 'self' argument.
1475 * serial.c (serial_log_command): Add 'self' argument.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1480 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1482 (target_pid_to_exec_file): Add argument.
1483 * target.c (debug_to_pid_to_exec_file): Add argument.
1484 (update_current_target): Update.
1485 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1486 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1487 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1488 (linux_handle_extended_wait): Update.
1489 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1490 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1491 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1492 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1494 2014-02-19 Tom Tromey <tromey@redhat.com>
1496 * target.h (struct target_ops) <to_rcmd>: Add argument.
1497 (target_rcmd): Add argument.
1498 * target.c (debug_to_rcmd): Add argument.
1499 (update_current_target, do_monitor_command): Update.
1500 * remote.c (remote_rcmd): Add 'self' argument.
1501 * monitor.c (monitor_rcmd): Add 'self' argument.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * windows-nat.c (windows_stop): Add 'self' argument.
1506 * target.h (struct target_ops) <to_stop>: Add argument.
1507 * target.c (target_stop): Add argument.
1508 (debug_to_stop): Add argument.
1509 (update_current_target): Update.
1510 * remote.c (remote_stop): Add 'self' argument.
1511 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1512 (gdbsim_cntrl_c): Update.
1513 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1514 * procfs.c (procfs_stop): Add 'self' argument.
1515 * nto-procfs.c (procfs_stop): Add 'self' argument.
1516 * monitor.c (monitor_stop): Add 'self' argument.
1517 (monitor_open): Update.
1518 * linux-nat.c (linux_nat_stop): Add argument.
1519 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1520 * gnu-nat.c (gnu_stop): Add 'self' argument.
1521 * darwin-nat.c (darwin_stop): Add 'self' argument.
1523 2014-02-19 Tom Tromey <tromey@redhat.com>
1525 * target.h (struct target_ops) <to_thread_name>: Add argument.
1526 * target.c (target_thread_name): Add argument.
1527 (update_current_target): Update.
1528 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * target.h (struct target_ops) <to_extra_thread_info>: Add
1534 (target_extra_thread_info): Add argument.
1535 * target.c (update_current_target): Update.
1536 * remote.c (remote_threads_extra_info): Add 'self' argument.
1537 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1539 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1540 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1541 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1543 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1545 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1547 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_program_signals>: Add argument.
1553 * target.c (target_program_signals): Add argument.
1554 * remote.c (remote_program_signals): Add 'self' argument.
1556 2014-02-19 Tom Tromey <tromey@redhat.com>
1558 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1559 * target.c (target_pass_signals): Add argument.
1560 * remote.c (remote_pass_signals): Add 'self' argument.
1561 (remote_start_remote): Update.
1562 * procfs.c (procfs_pass_signals): Add 'self' argument.
1563 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1564 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1565 (linux_nat_create_inferior, linux_nat_attach): Update.
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * windows-nat.c (windows_can_run): Add 'self' argument.
1570 * target.h (struct target_ops) <to_can_run>: Add argument.
1571 (target_can_run): Add argument.
1572 * target.c (debug_to_can_run): Add argument.
1573 (update_current_target): Update.
1574 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1575 * inf-child.c (inf_child_can_run): Add 'self' argument.
1576 * go32-nat.c (go32_can_run): Add 'self' argument.
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target.h (struct target_ops) <to_has_exited>: Add argument.
1581 (target_has_exited): Add argument.
1582 * target.c (debug_to_has_exited): Add argument.
1583 (update_current_target): Update.
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1589 (target_set_syscall_catchpoint): Add argument.
1590 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1592 * target.c (update_current_target): Update.
1594 2014-02-19 Tom Tromey <tromey@redhat.com>
1596 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1598 (target_remove_exec_catchpoint): Add argument.
1599 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1600 (update_current_target): Update.
1601 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1604 2014-02-19 Tom Tromey <tromey@redhat.com>
1606 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1608 (target_insert_exec_catchpoint): Add argument.
1609 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1610 (update_current_target): Update.
1611 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1614 2014-02-19 Tom Tromey <tromey@redhat.com>
1616 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1618 (target_remove_vfork_catchpoint): Add argument.
1619 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1620 (update_current_target): Update.
1621 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1628 (target_insert_vfork_catchpoint): Add argument.
1629 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1630 (update_current_target): Update.
1631 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1638 (target_remove_fork_catchpoint): Add argument.
1639 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1640 (update_current_target): Update.
1641 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1644 2014-02-19 Tom Tromey <tromey@redhat.com>
1646 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1648 (target_insert_fork_catchpoint): Add argument.
1649 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1650 (update_current_target): Update.
1651 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1654 2014-02-19 Tom Tromey <tromey@redhat.com>
1656 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1658 (target_post_startup_inferior): Add argument.
1659 * target.c (debug_to_post_startup_inferior): Add argument.
1660 (update_current_target): Update.
1661 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1663 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1665 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1667 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1669 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1671 (super_post_startup_inferior): Likewise.
1672 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1674 (super_post_startup_inferior): Likewise.
1675 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1676 Add 'self' argument.
1677 (super_post_startup_inferior): Likewise.
1679 2014-02-19 Tom Tromey <tromey@redhat.com>
1681 * target.h (struct target_ops) <to_load>: Add argument.
1682 * target.c (target_load): Add argument.
1683 (debug_to_load): Add argument.
1684 (update_current_target): Update.
1685 * remote.c (remote_load): Add 'self' argument.
1686 * remote-sim.c (gdbsim_load): Add 'self' argument.
1687 * remote-mips.c (mips_load): Add 'self' argument.
1688 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1689 * monitor.c (monitor_load): Add 'self' argument.
1690 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1692 2014-02-19 Tom Tromey <tromey@redhat.com>
1694 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1695 (target_terminal_info): Add argument.
1696 * target.c (debug_to_terminal_info): Add argument.
1697 (default_terminal_info): Likewise.
1698 * inflow.c (child_terminal_info): Add 'self' argument.
1699 * inferior.h (child_terminal_info): Add 'self' argument.
1700 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1706 (target_terminal_save_ours): Add argument.
1707 * target.c (debug_to_terminal_save_ours): Add argument.
1708 (update_current_target): Update.
1709 * inflow.c (terminal_save_ours): Add 'self' argument.
1710 * inferior.h (terminal_save_ours): Add 'self' argument.
1712 2014-02-19 Tom Tromey <tromey@redhat.com>
1714 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1715 (target_terminal_ours): Add argument.
1716 * target.c (debug_to_terminal_ours): Add argument.
1717 (update_current_target): Update.
1718 * remote.c (remote_terminal_ours): Add 'self' argument.
1719 (remote_close): Update.
1720 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1721 * inflow.c (terminal_ours): Add 'self' argument.
1722 * inferior.h (terminal_ours): Add 'self' argument.
1723 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1725 2014-02-19 Pedro Alves <palves@redhat.com>
1726 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1730 (target_terminal_ours_for_output): Add argument.
1731 * target.c (debug_to_terminal_ours_for_output): Add argument.
1732 (update_current_target): Update.
1733 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1734 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1735 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1737 2014-02-19 Tom Tromey <tromey@redhat.com>
1739 * target.h (struct target_ops) <to_terminal_inferior>: Add
1741 * target.c (target_terminal_inferior): Add argument.
1742 (update_current_target): Update.
1743 * remote.c (remote_terminal_inferior): Add 'self' argument.
1744 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1745 * inflow.c (terminal_inferior): Add 'self' argument.
1746 * inferior.h (terminal_inferior): Add 'self' argument.
1747 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1748 (go32_terminal_inferior): Add 'self' argument.
1750 2014-02-19 Tom Tromey <tromey@redhat.com>
1752 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1753 (target_terminal_init): Add argument.
1754 * target.c (debug_to_terminal_init): Add argument.
1755 (update_current_target): Update.
1756 * inflow.c (terminal_init_inferior): Add 'self' argument.
1757 * inferior.h (terminal_init_inferior): Add 'self' argument.
1758 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1759 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1761 2014-02-19 Tom Tromey <tromey@redhat.com>
1763 * target.h (struct target_ops)
1764 <to_can_accel_watchpoint_condition>: Add argument.
1765 (target_can_accel_watchpoint_condition): Add argument.
1766 * target.c (debug_to_can_accel_watchpoint_condition): Add
1768 (update_current_target): Update.
1769 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1776 (target_region_ok_for_hw_watchpoint): Add argument.
1777 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1778 (default_region_ok_for_hw_watchpoint): Add argument.
1779 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1780 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1782 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1784 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1786 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1788 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1790 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1792 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1793 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1795 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1796 Add 'self' argument.
1798 2014-02-19 Tom Tromey <tromey@redhat.com>
1800 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1802 (target_insert_watchpoint): Add argument.
1803 * target.c (debug_to_insert_watchpoint): Add argument.
1804 (update_current_target): Update.
1805 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1806 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1807 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1808 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1809 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1810 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1812 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1813 (procfs_insert_hw_watchpoint): Add 'self' argument.
1814 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1816 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1818 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1820 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1821 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1823 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1830 (target_remove_watchpoint): Add argument.
1831 * target.c (debug_to_remove_watchpoint): Add argument.
1832 (update_current_target): Update.
1833 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1834 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1835 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1836 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1837 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1838 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1840 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1841 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1843 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1845 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1847 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1848 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1850 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1853 2014-02-19 Tom Tromey <tromey@redhat.com>
1855 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1857 (target_remove_hw_breakpoint): Add argument.
1858 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1859 (update_current_target): Update.
1860 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1861 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1863 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1864 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1866 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1873 (target_insert_hw_breakpoint): Add argument.
1874 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1875 (update_current_target): Update.
1876 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1877 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1879 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1880 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1881 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1883 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1886 2014-02-19 Tom Tromey <tromey@redhat.com>
1888 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1890 (target_can_use_hardware_watchpoint): Add argument.
1891 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1892 (update_current_target): Update.
1893 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1895 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1897 * remote.c (remote_check_watch_resources): Add 'self' argument.
1898 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1899 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1901 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1902 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1904 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1906 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1908 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1910 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1912 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1914 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1915 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1917 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1920 2014-02-19 Tom Tromey <tromey@redhat.com>
1922 * target.h (struct target_ops) <to_post_attach>: Add argument.
1923 (target_post_attach): Add argument.
1924 * target.c (debug_to_post_attach): Add argument.
1925 (update_current_target): Update.
1926 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1927 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1928 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1929 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1930 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1932 2014-02-19 Tom Tromey <tromey@redhat.com>
1934 * windows-nat.c (windows_close): Add 'self' argument.
1935 * tracepoint.c (tfile_close): Add 'self' argument.
1936 * target.h (struct target_ops) <to_close>: Add argument.
1937 * target.c (target_close): Add argument.
1938 (update_current_target): Update.
1939 * remote.c (remote_close): Add 'self' argument.
1940 * remote-sim.c (gdbsim_close): Add 'self' argument.
1941 * remote-mips.c (mips_close): Add 'self' argument.
1942 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1943 * record-full.c (record_full_close): Add 'self' argument.
1944 * record-btrace.c (record_btrace_close): Add 'self' argument.
1945 * monitor.h (monitor_close): Add 'self' argument.
1946 * monitor.c (monitor_close): Add 'self' argument.
1947 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1948 * linux-nat.c (linux_nat_close): Add argument.
1949 * go32-nat.c (go32_close): Add 'self' argument.
1950 * exec.c (exec_close_1): Add 'self' argument.
1951 * ctf.c (ctf_close): Add 'self' argument.
1952 * corelow.c (core_close): Add 'self' argument.
1953 (core_close_cleanup): Update.
1954 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1955 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1959 * remote.c (remote_load): New function.
1960 (init_remote_ops): Use it.
1962 2014-02-19 Tom Tromey <tromey@redhat.com>
1964 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1966 * common/linux-btrace.h (linux_supports_btrace): Update.
1967 * remote.c (remote_supports_btrace): Add "self" argument.
1968 * target-delegates.c: Rebuild.
1969 * target.c (target_supports_btrace): Remove.
1970 * target.h (struct target_ops) <to_supports_btrace>: Add
1971 target_ops argument.
1972 (target_supports_btrace): New define.
1974 2014-02-19 Tom Tromey <tromey@redhat.com>
1976 * record-full.c (record_full_beneath_to_resume_ops)
1977 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1978 (record_full_beneath_to_wait)
1979 (record_full_beneath_to_store_registers_ops)
1980 (record_full_beneath_to_store_registers)
1981 (record_full_beneath_to_xfer_partial_ops)
1982 (record_full_beneath_to_xfer_partial)
1983 (record_full_beneath_to_insert_breakpoint_ops)
1984 (record_full_beneath_to_insert_breakpoint)
1985 (record_full_beneath_to_remove_breakpoint_ops)
1986 (record_full_beneath_to_remove_breakpoint)
1987 (record_full_beneath_to_stopped_by_watchpoint)
1988 (record_full_beneath_to_stopped_data_address)
1989 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1990 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1991 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1992 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1993 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1994 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1995 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1996 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1997 (record_full_resume, record_full_wait_1)
1998 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1999 (record_full_store_registers, record_full_xfer_partial)
2000 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2001 (record_full_async, record_full_core_xfer_partial): Use target
2003 * target-delegates.c: Rebuild.
2004 * target.c (current_xfer_partial): Remove.
2005 (update_current_target): Do not INHERIT or de_fault
2006 to_insert_breakpoint, to_remove_breakpoint,
2007 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2008 to_is_async_p, to_async. Do not set to_xfer_partial field.
2009 (default_xfer_partial): Simplify.
2010 (current_xfer_partial): Remove.
2011 (target_wait, target_resume): Simplify.
2012 (find_default_can_async_p, find_default_is_async_p): Update.
2013 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2014 to_xfer_partial, to_stopped_by_watchpoint,
2015 to_stopped_data_address.
2016 (target_store_registers): Simplify.
2017 (forward_target_remove_breakpoint)
2018 (forward_target_insert_breakpoint): Remove.
2019 (target_remove_breakpoint, target_insert_breakpoint)
2020 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2021 * target.h (struct target_ops) <to_resume, to_wait,
2022 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2023 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2024 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2026 (forward_target_remove_breakpoint)
2027 (forward_target_insert_breakpoint): Remove.
2028 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2030 (record_btrace_insert_breakpoint): Delegate directly.
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2035 * target-delegates.c: New file.
2036 * target.c: Include target-delegates.c.
2037 (init_dummy_target): Call install_dummy_methods.
2038 (complete_target_initialization): Call install_delegators.
2039 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2040 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2041 * make-target-delegates: New file.
2043 2014-02-19 Tom Tromey <tromey@redhat.com>
2045 * record.c (find_record_target): Use find_target_at.
2046 * target.c (find_target_at): New function.
2047 * target.h (find_target_at): Declare.
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2051 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2053 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2055 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2056 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2058 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2060 * linux-nat.c (save_sigtrap): Update.
2061 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2062 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2063 (linux_nat_close): Update.
2064 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2066 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2068 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2069 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2070 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2071 (tmp_to_async): Add 'ops' argument.
2072 (record_full_stopped_by_watchpoint, record_full_async)
2073 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2075 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2076 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2077 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2078 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2079 (remote_is_async_p, remote_async): Add 'ops' argument.
2080 (remote_stopped_data_address): Update.
2081 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2082 * target.c (update_current_target)
2083 (find_default_can_async_p, find_default_is_async_p): Update.
2084 (init_dummy_target): Update.
2085 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2086 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2087 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2088 (target_can_async_p, target_is_async_p, target_async)
2089 (target_stopped_by_watchpoint): Update.
2091 2014-02-19 Yao Qi <yao@codesourcery.com>
2094 * gdbarch.sh: Remove startup_gdbarch.
2095 * gdbarch.c: Regenerated.
2096 * gdbarch.h: Likewise.
2098 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2100 * rl78-tdep.c (rl78_g10_register_name): New function.
2101 (rl78_return_value): Add g10 support.
2102 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2105 2014-02-17 Doug Evans <xdje42@gmail.com>
2107 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2108 (SUBDIR_GUILE_SRCS): Ditto.
2109 (scm-gsmob.o): Ditto.
2111 2014-02-17 Yao Qi <yao@codesourcery.com>
2113 * gnu-nat.c (ILL_RPC): Declare defined function.
2115 2014-02-17 Yao Qi <yao@codesourcery.com>
2117 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2118 mach_msg_type_number_t.
2119 (gnu_write_inferior): Likewise.
2121 2014-02-17 Yao Qi <yao@codesourcery.com>
2123 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2125 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2126 (inf_validate_procs, inf_signal): Likewise.
2127 (S_exception_raise_request): Likewise.
2128 (do_mach_notify_dead_name): Likewise.
2129 (steal_exc_port): Likewise.
2130 (gnu_read_inferior): Change 'copy_count''s type to
2131 mach_msg_type_number_t.
2132 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2135 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2137 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2138 flag. Adjust all users; in particular...
2139 (gnu_wait): ..., don't decrement its value in here...
2140 (gnu_create_inferior): ..., and instead set the flag in here,
2141 around the startup_inferior call, and call that one with
2142 START_INFERIOR_TRAPS_EXPECTED.
2144 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2145 (ILL_RPC): ... new macro.
2146 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2147 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2148 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2149 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2150 functions with ILL_RPC macro.
2151 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2152 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2153 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2154 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2155 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2156 (S_proc_getlogin_reply, S_proc_getsid_reply)
2157 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2158 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2159 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2160 (S_proc_getnports_reply, S_proc_is_important_reply)
2161 (S_proc_get_code_reply): New stub functions, generated with
2164 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2165 collected the type check structures.
2167 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2169 2014-02-14 Doug Evans <dje@google.com>
2171 * target.c (target_write_partial): Fix result type.
2173 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2175 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2176 the proper offsets to access fpregset_t.
2178 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2180 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2181 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2182 * h8300-tdep.c (setmachinelist): Remove global.
2183 * hppa-tdep.c (hppa_sigtramp): Remove global.
2184 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2185 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2186 * ravenscar-thread.c (update_target_observer): Remove global.
2187 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2189 2014-02-12 Tom Tromey <tromey@redhat.com>
2191 * common/rsp-low.c: Update comments.
2192 * common/rsp-low.h: Update comments.
2194 2014-02-12 Tom Tromey <tromey@redhat.com>
2196 * common/rsp-low.c (convert_ascii_to_int): Remove.
2197 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2199 2014-02-12 Tom Tromey <tromey@redhat.com>
2201 * common/rsp-low.h (unhexify): Don't declare.
2202 * common/rsp-low.c (unhexify): Remove.
2204 2014-02-12 Tom Tromey <tromey@redhat.com>
2206 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2207 * common/rsp-low.c (convert_int_to_ascii): Remove.
2209 2014-02-12 Tom Tromey <tromey@redhat.com>
2211 * common/rsp-low.h (hexify): Don't declare.
2212 * common/rsp-low.c (hexify): Remove.
2214 2014-02-12 Tom Tromey <tromey@redhat.com>
2216 * common/rsp-low.c (hexify): Never take strlen of argument.
2218 2014-02-12 Tom Tromey <tromey@redhat.com>
2220 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2221 * remote.c (extended_remote_run, remote_rcmd)
2222 (remote_download_trace_state_variable, remote_save_trace_data)
2223 (remote_set_trace_notes): Update.
2224 * tracepoint.c (encode_source_string, tfile_write_status)
2225 (tfile_write_uploaded_tsv): Update.
2227 2014-02-12 Tom Tromey <tromey@redhat.com>
2229 * tracepoint.c: Include rsp-low.h.
2230 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2231 * remote.c: Include rsp-low.h.
2232 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2233 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2234 (remote_unescape_input): Move to common/rsp-low.c.
2235 * common/rsp-low.h: New file.
2236 * common/rsp-low.c: New file.
2237 * Makefile.in (SFILES): Add common/rsp-low.c.
2238 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2239 (COMMON_OBS): Add rsp-low.o.
2240 (rsp-low.o): New target.
2242 2014-02-12 Tom Tromey <tromey@redhat.com>
2244 * utils.h: Include print-utils.h.
2245 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2246 (int_string, core_addr_to_string, core_addr_to_string_nz)
2247 (hex_string, hex_string_custom): Don't declare.
2248 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2249 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2250 (hex_string_custom, int_string, core_addr_to_string)
2251 (core_addr_to_string_nz, host_address_to_string): Move to
2252 common/print-utils.c.
2253 * common/print-utils.h: New file.
2254 * common/print-utils.c: New file
2255 * Makefile.in (SFILES): Add common/print-utils.c.
2256 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2257 (COMMON_OBS): Add print-utils.o.
2258 (print-utils.o): New target.
2260 2014-02-12 Tom Tromey <tromey@redhat.com>
2262 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2264 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2266 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2268 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2270 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2271 if a PT_IO ptrace request returns sucessfully but indicates that 0
2272 bytes were transferred.
2274 2014-02-12 Pedro Alves <palves@redhat.com>
2275 Kevin Buettner <kevinb@redhat.com>
2277 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2278 TYPE_INSTANCE_FLAG_CODE_SPACE.
2280 2014-02-12 Pedro Alves <palves@redhat.com>
2282 * h8300-tdep.c (pseudo_from_raw_register)
2283 (raw_from_pseudo_register): New functions.
2284 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2287 2014-02-12 Pedro Alves <palves@redhat.com>
2289 * h8300-tdep.c (h8300_register_sim_regno): New function.
2290 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2291 gdbarch_register_sim_regno hook.
2293 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2295 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2297 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2299 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2301 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2303 * obsd-tdep.h (obsd_init_abi): New prototype.
2304 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2305 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2306 (obsd_init_abi): New functions.
2307 * i386obsd-tdep.c: Include "obsd-tdep.h".
2308 (i386obsd_init_abi): Call obsd_init_abi.
2309 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2310 (amd64obsd_init_abi): Call obsd_init_abi.
2311 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2312 obsd-tdep.c to gdb_target_obs.
2314 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2316 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2317 double float arguments to 16-byte in the argument slots.
2319 2014-02-11 Doug Evans <xdje42@gmail.com>
2321 * configure.ac: Don't crash if pkg-config is not found and guile
2322 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2324 * configure: Regenerate.
2326 2014-02-11 Yao Qi <yao@codesourcery.com>
2328 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2329 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2330 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2331 * gnu-nat.c (gnu_xfer_memory): Likewise.
2332 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2333 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2334 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2335 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2337 2014-02-11 Yao Qi <yao@codesourcery.com>
2339 * target.h (enum target_xfer_error): Rename to ...
2340 (enum target_xfer_status): ... it. New. All users updated.
2341 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2343 (TARGET_XFER_STATUS_ERROR_P): New macro.
2344 (target_xfer_error_to_string): Remove declaration.
2345 (target_xfer_status_to_string): Declare.
2346 (target_xfer_partial_ftype): Adjust it.
2347 (struct target_ops) <to_xfer_partial>: Return
2348 target_xfer_status. Add argument xfered_len. Update
2350 * target.c (target_xfer_error_to_string): Rename to ...
2351 (target_xfer_status_to_string): ... it. New. All callers
2353 (target_read_live_memory): Likewise. Call target_xfer_partial
2354 instead of target_read.
2355 (memory_xfer_live_readonly_partial): Return
2356 target_xfer_status. Add argument xfered_len.
2357 (raw_memory_xfer_partial): Likewise.
2358 (memory_xfer_partial_1): Likewise.
2359 (memory_xfer_partial): Likewise.
2360 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2361 properly. Update debug message.
2362 (default_xfer_partial, current_xfer_partial): Likewise.
2363 (target_write_partial): Likewise.
2364 (target_read_partial): Likewise. All callers updated.
2365 (read_whatever_is_readable): Likewise.
2366 (target_write_with_progress): Likewise.
2367 (target_read_alloc_1): Likewise.
2369 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2370 * auxv.c (procfs_xfer_auxv): Likewise.
2371 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2372 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2373 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2374 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2375 * corefile.c (read_memory): Adjust.
2376 * corelow.c (core_xfer_partial): Likewise.
2377 * ctf.c (ctf_xfer_partial): Likewise.
2378 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2380 (darwin_xfer_partial): Likewise.
2381 * exec.c (section_table_xfer_memory_partial): Likewise. All
2383 (exec_xfer_partial): Likewise.
2384 * exec.h (section_table_xfer_memory_partial): Update
2386 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2388 (gnu_xfer_partial): Likewise.
2389 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2390 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2391 (ia64_hpux_xfer_solib_got): Likewise.
2392 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2393 type of 'partial_len' to ULONGEST.
2394 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2395 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2396 (linux_nat_xfer_partial): Likewise.
2397 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2398 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2399 * monitor.c (monitor_xfer_memory): Likewise.
2400 (monitor_xfer_partial): Likewise.
2401 * procfs.c (procfs_xfer_partial): Likewise.
2402 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2403 * record-full.c (record_full_xfer_partial): Likewise.
2404 (record_full_core_xfer_partial): Likewise.
2405 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2406 (gdbsim_xfer_partial): Likewise.
2407 * remote.c (remote_write_bytes_aux): Likewise. All callers
2409 (remote_write_bytes, remote_read_bytes): Likewise. All
2411 (remote_flash_erase): Likewise. All callers updated.
2412 (remote_write_qxfer): Likewise. All callers updated.
2413 (remote_read_qxfer): Likewise. All callers updated.
2414 (remote_xfer_partial): Likewise.
2415 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2416 (rs6000_xfer_shared_libraries): Likewise.
2417 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2418 (sol_thread_xfer_partial): Likewise.
2419 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2420 (sparc_xfer_partial): Likewise.
2421 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2423 (spu_xfer_partial): Likewise.
2424 * spu-multiarch.c (spu_xfer_partial): Likewise.
2425 * tracepoint.c (tfile_xfer_partial): Likewise.
2426 * windows-nat.c (windows_xfer_memory): Likewise.
2427 (windows_xfer_shared_libraries): Likewise.
2428 (windows_xfer_partial): Likewise.
2429 * valprint.c: Replace 'target_xfer_error' with
2430 'target_xfer_status' in comments.
2432 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2434 Checked in by Joel Brobecker <brobecker@adacore.com>.
2435 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2437 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2439 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2440 function parameters.
2442 2014-02-10 Will Newton <will.newton@linaro.org>
2444 * elfread.c (elf_rel_plt_read): Look for a .got section if
2445 looking up .got.plt fails.
2446 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2447 on address passed to elf_gnu_ifunc_record_cache.
2448 (elf_gnu_ifunc_resolve_addr): Likewise.
2449 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2451 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2453 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2454 (X_RETTURN): New macro.
2455 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2457 * sparc64-tdep.c (sparc64_init_abi): Hook
2458 sparc_in_function_epilogue_p.
2460 2014-02-10 Gary Benson <gbenson@redhat.com>
2462 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2463 Rename name_matcher to symbol_matcher.
2465 2014-02-10 Gary Benson <gbenson@redhat.com>
2467 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2468 Use expand_symtabs_file_matcher_ftype and
2469 expand_symtabs_symbol_matcher_ftype.
2471 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2473 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2474 (struct ada_symbol_cache): New.
2475 (ada_free_symbol_cache): Forward declare.
2476 (struct ada_pspace_data): New.
2477 (ada_pspace_data_handle): New static global.
2478 (get_ada_pspace_data, ada_pspace_data_cleanup)
2479 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2480 (cache_space, cache): Delete, now folded inside struct
2482 (ada_get_symbol_cache): New function.
2483 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2485 (_initialize_ada_language): Remove initialization of cache_space.
2486 Move call to observer_attach_inferior_exit up, grouping it
2487 with the other observer registrations inside this function.
2488 Rename command to be more general. Add call to
2489 register_program_space_data_with_cleanup.
2491 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2493 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2494 ada_new_objfile_observer.
2495 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2496 (_initialize_tasks): Update uses of ada_new_objfile_observer
2497 and ada_tasks_normal_stop_observer.
2499 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2501 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2502 returned by the 'Length attribute to integer.
2504 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2506 * ada-lang.c (_initialize_ada_language): Initialize
2507 cache_space obstack.
2509 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2511 * ada-lang.c (HASH_SIZE): New macro.
2512 (struct cache_entry): New type.
2513 (cache_space, cache): New static globals.
2514 (ada_clear_symbol_cache, find_entry): New functions.
2515 (lookup_cached_symbol, cache_symbol): Implement.
2516 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2517 (_initialize_ada_language): Attach ada_new_objfile_observer
2518 and ada_free_objfile_observer.
2520 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2522 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2523 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2524 struct block * parameter.
2525 (ada_lookup_symbol_list_worker): Constify local variable "block".
2526 Remove cast which is no longer necessary.
2528 2014-02-10 Doug Evans <xdje42@gmail.com>
2530 Add Guile as an extension language.
2531 * NEWS: Mention Guile scripting.
2532 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2533 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2534 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2535 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2536 (CLIBS): Add GUILE_LIBS.
2537 (install-guile): New rule.
2538 (guile.o): New rule.
2539 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2540 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2541 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2542 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2543 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2544 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2545 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2546 * configure.ac: New option --with-guile.
2547 * configure: Regenerate.
2548 * config.in: Regenerate.
2549 * auto-load.c: Remove #include "python/python.h". Add #include
2550 "gdb/section-scripts.h".
2551 (source_section_scripts): Handle Guile scripts.
2552 (_initialize_auto_load): Add name of Guile objfile script to
2553 scripts-directory help text.
2554 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2555 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2556 (struct breakpoint): New member scm_bp_object.
2557 * defs.h (enum command_control_type): New value guile_control.
2558 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2560 (show_user): Update comment.
2561 (_initialize_cli_cmds): Update help text for "show user". Update help
2562 text for max-user-call-depth.
2563 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2565 (multi_line_command_p): Add guile_control.
2566 (print_command_lines): Handle guile_control.
2567 (execute_control_command, recurse_read_control_structure): Ditto.
2568 (process_next_line): Recognize "guile" commands.
2569 * disasm.c (gdb_disassemble_info): Make non-static.
2570 * disasm.h: #include "dis-asm.h".
2571 (struct gdbarch): Add forward decl.
2572 (gdb_disassemble_info): Declare.
2573 * extension.c: #include "guile/guile.h".
2574 (extension_languages): Add guile.
2575 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2576 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2577 * gdbtypes.c (get_unsigned_type_max): New function.
2578 (get_signed_type_minmax): New function.
2579 * gdbtypes.h (get_unsigned_type_max): Declare.
2580 (get_signed_type_minmax): Declare.
2581 * guile/README: New file.
2582 * guile/guile-internal.h: New file.
2583 * guile/guile.c: New file.
2584 * guile/guile.h: New file.
2585 * guile/scm-arch.c: New file.
2586 * guile/scm-auto-load.c: New file.
2587 * guile/scm-block.c: New file.
2588 * guile/scm-breakpoint.c: New file.
2589 * guile/scm-disasm.c: New file.
2590 * guile/scm-exception.c: New file.
2591 * guile/scm-frame.c: New file.
2592 * guile/scm-gsmob.c: New file.
2593 * guile/scm-iterator.c: New file.
2594 * guile/scm-lazy-string.c: New file.
2595 * guile/scm-math.c: New file.
2596 * guile/scm-objfile.c: New file.
2597 * guile/scm-ports.c: New file.
2598 * guile/scm-pretty-print.c: New file.
2599 * guile/scm-safe-call.c: New file.
2600 * guile/scm-string.c: New file.
2601 * guile/scm-symbol.c: New file.
2602 * guile/scm-symtab.c: New file.
2603 * guile/scm-type.c: New file.
2604 * guile/scm-utils.c: New file.
2605 * guile/scm-value.c: New file.
2606 * guile/lib/gdb.scm: New file.
2607 * guile/lib/gdb/boot.scm: New file.
2608 * guile/lib/gdb/experimental.scm: New file.
2609 * guile/lib/gdb/init.scm: New file.
2610 * guile/lib/gdb/iterator.scm: New file.
2611 * guile/lib/gdb/printing.scm: New file.
2612 * guile/lib/gdb/types.scm: New file.
2613 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2614 (VPATH): Add $(GUILE_SRCDIR).
2615 (GUILE_DIR): New variable.
2616 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2617 (all): Add stamp-guile dependency.
2618 (stamp-guile): New rule.
2619 (clean-guile, install-guile, uninstall-guile): New rules.
2620 (install-only): Add install-guile dependency.
2621 (uninstall): Add uninstall-guile dependency.
2622 (clean): Add clean-guile dependency.
2624 2014-02-09 Doug Evans <xdje42@gmail.com>
2626 Revert this patch (which I approved, mea culpa).
2628 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2630 * Makefile.in (all-lib): Remove.
2631 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2633 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2635 Fix Python stack corruption.
2636 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2639 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2641 * Makefile.in (all-lib): Remove.
2642 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2644 2014-02-07 Doug Evans <dje@google.com>
2646 * extension-priv.h (extension_language_script_ops): Add comment.
2647 (extension_language_ops): Add comment.
2648 (active_ext_lang_state): Fix typo in comment.
2650 2014-02-07 Pedro Alves <palves@redhat.com>
2652 * infrun.c (handle_signal_stop) <signal arrives while stepping
2653 over a breakpoint>: Switch back to the stepping thread.
2655 2014-02-07 Yao Qi <yao@codesourcery.com>
2657 * target.c (target_xfer_partial): Return zero if LEN is zero.
2659 2014-02-07 Yao Qi <yao@codesourcery.com>
2661 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2662 (ld_so_xfer_auxv): Likewise.
2663 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2664 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2665 * corelow.c (core_xfer_partial): Likewise.
2666 * ctf.c (ctf_xfer_partial): Likewise.
2667 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2668 (darwin_xfer_partial): Likewise.
2669 * exec.c (exec_xfer_partial): Likewise.
2670 * gnu-nat.c (gnu_xfer_partial): Likewise.
2671 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2672 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2673 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2674 * linux-nat.c (linux_xfer_siginfo): Likewise.
2675 (linux_proc_xfer_spu): Likewise.
2676 * procfs.c (procfs_xfer_partial): Likewise.
2677 * record-full.c (record_full_xfer_partial): Likewise.
2678 (record_full_core_xfer_partial): Likewise.
2679 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2680 * remote.c (remote_write_qxfer): Likewise.
2681 (remote_write_qxfer, remote_read_qxfer): Likewise.
2682 (remote_xfer_partial): Likewise.
2683 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2684 (rs6000_xfer_shared_libraries): Likewise.
2685 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2686 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2687 (spu_xfer_partial): Likewise.
2688 * target.c (memory_xfer_partial_1): Likewise.
2689 * tracepoint.c (tfile_xfer_partial): Likewise.
2690 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2691 (windows_xfer_partial): Likewise.
2693 2014-02-07 Yao Qi <yao@codesourcery.com>
2695 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2697 (core_xfer_shared_libraries_aix): Likewise.
2698 * gdbarch.c, gdbarch.h: Regenerated.
2699 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2700 ULONGEST. Change 'len_avail' type to ULONGEST.
2701 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2702 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2704 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2706 2014-02-07 Yao Qi <yao@codesourcery.com>
2708 * corefile.c (memory_error): Get 'exception' from ERR and pass
2709 'exception' to throw_error.
2711 2014-02-06 Doug Evans <xdje42@gmail.com>
2713 * configure.ac (libpython checking): Remove all but python.o from
2714 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2715 * configure: Regenerate.
2717 * Makefile.in (SFILES): Add extension.c.
2718 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2719 (COMMON_OBS): Add extension.o.
2720 * extension.h: New file.
2721 * extension-priv.h: New file.
2722 * extension.c: New file.
2724 * python/python-internal.h: #include "extension.h".
2725 (gdbpy_auto_load_enabled): Declare.
2726 (gdbpy_apply_val_pretty_printer): Declare.
2727 (gdbpy_apply_frame_filter): Declare.
2728 (gdbpy_preserve_values): Declare.
2729 (gdbpy_breakpoint_cond_says_stop): Declare.
2730 (gdbpy_breakpoint_has_cond): Declare.
2731 (void source_python_script_for_objfile): Delete.
2732 * python/python.c: #include "extension-priv.h".
2733 Delete inclusion of "observer.h".
2734 (extension_language_python): Moved here and renamed from
2735 script_language_python in py-auto-load.c.
2736 Redefined to be of type extension_language_defn.
2737 (python_extension_script_ops): New global.
2738 (python_extension_ops): New global.
2739 (struct python_env): New member previous_active.
2740 (restore_python_env): Call restore_active_ext_lang.
2741 (ensure_python_env): Call set_active_ext_lang.
2742 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2744 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2746 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2748 (gdbpy_eval_from_control_command): Renamed from
2749 eval_python_from_control_command, made static. New arg extlang.
2750 (gdbpy_source_script) Renamed from source_python_script, made static.
2752 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2753 result to int. New arg extlang.
2754 (gdbpy_source_objfile_script): Renamed from
2755 source_python_script_for_objfile, made static. New arg extlang.
2756 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2757 static. New args extlang, extlang_printers. Change result type to
2759 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2760 static. New arg extlang. Rename arg printers to extlang_printers
2761 and change type to ext_lang_type_printers *.
2762 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2763 static. Replace argument arg with extlang, extlang_printers.
2764 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2765 (!HAVE_PYTHON, source_python_script): Delete.
2766 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2767 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2768 (!HAVE_PYTHON, start_type_printers): Delete.
2769 (!HAVE_PYTHON, apply_type_printers): Delete.
2770 (!HAVE_PYTHON, free_type_printers): Delete.
2771 (_initialize_python): Delete call to observer_attach_before_prompt.
2772 (finalize_python): Set/restore active extension language.
2773 (gdbpy_finish_initialization) Renamed from
2774 finish_python_initialization, made static. New arg extlang.
2775 (gdbpy_initialized): New function.
2776 * python/python.h: #include "extension.h". Delete #include
2777 "value.h", "mi/mi-cmds.h".
2778 (extension_language_python): Declare.
2779 (GDBPY_AUTO_FILE_NAME): Delete.
2780 (enum py_bt_status): Moved to extension.h and renamed to
2782 (enum frame_filter_flags): Moved to extension.h.
2783 (enum py_frame_args): Moved to extension.h and renamed to
2784 ext_lang_frame_args.
2785 (finish_python_initialization): Delete.
2786 (eval_python_from_control_command): Delete.
2787 (source_python_script): Delete.
2788 (apply_val_pretty_printer): Delete.
2789 (apply_frame_filter): Delete.
2790 (preserve_python_values): Delete.
2791 (gdbpy_script_language_defn): Delete.
2792 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2793 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2795 * auto-load.c: #include "extension.h".
2796 (GDB_AUTO_FILE_NAME): Delete.
2797 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2798 (script_language_gdb): Delete, moved to extension.c and renamed to
2799 extension_language_gdb.
2800 (source_gdb_script_for_objfile): Delete.
2801 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2802 (loaded_script): Change type of language member to
2803 struct extension_language_defn *.
2804 (init_loaded_scripts_info): Initialize
2805 unsupported_script_warning_printed.
2806 (maybe_add_script): Make static. Change type of language arg to
2807 struct extension_language_defn *.
2808 (clear_section_scripts): Reset unsupported_script_warning_printed.
2809 (auto_load_objfile_script_1): Rewrite to use extension language API.
2810 (auto_load_objfile_script): Make public. Remove support-compiled-in
2811 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2812 (source_section_scripts): Rewrite to use extension language API.
2813 (load_auto_scripts_for_objfile): Rewrite to use
2814 auto_load_scripts_for_objfile.
2815 (collect_matching_scripts_data): Change type of language member to
2816 struct extension_language_defn *.
2817 (auto_load_info_scripts): Change type of language arg to
2818 struct extension_language_defn *.
2819 (unsupported_script_warning_print): New function.
2820 (script_not_found_warning_print): Make static.
2821 (_initialize_auto_load): Rewrite construction of scripts-directory
2823 * auto-load.h (struct objfile): Add forward decl.
2824 (struct script_language): Delete.
2825 (struct auto_load_pspace_info): Add forward decl.
2826 (struct extension_language_defn): Add forward decl.
2827 (maybe_add_script): Delete.
2828 (auto_load_objfile_script): Declare.
2829 (script_not_found_warning_print): Delete.
2830 (auto_load_info_scripts): Update prototype.
2831 (auto_load_gdb_scripts_enabled): Declare.
2832 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2833 auto_load_python_scripts_enabled and made public.
2834 (script_language_python): Delete, moved to python.c.
2835 (gdbpy_script_language_defn): Delete.
2836 (info_auto_load_python_scripts): Update to use
2837 extension_language_python.
2839 * breakpoint.c (condition_command): Replace call to
2840 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2841 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2842 with call to breakpoint_ext_lang_cond_says_stop.
2843 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2844 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2845 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2846 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2848 (local_setattro): Print name of extension language with existing
2851 * valprint.c (val_print, value_print): Update to call
2852 apply_ext_lang_val_pretty_printer.
2853 * cp-valprint.c (cp_print_value): Update call to
2854 apply_ext_lang_val_pretty_printer.
2855 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2856 (gdbpy_apply_val_pretty_printer): Renamed from
2857 apply_val_pretty_printer. New arg extlang.
2858 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2860 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2861 extension language API.
2862 * cli/cli-script.c (execute_control_command): Update to call
2863 eval_ext_lang_from_control_command.
2865 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2866 enum ext_lang_bt_status values. Update call to
2867 apply_ext_lang_frame_filter.
2868 (mi_cmd_stack_list_locals): Ditto.
2869 (mi_cmd_stack_list_args): Ditto.
2870 (mi_cmd_stack_list_variables): Ditto.
2871 * mi/mi-main.c: Delete #include "python/python-internal.h".
2872 Add #include "extension.h".
2873 (mi_cmd_list_features): Replace reference to python internal variable
2874 gdb_python_initialized with call to ext_lang_initialized_p.
2876 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2877 Update to use enum ext_lang_frame_args. Update to call
2878 apply_ext_lang_frame_filter.
2879 * python/py-framefilter.c (extract_sym): Update to use enum
2881 (extract_value, py_print_type, py_print_value): Ditto.
2882 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2883 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2884 (py_print_frame): Ditto.
2885 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2886 New arg extlang. Update to use enum ext_lang_bt_status.
2888 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2889 finish_python_initialization. Replace with call to
2890 finish_ext_lang_initialization.
2892 * typeprint.c (do_free_global_table): Update to call
2893 free_ext_lang_type_printers.
2894 (create_global_typedef_table): Update to call
2895 start_ext_lang_type_printers.
2896 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2897 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2898 (type_print_options): Change type of global_printers from "void *"
2899 to "struct ext_lang_type_printers *".
2901 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2902 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2903 (gdbpy_preserve_values): Renamed from preserve_python_values.
2905 (!HAVE_PYTHON, preserve_python_values): Delete.
2907 * utils.c (quit_flag): Delete, moved to extension.c.
2908 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2911 * eval.c: Delete #include "python/python.h".
2912 * main.c: Delete #include "python/python.h".
2914 * defs.h: Update comment.
2916 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2920 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2922 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2925 2014-02-05 Yao Qi <yao@codesourcery.com>
2927 * remote.c (remote_pass_signals): Remove local 'buf' and use
2929 (remote_program_signals): Likewise.
2931 2014-02-05 Yao Qi <yao@codesourcery.com>
2933 * ctf.c: Include "inferior.h" and "gdbthread.h".
2934 (CTF_PID): A new macro.
2935 (ctf_open): Call inferior_appeared and add_thread_silent.
2936 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2937 (ctf_thread_alive): New function.
2938 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2940 2014-02-05 Yao Qi <yao@codesourcery.com>
2944 2013-05-24 Yao Qi <yao@codesourcery.com>
2946 * tracepoint.c (TFILE_PID): Remove.
2947 (tfile_open): Don't add thread and inferior.
2948 (tfile_close): Don't set 'inferior_ptid'. Don't call
2949 exit_inferior_silent.
2950 (tfile_thread_alive): Remove.
2951 (init_tfile_ops): Don't set field 'to_thread_alive' of
2954 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2956 * remote.c (remote_start_remote): Call remote_check_symbols even
2957 if only symbol-file (not file) has been given.
2959 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2961 * gdbarch.sh (skip_entrypoint): New callback.
2962 * gdbarch.c, gdbarch.h: Regenerate.
2963 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2964 * infrun.c (fill_in_stop_func): Likewise.
2965 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2966 (ppc_elfv2_elf_make_msymbol_special): New function.
2967 (ppc_elfv2_skip_entrypoint): Likewise.
2968 (ppc_linux_init_abi): Install them for ELFv2.
2970 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2972 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2973 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2974 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2975 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2976 structures returned in GPRs.
2978 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2980 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2981 offset to the stack parameter list for the ELFv2 ABI.
2983 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2985 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2986 set_gdbarch_convert_from_func_ptr_addr and
2987 set_gdbarch_elf_make_msymbol_special for ELFv1.
2988 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2989 function descriptors on ELFv1.
2990 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2991 set up r12 at function entry.
2993 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2995 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2996 (struct gdbarch_tdep): New member elf_abi.
2998 * rs6000-tdep.c: Include "elf/ppc64.h".
2999 (rs6000_gdbarch_init): Detect ELF ABI version.
3001 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3003 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3004 within a register pair holding a DFP 128-bit value on little-endian.
3005 (ppc64_sysv_abi_return_value_base): Likewise.
3006 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3007 (dfp_pseudo_register_write): Likewise.
3009 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3011 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3012 offset on little-endian when passing _Decimal32.
3013 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3015 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3017 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3018 of the overlapped FP register within the VSX register on little-
3020 (efpr_pseudo_register_write): Likewise.
3022 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3024 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3025 offset on little-endian when passing small structures.
3027 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3029 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3030 (struct ppc64_sysv_argpos): New data structure.
3031 (ppc64_sysv_abi_push_float): Remove.
3032 (ppc64_sysv_abi_push_val): New function.
3033 (ppc64_sysv_abi_push_integer): Likewise.
3034 (ppc64_sysv_abi_push_freg): Likewise.
3035 (ppc64_sysv_abi_push_vreg): Likewise.
3036 (ppc64_sysv_abi_push_param): Likewise.
3037 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3038 (ppc64_sysv_abi_return_value_base): New function.
3039 (ppc64_sysv_abi_return_value): Refactor to use it.
3041 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3043 * NEWS: Document new target powerpc64le-*-linux*.
3045 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3047 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3048 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3050 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3051 register set used in ELF core dumps. Add floating-point register set.
3053 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3055 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3056 dwarf2_to_gdb[] table using symbolic constants. Adjust
3057 penultimate entry from number representing the PC register
3058 to symbolic constant representing the MDR register. Add
3059 constant for the PC register to the end of the table.
3061 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3063 * bsd-kvm.c: Include <sys/param.h>
3065 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3067 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3069 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3071 * ada-lang.h (clear_ada_sym_cache): Delete.
3073 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3075 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3077 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3079 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3080 the sigreturn register save area only if the syscall is
3083 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3085 * valops.c (value_slice): Minor reformatting.
3087 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3089 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3091 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3093 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3095 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3096 (ada_ignore_descriptive_types_p): New static global.
3097 (find_parallel_type_by_descriptive_type): Return immediately
3098 if ada_ignore_descriptive_types_p is set.
3099 (_initialize_ada_language): Register new commands "maintenance
3100 set ada", "maintenance show ada", "maintenance set ada
3101 ignore-descriptive-types" and "maintenance show ada
3102 ignore-descriptive-types".
3103 * NEWS: Add entry for new "maint ada set/show
3104 ignore-descriptive-types" commands.
3106 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3108 * record-btrace.c (record_btrace_close): Call btrace_teardown
3111 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3113 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3116 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3118 * ada-typeprint (type_is_full_subrange_of_target_type):
3120 (print_range): Add parameter bounds_prefered_p. If not set,
3121 try printing range types using the name of their base type.
3122 (print_range_type): Add parameter bounds_prefered_p.
3123 Use it in call to print_range.
3124 (print_array_type, ada_print_type): Update calls to print_range
3125 and print_range_type.
3127 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3129 * ada-typeprint.c (print_array_type, print_choices, print_range)
3130 (print_range_bound, print_dynamic_range_bound, print_range_type):
3133 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3135 * ada-typeprint.c (print_range): Add missing empty line
3136 after local declaration.
3138 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3140 * ada-valprint.c (print_optional_low_bound): Get index_type's
3141 target type for as long as it is a TYPE_CODE_RANGE.
3143 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3145 * procfs.c (procfs_make_note_section): Remove assertion and
3148 2014-01-24 Yao Qi <yao@codesourcery.com>
3150 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3151 * corelow.c (get_core_siginfo): Likewise.
3153 2014-01-24 Yao Qi <yao@codesourcery.com>
3155 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3156 ULONGEST. Don't check 'len' is negative.
3157 (remote_write_bytes): Change type of 'len' to ULONGEST.
3159 2014-01-23 Tom Tromey <tromey@redhat.com>
3162 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3163 Handle exception from frame.block.
3164 (FrameVars.fetch_frame_locals): Likewise.
3166 2014-01-23 Tom Tromey <tromey@redhat.com>
3169 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3170 on a NULL pointer. Move "goto error" to correct place.
3172 2014-01-23 Tom Tromey <tromey@redhat.com>
3175 * python/py-framefilter.c (apply_frame_filter): Call
3176 ensure_python_env after computing gdbarch.
3178 2014-01-23 Yao Qi <yao@codesourcery.com>
3180 * target.c (raw_memory_xfer_partial): Change argument type
3181 from void * to gdb_byte *.
3182 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3184 2014-01-22 Doug Evans <dje@google.com>
3186 New gdbserver option --debug-format=timestamp.
3189 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3191 * syscalls/s390x-linux.xml: New file.
3192 * syscalls/s390-linux.xml: New file.
3193 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3194 (XML_SYSCALL_FILENAME_S390X): Likewise.
3195 (op_svc): New enum value for SVC opcode.
3196 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3197 (s390_linux_get_syscall_number): New function.
3198 (s390_gdbarch_init): Register '*get_syscall_number' and the
3199 syscall xml file name.
3200 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3201 "s390-linux.xml" and "s390x-linux.xml".
3202 * NEWS: Announce new feature.
3204 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3206 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3208 2014-01-22 Pedro Alves <palves@redhat.com>
3210 * xtensa-config.c: Include defs.h.
3212 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3214 * common/common-utils.h: Add "ARI:" comment beside __func__
3217 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3219 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3220 documentation a bit.
3222 2014-01-21 Roland McGrath <mcgrathr@google.com>
3224 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3225 * configure: Regenerate.
3226 * aclocal.m4: Regenerate.
3227 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3228 New substituted variables.
3229 (install-strip): New target.
3230 (INSTALL_SCRIPT): New substituted variable.
3231 (FLAGS_TO_PASS): Add it.
3232 (install-only): Use $(INSTALL_SCRIPT) rather than
3233 $(INSTALL_PROGRAM) for gcore.
3235 2014-01-20 Tom Tromey <tromey@redhat.com>
3237 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3240 2014-01-20 Tom Tromey <tromey@redhat.com>
3242 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3243 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3244 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3245 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3246 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3247 (struct cmd_list_element) <flags>: Remove.
3248 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3249 doc_allocated>: New fields.
3250 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3252 * maint.c (maintenance_do_deprecate): Update.
3253 * top.c (execute_command): Update.
3255 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3257 * xtensa-linux-nat.c: Include asm/ptrace.h.
3259 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3261 * Makefile.in (SFILES): Add d-support.c.
3262 (COMMON_OBS): Add d-support.o.
3263 * d-lang.h (d_parse_symbol): Add comment, now defined in
3265 * d-lang.c (parse_call_convention)
3266 (parse_attributes, parse_function_types)
3267 (parse_function_args, parse_type, parse_identifier)
3268 (call_convention_p, d_parse_symbol): Move functions to ...
3269 * d-support.c: ... New file.
3271 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3273 * d-lang.h (d_parse_symbol): Add declaration.
3274 * d-lang.c (extract_identifiers)
3275 (extract_type_info): Remove functions.
3276 (parse_call_convention, parse_attributes)
3277 (parse_function_types, parse_function_args)
3278 (parse_type, parse_identifier, call_convention_p)
3279 (d_parse_symbol): New functions.
3280 (d_demangle): Use d_parse_symbol to demangle D symbols.
3282 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3284 * d-lang.h (struct builtin_d_type): New data type.
3285 (builtin_d_type): Add declaration.
3286 * d-lang.c (d_language_arch_info, build_d_types)
3287 (builtin_d_type): New functions.
3288 (enum d_primitive_types): New data type.
3289 (d_language_defn): Change c_language_arch_info to
3290 d_language_arch_info.
3291 (d_type_data): New static variable.
3292 (_initialize_d_language): Initialize d_type_data.
3294 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3296 * d-lang.h (d_main_name): Add declaration.
3297 * d-lang.c (d_main_name): New function.
3298 * symtab.c (find_main_name): Add call to d_main_name.
3300 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3302 * d-lang.c (d_language_defn): Change macro_expansion_c to
3305 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3307 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3309 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3311 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3312 gdb_exception" declaration.
3313 * remote.c (getpkt_or_notif_sane): Likewise.
3315 2014-01-17 Doug Evans <dje@google.com>
3317 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3318 function, contents of dirnames_to_char_ptr_vec_append moved here.
3319 (delim_string_to_char_ptr_vec): New function.
3320 (dirnames_to_char_ptr_vec_append): Rewrite.
3321 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3323 2014-01-17 Doug Evans <dje@google.com>
3325 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3327 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3328 #include "common-utils.h".
3329 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3330 * common/vec.h (VEC_ASSERT_PASS): Update.
3331 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3332 (MACH_CHECK_ERROR): Update.
3334 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3336 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3338 * gdbarch.h: Regenerate.
3340 2014-01-16 Tom Tromey <tromey@redhat.com>
3342 * value.c (struct value) <regnum>: Move earlier.
3344 2014-01-16 Tom Tromey <tromey@redhat.com>
3346 * remote.c (extended_remote_create_inferior): Rename from
3347 extended_remote_create_inferior_1. Add "ops" argument. Remove
3350 2014-01-16 Pedro Alves <palves@redhat.com>
3352 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3353 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3356 2014-01-16 Doug Evans <dje@google.com>
3358 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3360 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3362 * btrace.h (btrace_thread_flag): New.
3363 (struct btrace_thread_info) <flags>: New.
3364 * record-btrace.c (record_btrace_resume_thread)
3365 (record_btrace_find_thread_to_move, btrace_step_no_history)
3366 (btrace_step_stopped, record_btrace_start_replaying)
3367 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3368 (record_btrace_find_resume_thread): New.
3369 (record_btrace_resume, record_btrace_wait): Extend.
3370 (record_btrace_can_execute_reverse): New.
3371 (record_btrace_open): Fail in non-stop mode.
3372 (record_btrace_set_replay): Split into this, ...
3373 (record_btrace_stop_replaying): ... this, ...
3374 (record_btrace_clear_histories): ... and this.
3375 (init_record_btrace_ops): Init to_can_execute_reverse.
3376 * NEWS: Announce it.
3378 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3380 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3381 (forward_target_decr_pc_after_break)
3382 (target_decr_pc_after_break): New.
3383 * target.c (forward_target_decr_pc_after_break)
3384 (target_decr_pc_after_break): New.
3385 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3386 instead of gdbarch_decr_pc_after_break.
3387 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3388 instead of gdbarch_decr_pc_after_break.
3389 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3390 instead of gdbarch_decr_pc_after_break.
3391 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3392 instead of gdbarch_decr_pc_after_break.
3393 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3394 instead of gdbarch_decr_pc_after_break.
3395 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3396 instead of gdbarch_decr_pc_after_break.
3398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3400 * btrace.c: Include regcache.h.
3401 (btrace_add_pc): New.
3402 (btrace_enable): Call btrace_add_pc.
3403 (btrace_is_empty): New.
3404 * btrace.h (btrace_is_empty): New.
3405 * record-btrace.c (require_btrace, record_btrace_info): Call
3408 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3410 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3411 Support delta reads.
3412 (linux_disable_btrace): Change return type.
3413 * common/linux-btrace.h (linux_read_btrace): Change parameters
3414 and return type to allow error reporting. Update users.
3415 (linux_disable_btrace): Change return type. Update users.
3416 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3418 (btrace_error): New.
3419 (btrace_block) <begin>: Comment on BEGIN == 0.
3420 * btrace.c (btrace_compute_ftrace): Start from the end of
3422 (btrace_stitch_trace, btrace_clear_history): New.
3423 (btrace_fetch): Read delta trace, return if replaying.
3424 (btrace_clear): Move clear history code to btrace_clear_history.
3425 (parse_xml_btrace): Throw an error if parsing failed.
3426 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3427 and return type to allow error reporting.
3428 (target_read_btrace): Change parameters and return type to allow
3430 * target.c (target_read_btrace): Update.
3431 * remote.c (remote_read_btrace): Support delta reads. Pass
3433 * NEWS: Announce it.
3435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3437 * record.h (record_btrace_frame_unwind)
3438 (record_btrace_tailcall_frame_unwind): New declarations.
3439 * dwarf2-frame: Include record.h
3440 (dwarf2_frame_cfa): Throw an error for btrace frames.
3441 * record-btrace.c: Include hashtab.h.
3442 (btrace_get_bfun_name): New.
3443 (btrace_call_history): Call btrace_get_bfun_name.
3444 (struct btrace_frame_cache): New.
3446 (bfcache_hash, bfcache_eq, bfcache_new): New.
3447 (btrace_get_frame_function): New.
3448 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3449 (record_btrace_frame_this_id): Compute own id.
3450 (record_btrace_frame_prev_register): Provide PC, throw_error
3451 for all other registers.
3452 (record_btrace_frame_sniffer): Detect btrace frames.
3453 (record_btrace_tailcall_frame_sniffer): New.
3454 (record_btrace_frame_dealloc_cache): New.
3455 (record_btrace_frame_unwind): Add new functions.
3456 (record_btrace_tailcall_frame_unwind): New.
3457 (_initialize_record_btrace): Allocate cache.
3458 * btrace.c (btrace_clear): Call reinit_frame_cache.
3459 * NEWS: Announce it.
3461 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3463 * record-btrace.c (record_btrace_set_replay)
3464 (record_btrace_goto_begin, record_btrace_goto_end)
3465 (record_btrace_goto): New.
3466 (init_record_btrace_ops): Initialize them.
3467 * NEWS: Announce it.
3469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3471 * record-btrace.c (record_btrace_find_new_threads)
3472 (record_btrace_thread_alive): New.
3473 (init_record_btrace_ops): Initialize to_find_new_threads and
3476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3478 * record-btrace.c (record_btrace_resume): New.
3479 (record_btrace_wait): New.
3480 (init_record_btrace_ops): Initialize to_wait and to_resume.
3482 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3484 * record-btrace.c (record_btrace_xfer_partial)
3485 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3486 (record_btrace_allow_memory_access): New.
3487 (init_record_btrace_ops): Initialize new methods.
3488 * target.c (raw_memory_xfer_partial): Bail out if target reports
3489 that this memory is not available.
3491 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3493 * target.h (target_ops) <to_insert_breakpoint>
3494 <to_remove_breakpoint>: Add target_ops parameter.
3495 (forward_target_insert_breakpoint): New.
3496 (forward_target_remove_breakpoint): New.
3497 (memory_remove_breakpoint, memory_insert_breakpoint):
3498 Add target_ops parameter.
3499 * target.c (target_insert_breakpoint): Split into this and ...
3500 (forward_target_insert_breakpoint): ... this.
3501 (target_remove_breakpoint): Split into this and ...
3502 (forward_target_remove_breakpoint): ... this.
3503 (debug_to_insert_breakpoint): Add target_ops parameter.
3504 Call forward_target_insert_breakpoint.
3505 (debug_to_remove_breakpoint): Add target_ops parameter.
3506 Call forward_target_remove_breakpoint.
3507 (update_current_target): Do not inherit or default to_insert_breakpoint
3508 and to_remove_breakpoint.
3509 * corelow.c (ignore): Add target_ops parameter.
3510 * exec.c (ignore): Add target_ops parameter.
3511 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3512 Add target_ops parameter.
3513 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3514 Add target_ops parameter.
3515 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3516 Add target_ops parameter.
3517 * record-full.c (record_full_beneath_to_insert_breakpoint)
3518 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3519 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3520 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3521 (record_full_core_remove_breakpoint): Add target_ops parameter.
3523 (record_full_beneath_to_insert_breakpoint_ops)
3524 (record_full_beneath_to_remove_breakpoint_ops)
3525 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3526 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3527 tmp_to_remove_breakpoint_ops,
3528 record_full_beneath_to_insert_breakpoint_ops, and
3529 record_full_beneath_to_remove_breakpoint_ops.
3530 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3531 (m32r_remove_breakpoint): Add target_ops parameter.
3532 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3533 Add target_ops parameter.
3534 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3535 Add target_ops parameter.
3537 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3538 Markus Metzger <markus.t.metzger@intel.com>
3540 * record-btrace.c: Include frame-unwind.h.
3541 (record_btrace_frame_unwind_stop_reason)
3542 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3543 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3545 (init_record_btrace_ops): Install it.
3547 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3549 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3552 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3554 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3557 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3559 * frame-unwind.c: Include target.h.
3560 (frame_unwind_try_unwinder): New function with code from ...
3561 (frame_unwind_find_by_frame): ... here. New variable
3562 unwinder_from_target, call also target_get_unwinder)
3563 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3564 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3565 * target.h (struct target_ops): New fields to_get_unwinder and
3566 to_get_tailcall_unwinder.
3567 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3569 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3571 * record-btrace.c (record_btrace_fetch_registers)
3572 (record_btrace_store_registers)
3573 (record_btrace_to_prepare_to_store): New.
3574 (init_record_btrace_ops): Add the above.
3576 2014-01-16 Tom Tromey <tromey@redhat.com>
3578 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3579 * target.h (struct target_ops) <to_prepare_to_store>: Add
3581 (target_prepare_to_store): Add argument.
3582 * target.c (debug_to_prepare_to_store): Add argument.
3583 (update_current_target): Update.
3584 * remote.c (remote_prepare_to_store): Add 'self' argument.
3585 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3586 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3587 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3588 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3590 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3591 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3592 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3593 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3594 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3596 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3598 * btrace.h (replay) <replay>: New.
3599 (btrace_is_replaying): New.
3600 * btrace.c (btrace_clear): Free replay iterator.
3601 (btrace_is_replaying): New.
3602 * record-btrace.c (record_btrace_is_replaying): New.
3603 (record_btrace_info): Print insn number if replaying.
3604 (record_btrace_insn_history): Start at replay position.
3605 (record_btrace_call_history): Start at replay position.
3606 (init_record_btrace_ops): Init to_record_is_replaying.
3608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3610 * record-btrace.c (record_btrace_insn_history_range): Include
3612 (record_btrace_insn_history_from): Adjust range.
3613 (record_btrace_call_history_range): Include
3615 (record_btrace_call_history_from): Adjust range.
3616 * NEWS: Announce changes.
3618 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3620 * record.h (enum record_print_flag)
3621 <record_print_indent_calls>: New.
3622 * record.c (get_call_history_modifiers): Recognize /c modifier.
3623 (_initialize_record): Document /c modifier.
3624 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3625 Reorder fields. Optionally indent the function name. Update
3627 * NEWS: Announce changes.
3629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3631 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3635 * btrace.c (ftrace_new_function): Start counting at one.
3636 * record-btrace.c (record_btrace_info): Adjust number of calls
3638 * NEWS: Announce it.
3640 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3642 * record-btrace.c (btrace_call_history_insn_range): Print
3643 insn range as [begin, end].
3645 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3647 * btrace.h (struct btrace_func_link): New.
3648 (enum btrace_function_flag): New.
3649 (struct btrace_inst): Rename to ...
3650 (struct btrace_insn): ...this. Update all users.
3651 (struct btrace_func) <ibegin, iend>: Remove.
3652 (struct btrace_func_link): New.
3653 (struct btrace_func): Rename to ...
3654 (struct btrace_function): ...this. Update all users.
3655 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3656 (number, level, flags>: New.
3657 (struct btrace_insn_iterator): Rename to ...
3658 (struct btrace_insn_history): ...this.
3660 (struct btrace_insn_iterator, btrace_call_iterator): New.
3661 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3662 (struct btrace_target_info) <begin, end, level>
3663 <insn_history, call_history>: New.
3664 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3665 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3666 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3667 (btrace_call_number, btrace_call_begin, btrace_call_end)
3668 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3669 (btrace_find_function_by_number, btrace_set_insn_history)
3670 (btrace_set_call_history): New.
3671 * btrace.c (btrace_init_insn_iterator)
3672 (btrace_init_func_iterator, compute_itrace): Remove.
3673 (ftrace_print_function_name, ftrace_print_filename)
3674 (ftrace_skip_file): Change
3676 (ftrace_init_func): Remove.
3677 (ftrace_debug): Use new btrace_function fields.
3678 (ftrace_function_switched): Also consider gaining and
3679 losing symbol information).
3680 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3681 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3682 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3684 (ftrace_new_function): Move. Remove debug print.
3685 (ftrace_update_lines, ftrace_update_insns): New.
3686 (ftrace_update_function): Check for call, ret, and jump.
3687 (compute_ftrace): Renamed to ...
3688 (btrace_compute_ftrace): ...this. Rewritten to compute call
3690 (btrace_fetch, btrace_clear): Updated.
3691 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3692 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3693 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3694 (btrace_call_number, btrace_call_begin, btrace_call_end)
3695 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3696 (btrace_find_function_by_number, btrace_set_insn_history)
3697 (btrace_set_call_history): New.
3698 * record-btrace.c (require_btrace): Use new btrace thread
3700 (record_btrace_info, btrace_insn_history)
3701 (record_btrace_insn_history, record_btrace_insn_history_range):
3702 Use new btrace thread info fields and new iterator.
3703 (btrace_func_history_src_line): Rename to ...
3704 (btrace_call_history_src_line): ...this. Use new btrace
3706 (btrace_func_history): Rename to ...
3707 (btrace_call_history): ...this. Use new btrace thread info
3708 fields and new iterator.
3709 (record_btrace_call_history, record_btrace_call_history_range):
3710 Use new btrace thread info fields and new iterator.
3712 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3714 * frame.h (frame_id_build_unavailable_stack_special): New.
3715 * frame.c (frame_id_build_unavailable_stack_special): New.
3717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3719 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3720 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3721 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3723 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3724 (i386_insn_is_jump, i386_jmp_p): New.
3725 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3726 insn_is_jump to gdbarch.
3727 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3728 * gdbarch.h: Regenerated.
3729 * gdbarch.c: Regenerated.
3730 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3731 (default_insn_is_jump): New.
3732 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3733 (default_insn_is_jump): New.
3735 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3737 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3739 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3740 (btrace_read_type) <btrace_read_new>: Change to ...
3741 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3745 * common/linux-btrace.c (linux_read_btrace): Free trace from
3748 2014-01-15 Doug Evans <dje@google.com>
3750 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3753 2014-01-15 Tom Tromey <tromey@redhat.com>
3755 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3756 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3757 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3758 (set_objfile_main_name): New function.
3759 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3760 language_of_main>: New fields.
3761 (set_objfile_main_name): Declare.
3762 * symtab.c (find_main_name): Loop over objfiles to find the main
3764 (set_main_name): Now static.
3765 (get_main_info): Add comment.
3766 * symtab.h (set_main_name): Don't declare.
3768 2014-01-15 Tom Tromey <tromey@redhat.com>
3770 * symtab.c (main_progspace_key): New global.
3771 (struct main_info): New.
3772 (name_of_main, language_of_main): Remove.
3773 (get_main_info, main_info_cleanup): New function.
3774 (set_main_name, main_name, main_language): Use get_main_info.
3775 (_initialize_symtab): Initialize main_progspace_key.
3777 2014-01-15 Tom Tromey <tromey@redhat.com>
3779 * dbxread.c (process_one_symbol): Update.
3780 * dwarf2read.c (read_partial_die): Update.
3781 * symfile.c (set_initial_language): Call main_language.
3782 * symtab.c (language_of_main): Now static.
3783 (set_main_name): Add 'lang' parameter.
3784 (find_main_name): Update.
3785 (main_language): New function.
3786 (symtab_observer_executable_changed): Update.
3787 * symtab.h (set_main_name): Update.
3788 (language_of_main): Remove.
3789 (main_language): Declare.
3791 2014-01-15 Tom Tromey <tromey@redhat.com>
3793 * symfile.c (init_entry_point_info): Use new "initialized" field.
3795 * objfiles.h (struct entry_point) <initialized>: New field.
3796 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3797 (struct objfile) <ei>: ...here. Remove.
3798 * objfiles.c (entry_point_address_query): Update.
3800 2014-01-15 Tom Tromey <tromey@redhat.com>
3802 * objfiles.c (entry_point_address_query): Relocate entry point
3804 (objfile_relocate1): Do not relocate entry point address.
3805 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3806 <the_bfd_section_index>: New field.
3807 * symfile.c (init_entry_point_info): Find the entry point's
3810 2014-01-15 Tom Tromey <tromey@redhat.com>
3812 * solib-frv.c (enable_break): Use entry_point_address_query.
3814 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3816 * NEWS: Add note on improved process record-replay on
3817 arm*-linux* targets.
3819 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3821 * arm-tdep.c (enum arm_record_result): New enum.
3822 (arm_record_unsupported_insn): New function.
3823 (arm_record_coproc_data_proc): Removed.
3824 (thumb2_record_ld_st_multiple): New function.
3825 (thumb2_record_ld_st_dual_ex_tbb): New function.
3826 (thumb2_record_data_proc_sreg_mimm): New function.
3827 (thumb2_record_ps_dest_generic): New function.
3828 (thumb2_record_branch_misc_cntrl): New function.
3829 (thumb2_record_str_single_data): New function.
3830 (thumb2_record_ld_mem_hints): New function.
3831 (thumb2_record_ld_word): New function.
3832 (thumb2_record_lmul_lmla_div): New function.
3833 (thumb2_record_decode_insn_handler): New function.
3834 (decode_insn): Add thumb32 instruction handlers.
3836 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3838 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3839 (struct arm_linux_record_tdep): Declare.
3840 (arm_canonicalize_syscall): New function.
3841 (arm_all_but_pc_registers_record): New function.
3842 (arm_linux_syscall_record): New function.
3843 (arm_linux_init_abi): Add syscall recording constructs.
3844 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3845 decoding. (arm_record_coproc_data_proc): Update arm syscall
3847 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3848 <arm_syscall_record>: New field.
3849 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3852 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3854 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3855 register for push instruction recording.
3857 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3859 * arm-tdep.c (thumb_record_misc): Update to correct logical
3860 error while recording ldm, ldmia and pop instructions.
3862 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3864 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3866 2014-01-15 Pedro Alves <palves@redhat.com>
3868 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3869 (go32_resume, go32_fetch_registers, store_register)
3870 (go32_store_registers, go32_prepare_to_store)
3871 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3872 (go32_create_inferior, go32_can_run, go32_terminal_init)
3873 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3876 2014-01-15 Tom Tromey <tromey@redhat.com>
3878 * target.h (async_callback_ftype): New typedef.
3879 (struct target_ops) <to_async>: Use it.
3881 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3883 * python/py-value.c (get_field_type): Remove unnecessary curly
3884 braces for single-statement if block.
3886 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3888 * python/py-type.c (convert_field): Add missing empty line
3891 2014-01-14 Doug Evans <dje@google.com>
3893 * symfile.h (expand_symtabs_matching): Renamed from
3894 expand_partial_symbol_names. Update prototype.
3895 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3896 * symfile.c (expand_symtabs_matching): Renamed from
3897 expand_partial_symbol_names. New args file_matcher, kind.
3898 Rename arg fun to symbol_matcher.
3899 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3900 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3901 ada_expand_partial_symbol_name.
3902 (ada_make_symbol_completion_list): Update to call
3903 expand_symtabs_matching.
3904 (ada_add_global_exceptions): Call expand_symtabs_matching.
3905 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3906 call map_symbol_filenames.
3907 * symtab.c (sources_info): Update to call map_symbol_filenames.
3908 (search_symbols): Call expand_symtabs_matching.
3909 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3910 (default_make_symbol_completion_list_break_on): Update to call
3911 expand_symtabs_matching.
3912 (make_source_files_completion_list): Update to call
3913 map_symbol_filenames.
3915 2014-01-14 Doug Evans <dje@google.com>
3917 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3918 (expand_symtabs_symbol_matcher_ftype): New typedef.
3919 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3920 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3921 * symfile.c (expand_partial_symbol_names): Update to use
3922 expand_symtabs_symbol_matcher_ftype.
3923 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3924 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3925 Arg name_matcher renamed to symbol_matcher.
3926 * psymtab.c (recursively_search_psymtabs): Update to use
3927 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3929 (expand_symtabs_matching_via_partial): Update to use
3930 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3931 Arg name_matcher renamed to symbol_matcher.
3933 2014-01-14 Doug Evans <dje@google.com>
3935 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3936 (map_partial_symbol_filenames): Ditto.
3937 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3938 (map_partial_symbol_filenames): Ditto.
3939 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3940 (map_partial_symbol_filenames): Ditto.
3941 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3942 (map_partial_symbol_filenames): Ditto.
3943 * symtab.c: Delete #include "psymtab.h".
3945 2014-01-14 Pedro Alves <palves@redhat.com>
3946 Tom Tromey <tromey@redhat.com>
3948 * infrun.c (use_displaced_stepping): Use find_record_target
3949 instead of RECORD_IS_USED.
3950 (adjust_pc_after_break): Use record_full_is_used instead of
3952 * record-btrace.c (record_btrace_open): Call record_preopen
3953 instead of checking RECORD_IS_USED.
3954 * record-full.c (record_full_shortname)
3955 (record_full_core_shortname): New globals.
3956 (record_full_is_used): New function.
3957 (find_full_open): Call record_preopen instead of checking
3959 (init_record_full_ops): Set the target's shortname to
3960 record_full_shortname.
3961 (init_record_full_core_ops): Set the target's shortname to
3962 record_full_core_shortname.
3963 * record-full.h (record_full_is_used): Declare.
3964 * record.c (find_record_target): Make extern.
3965 (record_preopen): New function.
3966 * record.h (RECORD_IS_USED): Delete macro.
3967 (find_record_target, record_preopen): Declare functions.
3969 2014-01-14 Yao Qi <yao@codesourcery.com>
3971 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3972 'len''s type to ULONGEST.
3973 (core_xfer_shared_libraries_aix): Likewise.
3974 * gdbarch.c, gdbarch.h: Regenerated.
3975 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3976 Change type of 'len' to ULONGEST.
3977 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3978 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3980 2014-01-14 Yao Qi <yao@codesourcery.com>
3982 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3983 type of 'len' to ULONGEST.
3984 (linux_xfer_osdata_processgroups): Likewise.
3985 (linux_xfer_osdata_threads): Likewise.
3986 (linux_xfer_osdata_fds): Likewise.
3987 (linux_xfer_osdata_isockets): Likewise.
3988 (linux_xfer_osdata_shm): Likewise.
3989 (linux_xfer_osdata_sem): Likewise.
3990 (linux_xfer_osdata_msg): Likewise.
3991 (linux_common_xfer_osdata): Likewise.
3992 (struct osdata_type) <getter>: Likewise.
3993 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3996 2014-01-14 Yao Qi <yao@codesourcery.com>
3998 * target.h (target_xfer_partial_ftype): Update.
3999 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4001 * aix-thread.c (aix_thread_xfer_partial): Change type of
4002 argument 'len' to ULONGEST.
4003 * auxv.c (procfs_xfer_auxv): Likewise.
4004 (ld_so_xfer_auxv): Likewise.
4005 (memory_xfer_auxv): Likewise.
4006 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4007 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4008 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4009 * corelow.c (core_xfer_partial): Likewise.
4010 * ctf.c (ctf_xfer_partial): Likewise.
4011 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4013 (darwin_read_dyld_info): Likewise.
4014 (darwin_xfer_partial): Likewise.
4015 * exec.c (section_table_xfer_memory_partial): Likewise.
4016 (exec_xfer_partial): Likewise.
4017 * exec.h (section_table_xfer_memory_partial): Update
4019 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4020 instead of plongest.
4021 (gnu_xfer_partial): Likewise.
4022 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4023 (ia64_hpux_xfer_solib_got): Likewise.
4024 (ia64_hpux_xfer_partial): Likewise.
4025 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4026 * inf-ptrace.c (inf_ptrace_xfer_partial):
4027 * inf-ttrace.c (inf_ttrace_xfer_partial):
4028 * linux-nat.c (linux_xfer_siginfo): Likewise.
4029 (linux_nat_xfer_partial): Likewise.
4030 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4031 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4032 * monitor.c (monitor_xfer_memory): Likewise.
4033 (monitor_xfer_partial): Likewise.
4034 * procfs.c (procfs_xfer_partial): Likewise.
4035 * record-full.c (record_full_xfer_partial): Likewise.
4036 (record_full_core_xfer_partial): Likewise.
4037 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4038 instead of plongest.
4039 (gdbsim_xfer_partial): Likewise.
4040 * remote.c (remote_xfer_partial): Likewise.
4041 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4042 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4044 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4045 (rs6000_xfer_shared_libraries): Likewise.
4046 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4047 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4048 (sparc_xfer_partial): Likewise.
4049 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4050 (spu_xfer_partial): Likewise.
4051 * spu-multiarch.c (spu_xfer_partial): Likewise.
4052 * target.c (target_read_live_memory): Likewise.
4053 (memory_xfer_live_readonly_partial): Likewise.
4054 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4055 (target_xfer_partial, default_xfer_partial): Likewise.
4056 (current_xfer_partial): Likewise.
4057 * tracepoint.c (tfile_xfer_partial): Likewise.
4058 * windows-nat.c (windows_xfer_memory): Likewise. Call
4059 pulongest instead of plongest.
4060 (windows_xfer_partial): Likewise.
4061 (windows_xfer_shared_libraries): Likewise.
4063 2014-01-14 Yao Qi <yao@codesourcery.com>
4065 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4066 target_xfer_partial_ftype.
4068 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4072 * valops.c (value_struct_elt_bitpos): New function
4073 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4074 object to 'None' if the field name is an empty string ("").
4075 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4076 attribute to look for a field when 'name' is 'None'.
4077 (get_field_type): New function
4079 2014-01-13 Doug Evans <dje@google.com>
4082 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4083 (try_open_dwop_file): Ditto.
4084 * gdb_bfd.c: #include "vec.h".
4085 (bfdp): New typedef.
4086 (struct gdb_bfd_data): New member included_bfds.
4087 (gdb_bfd_unref): Unref all included bfds.
4088 (gdb_bfd_record_inclusion): New function.
4089 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4091 2014-01-13 Tom Tromey <tromey@redhat.com>
4093 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4095 2014-01-13 Tom Tromey <tromey@redhat.com>
4097 * defs.h (use_windows): Remove.
4098 * gdb.c (main): Update.
4099 * main.c (captured_main, gdb_main): Update.
4100 * main.h (struct captured_main_args) <use_windows>: Remove.
4101 * top.c (use_windows): Remove.
4103 2014-01-13 Tom Tromey <tromey@redhat.com>
4105 * defs.h (deprecated_flush_hook): Remove.
4107 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4110 * linux-thread-db.c (try_thread_db_load): Add parameter
4111 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4112 (try_thread_db_load_from_pdir_1): Move it there from here.
4113 (try_thread_db_load_from_sdir): Update caller.
4114 (try_thread_db_load_from_dir): Move it there from here.
4116 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4118 * regformats/regdat.sh: Always rewrite the register file.
4120 2014-01-13 Pedro Alves <palves@redhat.com>
4122 * Makefile.in (CHECK_HEADERS): New variable.
4123 (check-headers:): New rule.
4125 2014-01-13 Tom Tromey <tromey@redhat.com>
4127 * cli/cli-setshow.c (do_set_command): Update.
4128 * defs.h (deprecated_set_hook): Remove.
4129 * top.c (deprecated_set_hook): Remove.
4131 2014-01-13 Pedro Alves <palves@redhat.com>
4133 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4134 the tracepoint if the PC is a pseudo-register.
4136 2014-01-13 Tom Tromey <tromey@redhat.com>
4138 * defs.h (XCALLOC): Remove.
4139 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4140 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4141 * dwarf2loc.c (allocate_piece_closure): Likewise.
4142 * elfread.c (elf_symfile_segments): Likewise.
4143 (elf_symfile_segments): Likewise.
4144 * gdbtypes.c (copy_type_recursive): Likewise.
4145 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4146 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4147 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4149 * mt-tdep.c (mt_gdbarch_init): Likewise.
4150 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4152 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4153 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4154 * registry.c (registry_alloc_data): Likewise.
4155 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4156 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4157 * serial.c (serial_fdopen_ops): Likewise.
4158 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4160 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4161 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4164 2014-01-13 Tom Tromey <tromey@redhat.com>
4166 * defs.h (XMALLOC): Remove.
4167 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4168 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4169 * cli-out.c (struct ui_out *): Likewise.
4170 * cli/cli-dump.c (add_dump_command): Likewise.
4171 (add_dump_command): Likewise.
4172 * complaints.c (get_complaints): Likewise.
4173 (find_complaint): Likewise.
4174 * dwarf2-frame.c (execute_cfa_program): Likewise.
4175 * dwarf2read.c (abbrev_table_read_table): Likewise.
4176 * gdbarch.sh: Likewise.
4177 * gdbarch.c: Rebuild.
4178 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4179 * interps.c (interp_new): Likewise.
4180 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4181 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4182 * mi/mi-console.c (mi_console_file_new): Likewise.
4183 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4184 * mi/mi-out.c (mi_out_new): Likewise.
4185 * mi/mi-parse.c (mi_parse): Likewise.
4186 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4187 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4188 * observer.c (xalloc_observer_list_node): Likewise.
4189 * regcache.c (regcache_xmalloc_1): Likewise.
4190 * reggroups.c (reggroup_new): Likewise.
4191 (_initialize_reggroup): Likewise.
4192 * registry.c (register_data_with_cleanup): Likewise.
4193 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4194 * ser-base.c (serial_ttystate): Likewise.
4195 * ser-mingw.c (make_pipe_state): Likewise.
4196 * ser-pipe.c (pipe_open): Likewise.
4197 * serial.c (serial_open): Likewise.
4198 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4199 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4200 (tui_alloc_win_info): Likewise.
4201 (tui_add_content_elements): Likewise.
4202 * tui/tui-file.c (tui_file_new): Likewise.
4203 * tui/tui-out.c (tui_out_new): Likewise.
4204 * ui-file.c (mem_file_new): Likewise.
4205 * ui-out.c (push_level): Likewise.
4206 (make_cleanup_ui_out_end): Likewise.
4207 (append_header_to_list): Likewise.
4208 (ui_out_new): Likewise.
4209 * user-regs.c (user_reg_add_builtin): Likewise.
4211 2014-01-13 Tom Tromey <tromey@redhat.com>
4213 * defs.h (XZALLOC): Remove.
4214 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4215 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4216 (get_ada_tasks_inferior_data): Likewise.
4217 * auto-load.c (get_auto_load_pspace_data): Likewise.
4218 * auxv.c (get_auxv_inferior_data): Likewise.
4219 * bfd-target.c (target_bfd_reopen): Likewise.
4220 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4221 (deprecated_insert_raw_breakpoint): Likewise.
4222 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4223 * corelow.c (core_open): Likewise.
4224 * darwin-nat.c (darwin_check_new_threads): Likewise.
4225 (darwin_attach_pid): Likewise.
4226 * dummy-frame.c (dummy_frame_push): Likewise.
4227 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4228 * dwarf2loc.c (allocate_piece_closure): Likewise.
4229 * elfread.c (elf_symfile_segments): Likewise.
4230 * eval.c (ptrmath_type_p): Likewise.
4231 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4232 * gdbtypes.c (alloc_type_arch): Likewise.
4233 (alloc_type_instance): Likewise.
4234 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4235 * inf-child.c (inf_child_can_use_agent): Likewise.
4236 * inflow.c (get_inflow_inferior_data): Likewise.
4237 * infrun.c (save_infcall_suspend_state): Likewise.
4238 * jit.c (jit_reader_load): Likewise.
4239 (get_jit_objfile_data): Likewise.
4240 (get_jit_program_space_data): Likewise.
4241 (jit_object_open_impl): Likewise.
4242 (jit_symtab_open_impl): Likewise.
4243 (jit_block_open_impl): Likewise.
4244 (jit_frame_sniffer): Likewise.
4245 * linux-fork.c (add_fork): Likewise.
4246 * maint.c (make_command_stats_cleanup): Likewise.
4247 * objfiles.c (get_objfile_pspace_data): Likewise.
4248 * opencl-lang.c (struct lval_closure): Likewise.
4249 * osdata.c (osdata_start_osdata): Likewise.
4250 * progspace.c (new_address_space): Likewise.
4251 (add_program_space): Likewise.
4252 * remote-sim.c (get_sim_inferior_data): Likewise.
4253 * sh-tdep.c (sh_gdbarch_init): Likewise.
4254 * skip.c (Ignore): Likewise.
4255 (skip_delete_command): Likewise.
4256 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4257 (library_list_start_library): Likewise.
4258 (solib_aix_current_sos): Likewise.
4259 * solib-darwin.c (get_darwin_info): Likewise.
4260 (darwin_current_sos): Likewise.
4261 * solib-dsbt.c (get_dsbt_info): Likewise.
4262 * solib-ia64-hpux.c (new_so_list): Likewise.
4263 (ia64_hpux_get_solib_linkage_addr): Likewise.
4264 * solib-spu.c (append_ocl_sos): Likewise.
4265 (spu_current_sos): Likewise.
4266 * solib-svr4.c (get_svr4_info): Likewise.
4267 (svr4_keep_data_in_core): Likewise.
4268 (library_list_start_library): Likewise.
4269 (svr4_default_sos): Likewise.
4270 (svr4_read_so_list): Likewise.
4271 * solib-target.c (library_list_start_library): Likewise.
4272 (solib_target_current_sos): Likewise.
4273 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4274 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4275 * symfile.c (default_symfile_segments): Likewise.
4276 * target-descriptions.c (tdesc_data_init): Likewise.
4277 (tdesc_create_reg): Likewise.
4278 (struct tdesc_type *): Likewise.
4279 (tdesc_create_vector): Likewise.
4280 (tdesc_set_struct_size): Likewise.
4281 (struct tdesc_type *): Likewise.
4282 (tdesc_free_feature): Likewise.
4283 (tdesc_create_feature): Likewise.
4284 * windows-nat.c (windows_add_thread): Likewise.
4285 (windows_make_so): Likewise.
4286 * xml-support.c (gdb_xml_body_text): Likewise.
4287 (gdb_xml_create_parser_and_cleanup): Likewise.
4288 (xml_process_xincludes): Likewise.
4289 * xml-syscall.c (allocate_syscalls_info): Likewise.
4290 (syscall_create_syscall_desc): Likewise.
4292 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4294 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4295 function, with code from i386_stap_parse_special_token.
4296 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4297 (i386_stap_parse_special_token): Move code to the two functions
4300 2014-01-09 Pedro Alves <palves@redhat.com>
4301 Hui Zhu <hui@codesourcery.com>
4304 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4305 bp_err_string. Don't mark the location shlib_disabled if the
4306 error thrown wasn't a generic or memory error. Catch errors
4307 thrown while inserting breakpoints in overlayed code. Output
4308 error message of software breakpoints.
4309 * remote.c (remote_insert_breakpoint): If this breakpoint has
4310 target-side commands but this stub doesn't support Z0 packets,
4311 throw NOT_SUPPORTED_ERROR error.
4312 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4313 * target.h (target_insert_breakpoint): Extend comment.
4314 (target_insert_hw_breakpoint): Add comment.
4316 2014-01-08 Pedro Alves <palves@redhat.com>
4318 * remote.c (remote_add_thread): Add threads silently if starting
4320 (remote_notice_new_inferior): If in all-stop, and starting up,
4321 don't call notice_new_inferior.
4322 (get_current_thread): New function, factored out from ...
4323 (add_current_inferior_and_thread): ... this. Adjust.
4324 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4325 found any thread, then select the remote's current thread as GDB's
4328 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4330 * NEWS: Create a new section for the next release branch.
4331 Rename the section of the current branch, now that it has
4334 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4336 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4337 * version.in: Bump version to 7.7.50.DATE-cvs.
4339 2014-01-08 Yao Qi <yao@codesourcery.com>
4341 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4342 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4343 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4345 2014-01-08 Yao Qi <yao@codesourcery.com>
4347 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4348 return value of bfd_get_filename to symbol_file_add_from_bfd.
4350 2014-01-08 Pierre Muller <muller@sourceware.org>
4353 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4354 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4355 to prim_record_mininal_symbol_and_info.
4356 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4357 in call to prim_record_minimal_symbol_and_info.
4358 (read_pe_exported_syms): Set index field of section_data.
4360 2014-01-07 Andrew Pinski <apinski@cavium.com>
4362 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4363 * features/aarch64.c: Regenerate.
4365 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4367 * target.c (return_null): Define.
4368 (update_current_target): Use it instead of return_zero for
4369 functions that return a pointer.
4371 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4373 * source.c (add_path): Fix check for duplicated paths in the previously
4376 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4378 * ada-lang.c: Remove duplicated include statements.
4379 * alphabsd-nat.c: Ditto.
4380 * amd64-darwin-tdep.c: Ditto.
4381 * amd64fbsd-nat.c: Ditto.
4382 * auto-load.c: Ditto.
4384 * breakpoint.c: Ditto.
4386 * fork-child.c: Ditto.
4387 * gdb_usleep.c: Ditto.
4388 * i386-darwin-tdep.c: Ditto.
4389 * i386fbsd-nat.c: Ditto.
4391 * inferior.c: Ditto.
4393 * linux-nat.c: Ditto.
4394 * linux-tdep.c: Ditto.
4395 * m68kbsd-nat.c: Ditto.
4396 * m68klinux-nat.c: Ditto.
4397 * microblaze-tdep.c: Ditto.
4398 * mips-linux-tdep.c: Ditto.
4399 * mn10300-tdep.c: Ditto.
4400 * nto-tdep.c: Ditto.
4401 * opencl-lang.c: Ditto.
4403 * printcmd.c: Ditto.
4404 * regcache.c: Ditto.
4405 * remote-m32r-sdi.c: Ditto.
4409 * tilegx-linux-nat.c: Ditto.
4410 * tilegx-tdep.c: Ditto.
4411 * tracepoint.c: Ditto.
4413 * vaxbsd-nat.c: Ditto.
4414 * windows-nat.c: Ditto.
4415 * xtensa-tdep.c: Ditto.
4417 2014-01-07 Yao Qi <yao@codesourcery.com>
4419 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4421 2014-01-07 Yao Qi <yao@codesourcery.com>
4422 Joel Brobecker <brobecker@adacore.com>
4424 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4425 (pdc_write_regs): Likewise.
4426 (fetch_regs_kernel_thread): Likewise.
4427 (store_regs_kernel_thread): Likewise.
4429 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4431 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4432 tagged type objects to their actual type.
4434 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4436 * ada-valprint.c (print_field_values): Add "language" parameter.
4437 Update calls to print_field_values and print_variant_part.
4438 Pass new parameter "language" in call to val_print instead
4439 of "current_language". Replace call to ada_val_print by call
4441 (print_variant_part): Add "language" parameter.
4442 (ada_val_print_struct_union): Update call to print_field_values.
4444 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4446 * ada-valprint.c (ui_memcpy): Delete.
4447 (ada_print_floating): Update documentation. Add empty line
4448 between between function documentation and implementation.
4449 Delete variable "buffer". Use ui_file_xstrdup in place of
4450 ui_file_put. Minor adjustments following this change.
4452 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4454 * ada-valprint.c (ada_val_print_string): New function,
4455 extracted from ada_val_print_array.
4456 (ada_val_print_array): Replace extracted code by call
4457 to ada_val_print_string followed by a return. Move
4458 "else" branch to the function's top block.
4460 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4462 * ada-valprint.c (ada_val_print_array): Move implementation
4463 down. Rename parameter "offset" and "val" into "offset_aligned"
4464 and "original_value" respectively. Add parameter "offset".
4466 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4468 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4469 re-organizing the code. Change the "???" message printed
4470 when target type is a TYPE_CODE_UNDEF into
4471 "<ref to undefined type>".
4473 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4475 * ada-valprint.c (print_record): Delete, implementation inlined...
4476 (ada_val_print_struct_union): ... here. Remove call to
4477 ada_check_typedef in inlined implementation.
4479 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4481 * ada-valprint.c (ada_val_print_gnat_array): New function,
4482 extracted from ada_val_print_1;
4483 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4484 (ada_val_print_flt, ada_val_print_struct_union)
4485 (ada_val_print_ref): Likewise.
4486 (ada_val_print_1): Delete variables i and elttype.
4487 Replace extracted-out code by call to corresponding
4490 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4492 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4494 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4496 * ada-valprint.c (ada_val_print_1): Replace calls to
4497 ada_val_print_1 by calls to val_print.
4499 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4501 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4502 Update calls to self accordingly. Replace calls to c_val_print
4503 by calls to val_print.
4505 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4507 * ada-valprint.c (print_record): Delete declaration.
4508 (adjust_type_signedness, ada_val_print_1): Likewise.
4509 (ada_val_print): Move function implementation down.
4510 (print_variant_part, print_field_values, print_record):
4511 Move function implementation up.
4513 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4515 * python/py-type.c (typy_get_name): New function.
4516 (type_object_getset): Add entry for attribute "name".
4517 * NEWS: Add entry mentioning this new attribute.
4519 2014-01-07 Yao Qi <yao@codesourcery.com>
4521 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4524 2014-01-07 Yao Qi <yao@codesourcery.com>
4526 * gnu-nat.c (info_port_rights): Add qualifier const to
4529 2014-01-07 Yao Qi <yao@codesourcery.com>
4531 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4533 2014-01-07 Yao Qi <yao@codesourcery.com>
4535 * gnu-nat.c (make_inf) Update declaration.
4536 (make_inf): Make it static.
4537 (inf_set_traced): Likewise.
4538 (inf_port_to_thread, inf_task_died_status): Likewise.
4540 2014-01-07 Yao Qi <yao@codesourcery.com>
4542 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4544 2014-01-07 Yao Qi <yao@codesourcery.com>
4546 * gnu-nat.c (_initialize_gnu_nat): Declare.
4548 2014-01-07 Yao Qi <yao@codesourcery.com>
4550 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4552 (struct gdbarch_info) <byte_order>: Change type to
4554 <byte_order_for_code>: Likewise.
4555 * gdbarch.c, gdbarch.h: Regenerated.
4557 2014-01-06 Sasha Smundak <asmundak@google.com>
4559 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4561 2014-01-06 Tom Tromey <tromey@redhat.com>
4563 * doublest.c (convert_doublest_to_floatformat): Use const, not
4565 * somread.c (som_symtab_read): Likewise.
4567 2014-01-07 Hui Zhu <hui@codesourcery.com>
4569 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4570 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4571 (gdb_bfd_fopen): Ditto.
4572 (gdb_bfd_openr): Ditto.
4573 (gdb_bfd_openw): Ditto.
4574 (gdb_bfd_openr_iovec): Ditto.
4575 (gdb_bfd_fdopenr): Ditto.
4576 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4577 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4579 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4581 * symfile-mem.c (symbol_file_add_from_memory): Removed
4582 gdb_bfd_stash_filename.
4584 2014-01-03 Doug Evans <dje@google.com>
4586 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4589 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4591 Update year range in copyright notice of all files.
4593 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4595 * top.c (print_gdb_version): Set copyright year to 2014.
4597 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4599 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4601 For older changes see ChangeLog-2013.
4607 version-control: never