1 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
3 * target.c (memory_xfer_partial): Fix length arg in call to
4 breakpoint_xfer_memory.
6 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10 number comes after the + or - signs. Adjust length of register
13 2014-02-20 Tom Tromey <tromey@redhat.com>
15 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
16 (ada_varobj_ops): Mark "extern".
18 2014-02-20 Tom Tromey <tromey@redhat.com>
20 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
22 2014-02-20 Doug Evans <xdje42@gmail.com>
24 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
26 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
28 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
29 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
31 2014-02-20 lin zuojian <manjian2006@gmail.com>
32 Joel Brobecker <brobecker@adacore.com>
33 Doug Evans <xdje42@gmail.com>
36 * dwarf2read.c (struct die_info): New member in_process.
37 (reset_die_in_process): New function.
38 (process_die): Set it at the start, reset when returning.
39 (inherit_abstract_dies): Only call process_die if origin_child_die
40 not already being processed.
42 2014-02-20 Joel Brobecker <brobecker@adacore.com>
44 * windows-nat.c (handle_unload_dll): Add function documentation.
45 (do_initial_windows_stuff): Add comment explaining why we wait
46 until after inferior initialization has finished before
49 2014-02-20 Joel Brobecker <brobecker@adacore.com>
51 * windows-nat.c (get_module_name): Delete.
52 (windows_get_exec_module_filename): New function, mostly
53 inspired from get_module_name.
54 (windows_pid_to_exec_file): Replace call to get_module_name
55 by call to windows_get_exec_module_filename.
57 2014-02-20 Joel Brobecker <brobecker@adacore.com>
59 * windows-nat.c (handle_load_dll): Rewrite this function's
60 introductory comment. Remove code using get_module_name
61 to get the DLL's name.
63 2014-02-20 Joel Brobecker <brobecker@adacore.com>
65 * windows-nat.c (get_windows_debug_event): Ignore
66 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
67 if windows_initialization_done == 0.
68 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
69 Adjust implementation to always load all DLLs.
70 (do_initial_windows_stuff): Replace call to
71 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
73 2014-02-20 Joel Brobecker <brobecker@adacore.com>
75 * windows-nat.c (_initialize_windows_nat): Deprecate the
76 "dll-symbols" command. Turn the "add-shared-symbol-files"
77 and "assf" aliases into commands, and deprecate them as well.
78 * NEWS: Add entry explaining that "dll-symbols" and its two
79 aliases are now deprecated.
81 2014-02-20 Joel Brobecker <brobecker@adacore.com>
83 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
84 new-line in debug string. Remove trailing spaces.
86 2014-02-19 Stan Shebs <stan@codesourcery.com>
88 * darwin-nat.c (darwin_xfer_partial): Fix return type.
90 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
92 * NEWS: Add entry for the new feature
93 * python/py-value.c (valpy_binop): Call value_x_binop for struct
96 2014-02-19 Stan Shebs <stan@codesourcery.com>
98 * MAINTAINERS: List Yao Qi as nios2 maintainer.
100 2014-02-19 Pedro Alves <palves@redhat.com>
102 * common/ptid.h (struct ptid): Mention that process_stratum
103 targets should prefer ptid.lwp.
105 2014-02-19 Pedro Alves <palves@redhat.com>
107 * remote.c (remote_thread_alive, write_ptid, read_ptid)
108 (read_ptid, remote_newthread_step, remote_threads_extra_info)
109 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
110 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
111 store remote thread ids rather than ptid.tid.
112 (_initialize_remote): Adjust.
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target.c (target_get_unwinder): Rewrite.
117 (target_get_tailcall_unwinder): Rewrite.
118 * record-btrace.c (record_btrace_to_get_unwinder): New function.
119 (record_btrace_to_get_tailcall_unwinder): New function.
120 (init_record_btrace_ops): Update.
121 * target.h (struct target_ops) <to_get_unwinder,
122 to_get_tailcall_unwinder>: Now function pointers. Use
123 TARGET_DEFAULT_RETURN.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
129 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
131 2014-02-19 Tom Tromey <tromey@redhat.com>
133 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
135 * target-delegates.c: Rebuild.
136 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
138 * target.c (default_target_decr_pc_after_break): Rename from
139 forward_target_decr_pc_after_break. Simplify.
140 (target_decr_pc_after_break): Rely on delegation.
142 2014-02-19 Tom Tromey <tromey@redhat.com>
144 * target.c (update_current_target): Do not INHERIT to_doc or
145 to_magic. Do not de_fault to_open or to_close.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * gcore.h (objfile_find_memory_regions): Declare.
150 * gcore.c (objfile_find_memory_regions): No longer static. Add
152 (_initialize_gcore): Don't call exec_set_find_memory_regions.
153 * exec.c: Include gcore.h.
154 (exec_set_find_memory_regions): Remove.
155 (exec_find_memory_regions): Remove.
156 (exec_do_find_memory_regions): Remove.
157 (init_exec_ops): Update.
158 * defs.h (exec_set_find_memory_regions): Remove.
160 2014-02-19 Tom Tromey <tromey@redhat.com>
162 * target-delegates.c: Rebuild.
163 * target.h (struct target_ops) <to_extra_thread_info,
164 to_thread_name, to_pid_to_exec_file, to_get_section_table,
165 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
166 not 0, in TARGET_DEFAULT_RETURN.
168 2014-02-19 Tom Tromey <tromey@redhat.com>
170 * target.c (complete_target_initialization): Remove casts. Use
171 return_zero_has_execution.
172 (return_zero): Add "ignore" argument.
173 (return_zero_has_execution): New function.
174 (init_dummy_target): Remove casts. Use
175 return_zero_has_execution.
177 2014-02-19 Tom Tromey <tromey@redhat.com>
179 * target.c (update_current_target): Update comments. Do not
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * arm-linux-nat.c (arm_linux_read_description): Delegate when
186 * corelow.c (core_read_description): Delegate when needed.
187 * remote.c (remote_read_description): Delegate when needed.
188 * target-delegates.c: Rebuild.
189 * target.c (target_read_description): Rewrite.
190 * target.h (struct target_ops) <to_read_description>: Update
191 comment. Use TARGET_DEFAULT_RETURN.
193 2014-02-19 Tom Tromey <tromey@redhat.com>
195 * target-delegates.c: Rebuild.
196 * target.c (update_current_target): Don't inherit or default
198 (find_default_run_target): Check against delegate_can_run.
199 * target.h (struct target_ops) <to_can_run>: Use
200 TARGET_DEFAULT_RETURN.
202 2014-02-19 Tom Tromey <tromey@redhat.com>
204 * target-delegates.c: Rebuild.
205 * target.c (target_disconnect): Unconditionally delegate.
206 * target.h (struct target_ops) <to_disconnect>: Use
207 TARGET_DEFAULT_NORETURN.
209 2014-02-19 Tom Tromey <tromey@redhat.com>
211 * record.c (record_stop): Unconditionally delegate.
212 * target-delegates.c: Rebuild.
213 * target.c (target_stop_recording): Unconditionally delegate.
214 * target.h (struct target_ops) <to_stop_recording>: Use
215 TARGET_DEFAULT_IGNORE.
217 2014-02-19 Tom Tromey <tromey@redhat.com>
219 * target-delegates.c: Rebuild.
220 * target.c (target_enable_btrace): Unconditionally delegate.
221 * target.h (struct target_ops) <to_enable_btrace>: Use
222 TARGET_DEFAULT_NORETURN.
224 2014-02-19 Tom Tromey <tromey@redhat.com>
226 * target-delegates.c: Rebuild.
227 * target.c (target_read_btrace): Unconditionally delegate.
228 * target.h (struct target_ops) <to_read_btrace>: Use
229 TARGET_DEFAULT_NORETURN.
231 2014-02-19 Tom Tromey <tromey@redhat.com>
233 * target-delegates.c: Rebuild.
234 * target.c (target_teardown_btrace): Unconditionally delegate.
235 * target.h (struct target_ops) <to_teardown_btrace>: Use
236 TARGET_DEFAULT_NORETURN.
238 2014-02-19 Tom Tromey <tromey@redhat.com>
240 * target-delegates.c: Rebuild.
241 * target.c (target_disable_btrace): Unconditionally delegate.
242 * target.h (struct target_ops) <to_disable_btrace>: Use
243 TARGET_DEFAULT_NORETURN.
245 2014-02-19 Tom Tromey <tromey@redhat.com>
247 * target-delegates.c: Rebuild.
248 * target.c (default_search_memory): New function.
249 (simple_search_memory): Update comment.
250 (target_search_memory): Unconditionally delegate.
251 * target.h (struct target_ops) <to_search_memory>: Use
254 2014-02-19 Tom Tromey <tromey@redhat.com>
256 * auxv.c (default_auxv_parse): No longer static.
257 (target_auxv_parse): Unconditionally delegate.
258 * auxv.h (default_auxv_parse): Declare.
259 * target-delegates.c: Rebuild.
260 * target.c: Include auxv.h.
261 * target.h (struct target_ops) <to_auxv_parse>: Use
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * target-delegates.c: Rebuild.
267 * target.c (target_memory_map): Unconditionally delegate.
268 * target.h (struct target_ops) <to_memory_map>: Use
269 TARGET_DEFAULT_RETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (target_thread_alive): Unconditionally delegate.
275 * target.h (struct target_ops) <to_thread_alive>: Use
276 TARGET_DEFAULT_RETURN.
278 2014-02-19 Tom Tromey <tromey@redhat.com>
280 * target-delegates.c: Rebuild.
281 * target.c (target_save_record): Unconditionally delegate.
282 * target.h (struct target_ops) <to_save_record>: Use
283 TARGET_DEFAULT_NORETURN.
285 2014-02-19 Tom Tromey <tromey@redhat.com>
287 * target-delegates.c: Rebuild.
288 * target.c (target_delete_record): Unconditionally delegate.
289 * target.h (struct target_ops) <to_delete_record>: Use
290 TARGET_DEFAULT_NORETURN.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target-delegates.c: Rebuild.
295 * target.c (target_record_is_replaying): Unconditionally
297 * target.h (struct target_ops) <to_record_is_replaying>: Use
298 TARGET_DEFAULT_RETURN.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target-delegates.c: Rebuild.
303 * target.c (target_goto_record_begin): Unconditionally delegate.
304 * target.h (struct target_ops) <to_goto_record_begin>: Use
305 TARGET_DEFAULT_NORETURN.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target-delegates.c: Rebuild.
310 * target.c (target_goto_record_end): Unconditionally delegate.
311 * target.h (struct target_ops) <to_goto_record_end>: Use
312 TARGET_DEFAULT_NORETURN.
314 2014-02-19 Tom Tromey <tromey@redhat.com>
316 * target-delegates.c: Rebuild.
317 * target.c (target_goto_record): Unconditionally delegate.
318 * target.h (struct target_ops) <to_goto_record>: Use
319 TARGET_DEFAULT_NORETURN.
321 2014-02-19 Tom Tromey <tromey@redhat.com>
323 * target-delegates.c: Rebuild.
324 * target.c (target_insn_history): Unconditionally delegate.
325 * target.h (struct target_ops) <to_insn_history>: Use
326 TARGET_DEFAULT_NORETURN.
328 2014-02-19 Tom Tromey <tromey@redhat.com>
330 * target-delegates.c: Rebuild.
331 * target.c (target_insn_history_from): Unconditionally delegate.
332 * target.h (struct target_ops) <to_insn_history_from>: Use
333 TARGET_DEFAULT_NORETURN.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target-delegates.c: Rebuild.
338 * target.c (target_insn_history_range): Unconditionally delegate.
339 * target.h (struct target_ops) <to_insn_history_range>: Use
340 TARGET_DEFAULT_NORETURN.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (target_call_history): Unconditionally delegate.
346 * target.h (struct target_ops) <to_call_history>: Use
347 TARGET_DEFAULT_NORETURN.
349 2014-02-19 Tom Tromey <tromey@redhat.com>
351 * target-delegates.c: Rebuild.
352 * target.c (target_call_history_from): Unconditionally delegate.
353 * target.h (struct target_ops) <to_call_history_from>: Use
354 TARGET_DEFAULT_NORETURN.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (target_call_history_range): Unconditionally delegate.
360 * target.h (struct target_ops) <to_call_history_range>: Use
361 TARGET_DEFAULT_NORETURN.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (target_verify_memory): Unconditionally delegate.
367 * target.h (struct target_ops) <to_verify_memory>: Use
368 TARGET_DEFAULT_NORETURN.
370 2014-02-19 Tom Tromey <tromey@redhat.com>
372 * target-delegates.c: Rebuild.
373 * target.c (target_core_of_thread): Unconditionally delegate.
374 * target.h (struct target_ops) <to_core_of_thread>: Use
375 TARGET_DEFAULT_RETURN.
377 2014-02-19 Tom Tromey <tromey@redhat.com>
379 * target-delegates.c: Rebuild.
380 * target.c (target_flash_done): Unconditionally delegate.
381 * target.h (struct target_ops) <to_flash_done>: Use
382 TARGET_DEFAULT_NORETURN.
384 2014-02-19 Tom Tromey <tromey@redhat.com>
386 * target-delegates.c: Rebuild.
387 * target.c (target_flash_erase): Unconditionally delegate.
388 * target.h (struct target_ops) <to_flash_erase>: Use
389 TARGET_DEFAULT_NORETURN.
391 2014-02-19 Tom Tromey <tromey@redhat.com>
393 * target-delegates.c: Rebuild.
394 * target.c (target_get_section_table): Unconditionally delegate.
395 * target.h (struct target_ops) <to_get_section_table>: Use
396 TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (target_pid_to_str): Unconditionally delegate.
402 (init_dummy_target): Don't initialize to_pid_to_str.
403 (default_pid_to_str): Rename from dummy_pid_to_str.
404 * target.h (struct target_ops) <to_pid_to_str>: Use
407 2014-02-19 Tom Tromey <tromey@redhat.com>
409 * target-delegates.c: Rebuild.
410 * target.c (target_find_new_threads): Unconditionally delegate.
411 * target.h (struct target_ops) <to_find_new_threads>: Use
412 TARGET_DEFAULT_RETURN.
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (target_program_signals): Unconditionally delegate.
418 * target.h (struct target_ops) <to_program_signals>: Use
419 TARGET_DEFAULT_IGNORE.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (target_pass_signals): Unconditionally delegate.
425 * target.h (struct target_ops) <to_pass_signals>: Use
426 TARGET_DEFAULT_IGNORE.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target-delegates.c: Rebuild.
431 * target.c (default_mourn_inferior): New function.
432 (target_mourn_inferior): Unconditionally delegate.
433 * target.h (struct target_ops) <to_mourn_inferior>: Use
436 2014-02-19 Tom Tromey <tromey@redhat.com>
438 * target-delegates.c: Rebuild.
439 * target.c (default_follow_fork): New function.
440 (target_follow_fork): Unconditionally delegate.
441 * target.h (struct target_ops) <to_follow_fork>: Use
444 2014-02-19 Tom Tromey <tromey@redhat.com>
446 * target-delegates.c: Rebuild.
447 * target.c (target_kill): Unconditionally delegate.
448 * target.h (struct target_ops) <to_kill>: Use
449 TARGET_DEFAULT_NORETURN.
451 2014-02-19 Tom Tromey <tromey@redhat.com>
453 * target-delegates.c: Rebuild.
454 * target.c (target_masked_watch_num_registers): Unconditionally
456 * target.h (struct target_ops) <to_masked_watch_num_registers>:
457 Use TARGET_DEFAULT_RETURN.
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (target_remove_mask_watchpoint): Unconditionally
464 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
465 TARGET_DEFAULT_RETURN.
467 2014-02-19 Tom Tromey <tromey@redhat.com>
469 * target-delegates.c: Rebuild.
470 * target.c (target_insert_mask_watchpoint): Unconditionally
472 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
473 TARGET_DEFAULT_RETURN.
475 2014-02-19 Tom Tromey <tromey@redhat.com>
477 * target-delegates.c: Rebuild.
478 * target.c (target_ranged_break_num_registers): Unconditionally
480 * target.h (struct target_ops) <to_ranged_break_num_registers>:
481 Use TARGET_DEFAULT_RETURN.
483 2014-02-19 Tom Tromey <tromey@redhat.com>
485 * target-delegates.c: Rebuild.
486 * target.c (target_fetch_registers): Unconditionally delegate.
487 * target.h (struct target_ops) <to_fetch_registers>: Use
488 TARGET_DEFAULT_NORETURN.
490 2014-02-19 Tom Tromey <tromey@redhat.com>
492 * target-delegates.c: Rebuild.
493 * target.c (update_current_target): Don't inherit or default
495 * target.h (struct target_ops) <to_stop>: Use
496 TARGET_DEFAULT_IGNORE.
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * target-delegates.c: Rebuild.
501 * target.c (update_current_target): Don't inherit or default
502 to_can_run_breakpoint_commands.
503 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
504 Use TARGET_DEFAULT_RETURN.
506 2014-02-19 Tom Tromey <tromey@redhat.com>
508 * target-delegates.c: Rebuild.
509 * target.c (update_current_target): Don't inherit or default
510 to_supports_evaluation_of_breakpoint_conditions.
511 * target.h (struct target_ops)
512 <to_supports_evaluation_of_breakpoint_conditions>: Use
513 TARGET_DEFAULT_RETURN.
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_augmented_libraries_svr4_read.
520 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
521 Use TARGET_DEFAULT_RETURN.
523 2014-02-19 Tom Tromey <tromey@redhat.com>
525 * target-delegates.c: Rebuild.
526 * target.c (update_current_target): Don't inherit or default
528 * target.h (struct target_ops) <to_can_use_agent>: Use
529 TARGET_DEFAULT_RETURN.
531 2014-02-19 Tom Tromey <tromey@redhat.com>
533 * target-delegates.c: Rebuild.
534 * target.c (update_current_target): Don't inherit or default
536 * target.h (struct target_ops) <to_use_agent>: Use
537 TARGET_DEFAULT_NORETURN.
539 2014-02-19 Tom Tromey <tromey@redhat.com>
541 * target-delegates.c: Rebuild.
542 * target.c (update_current_target): Don't inherit or default
544 (return_null): Remove.
545 * target.h (struct target_ops) <to_traceframe_info>: Use
546 TARGET_DEFAULT_RETURN.
548 2014-02-19 Tom Tromey <tromey@redhat.com>
550 * target-delegates.c: Rebuild.
551 * target.c (update_current_target): Don't inherit or default
552 to_static_tracepoint_markers_by_strid.
553 * target.h (struct target_ops)
554 <to_static_tracepoint_markers_by_strid>: Use
555 TARGET_DEFAULT_NORETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
561 to_static_tracepoint_marker_at.
562 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
563 Use TARGET_DEFAULT_RETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (update_current_target): Don't inherit or default
570 * target.h (struct target_ops) <to_set_permissions>: Use
571 TARGET_DEFAULT_IGNORE.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (update_current_target): Don't inherit or default
578 * target.h (struct target_ops) <to_get_tib_address>: Use
579 TARGET_DEFAULT_NORETURN.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (update_current_target): Don't inherit or default
586 * target.h (struct target_ops) <to_set_trace_notes>: Use
587 TARGET_DEFAULT_RETURN.
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target-delegates.c: Rebuild.
592 * target.c (update_current_target): Don't initialize
593 to_set_trace_buffer_size.
594 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
595 TARGET_DEFAULT_IGNORE.
597 2014-02-19 Tom Tromey <tromey@redhat.com>
599 * target-delegates.c: Rebuild.
600 * target.c (update_current_target): Don't inherit or default
601 to_set_circular_trace_buffer.
602 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
603 TARGET_DEFAULT_IGNORE.
605 2014-02-19 Tom Tromey <tromey@redhat.com>
607 * target-delegates.c: Rebuild.
608 * target.c (update_current_target): Don't inherit or default
609 to_set_disconnected_tracing.
610 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
611 TARGET_DEFAULT_IGNORE.
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_get_min_fast_tracepoint_insn_len.
618 (return_minus_one): Remove.
619 * target.h (struct target_ops)
620 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (update_current_target): Don't inherit or default
626 to_get_raw_trace_data.
627 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
628 TARGET_DEFAULT_NORETURN.
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target-delegates.c: Rebuild.
633 * target.c (update_current_target): Don't inherit or default
634 to_upload_trace_state_variables.
635 * target.h (struct target_ops) <to_upload_trace_state_variables>:
636 Use TARGET_DEFAULT_RETURN.
638 2014-02-19 Tom Tromey <tromey@redhat.com>
640 * target-delegates.c: Rebuild.
641 * target.c (update_current_target): Don't inherit or default
642 to_upload_tracepoints.
643 * target.h (struct target_ops) <to_upload_tracepoints>: Use
644 TARGET_DEFAULT_RETURN.
646 2014-02-19 Tom Tromey <tromey@redhat.com>
648 * target-delegates.c: Rebuild.
649 * target.c (update_current_target): Don't inherit or default
651 * target.h (struct target_ops) <to_save_trace_data>: Use
652 TARGET_DEFAULT_NORETURN.
654 2014-02-19 Tom Tromey <tromey@redhat.com>
656 * target-delegates.c: Rebuild.
657 * target.c (update_current_target): Don't inherit or default
658 to_get_trace_state_variable_value.
659 * target.h (struct target_ops)
660 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
662 2014-02-19 Tom Tromey <tromey@redhat.com>
664 * target-delegates.c: Rebuild.
665 * target.c (update_current_target): Don't inherit or default
667 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
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_trace_stop>: 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
681 to_get_tracepoint_status.
682 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
683 TARGET_DEFAULT_NORETURN.
685 2014-02-19 Tom Tromey <tromey@redhat.com>
687 * target-delegates.c: Rebuild.
688 * target.c (update_current_target): Don't inherit or default
690 * target.h (struct target_ops) <to_get_trace_status>: Use
691 TARGET_DEFAULT_RETURN.
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_trace_start>: Use
699 TARGET_DEFAULT_NORETURN.
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_trace_set_readonly_regions.
706 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
707 Use TARGET_DEFAULT_NORETURN.
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_disable_tracepoint.
714 * target.h (struct target_ops) <to_disable_tracepoint>: Use
715 TARGET_DEFAULT_NORETURN.
717 2014-02-19 Tom Tromey <tromey@redhat.com>
719 * target-delegates.c: Rebuild.
720 * target.c (update_current_target): Don't inherit or default
721 to_enable_tracepoint.
722 * target.h (struct target_ops) <to_enable_tracepoint>: Use
723 TARGET_DEFAULT_NORETURN.
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_download_trace_state_variable.
730 * target.h (struct target_ops) <to_download_trace_state_variable>:
731 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
738 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
739 TARGET_DEFAULT_RETURN.
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_download_tracepoint.
746 * target.h (struct target_ops) <to_download_tracepoint>: Use
747 TARGET_DEFAULT_NORETURN.
749 2014-02-19 Tom Tromey <tromey@redhat.com>
751 * target-delegates.c: Rebuild.
752 * target.c (update_current_target): Don't inherit or default
754 * target.h (struct target_ops) <to_trace_init>: Use
755 TARGET_DEFAULT_RETURN.
757 2014-02-19 Tom Tromey <tromey@redhat.com>
759 * target-delegates.c: Rebuild.
760 * target.c (update_current_target): Don't inherit or default
761 to_supports_string_tracing.
762 * target.h (struct target_ops) <to_supports_string_tracing>: 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_supports_enable_disable_tracepoint.
770 * target.h (struct target_ops)
771 <to_supports_enable_disable_tracepoint>: Use
772 TARGET_DEFAULT_RETURN.
774 2014-02-19 Tom Tromey <tromey@redhat.com>
776 * target-delegates.c: Rebuild.
777 * target.c (update_current_target): Don't inherit or default
778 to_supports_multi_process.
779 * target.h (struct target_ops) <to_supports_multi_process>: Use
780 TARGET_DEFAULT_RETURN.
782 2014-02-19 Tom Tromey <tromey@redhat.com>
784 * target-delegates.c: Rebuild.
785 * target.c (update_current_target): Don't inherit or default
786 to_get_ada_task_ptid.
787 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
790 2014-02-19 Tom Tromey <tromey@redhat.com>
792 * target-delegates.c: Rebuild.
793 * target.c (update_current_target): Don't inherit or default
794 to_thread_architecture.
795 * target.h (struct target_ops) <to_thread_architecture>: Use
798 2014-02-19 Tom Tromey <tromey@redhat.com>
800 * target-delegates.c: Rebuild.
801 * target.c (update_current_target): Don't inherit or default
802 to_execution_direction.
803 * target.h (struct target_ops) <to_execution_direction>: Use
806 2014-02-19 Tom Tromey <tromey@redhat.com>
808 * target-delegates.c: Rebuild.
809 * target.c (update_current_target): Don't inherit or default
810 to_can_execute_reverse.
811 * target.h (struct target_ops) <to_can_execute_reverse>: Use
812 TARGET_DEFAULT_RETURN.
813 (target_can_execute_reverse): Unconditionally delegate.
815 2014-02-19 Tom Tromey <tromey@redhat.com>
817 * target-delegates.c: Rebuild.
818 * target.c (update_current_target): Don't inherit or default
820 (dummy_goto_bookmark): Remove.
821 (init_dummy_target): Don't inherit or default to_goto_bookmark.
822 * target.h (struct target_ops) <to_goto_bookmark>: Use
823 TARGET_DEFAULT_NORETURN.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (update_current_target): Don't inherit or default
830 (dummy_get_bookmark): Remove.
831 (init_dummy_target): Don't inherit or default to_get_bookmark.
832 * target.h (struct target_ops) <to_get_bookmark>: Use
833 TARGET_DEFAULT_NORETURN
835 2014-02-19 Tom Tromey <tromey@redhat.com>
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
839 to_make_corefile_notes.
840 (init_dummy_target): Don't initialize to_make_corefile_notes.
841 * target.h (struct target_ops) <to_make_corefile_notes>: Use
844 2014-02-19 Tom Tromey <tromey@redhat.com>
846 * target-delegates.c: Rebuild.
847 * target.c (update_current_target): Don't inherit or default
848 to_find_memory_regions.
849 (init_dummy_target): Don't initialize to_find_memory_regions.
850 * target.h (struct target_ops) <to_find_memory_regions>: Use
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target-delegates.c: Rebuild.
856 * target.c (update_current_target): Don't inherit or default
858 * target.h (struct target_ops) <to_log_command>: Use
859 TARGET_DEFAULT_IGNORE.
860 (target_log_command): Unconditionally delegate.
862 2014-02-19 Tom Tromey <tromey@redhat.com>
864 * target-delegates.c: Rebuild.
865 * target.c (update_current_target): Don't inherit or default
867 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
868 TARGET_DEFAULT_RETURN.
870 2014-02-19 Tom Tromey <tromey@redhat.com>
872 * target-delegates.c: Rebuild.
873 * target.c (update_current_target): Don't inherit or default
875 (target_thread_name): Unconditionally delegate.
876 * target.h (struct target_ops) <to_thread_name>: Use
877 TARGET_DEFAULT_RETURN.
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * target-delegates.c: Rebuild.
882 * target.c (update_current_target): Don't inherit or default
883 to_extra_thread_info.
884 * target.h (struct target_ops) <to_extra_thread_info>: Use
885 TARGET_DEFAULT_RETURN.
887 2014-02-19 Tom Tromey <tromey@redhat.com>
889 * target-delegates.c: Rebuild.
890 * target.c (update_current_target): Don't inherit or default
892 * target.h (struct target_ops) <to_has_exited>: Use
893 TARGET_DEFAULT_RETURN..
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * target-delegates.c: Rebuild.
898 * target.c (update_current_target): Don't inherit or default
899 to_set_syscall_catchpoint.
900 (return_one): Remove.
901 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
902 TARGET_DEFAULT_RETURN.
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * target-delegates.c: Rebuild.
907 * target.c (update_current_target): Don't inherit or default
908 to_insert_exec_catchpoint.
909 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
910 TARGET_DEFAULT_RETURN.
912 2014-01-08 Tom Tromey <tromey@redhat.com>
914 * target-delegates.c: Rebuild.
915 * target.c (update_current_target): Don't inherit or default
916 to_insert_exec_catchpoint.
917 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
918 TARGET_DEFAULT_RETURN.
920 2014-02-19 Tom Tromey <tromey@redhat.com>
922 * target-delegates.c: Rebuild.
923 * target.c (update_current_target): Don't inherit or default
924 to_remove_vfork_catchpoint.
925 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
926 TARGET_DEFAULT_RETURN.
928 2014-02-19 Tom Tromey <tromey@redhat.com>
930 * target-delegates.c: Rebuild.
931 * target.c (update_current_target): Don't inherit or default
932 to_insert_vfork_catchpoint.
933 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
934 TARGET_DEFAULT_RETURN.
936 2014-02-19 Tom Tromey <tromey@redhat.com>
938 * target-delegates.c: Rebuild.
939 * target.c (update_current_target): Don't inherit or default
940 to_remove_fork_catchpoint.
941 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
942 TARGET_DEFAULT_RETURN.
944 2014-02-19 Tom Tromey <tromey@redhat.com>
946 * target-delegates.c: Rebuild.
947 * target.c (update_current_target): Don't inherit or default
948 to_insert_fork_catchpoint.
949 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
950 TARGET_DEFAULT_RETURN.
952 2014-02-19 Tom Tromey <tromey@redhat.com>
954 * target-delegates.c: Rebuild.
955 * target.c (update_current_target): Don't inherit or default
956 to_post_startup_inferior.
957 * target.h (struct target_ops) <to_post_startup_inferior>: Use
958 TARGET_DEFAULT_IGNORE.
960 2014-02-19 Tom Tromey <tromey@redhat.com>
962 * target-delegates.c: Rebuild.
963 * target.c (update_current_target): Don't inherit or default
965 * target.h (struct target_ops) <to_load>: Use
966 TARGET_DEFAULT_NORETURN.
968 2014-02-19 Tom Tromey <tromey@redhat.com>
970 * target-delegates.c: Rebuild.
971 * target.c (update_current_target): Don't inherit or default
973 * target.h (struct target_ops) <to_terminal_info>: Use
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
980 to_terminal_save_ours.
981 * target.h (struct target_ops) <to_terminal_save_ours>: Use
982 TARGET_DEFAULT_IGNORE.
984 2014-02-19 Tom Tromey <tromey@redhat.com>
986 * target-delegates.c: Rebuild.
987 * target.c (update_current_target): Don't inherit or default
989 * target.h (struct target_ops) <to_terminal_ours>: Use
990 TARGET_DEFAULT_IGNORE.
992 2014-02-19 Tom Tromey <tromey@redhat.com>
994 * target-delegates.c: Rebuild.
995 * target.c (update_current_target): Don't inherit or default
996 to_terminal_ours_for_output.
997 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
998 TARGET_DEFAULT_IGNORE.
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * target-delegates.c: Rebuild.
1003 * target.c (update_current_target): Don't inherit or default
1004 to_terminal_inferior.
1005 * target.h (struct target_ops) <to_terminal_inferior>: Use
1006 TARGET_DEFAULT_IGNORE.
1008 2014-02-19 Tom Tromey <tromey@redhat.com>
1010 * target-delegates.c: Rebuild.
1011 * target.c (update_current_target): Don't inherit or default
1013 * target.h (struct target_ops) <to_terminal_init>: Use
1014 TARGET_DEFAULT_IGNORE.
1016 2014-02-19 Tom Tromey <tromey@redhat.com>
1018 * target-delegates.c: Rebuild.
1019 * target.c (update_current_target): Don't inherit or default
1020 to_can_accel_watchpoint_condition.
1021 * target.h (struct target_ops)
1022 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1024 2014-02-19 Tom Tromey <tromey@redhat.com>
1026 * target-delegates.c: Rebuild.
1027 * target.c (update_current_target): Don't inherit or default
1028 to_region_ok_for_hw_watchpoint.
1029 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1030 Use TARGET_DEFAULT_FUNC.
1032 2014-02-19 Tom Tromey <tromey@redhat.com>
1034 * target-delegates.c: Rebuild.
1035 * target.c (update_current_target): Don't inherit or default
1036 to_watchpoint_addr_within_range.
1037 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1038 Use TARGET_DEFAULT_FUNC.
1040 2014-02-19 Tom Tromey <tromey@redhat.com>
1042 * target-delegates.c: Rebuild.
1043 * target.c (update_current_target): Don't inherit or default
1044 to_remove_watchpoint.
1045 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1046 TARGET_DEFAULT_NORETURN.
1048 2014-02-19 Tom Tromey <tromey@redhat.com>
1050 * target-delegates.c: Rebuild.
1051 * target.c (update_current_target): Don't inherit or default
1052 to_insert_watchpoint.
1053 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1054 TARGET_DEFAULT_RETURN.
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target-delegates.c: Rebuild.
1059 * target.c (update_current_target): Don't inherit or default
1060 to_remove_hw_breakpoint.
1061 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1062 TARGET_DEFAULT_RETURN.
1064 2014-02-19 Tom Tromey <tromey@redhat.com>
1066 * target-delegates.c: Rebuild.
1067 * target.c (update_current_target): Don't inherit or default
1068 to_insert_hw_breakpoint.
1069 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1070 TARGET_DEFAULT_RETURN.
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target-delegates.c: Rebuild.
1075 * target.c (update_current_target): Don't inherit or default
1076 to_can_use_hw_breakpoint.
1077 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1078 TARGET_DEFAULT_RETURN.
1080 2014-02-19 Tom Tromey <tromey@redhat.com>
1082 * target-delegates.c: Rebuild.
1083 * target.c (update_current_target): Don't inherit or default
1085 * target.h (struct target_ops) <to_files_info>: Use
1086 TARGET_DEFAULT_IGNORE.
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * target-delegates.c: Rebuild.
1091 * target.c (update_current_target): Don't inherit or default
1093 * target.h (struct target_ops) <to_store>: Use
1094 TARGET_DEFAULT_NORETURN.
1096 2014-02-19 Tom Tromey <tromey@redhat.com>
1098 * target-delegates.c: Rebuild.
1099 * target.c (update_current_target): Don't inherit or default
1101 * target.h (struct target_ops) <to_post_attach>: Use
1102 TARGET_DEFAULT_IGNORE.
1104 2014-02-19 Tom Tromey <tromey@redhat.com>
1106 * target-delegates.c: Rebuild.
1107 * target.c (update_current_target): Don't inherit or default
1109 (default_rcmd): New function.
1110 (do_monitor_command): Unconditionally delegate.
1111 * target.h (struct target_ops) <to_rmcd>: Use
1112 TARGET_DEFAULT_FUNC.
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target-delegates.c: Rebuild.
1117 * target.c (init_dummy_target): Don't initialize to_attach.
1118 (target_attach): Unconditionally delegate.
1119 * target.h (struct target_ops) <to_attach>: Use
1120 TARGET_DEFAULT_FUNC.
1122 2014-02-19 Tom Tromey <tromey@redhat.com>
1124 * target-delegates.c: Rebuild.
1125 * target.c (target_detach): Unconditionally delegate.
1126 (init_dummy_target): Don't initialize to_detach.
1127 * target.h (struct target_ops) <to_detach>: Use
1128 TARGET_DEFAULT_IGNORE.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1134 (target_augmented_libraries_svr4_read): Add argument.
1135 * target.c (update_current_target): Update.
1136 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1139 2014-02-19 Tom Tromey <tromey@redhat.com>
1141 * target.h (struct target_ops) <to_call_history_range>: Add
1143 * target.c (target_call_history_range): Add argument.
1144 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1146 (record_btrace_call_history_from): Update.
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * target.h (struct target_ops) <to_call_history_from>: Add
1152 * target.c (target_call_history_from): Add argument.
1153 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * target.h (struct target_ops) <to_call_history>: Add argument.
1159 * target.c (target_call_history): Add argument.
1160 * record-btrace.c (record_btrace_call_history): Add 'self'
1163 2014-02-19 Tom Tromey <tromey@redhat.com>
1165 * target.h (struct target_ops) <to_insn_history_range>: Add
1167 * target.c (target_insn_history_range): Add argument.
1168 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1170 (record_btrace_insn_history_from): Update.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * target.h (struct target_ops) <to_insn_history_from>: Add
1176 * target.c (target_insn_history_from): Add argument.
1177 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * target.h (struct target_ops) <to_insn_history>: Add argument.
1183 * target.c (target_insn_history): Add argument.
1184 * record-btrace.c (record_btrace_insn_history): Add 'self'
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target.h (struct target_ops) <to_goto_record>: Add argument.
1190 * target.c (target_goto_record): Add argument.
1191 * record-full.c (record_full_goto): Add 'self' argument.
1192 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1194 2014-02-19 Tom Tromey <tromey@redhat.com>
1196 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1197 * target.c (target_goto_record_end): Add argument.
1198 * record-full.c (record_full_goto_end): Add 'self' argument.
1199 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target.h (struct target_ops) <to_goto_record_begin>: Add
1205 * target.c (target_goto_record_begin): Add argument.
1206 * record-full.c (record_full_goto_begin): Add 'self' argument.
1207 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1210 2014-02-19 Tom Tromey <tromey@redhat.com>
1212 * target.h (struct target_ops) <to_record_is_replaying>: Add
1214 * target.c (target_record_is_replaying): Add argument.
1215 * record-full.c (record_full_is_replaying): Add 'self' argument.
1216 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1218 (record_btrace_xfer_partial, record_btrace_store_registers)
1219 (record_btrace_prepare_to_store, record_btrace_resume)
1220 (record_btrace_wait, record_btrace_decr_pc_after_break)
1221 (record_btrace_find_new_threads, record_btrace_thread_alive):
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target.h (struct target_ops) <to_delete_record>: Add argument.
1227 * target.c (target_delete_record): Add argument.
1228 * record-full.c (record_full_delete): Add 'self' argument.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target.h (struct target_ops) <to_save_record>: Add argument.
1233 * target.c (target_save_record): Add argument.
1234 * record-full.c (record_full_save): Add 'self' argument.
1235 (record_full_save): Add 'self' argument.
1237 2014-02-19 Tom Tromey <tromey@redhat.com>
1239 * target.h (struct target_ops) <to_info_record>: Add argument.
1240 * target.c (target_info_record): Add argument.
1241 * record.c (info_record_command): Add argument.
1242 * record-full.c (record_full_info): Add 'self' argument.
1243 * record-btrace.c (record_btrace_info): Add 'self' argument.
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1248 * target.c (target_stop_recording): Add argument.
1249 * record.c (record_stop): Add argument.
1250 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1255 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1256 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1257 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1259 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1260 (_initialize_amd64_linux_nat): Use it.
1261 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1262 (_initialize_i386_linux_nat): Use it.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1267 * target.c (target_teardown_btrace): Add argument.
1268 * remote.c (remote_teardown_btrace): Add 'self' argument.
1269 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1271 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1274 2014-02-19 Tom Tromey <tromey@redhat.com>
1276 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1277 * target.c (target_disable_btrace): Add argument.
1278 * remote.c (remote_disable_btrace): Add 'self' argument.
1279 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1281 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1284 2014-02-19 Tom Tromey <tromey@redhat.com>
1286 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1287 * target.c (target_enable_btrace): Add argument.
1288 * remote.c (remote_enable_btrace): Add 'self' argument.
1289 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1291 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1297 (target_can_use_agent): Add argument.
1298 * target.c (update_current_target): Update.
1299 * remote.c (remote_can_use_agent): Add 'self' argument.
1300 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1302 2014-02-19 Tom Tromey <tromey@redhat.com>
1304 * target.h (struct target_ops) <to_use_agent>: Add argument.
1305 (target_use_agent): Add argument.
1306 * target.c (update_current_target): Update.
1307 * remote.c (remote_use_agent): Add 'self' argument.
1308 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1313 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1314 (target_traceframe_info): Add argument.
1315 * target.c (update_current_target): Update.
1316 * remote.c (remote_traceframe_info): Add 'self' argument.
1317 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (target_static_tracepoint_markers_by_strid): Add
1323 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1325 * target.c (update_current_target): Update.
1326 * remote.c (struct target_ops)
1327 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1328 * linux-nat.c (struct target_ops)
1329 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1331 2014-02-19 Tom Tromey <tromey@redhat.com>
1333 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1335 (target_static_tracepoint_marker_at): Add argument.
1336 * target.c (update_current_target): Update.
1337 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1340 2014-02-19 Tom Tromey <tromey@redhat.com>
1342 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1343 (target_set_permissions): Add argument.
1344 * target.c (update_current_target): Update.
1345 * remote.c (remote_set_permissions): Add 'self' argument.
1346 (remote_start_remote): Update.
1348 2014-02-19 Tom Tromey <tromey@redhat.com>
1350 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1351 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1352 (target_get_tib_address): Add argument.
1353 * target.c (update_current_target): Update.
1354 * remote.c (remote_get_tib_address): Add 'self' argument.
1356 2014-02-19 Tom Tromey <tromey@redhat.com>
1358 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1359 (target_set_trace_notes): Add argument.
1360 * target.c (update_current_target): Update.
1361 * remote.c (remote_set_trace_notes): Add 'self' argument.
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1367 (target_set_trace_buffer_size): Add argument.
1368 * target.c (update_current_target): Update.
1369 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1375 (target_set_circular_trace_buffer): Add argument.
1376 * target.c (update_current_target): Update.
1377 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1384 (target_set_disconnected_tracing): Add argument.
1385 * target.c (update_current_target): Update.
1386 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops)
1391 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1392 (target_get_min_fast_tracepoint_insn_len): Add argument.
1393 * target.c (update_current_target): Update.
1394 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1401 (target_get_raw_trace_data): Add argument.
1402 * target.c (update_current_target): Update.
1403 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1405 2014-02-19 Tom Tromey <tromey@redhat.com>
1407 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1409 (target_upload_trace_state_variables): Add argument.
1410 * target.c (update_current_target): Update.
1411 * remote.c (remote_upload_trace_state_variables): Add 'self'
1413 (remote_start_remote): Update.
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1419 (target_upload_tracepoints): Add argument.
1420 * target.c (update_current_target): Update.
1421 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1422 (remote_start_remote): Update.
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1426 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1427 (target_save_trace_data): Add argument.
1428 * target.c (update_current_target): Update.
1429 * remote.c (remote_save_trace_data): Add 'self' argument.
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1435 * target.h (struct target_ops)
1436 <to_get_trace_state_variable_value>: Add argument.
1437 (target_get_trace_state_variable_value): Add argument.
1438 * target.c (update_current_target): Update.
1439 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1441 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1446 * target.h (struct target_ops) <to_trace_find>: Add argument.
1447 (target_trace_find): Add argument.
1448 * target.c (update_current_target): Update.
1449 * remote.c (remote_trace_find): Add 'self' argument.
1450 * ctf.c (ctf_trace_find): Add 'self' argument.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1455 (target_trace_stop): Add argument.
1456 * target.c (update_current_target): Update.
1457 * remote.c (remote_trace_stop): Add 'self' argument.
1459 2014-02-19 Tom Tromey <tromey@redhat.com>
1461 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1462 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1464 (target_get_tracepoint_status): Add argument.
1465 * target.c (update_current_target): Update.
1466 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1471 * target.h (struct target_ops) <to_get_trace_status>: Add
1473 (target_get_trace_status): Add argument.
1474 * target.c (update_current_target): Update.
1475 * remote.c (remote_get_trace_status): Add 'self' argument.
1476 (remote_start_remote, remote_can_download_tracepoint): Update.
1477 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_trace_start>: Add argument.
1482 (target_trace_start): Add argument.
1483 * target.c (update_current_target): Update.
1484 * remote.c (remote_trace_start): Add 'self' argument.
1486 2014-02-19 Tom Tromey <tromey@redhat.com>
1488 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1490 (target_trace_set_readonly_regions): Add argument.
1491 * target.c (update_current_target): Update.
1492 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1495 2014-02-19 Tom Tromey <tromey@redhat.com>
1497 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1499 (target_disable_tracepoint): Add argument.
1500 * target.c (update_current_target): Update.
1501 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1507 (target_enable_tracepoint): Add argument.
1508 * target.c (update_current_target): Update.
1509 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target.h (struct target_ops) <to_download_trace_state_variable>:
1515 (target_download_trace_state_variable): Add argument.
1516 * target.c (update_current_target): Update.
1517 * remote.c (remote_download_trace_state_variable): Add 'self'
1520 2014-02-19 Tom Tromey <tromey@redhat.com>
1522 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1524 (target_can_download_tracepoint): Add argument.
1525 * target.c (update_current_target): Update.
1526 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target.h (struct target_ops) <to_download_tracepoint>: Add
1532 (target_download_tracepoint): Add argument.
1533 * target.c (update_current_target): Update.
1534 * remote.c (remote_download_tracepoint): Add 'self' argument.
1536 2014-02-19 Tom Tromey <tromey@redhat.com>
1538 * target.h (struct target_ops) <to_trace_init>: Add argument.
1539 (target_trace_init): Add argument.
1540 * target.c (update_current_target): Update.
1541 * remote.c (remote_trace_init): Add 'self' argument.
1543 2014-02-19 Tom Tromey <tromey@redhat.com>
1545 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1546 * target.c (target_fileio_readlink): Add argument.
1547 * remote.c (remote_hostio_readlink): Add 'self' argument.
1548 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1553 * target.c (target_fileio_unlink): Add argument.
1554 * remote.c (remote_hostio_unlink): Add 'self' argument.
1555 (remote_file_delete): Update.
1556 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1558 2014-02-19 Tom Tromey <tromey@redhat.com>
1560 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1561 * target.c (target_fileio_close): Add argument.
1562 * remote.c (remote_hostio_close): Add 'self' argument.
1563 (remote_hostio_close_cleanup): Update.
1564 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1566 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1568 2014-02-19 Tom Tromey <tromey@redhat.com>
1570 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1571 * target.c (target_fileio_pread): Add argument.
1572 * remote.c (remote_hostio_pread): Add 'self' argument.
1573 (remote_bfd_iovec_pread, remote_file_get): Update.
1574 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1576 2014-02-19 Tom Tromey <tromey@redhat.com>
1578 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1579 * target.c (target_fileio_pwrite): Add argument.
1580 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1581 (remote_file_put): Update.
1582 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1587 * target.c (target_fileio_open): Add argument.
1588 * remote.c (remote_hostio_open): Add 'self' argument.
1589 (remote_bfd_iovec_open): Add 'self' argument.
1590 (remote_file_put): Add 'self' argument.
1591 (remote_file_get): Add 'self' argument.
1592 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1594 2014-02-19 Tom Tromey <tromey@redhat.com>
1596 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1598 (target_can_run_breakpoint_commands): Add argument.
1599 * target.c (update_current_target): Update.
1600 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1602 (remote_insert_breakpoint): Add 'self' argument.
1603 (remote_insert_hw_breakpoint): Add 'self' argument.
1604 (remote_can_run_breakpoint_commands): Add 'self' argument.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target.h (struct target_ops)
1609 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1610 (target_supports_evaluation_of_breakpoint_conditions): Add
1612 * target.c (update_current_target): Update.
1613 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1615 (remote_insert_breakpoint): Add 'self' argument.
1616 (remote_insert_hw_breakpoint): Add 'self' argument.
1617 (remote_supports_cond_breakpoints): Add 'self' argument.
1619 2014-02-19 Tom Tromey <tromey@redhat.com>
1621 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1623 (target_supports_string_tracing): Add argument.
1624 * target.c (update_current_target): Update.
1625 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * target.h (struct target_ops)
1630 <to_supports_disable_randomization>: Add argument.
1631 * target.c (find_default_supports_disable_randomization): Add
1633 (target_supports_disable_randomization): Add argument.
1634 (find_default_supports_disable_randomization): Add 'self'
1636 * remote.c (extended_remote_supports_disable_randomization): Add
1638 (remote_supports_disable_randomization): Add 'self' argument.
1639 (extended_remote_create_inferior): Update.
1640 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target.h (struct target_ops)
1646 <to_supports_enable_disable_tracepoint>: Add argument.
1647 (target_supports_enable_disable_tracepoint): Add argument.
1648 * target.c (update_current_target): Update.
1649 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target.h (struct target_ops) <to_supports_multi_process>: Add
1656 (target_supports_multi_process): Add argument.
1657 * target.c (update_current_target): Update.
1658 * remote.c (remote_supports_multi_process): Add 'self' argument.
1659 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1661 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * target.h (struct target_ops) <to_execution_direction>: Add
1668 (target_execution_direction): Add argument.
1669 * target.c (default_execution_direction): Add 'self' argument.
1670 * record-full.c (record_full_execution_direction): Add 'self'
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1677 (target_can_execute_reverse): Add argument.
1678 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1679 * record-full.c (record_full_can_execute_reverse): Add 'self'
1681 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1686 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1687 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1689 (target_get_ada_task_ptid): Add argument.
1690 * target.c (update_current_target): Update.
1691 (default_get_ada_task_ptid): Add 'self' argument.
1692 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1693 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1694 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1696 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1698 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1700 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1702 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1703 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1709 (target_goto_bookmark): Add argument.
1710 * target.c (dummy_goto_bookmark): Add 'self' argument.
1711 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1716 (target_get_bookmark): Add argument.
1717 * target.c (dummy_get_bookmark): Add 'self' argument.
1718 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1720 2014-02-19 Tom Tromey <tromey@redhat.com>
1722 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1724 (target_make_corefile_notes): Add argument.
1725 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1726 * procfs.c (procfs_make_note_section): Add 'self' argument.
1727 (procfs_make_note_section): Add 'self' argument.
1728 (procfs_make_note_section): Add 'self' argument.
1729 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1731 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1732 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1733 * exec.c (exec_make_note_section): Add 'self' argument.
1734 (exec_make_note_section): Add 'self' argument.
1736 2014-02-19 Tom Tromey <tromey@redhat.com>
1738 * target.h (struct target_ops) <to_find_memory_regions>: Add
1740 (target_find_memory_regions): Add argument.
1741 * target.c (dummy_find_memory_regions): Add 'self' argument.
1742 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1743 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1744 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1745 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1746 * exec. (exec_do_find_memory_regions): New global.
1747 (exec_set_find_memory_regions): Rewrite.
1748 (exec_find_memory_regions): New function.
1749 (init_exec_ops): Use exec_find_memory_regions.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target.h (struct target_ops) <to_supports_non_stop>: Add
1755 * target.c (find_default_supports_non_stop): Add argument.
1756 (target_supports_non_stop): Add argument.
1757 (find_default_supports_non_stop): Add 'self' argument.
1758 * remote.c (remote_supports_non_stop): Add 'self' argument.
1759 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1761 2014-02-19 Tom Tromey <tromey@redhat.com>
1763 * target.h (struct target_ops) <to_log_command>: Add argument.
1764 (target_log_command): Add argument.
1765 * serial.h (serial_log_command): Add 'self' argument.
1766 * serial.c (serial_log_command): Add 'self' argument.
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1771 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1773 (target_pid_to_exec_file): Add argument.
1774 * target.c (debug_to_pid_to_exec_file): Add argument.
1775 (update_current_target): Update.
1776 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1777 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1778 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1779 (linux_handle_extended_wait): Update.
1780 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1781 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1782 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1783 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1787 * target.h (struct target_ops) <to_rcmd>: Add argument.
1788 (target_rcmd): Add argument.
1789 * target.c (debug_to_rcmd): Add argument.
1790 (update_current_target, do_monitor_command): Update.
1791 * remote.c (remote_rcmd): Add 'self' argument.
1792 * monitor.c (monitor_rcmd): Add 'self' argument.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * windows-nat.c (windows_stop): Add 'self' argument.
1797 * target.h (struct target_ops) <to_stop>: Add argument.
1798 * target.c (target_stop): Add argument.
1799 (debug_to_stop): Add argument.
1800 (update_current_target): Update.
1801 * remote.c (remote_stop): Add 'self' argument.
1802 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1803 (gdbsim_cntrl_c): Update.
1804 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1805 * procfs.c (procfs_stop): Add 'self' argument.
1806 * nto-procfs.c (procfs_stop): Add 'self' argument.
1807 * monitor.c (monitor_stop): Add 'self' argument.
1808 (monitor_open): Update.
1809 * linux-nat.c (linux_nat_stop): Add argument.
1810 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1811 * gnu-nat.c (gnu_stop): Add 'self' argument.
1812 * darwin-nat.c (darwin_stop): Add 'self' argument.
1814 2014-02-19 Tom Tromey <tromey@redhat.com>
1816 * target.h (struct target_ops) <to_thread_name>: Add argument.
1817 * target.c (target_thread_name): Add argument.
1818 (update_current_target): Update.
1819 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1823 * target.h (struct target_ops) <to_extra_thread_info>: Add
1825 (target_extra_thread_info): Add argument.
1826 * target.c (update_current_target): Update.
1827 * remote.c (remote_threads_extra_info): Add 'self' argument.
1828 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1830 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1831 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1832 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1834 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1836 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1838 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1841 2014-02-19 Tom Tromey <tromey@redhat.com>
1843 * target.h (struct target_ops) <to_program_signals>: Add argument.
1844 * target.c (target_program_signals): Add argument.
1845 * remote.c (remote_program_signals): Add 'self' argument.
1847 2014-02-19 Tom Tromey <tromey@redhat.com>
1849 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1850 * target.c (target_pass_signals): Add argument.
1851 * remote.c (remote_pass_signals): Add 'self' argument.
1852 (remote_start_remote): Update.
1853 * procfs.c (procfs_pass_signals): Add 'self' argument.
1854 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1855 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1856 (linux_nat_create_inferior, linux_nat_attach): Update.
1858 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * windows-nat.c (windows_can_run): Add 'self' argument.
1861 * target.h (struct target_ops) <to_can_run>: Add argument.
1862 (target_can_run): Add argument.
1863 * target.c (debug_to_can_run): Add argument.
1864 (update_current_target): Update.
1865 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1866 * inf-child.c (inf_child_can_run): Add 'self' argument.
1867 * go32-nat.c (go32_can_run): Add 'self' argument.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target.h (struct target_ops) <to_has_exited>: Add argument.
1872 (target_has_exited): Add argument.
1873 * target.c (debug_to_has_exited): Add argument.
1874 (update_current_target): Update.
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1878 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1880 (target_set_syscall_catchpoint): Add argument.
1881 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1883 * target.c (update_current_target): Update.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1889 (target_remove_exec_catchpoint): Add argument.
1890 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1891 (update_current_target): Update.
1892 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1895 2014-02-19 Tom Tromey <tromey@redhat.com>
1897 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1899 (target_insert_exec_catchpoint): Add argument.
1900 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1901 (update_current_target): Update.
1902 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1905 2014-02-19 Tom Tromey <tromey@redhat.com>
1907 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1909 (target_remove_vfork_catchpoint): Add argument.
1910 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1911 (update_current_target): Update.
1912 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1919 (target_insert_vfork_catchpoint): Add argument.
1920 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1921 (update_current_target): Update.
1922 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1925 2014-02-19 Tom Tromey <tromey@redhat.com>
1927 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1929 (target_remove_fork_catchpoint): Add argument.
1930 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1931 (update_current_target): Update.
1932 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1939 (target_insert_fork_catchpoint): Add argument.
1940 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1941 (update_current_target): Update.
1942 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1949 (target_post_startup_inferior): Add argument.
1950 * target.c (debug_to_post_startup_inferior): Add argument.
1951 (update_current_target): Update.
1952 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1954 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1956 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1958 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1960 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1962 (super_post_startup_inferior): Likewise.
1963 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1965 (super_post_startup_inferior): Likewise.
1966 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1967 Add 'self' argument.
1968 (super_post_startup_inferior): Likewise.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * target.h (struct target_ops) <to_load>: Add argument.
1973 * target.c (target_load): Add argument.
1974 (debug_to_load): Add argument.
1975 (update_current_target): Update.
1976 * remote.c (remote_load): Add 'self' argument.
1977 * remote-sim.c (gdbsim_load): Add 'self' argument.
1978 * remote-mips.c (mips_load): Add 'self' argument.
1979 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1980 * monitor.c (monitor_load): Add 'self' argument.
1981 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1983 2014-02-19 Tom Tromey <tromey@redhat.com>
1985 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1986 (target_terminal_info): Add argument.
1987 * target.c (debug_to_terminal_info): Add argument.
1988 (default_terminal_info): Likewise.
1989 * inflow.c (child_terminal_info): Add 'self' argument.
1990 * inferior.h (child_terminal_info): Add 'self' argument.
1991 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1997 (target_terminal_save_ours): Add argument.
1998 * target.c (debug_to_terminal_save_ours): Add argument.
1999 (update_current_target): Update.
2000 * inflow.c (terminal_save_ours): Add 'self' argument.
2001 * inferior.h (terminal_save_ours): Add 'self' argument.
2003 2014-02-19 Tom Tromey <tromey@redhat.com>
2005 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2006 (target_terminal_ours): Add argument.
2007 * target.c (debug_to_terminal_ours): Add argument.
2008 (update_current_target): Update.
2009 * remote.c (remote_terminal_ours): Add 'self' argument.
2010 (remote_close): Update.
2011 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2012 * inflow.c (terminal_ours): Add 'self' argument.
2013 * inferior.h (terminal_ours): Add 'self' argument.
2014 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2016 2014-02-19 Pedro Alves <palves@redhat.com>
2017 Tom Tromey <tromey@redhat.com>
2019 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2021 (target_terminal_ours_for_output): Add argument.
2022 * target.c (debug_to_terminal_ours_for_output): Add argument.
2023 (update_current_target): Update.
2024 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2025 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2026 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2028 2014-02-19 Tom Tromey <tromey@redhat.com>
2030 * target.h (struct target_ops) <to_terminal_inferior>: Add
2032 * target.c (target_terminal_inferior): Add argument.
2033 (update_current_target): Update.
2034 * remote.c (remote_terminal_inferior): Add 'self' argument.
2035 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2036 * inflow.c (terminal_inferior): Add 'self' argument.
2037 * inferior.h (terminal_inferior): Add 'self' argument.
2038 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2039 (go32_terminal_inferior): Add 'self' argument.
2041 2014-02-19 Tom Tromey <tromey@redhat.com>
2043 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2044 (target_terminal_init): Add argument.
2045 * target.c (debug_to_terminal_init): Add argument.
2046 (update_current_target): Update.
2047 * inflow.c (terminal_init_inferior): Add 'self' argument.
2048 * inferior.h (terminal_init_inferior): Add 'self' argument.
2049 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2050 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2052 2014-02-19 Tom Tromey <tromey@redhat.com>
2054 * target.h (struct target_ops)
2055 <to_can_accel_watchpoint_condition>: Add argument.
2056 (target_can_accel_watchpoint_condition): Add argument.
2057 * target.c (debug_to_can_accel_watchpoint_condition): Add
2059 (update_current_target): Update.
2060 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2063 2014-02-19 Tom Tromey <tromey@redhat.com>
2065 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2067 (target_region_ok_for_hw_watchpoint): Add argument.
2068 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2069 (default_region_ok_for_hw_watchpoint): Add argument.
2070 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2071 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2073 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2075 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2077 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2079 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2081 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2083 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2084 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2086 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2087 Add 'self' argument.
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2091 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2093 (target_insert_watchpoint): Add argument.
2094 * target.c (debug_to_insert_watchpoint): Add argument.
2095 (update_current_target): Update.
2096 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2097 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2098 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2099 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2100 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2101 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2103 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2104 (procfs_insert_hw_watchpoint): Add 'self' argument.
2105 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2107 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2109 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2111 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2112 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2114 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2121 (target_remove_watchpoint): Add argument.
2122 * target.c (debug_to_remove_watchpoint): Add argument.
2123 (update_current_target): Update.
2124 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2125 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2126 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2127 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2128 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2129 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2131 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2132 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2134 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2136 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2138 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2139 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2141 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2144 2014-02-19 Tom Tromey <tromey@redhat.com>
2146 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2148 (target_remove_hw_breakpoint): Add argument.
2149 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2150 (update_current_target): Update.
2151 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2152 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2154 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2155 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2157 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2160 2014-02-19 Tom Tromey <tromey@redhat.com>
2162 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2164 (target_insert_hw_breakpoint): Add argument.
2165 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2166 (update_current_target): Update.
2167 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2168 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2170 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2171 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2172 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2174 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2181 (target_can_use_hardware_watchpoint): Add argument.
2182 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2183 (update_current_target): Update.
2184 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2186 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2188 * remote.c (remote_check_watch_resources): Add 'self' argument.
2189 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2190 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2192 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2193 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2195 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2197 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2199 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2201 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2203 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2205 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2206 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2208 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target.h (struct target_ops) <to_post_attach>: Add argument.
2214 (target_post_attach): Add argument.
2215 * target.c (debug_to_post_attach): Add argument.
2216 (update_current_target): Update.
2217 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2218 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2219 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2220 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2221 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2223 2014-02-19 Tom Tromey <tromey@redhat.com>
2225 * windows-nat.c (windows_close): Add 'self' argument.
2226 * tracepoint.c (tfile_close): Add 'self' argument.
2227 * target.h (struct target_ops) <to_close>: Add argument.
2228 * target.c (target_close): Add argument.
2229 (update_current_target): Update.
2230 * remote.c (remote_close): Add 'self' argument.
2231 * remote-sim.c (gdbsim_close): Add 'self' argument.
2232 * remote-mips.c (mips_close): Add 'self' argument.
2233 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2234 * record-full.c (record_full_close): Add 'self' argument.
2235 * record-btrace.c (record_btrace_close): Add 'self' argument.
2236 * monitor.h (monitor_close): Add 'self' argument.
2237 * monitor.c (monitor_close): Add 'self' argument.
2238 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2239 * linux-nat.c (linux_nat_close): Add argument.
2240 * go32-nat.c (go32_close): Add 'self' argument.
2241 * exec.c (exec_close_1): Add 'self' argument.
2242 * ctf.c (ctf_close): Add 'self' argument.
2243 * corelow.c (core_close): Add 'self' argument.
2244 (core_close_cleanup): Update.
2245 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2246 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2248 2014-02-19 Tom Tromey <tromey@redhat.com>
2250 * remote.c (remote_load): New function.
2251 (init_remote_ops): Use it.
2253 2014-02-19 Tom Tromey <tromey@redhat.com>
2255 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2257 * common/linux-btrace.h (linux_supports_btrace): Update.
2258 * remote.c (remote_supports_btrace): Add "self" argument.
2259 * target-delegates.c: Rebuild.
2260 * target.c (target_supports_btrace): Remove.
2261 * target.h (struct target_ops) <to_supports_btrace>: Add
2262 target_ops argument.
2263 (target_supports_btrace): New define.
2265 2014-02-19 Tom Tromey <tromey@redhat.com>
2267 * record-full.c (record_full_beneath_to_resume_ops)
2268 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2269 (record_full_beneath_to_wait)
2270 (record_full_beneath_to_store_registers_ops)
2271 (record_full_beneath_to_store_registers)
2272 (record_full_beneath_to_xfer_partial_ops)
2273 (record_full_beneath_to_xfer_partial)
2274 (record_full_beneath_to_insert_breakpoint_ops)
2275 (record_full_beneath_to_insert_breakpoint)
2276 (record_full_beneath_to_remove_breakpoint_ops)
2277 (record_full_beneath_to_remove_breakpoint)
2278 (record_full_beneath_to_stopped_by_watchpoint)
2279 (record_full_beneath_to_stopped_data_address)
2280 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2281 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2282 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2283 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2284 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2285 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2286 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2287 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2288 (record_full_resume, record_full_wait_1)
2289 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2290 (record_full_store_registers, record_full_xfer_partial)
2291 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2292 (record_full_async, record_full_core_xfer_partial): Use target
2294 * target-delegates.c: Rebuild.
2295 * target.c (current_xfer_partial): Remove.
2296 (update_current_target): Do not INHERIT or de_fault
2297 to_insert_breakpoint, to_remove_breakpoint,
2298 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2299 to_is_async_p, to_async. Do not set to_xfer_partial field.
2300 (default_xfer_partial): Simplify.
2301 (current_xfer_partial): Remove.
2302 (target_wait, target_resume): Simplify.
2303 (find_default_can_async_p, find_default_is_async_p): Update.
2304 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2305 to_xfer_partial, to_stopped_by_watchpoint,
2306 to_stopped_data_address.
2307 (target_store_registers): Simplify.
2308 (forward_target_remove_breakpoint)
2309 (forward_target_insert_breakpoint): Remove.
2310 (target_remove_breakpoint, target_insert_breakpoint)
2311 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2312 * target.h (struct target_ops) <to_resume, to_wait,
2313 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2314 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2315 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2317 (forward_target_remove_breakpoint)
2318 (forward_target_insert_breakpoint): Remove.
2319 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2321 (record_btrace_insert_breakpoint): Delegate directly.
2323 2014-02-19 Tom Tromey <tromey@redhat.com>
2326 * target-delegates.c: New file.
2327 * target.c: Include target-delegates.c.
2328 (init_dummy_target): Call install_dummy_methods.
2329 (complete_target_initialization): Call install_delegators.
2330 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2331 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2332 * make-target-delegates: New file.
2334 2014-02-19 Tom Tromey <tromey@redhat.com>
2336 * record.c (find_record_target): Use find_target_at.
2337 * target.c (find_target_at): New function.
2338 * target.h (find_target_at): Declare.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2344 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2346 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2347 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2349 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2351 * linux-nat.c (save_sigtrap): Update.
2352 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2353 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2354 (linux_nat_close): Update.
2355 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2357 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2359 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2360 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2361 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2362 (tmp_to_async): Add 'ops' argument.
2363 (record_full_stopped_by_watchpoint, record_full_async)
2364 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2366 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2367 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2368 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2369 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2370 (remote_is_async_p, remote_async): Add 'ops' argument.
2371 (remote_stopped_data_address): Update.
2372 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2373 * target.c (update_current_target)
2374 (find_default_can_async_p, find_default_is_async_p): Update.
2375 (init_dummy_target): Update.
2376 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2377 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2378 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2379 (target_can_async_p, target_is_async_p, target_async)
2380 (target_stopped_by_watchpoint): Update.
2382 2014-02-19 Yao Qi <yao@codesourcery.com>
2385 * gdbarch.sh: Remove startup_gdbarch.
2386 * gdbarch.c: Regenerated.
2387 * gdbarch.h: Likewise.
2389 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2391 * rl78-tdep.c (rl78_g10_register_name): New function.
2392 (rl78_return_value): Add g10 support.
2393 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2396 2014-02-17 Doug Evans <xdje42@gmail.com>
2398 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2399 (SUBDIR_GUILE_SRCS): Ditto.
2400 (scm-gsmob.o): Ditto.
2402 2014-02-17 Yao Qi <yao@codesourcery.com>
2404 * gnu-nat.c (ILL_RPC): Declare defined function.
2406 2014-02-17 Yao Qi <yao@codesourcery.com>
2408 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2409 mach_msg_type_number_t.
2410 (gnu_write_inferior): Likewise.
2412 2014-02-17 Yao Qi <yao@codesourcery.com>
2414 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2416 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2417 (inf_validate_procs, inf_signal): Likewise.
2418 (S_exception_raise_request): Likewise.
2419 (do_mach_notify_dead_name): Likewise.
2420 (steal_exc_port): Likewise.
2421 (gnu_read_inferior): Change 'copy_count''s type to
2422 mach_msg_type_number_t.
2423 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2426 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2428 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2429 flag. Adjust all users; in particular...
2430 (gnu_wait): ..., don't decrement its value in here...
2431 (gnu_create_inferior): ..., and instead set the flag in here,
2432 around the startup_inferior call, and call that one with
2433 START_INFERIOR_TRAPS_EXPECTED.
2435 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2436 (ILL_RPC): ... new macro.
2437 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2438 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2439 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2440 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2441 functions with ILL_RPC macro.
2442 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2443 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2444 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2445 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2446 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2447 (S_proc_getlogin_reply, S_proc_getsid_reply)
2448 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2449 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2450 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2451 (S_proc_getnports_reply, S_proc_is_important_reply)
2452 (S_proc_get_code_reply): New stub functions, generated with
2455 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2456 collected the type check structures.
2458 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2460 2014-02-14 Doug Evans <dje@google.com>
2462 * target.c (target_write_partial): Fix result type.
2464 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2466 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2467 the proper offsets to access fpregset_t.
2469 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2471 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2472 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2473 * h8300-tdep.c (setmachinelist): Remove global.
2474 * hppa-tdep.c (hppa_sigtramp): Remove global.
2475 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2476 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2477 * ravenscar-thread.c (update_target_observer): Remove global.
2478 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2480 2014-02-12 Tom Tromey <tromey@redhat.com>
2482 * common/rsp-low.c: Update comments.
2483 * common/rsp-low.h: Update comments.
2485 2014-02-12 Tom Tromey <tromey@redhat.com>
2487 * common/rsp-low.c (convert_ascii_to_int): Remove.
2488 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2490 2014-02-12 Tom Tromey <tromey@redhat.com>
2492 * common/rsp-low.h (unhexify): Don't declare.
2493 * common/rsp-low.c (unhexify): Remove.
2495 2014-02-12 Tom Tromey <tromey@redhat.com>
2497 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2498 * common/rsp-low.c (convert_int_to_ascii): Remove.
2500 2014-02-12 Tom Tromey <tromey@redhat.com>
2502 * common/rsp-low.h (hexify): Don't declare.
2503 * common/rsp-low.c (hexify): Remove.
2505 2014-02-12 Tom Tromey <tromey@redhat.com>
2507 * common/rsp-low.c (hexify): Never take strlen of argument.
2509 2014-02-12 Tom Tromey <tromey@redhat.com>
2511 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2512 * remote.c (extended_remote_run, remote_rcmd)
2513 (remote_download_trace_state_variable, remote_save_trace_data)
2514 (remote_set_trace_notes): Update.
2515 * tracepoint.c (encode_source_string, tfile_write_status)
2516 (tfile_write_uploaded_tsv): Update.
2518 2014-02-12 Tom Tromey <tromey@redhat.com>
2520 * tracepoint.c: Include rsp-low.h.
2521 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2522 * remote.c: Include rsp-low.h.
2523 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2524 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2525 (remote_unescape_input): Move to common/rsp-low.c.
2526 * common/rsp-low.h: New file.
2527 * common/rsp-low.c: New file.
2528 * Makefile.in (SFILES): Add common/rsp-low.c.
2529 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2530 (COMMON_OBS): Add rsp-low.o.
2531 (rsp-low.o): New target.
2533 2014-02-12 Tom Tromey <tromey@redhat.com>
2535 * utils.h: Include print-utils.h.
2536 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2537 (int_string, core_addr_to_string, core_addr_to_string_nz)
2538 (hex_string, hex_string_custom): Don't declare.
2539 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2540 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2541 (hex_string_custom, int_string, core_addr_to_string)
2542 (core_addr_to_string_nz, host_address_to_string): Move to
2543 common/print-utils.c.
2544 * common/print-utils.h: New file.
2545 * common/print-utils.c: New file
2546 * Makefile.in (SFILES): Add common/print-utils.c.
2547 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2548 (COMMON_OBS): Add print-utils.o.
2549 (print-utils.o): New target.
2551 2014-02-12 Tom Tromey <tromey@redhat.com>
2553 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2555 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2557 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2559 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2561 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2562 if a PT_IO ptrace request returns sucessfully but indicates that 0
2563 bytes were transferred.
2565 2014-02-12 Pedro Alves <palves@redhat.com>
2566 Kevin Buettner <kevinb@redhat.com>
2568 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2569 TYPE_INSTANCE_FLAG_CODE_SPACE.
2571 2014-02-12 Pedro Alves <palves@redhat.com>
2573 * h8300-tdep.c (pseudo_from_raw_register)
2574 (raw_from_pseudo_register): New functions.
2575 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2578 2014-02-12 Pedro Alves <palves@redhat.com>
2580 * h8300-tdep.c (h8300_register_sim_regno): New function.
2581 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2582 gdbarch_register_sim_regno hook.
2584 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2586 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2588 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2590 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2592 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2594 * obsd-tdep.h (obsd_init_abi): New prototype.
2595 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2596 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2597 (obsd_init_abi): New functions.
2598 * i386obsd-tdep.c: Include "obsd-tdep.h".
2599 (i386obsd_init_abi): Call obsd_init_abi.
2600 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2601 (amd64obsd_init_abi): Call obsd_init_abi.
2602 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2603 obsd-tdep.c to gdb_target_obs.
2605 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2607 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2608 double float arguments to 16-byte in the argument slots.
2610 2014-02-11 Doug Evans <xdje42@gmail.com>
2612 * configure.ac: Don't crash if pkg-config is not found and guile
2613 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2615 * configure: Regenerate.
2617 2014-02-11 Yao Qi <yao@codesourcery.com>
2619 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2620 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2621 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2622 * gnu-nat.c (gnu_xfer_memory): Likewise.
2623 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2624 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2625 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2626 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2628 2014-02-11 Yao Qi <yao@codesourcery.com>
2630 * target.h (enum target_xfer_error): Rename to ...
2631 (enum target_xfer_status): ... it. New. All users updated.
2632 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2634 (TARGET_XFER_STATUS_ERROR_P): New macro.
2635 (target_xfer_error_to_string): Remove declaration.
2636 (target_xfer_status_to_string): Declare.
2637 (target_xfer_partial_ftype): Adjust it.
2638 (struct target_ops) <to_xfer_partial>: Return
2639 target_xfer_status. Add argument xfered_len. Update
2641 * target.c (target_xfer_error_to_string): Rename to ...
2642 (target_xfer_status_to_string): ... it. New. All callers
2644 (target_read_live_memory): Likewise. Call target_xfer_partial
2645 instead of target_read.
2646 (memory_xfer_live_readonly_partial): Return
2647 target_xfer_status. Add argument xfered_len.
2648 (raw_memory_xfer_partial): Likewise.
2649 (memory_xfer_partial_1): Likewise.
2650 (memory_xfer_partial): Likewise.
2651 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2652 properly. Update debug message.
2653 (default_xfer_partial, current_xfer_partial): Likewise.
2654 (target_write_partial): Likewise.
2655 (target_read_partial): Likewise. All callers updated.
2656 (read_whatever_is_readable): Likewise.
2657 (target_write_with_progress): Likewise.
2658 (target_read_alloc_1): Likewise.
2660 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2661 * auxv.c (procfs_xfer_auxv): Likewise.
2662 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2663 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2664 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2665 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2666 * corefile.c (read_memory): Adjust.
2667 * corelow.c (core_xfer_partial): Likewise.
2668 * ctf.c (ctf_xfer_partial): Likewise.
2669 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2671 (darwin_xfer_partial): Likewise.
2672 * exec.c (section_table_xfer_memory_partial): Likewise. All
2674 (exec_xfer_partial): Likewise.
2675 * exec.h (section_table_xfer_memory_partial): Update
2677 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2679 (gnu_xfer_partial): Likewise.
2680 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2681 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2682 (ia64_hpux_xfer_solib_got): Likewise.
2683 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2684 type of 'partial_len' to ULONGEST.
2685 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2686 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2687 (linux_nat_xfer_partial): Likewise.
2688 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2689 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2690 * monitor.c (monitor_xfer_memory): Likewise.
2691 (monitor_xfer_partial): Likewise.
2692 * procfs.c (procfs_xfer_partial): Likewise.
2693 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2694 * record-full.c (record_full_xfer_partial): Likewise.
2695 (record_full_core_xfer_partial): Likewise.
2696 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2697 (gdbsim_xfer_partial): Likewise.
2698 * remote.c (remote_write_bytes_aux): Likewise. All callers
2700 (remote_write_bytes, remote_read_bytes): Likewise. All
2702 (remote_flash_erase): Likewise. All callers updated.
2703 (remote_write_qxfer): Likewise. All callers updated.
2704 (remote_read_qxfer): Likewise. All callers updated.
2705 (remote_xfer_partial): Likewise.
2706 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2707 (rs6000_xfer_shared_libraries): Likewise.
2708 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2709 (sol_thread_xfer_partial): Likewise.
2710 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2711 (sparc_xfer_partial): Likewise.
2712 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2714 (spu_xfer_partial): Likewise.
2715 * spu-multiarch.c (spu_xfer_partial): Likewise.
2716 * tracepoint.c (tfile_xfer_partial): Likewise.
2717 * windows-nat.c (windows_xfer_memory): Likewise.
2718 (windows_xfer_shared_libraries): Likewise.
2719 (windows_xfer_partial): Likewise.
2720 * valprint.c: Replace 'target_xfer_error' with
2721 'target_xfer_status' in comments.
2723 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2725 Checked in by Joel Brobecker <brobecker@adacore.com>.
2726 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2728 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2730 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2731 function parameters.
2733 2014-02-10 Will Newton <will.newton@linaro.org>
2735 * elfread.c (elf_rel_plt_read): Look for a .got section if
2736 looking up .got.plt fails.
2737 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2738 on address passed to elf_gnu_ifunc_record_cache.
2739 (elf_gnu_ifunc_resolve_addr): Likewise.
2740 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2742 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2744 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2745 (X_RETTURN): New macro.
2746 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2748 * sparc64-tdep.c (sparc64_init_abi): Hook
2749 sparc_in_function_epilogue_p.
2751 2014-02-10 Gary Benson <gbenson@redhat.com>
2753 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2754 Rename name_matcher to symbol_matcher.
2756 2014-02-10 Gary Benson <gbenson@redhat.com>
2758 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2759 Use expand_symtabs_file_matcher_ftype and
2760 expand_symtabs_symbol_matcher_ftype.
2762 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2764 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2765 (struct ada_symbol_cache): New.
2766 (ada_free_symbol_cache): Forward declare.
2767 (struct ada_pspace_data): New.
2768 (ada_pspace_data_handle): New static global.
2769 (get_ada_pspace_data, ada_pspace_data_cleanup)
2770 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2771 (cache_space, cache): Delete, now folded inside struct
2773 (ada_get_symbol_cache): New function.
2774 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2776 (_initialize_ada_language): Remove initialization of cache_space.
2777 Move call to observer_attach_inferior_exit up, grouping it
2778 with the other observer registrations inside this function.
2779 Rename command to be more general. Add call to
2780 register_program_space_data_with_cleanup.
2782 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2784 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2785 ada_new_objfile_observer.
2786 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2787 (_initialize_tasks): Update uses of ada_new_objfile_observer
2788 and ada_tasks_normal_stop_observer.
2790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2792 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2793 returned by the 'Length attribute to integer.
2795 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2797 * ada-lang.c (_initialize_ada_language): Initialize
2798 cache_space obstack.
2800 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2802 * ada-lang.c (HASH_SIZE): New macro.
2803 (struct cache_entry): New type.
2804 (cache_space, cache): New static globals.
2805 (ada_clear_symbol_cache, find_entry): New functions.
2806 (lookup_cached_symbol, cache_symbol): Implement.
2807 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2808 (_initialize_ada_language): Attach ada_new_objfile_observer
2809 and ada_free_objfile_observer.
2811 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2813 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2814 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2815 struct block * parameter.
2816 (ada_lookup_symbol_list_worker): Constify local variable "block".
2817 Remove cast which is no longer necessary.
2819 2014-02-10 Doug Evans <xdje42@gmail.com>
2821 Add Guile as an extension language.
2822 * NEWS: Mention Guile scripting.
2823 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2824 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2825 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2826 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2827 (CLIBS): Add GUILE_LIBS.
2828 (install-guile): New rule.
2829 (guile.o): New rule.
2830 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2831 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2832 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2833 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2834 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2835 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2836 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2837 * configure.ac: New option --with-guile.
2838 * configure: Regenerate.
2839 * config.in: Regenerate.
2840 * auto-load.c: Remove #include "python/python.h". Add #include
2841 "gdb/section-scripts.h".
2842 (source_section_scripts): Handle Guile scripts.
2843 (_initialize_auto_load): Add name of Guile objfile script to
2844 scripts-directory help text.
2845 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2846 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2847 (struct breakpoint): New member scm_bp_object.
2848 * defs.h (enum command_control_type): New value guile_control.
2849 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2851 (show_user): Update comment.
2852 (_initialize_cli_cmds): Update help text for "show user". Update help
2853 text for max-user-call-depth.
2854 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2856 (multi_line_command_p): Add guile_control.
2857 (print_command_lines): Handle guile_control.
2858 (execute_control_command, recurse_read_control_structure): Ditto.
2859 (process_next_line): Recognize "guile" commands.
2860 * disasm.c (gdb_disassemble_info): Make non-static.
2861 * disasm.h: #include "dis-asm.h".
2862 (struct gdbarch): Add forward decl.
2863 (gdb_disassemble_info): Declare.
2864 * extension.c: #include "guile/guile.h".
2865 (extension_languages): Add guile.
2866 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2867 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2868 * gdbtypes.c (get_unsigned_type_max): New function.
2869 (get_signed_type_minmax): New function.
2870 * gdbtypes.h (get_unsigned_type_max): Declare.
2871 (get_signed_type_minmax): Declare.
2872 * guile/README: New file.
2873 * guile/guile-internal.h: New file.
2874 * guile/guile.c: New file.
2875 * guile/guile.h: New file.
2876 * guile/scm-arch.c: New file.
2877 * guile/scm-auto-load.c: New file.
2878 * guile/scm-block.c: New file.
2879 * guile/scm-breakpoint.c: New file.
2880 * guile/scm-disasm.c: New file.
2881 * guile/scm-exception.c: New file.
2882 * guile/scm-frame.c: New file.
2883 * guile/scm-gsmob.c: New file.
2884 * guile/scm-iterator.c: New file.
2885 * guile/scm-lazy-string.c: New file.
2886 * guile/scm-math.c: New file.
2887 * guile/scm-objfile.c: New file.
2888 * guile/scm-ports.c: New file.
2889 * guile/scm-pretty-print.c: New file.
2890 * guile/scm-safe-call.c: New file.
2891 * guile/scm-string.c: New file.
2892 * guile/scm-symbol.c: New file.
2893 * guile/scm-symtab.c: New file.
2894 * guile/scm-type.c: New file.
2895 * guile/scm-utils.c: New file.
2896 * guile/scm-value.c: New file.
2897 * guile/lib/gdb.scm: New file.
2898 * guile/lib/gdb/boot.scm: New file.
2899 * guile/lib/gdb/experimental.scm: New file.
2900 * guile/lib/gdb/init.scm: New file.
2901 * guile/lib/gdb/iterator.scm: New file.
2902 * guile/lib/gdb/printing.scm: New file.
2903 * guile/lib/gdb/types.scm: New file.
2904 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2905 (VPATH): Add $(GUILE_SRCDIR).
2906 (GUILE_DIR): New variable.
2907 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2908 (all): Add stamp-guile dependency.
2909 (stamp-guile): New rule.
2910 (clean-guile, install-guile, uninstall-guile): New rules.
2911 (install-only): Add install-guile dependency.
2912 (uninstall): Add uninstall-guile dependency.
2913 (clean): Add clean-guile dependency.
2915 2014-02-09 Doug Evans <xdje42@gmail.com>
2917 Revert this patch (which I approved, mea culpa).
2919 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2921 * Makefile.in (all-lib): Remove.
2922 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2924 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2926 Fix Python stack corruption.
2927 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2930 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2932 * Makefile.in (all-lib): Remove.
2933 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2935 2014-02-07 Doug Evans <dje@google.com>
2937 * extension-priv.h (extension_language_script_ops): Add comment.
2938 (extension_language_ops): Add comment.
2939 (active_ext_lang_state): Fix typo in comment.
2941 2014-02-07 Pedro Alves <palves@redhat.com>
2943 * infrun.c (handle_signal_stop) <signal arrives while stepping
2944 over a breakpoint>: Switch back to the stepping thread.
2946 2014-02-07 Yao Qi <yao@codesourcery.com>
2948 * target.c (target_xfer_partial): Return zero if LEN is zero.
2950 2014-02-07 Yao Qi <yao@codesourcery.com>
2952 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2953 (ld_so_xfer_auxv): Likewise.
2954 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2955 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2956 * corelow.c (core_xfer_partial): Likewise.
2957 * ctf.c (ctf_xfer_partial): Likewise.
2958 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2959 (darwin_xfer_partial): Likewise.
2960 * exec.c (exec_xfer_partial): Likewise.
2961 * gnu-nat.c (gnu_xfer_partial): Likewise.
2962 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2963 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2964 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2965 * linux-nat.c (linux_xfer_siginfo): Likewise.
2966 (linux_proc_xfer_spu): Likewise.
2967 * procfs.c (procfs_xfer_partial): Likewise.
2968 * record-full.c (record_full_xfer_partial): Likewise.
2969 (record_full_core_xfer_partial): Likewise.
2970 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2971 * remote.c (remote_write_qxfer): Likewise.
2972 (remote_write_qxfer, remote_read_qxfer): Likewise.
2973 (remote_xfer_partial): Likewise.
2974 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2975 (rs6000_xfer_shared_libraries): Likewise.
2976 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2977 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2978 (spu_xfer_partial): Likewise.
2979 * target.c (memory_xfer_partial_1): Likewise.
2980 * tracepoint.c (tfile_xfer_partial): Likewise.
2981 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2982 (windows_xfer_partial): Likewise.
2984 2014-02-07 Yao Qi <yao@codesourcery.com>
2986 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2988 (core_xfer_shared_libraries_aix): Likewise.
2989 * gdbarch.c, gdbarch.h: Regenerated.
2990 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2991 ULONGEST. Change 'len_avail' type to ULONGEST.
2992 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2993 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2995 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2997 2014-02-07 Yao Qi <yao@codesourcery.com>
2999 * corefile.c (memory_error): Get 'exception' from ERR and pass
3000 'exception' to throw_error.
3002 2014-02-06 Doug Evans <xdje42@gmail.com>
3004 * configure.ac (libpython checking): Remove all but python.o from
3005 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3006 * configure: Regenerate.
3008 * Makefile.in (SFILES): Add extension.c.
3009 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3010 (COMMON_OBS): Add extension.o.
3011 * extension.h: New file.
3012 * extension-priv.h: New file.
3013 * extension.c: New file.
3015 * python/python-internal.h: #include "extension.h".
3016 (gdbpy_auto_load_enabled): Declare.
3017 (gdbpy_apply_val_pretty_printer): Declare.
3018 (gdbpy_apply_frame_filter): Declare.
3019 (gdbpy_preserve_values): Declare.
3020 (gdbpy_breakpoint_cond_says_stop): Declare.
3021 (gdbpy_breakpoint_has_cond): Declare.
3022 (void source_python_script_for_objfile): Delete.
3023 * python/python.c: #include "extension-priv.h".
3024 Delete inclusion of "observer.h".
3025 (extension_language_python): Moved here and renamed from
3026 script_language_python in py-auto-load.c.
3027 Redefined to be of type extension_language_defn.
3028 (python_extension_script_ops): New global.
3029 (python_extension_ops): New global.
3030 (struct python_env): New member previous_active.
3031 (restore_python_env): Call restore_active_ext_lang.
3032 (ensure_python_env): Call set_active_ext_lang.
3033 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3035 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3037 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3039 (gdbpy_eval_from_control_command): Renamed from
3040 eval_python_from_control_command, made static. New arg extlang.
3041 (gdbpy_source_script) Renamed from source_python_script, made static.
3043 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3044 result to int. New arg extlang.
3045 (gdbpy_source_objfile_script): Renamed from
3046 source_python_script_for_objfile, made static. New arg extlang.
3047 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3048 static. New args extlang, extlang_printers. Change result type to
3050 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3051 static. New arg extlang. Rename arg printers to extlang_printers
3052 and change type to ext_lang_type_printers *.
3053 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3054 static. Replace argument arg with extlang, extlang_printers.
3055 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3056 (!HAVE_PYTHON, source_python_script): Delete.
3057 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3058 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3059 (!HAVE_PYTHON, start_type_printers): Delete.
3060 (!HAVE_PYTHON, apply_type_printers): Delete.
3061 (!HAVE_PYTHON, free_type_printers): Delete.
3062 (_initialize_python): Delete call to observer_attach_before_prompt.
3063 (finalize_python): Set/restore active extension language.
3064 (gdbpy_finish_initialization) Renamed from
3065 finish_python_initialization, made static. New arg extlang.
3066 (gdbpy_initialized): New function.
3067 * python/python.h: #include "extension.h". Delete #include
3068 "value.h", "mi/mi-cmds.h".
3069 (extension_language_python): Declare.
3070 (GDBPY_AUTO_FILE_NAME): Delete.
3071 (enum py_bt_status): Moved to extension.h and renamed to
3073 (enum frame_filter_flags): Moved to extension.h.
3074 (enum py_frame_args): Moved to extension.h and renamed to
3075 ext_lang_frame_args.
3076 (finish_python_initialization): Delete.
3077 (eval_python_from_control_command): Delete.
3078 (source_python_script): Delete.
3079 (apply_val_pretty_printer): Delete.
3080 (apply_frame_filter): Delete.
3081 (preserve_python_values): Delete.
3082 (gdbpy_script_language_defn): Delete.
3083 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3084 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3086 * auto-load.c: #include "extension.h".
3087 (GDB_AUTO_FILE_NAME): Delete.
3088 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3089 (script_language_gdb): Delete, moved to extension.c and renamed to
3090 extension_language_gdb.
3091 (source_gdb_script_for_objfile): Delete.
3092 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3093 (loaded_script): Change type of language member to
3094 struct extension_language_defn *.
3095 (init_loaded_scripts_info): Initialize
3096 unsupported_script_warning_printed.
3097 (maybe_add_script): Make static. Change type of language arg to
3098 struct extension_language_defn *.
3099 (clear_section_scripts): Reset unsupported_script_warning_printed.
3100 (auto_load_objfile_script_1): Rewrite to use extension language API.
3101 (auto_load_objfile_script): Make public. Remove support-compiled-in
3102 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3103 (source_section_scripts): Rewrite to use extension language API.
3104 (load_auto_scripts_for_objfile): Rewrite to use
3105 auto_load_scripts_for_objfile.
3106 (collect_matching_scripts_data): Change type of language member to
3107 struct extension_language_defn *.
3108 (auto_load_info_scripts): Change type of language arg to
3109 struct extension_language_defn *.
3110 (unsupported_script_warning_print): New function.
3111 (script_not_found_warning_print): Make static.
3112 (_initialize_auto_load): Rewrite construction of scripts-directory
3114 * auto-load.h (struct objfile): Add forward decl.
3115 (struct script_language): Delete.
3116 (struct auto_load_pspace_info): Add forward decl.
3117 (struct extension_language_defn): Add forward decl.
3118 (maybe_add_script): Delete.
3119 (auto_load_objfile_script): Declare.
3120 (script_not_found_warning_print): Delete.
3121 (auto_load_info_scripts): Update prototype.
3122 (auto_load_gdb_scripts_enabled): Declare.
3123 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3124 auto_load_python_scripts_enabled and made public.
3125 (script_language_python): Delete, moved to python.c.
3126 (gdbpy_script_language_defn): Delete.
3127 (info_auto_load_python_scripts): Update to use
3128 extension_language_python.
3130 * breakpoint.c (condition_command): Replace call to
3131 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3132 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3133 with call to breakpoint_ext_lang_cond_says_stop.
3134 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3135 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3136 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3137 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3139 (local_setattro): Print name of extension language with existing
3142 * valprint.c (val_print, value_print): Update to call
3143 apply_ext_lang_val_pretty_printer.
3144 * cp-valprint.c (cp_print_value): Update call to
3145 apply_ext_lang_val_pretty_printer.
3146 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3147 (gdbpy_apply_val_pretty_printer): Renamed from
3148 apply_val_pretty_printer. New arg extlang.
3149 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3151 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3152 extension language API.
3153 * cli/cli-script.c (execute_control_command): Update to call
3154 eval_ext_lang_from_control_command.
3156 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3157 enum ext_lang_bt_status values. Update call to
3158 apply_ext_lang_frame_filter.
3159 (mi_cmd_stack_list_locals): Ditto.
3160 (mi_cmd_stack_list_args): Ditto.
3161 (mi_cmd_stack_list_variables): Ditto.
3162 * mi/mi-main.c: Delete #include "python/python-internal.h".
3163 Add #include "extension.h".
3164 (mi_cmd_list_features): Replace reference to python internal variable
3165 gdb_python_initialized with call to ext_lang_initialized_p.
3167 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3168 Update to use enum ext_lang_frame_args. Update to call
3169 apply_ext_lang_frame_filter.
3170 * python/py-framefilter.c (extract_sym): Update to use enum
3172 (extract_value, py_print_type, py_print_value): Ditto.
3173 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3174 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3175 (py_print_frame): Ditto.
3176 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3177 New arg extlang. Update to use enum ext_lang_bt_status.
3179 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3180 finish_python_initialization. Replace with call to
3181 finish_ext_lang_initialization.
3183 * typeprint.c (do_free_global_table): Update to call
3184 free_ext_lang_type_printers.
3185 (create_global_typedef_table): Update to call
3186 start_ext_lang_type_printers.
3187 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3188 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3189 (type_print_options): Change type of global_printers from "void *"
3190 to "struct ext_lang_type_printers *".
3192 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3193 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3194 (gdbpy_preserve_values): Renamed from preserve_python_values.
3196 (!HAVE_PYTHON, preserve_python_values): Delete.
3198 * utils.c (quit_flag): Delete, moved to extension.c.
3199 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3202 * eval.c: Delete #include "python/python.h".
3203 * main.c: Delete #include "python/python.h".
3205 * defs.h: Update comment.
3207 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3211 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3213 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3216 2014-02-05 Yao Qi <yao@codesourcery.com>
3218 * remote.c (remote_pass_signals): Remove local 'buf' and use
3220 (remote_program_signals): Likewise.
3222 2014-02-05 Yao Qi <yao@codesourcery.com>
3224 * ctf.c: Include "inferior.h" and "gdbthread.h".
3225 (CTF_PID): A new macro.
3226 (ctf_open): Call inferior_appeared and add_thread_silent.
3227 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3228 (ctf_thread_alive): New function.
3229 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3231 2014-02-05 Yao Qi <yao@codesourcery.com>
3235 2013-05-24 Yao Qi <yao@codesourcery.com>
3237 * tracepoint.c (TFILE_PID): Remove.
3238 (tfile_open): Don't add thread and inferior.
3239 (tfile_close): Don't set 'inferior_ptid'. Don't call
3240 exit_inferior_silent.
3241 (tfile_thread_alive): Remove.
3242 (init_tfile_ops): Don't set field 'to_thread_alive' of
3245 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3247 * remote.c (remote_start_remote): Call remote_check_symbols even
3248 if only symbol-file (not file) has been given.
3250 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3252 * gdbarch.sh (skip_entrypoint): New callback.
3253 * gdbarch.c, gdbarch.h: Regenerate.
3254 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3255 * infrun.c (fill_in_stop_func): Likewise.
3256 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3257 (ppc_elfv2_elf_make_msymbol_special): New function.
3258 (ppc_elfv2_skip_entrypoint): Likewise.
3259 (ppc_linux_init_abi): Install them for ELFv2.
3261 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3263 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3264 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3265 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3266 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3267 structures returned in GPRs.
3269 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3271 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3272 offset to the stack parameter list for the ELFv2 ABI.
3274 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3276 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3277 set_gdbarch_convert_from_func_ptr_addr and
3278 set_gdbarch_elf_make_msymbol_special for ELFv1.
3279 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3280 function descriptors on ELFv1.
3281 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3282 set up r12 at function entry.
3284 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3286 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3287 (struct gdbarch_tdep): New member elf_abi.
3289 * rs6000-tdep.c: Include "elf/ppc64.h".
3290 (rs6000_gdbarch_init): Detect ELF ABI version.
3292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3294 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3295 within a register pair holding a DFP 128-bit value on little-endian.
3296 (ppc64_sysv_abi_return_value_base): Likewise.
3297 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3298 (dfp_pseudo_register_write): Likewise.
3300 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3302 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3303 offset on little-endian when passing _Decimal32.
3304 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3306 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3308 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3309 of the overlapped FP register within the VSX register on little-
3311 (efpr_pseudo_register_write): Likewise.
3313 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3315 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3316 offset on little-endian when passing small structures.
3318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3320 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3321 (struct ppc64_sysv_argpos): New data structure.
3322 (ppc64_sysv_abi_push_float): Remove.
3323 (ppc64_sysv_abi_push_val): New function.
3324 (ppc64_sysv_abi_push_integer): Likewise.
3325 (ppc64_sysv_abi_push_freg): Likewise.
3326 (ppc64_sysv_abi_push_vreg): Likewise.
3327 (ppc64_sysv_abi_push_param): Likewise.
3328 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3329 (ppc64_sysv_abi_return_value_base): New function.
3330 (ppc64_sysv_abi_return_value): Refactor to use it.
3332 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3334 * NEWS: Document new target powerpc64le-*-linux*.
3336 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3338 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3339 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3341 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3342 register set used in ELF core dumps. Add floating-point register set.
3344 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3346 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3347 dwarf2_to_gdb[] table using symbolic constants. Adjust
3348 penultimate entry from number representing the PC register
3349 to symbolic constant representing the MDR register. Add
3350 constant for the PC register to the end of the table.
3352 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3354 * bsd-kvm.c: Include <sys/param.h>
3356 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3358 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3360 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3362 * ada-lang.h (clear_ada_sym_cache): Delete.
3364 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3366 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3368 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3370 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3371 the sigreturn register save area only if the syscall is
3374 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3376 * valops.c (value_slice): Minor reformatting.
3378 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3380 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3382 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3384 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3386 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3387 (ada_ignore_descriptive_types_p): New static global.
3388 (find_parallel_type_by_descriptive_type): Return immediately
3389 if ada_ignore_descriptive_types_p is set.
3390 (_initialize_ada_language): Register new commands "maintenance
3391 set ada", "maintenance show ada", "maintenance set ada
3392 ignore-descriptive-types" and "maintenance show ada
3393 ignore-descriptive-types".
3394 * NEWS: Add entry for new "maint ada set/show
3395 ignore-descriptive-types" commands.
3397 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3399 * record-btrace.c (record_btrace_close): Call btrace_teardown
3402 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3404 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3407 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3409 * ada-typeprint (type_is_full_subrange_of_target_type):
3411 (print_range): Add parameter bounds_prefered_p. If not set,
3412 try printing range types using the name of their base type.
3413 (print_range_type): Add parameter bounds_prefered_p.
3414 Use it in call to print_range.
3415 (print_array_type, ada_print_type): Update calls to print_range
3416 and print_range_type.
3418 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3420 * ada-typeprint.c (print_array_type, print_choices, print_range)
3421 (print_range_bound, print_dynamic_range_bound, print_range_type):
3424 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3426 * ada-typeprint.c (print_range): Add missing empty line
3427 after local declaration.
3429 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3431 * ada-valprint.c (print_optional_low_bound): Get index_type's
3432 target type for as long as it is a TYPE_CODE_RANGE.
3434 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3436 * procfs.c (procfs_make_note_section): Remove assertion and
3439 2014-01-24 Yao Qi <yao@codesourcery.com>
3441 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3442 * corelow.c (get_core_siginfo): Likewise.
3444 2014-01-24 Yao Qi <yao@codesourcery.com>
3446 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3447 ULONGEST. Don't check 'len' is negative.
3448 (remote_write_bytes): Change type of 'len' to ULONGEST.
3450 2014-01-23 Tom Tromey <tromey@redhat.com>
3453 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3454 Handle exception from frame.block.
3455 (FrameVars.fetch_frame_locals): Likewise.
3457 2014-01-23 Tom Tromey <tromey@redhat.com>
3460 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3461 on a NULL pointer. Move "goto error" to correct place.
3463 2014-01-23 Tom Tromey <tromey@redhat.com>
3466 * python/py-framefilter.c (apply_frame_filter): Call
3467 ensure_python_env after computing gdbarch.
3469 2014-01-23 Yao Qi <yao@codesourcery.com>
3471 * target.c (raw_memory_xfer_partial): Change argument type
3472 from void * to gdb_byte *.
3473 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3475 2014-01-22 Doug Evans <dje@google.com>
3477 New gdbserver option --debug-format=timestamp.
3480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3482 * syscalls/s390x-linux.xml: New file.
3483 * syscalls/s390-linux.xml: New file.
3484 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3485 (XML_SYSCALL_FILENAME_S390X): Likewise.
3486 (op_svc): New enum value for SVC opcode.
3487 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3488 (s390_linux_get_syscall_number): New function.
3489 (s390_gdbarch_init): Register '*get_syscall_number' and the
3490 syscall xml file name.
3491 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3492 "s390-linux.xml" and "s390x-linux.xml".
3493 * NEWS: Announce new feature.
3495 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3497 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3499 2014-01-22 Pedro Alves <palves@redhat.com>
3501 * xtensa-config.c: Include defs.h.
3503 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3505 * common/common-utils.h: Add "ARI:" comment beside __func__
3508 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3510 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3511 documentation a bit.
3513 2014-01-21 Roland McGrath <mcgrathr@google.com>
3515 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3516 * configure: Regenerate.
3517 * aclocal.m4: Regenerate.
3518 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3519 New substituted variables.
3520 (install-strip): New target.
3521 (INSTALL_SCRIPT): New substituted variable.
3522 (FLAGS_TO_PASS): Add it.
3523 (install-only): Use $(INSTALL_SCRIPT) rather than
3524 $(INSTALL_PROGRAM) for gcore.
3526 2014-01-20 Tom Tromey <tromey@redhat.com>
3528 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3531 2014-01-20 Tom Tromey <tromey@redhat.com>
3533 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3534 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3535 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3536 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3537 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3538 (struct cmd_list_element) <flags>: Remove.
3539 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3540 doc_allocated>: New fields.
3541 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3543 * maint.c (maintenance_do_deprecate): Update.
3544 * top.c (execute_command): Update.
3546 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3548 * xtensa-linux-nat.c: Include asm/ptrace.h.
3550 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3552 * Makefile.in (SFILES): Add d-support.c.
3553 (COMMON_OBS): Add d-support.o.
3554 * d-lang.h (d_parse_symbol): Add comment, now defined in
3556 * d-lang.c (parse_call_convention)
3557 (parse_attributes, parse_function_types)
3558 (parse_function_args, parse_type, parse_identifier)
3559 (call_convention_p, d_parse_symbol): Move functions to ...
3560 * d-support.c: ... New file.
3562 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3564 * d-lang.h (d_parse_symbol): Add declaration.
3565 * d-lang.c (extract_identifiers)
3566 (extract_type_info): Remove functions.
3567 (parse_call_convention, parse_attributes)
3568 (parse_function_types, parse_function_args)
3569 (parse_type, parse_identifier, call_convention_p)
3570 (d_parse_symbol): New functions.
3571 (d_demangle): Use d_parse_symbol to demangle D symbols.
3573 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3575 * d-lang.h (struct builtin_d_type): New data type.
3576 (builtin_d_type): Add declaration.
3577 * d-lang.c (d_language_arch_info, build_d_types)
3578 (builtin_d_type): New functions.
3579 (enum d_primitive_types): New data type.
3580 (d_language_defn): Change c_language_arch_info to
3581 d_language_arch_info.
3582 (d_type_data): New static variable.
3583 (_initialize_d_language): Initialize d_type_data.
3585 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3587 * d-lang.h (d_main_name): Add declaration.
3588 * d-lang.c (d_main_name): New function.
3589 * symtab.c (find_main_name): Add call to d_main_name.
3591 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3593 * d-lang.c (d_language_defn): Change macro_expansion_c to
3596 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3598 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3600 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3602 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3603 gdb_exception" declaration.
3604 * remote.c (getpkt_or_notif_sane): Likewise.
3606 2014-01-17 Doug Evans <dje@google.com>
3608 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3609 function, contents of dirnames_to_char_ptr_vec_append moved here.
3610 (delim_string_to_char_ptr_vec): New function.
3611 (dirnames_to_char_ptr_vec_append): Rewrite.
3612 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3614 2014-01-17 Doug Evans <dje@google.com>
3616 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3618 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3619 #include "common-utils.h".
3620 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3621 * common/vec.h (VEC_ASSERT_PASS): Update.
3622 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3623 (MACH_CHECK_ERROR): Update.
3625 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3627 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3629 * gdbarch.h: Regenerate.
3631 2014-01-16 Tom Tromey <tromey@redhat.com>
3633 * value.c (struct value) <regnum>: Move earlier.
3635 2014-01-16 Tom Tromey <tromey@redhat.com>
3637 * remote.c (extended_remote_create_inferior): Rename from
3638 extended_remote_create_inferior_1. Add "ops" argument. Remove
3641 2014-01-16 Pedro Alves <palves@redhat.com>
3643 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3644 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3647 2014-01-16 Doug Evans <dje@google.com>
3649 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3653 * btrace.h (btrace_thread_flag): New.
3654 (struct btrace_thread_info) <flags>: New.
3655 * record-btrace.c (record_btrace_resume_thread)
3656 (record_btrace_find_thread_to_move, btrace_step_no_history)
3657 (btrace_step_stopped, record_btrace_start_replaying)
3658 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3659 (record_btrace_find_resume_thread): New.
3660 (record_btrace_resume, record_btrace_wait): Extend.
3661 (record_btrace_can_execute_reverse): New.
3662 (record_btrace_open): Fail in non-stop mode.
3663 (record_btrace_set_replay): Split into this, ...
3664 (record_btrace_stop_replaying): ... this, ...
3665 (record_btrace_clear_histories): ... and this.
3666 (init_record_btrace_ops): Init to_can_execute_reverse.
3667 * NEWS: Announce it.
3669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3671 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3672 (forward_target_decr_pc_after_break)
3673 (target_decr_pc_after_break): New.
3674 * target.c (forward_target_decr_pc_after_break)
3675 (target_decr_pc_after_break): New.
3676 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3677 instead of gdbarch_decr_pc_after_break.
3678 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3679 instead of gdbarch_decr_pc_after_break.
3680 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3681 instead of gdbarch_decr_pc_after_break.
3682 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3683 instead of gdbarch_decr_pc_after_break.
3684 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3685 instead of gdbarch_decr_pc_after_break.
3686 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3687 instead of gdbarch_decr_pc_after_break.
3689 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3691 * btrace.c: Include regcache.h.
3692 (btrace_add_pc): New.
3693 (btrace_enable): Call btrace_add_pc.
3694 (btrace_is_empty): New.
3695 * btrace.h (btrace_is_empty): New.
3696 * record-btrace.c (require_btrace, record_btrace_info): Call
3699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3701 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3702 Support delta reads.
3703 (linux_disable_btrace): Change return type.
3704 * common/linux-btrace.h (linux_read_btrace): Change parameters
3705 and return type to allow error reporting. Update users.
3706 (linux_disable_btrace): Change return type. Update users.
3707 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3709 (btrace_error): New.
3710 (btrace_block) <begin>: Comment on BEGIN == 0.
3711 * btrace.c (btrace_compute_ftrace): Start from the end of
3713 (btrace_stitch_trace, btrace_clear_history): New.
3714 (btrace_fetch): Read delta trace, return if replaying.
3715 (btrace_clear): Move clear history code to btrace_clear_history.
3716 (parse_xml_btrace): Throw an error if parsing failed.
3717 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3718 and return type to allow error reporting.
3719 (target_read_btrace): Change parameters and return type to allow
3721 * target.c (target_read_btrace): Update.
3722 * remote.c (remote_read_btrace): Support delta reads. Pass
3724 * NEWS: Announce it.
3726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3728 * record.h (record_btrace_frame_unwind)
3729 (record_btrace_tailcall_frame_unwind): New declarations.
3730 * dwarf2-frame: Include record.h
3731 (dwarf2_frame_cfa): Throw an error for btrace frames.
3732 * record-btrace.c: Include hashtab.h.
3733 (btrace_get_bfun_name): New.
3734 (btrace_call_history): Call btrace_get_bfun_name.
3735 (struct btrace_frame_cache): New.
3737 (bfcache_hash, bfcache_eq, bfcache_new): New.
3738 (btrace_get_frame_function): New.
3739 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3740 (record_btrace_frame_this_id): Compute own id.
3741 (record_btrace_frame_prev_register): Provide PC, throw_error
3742 for all other registers.
3743 (record_btrace_frame_sniffer): Detect btrace frames.
3744 (record_btrace_tailcall_frame_sniffer): New.
3745 (record_btrace_frame_dealloc_cache): New.
3746 (record_btrace_frame_unwind): Add new functions.
3747 (record_btrace_tailcall_frame_unwind): New.
3748 (_initialize_record_btrace): Allocate cache.
3749 * btrace.c (btrace_clear): Call reinit_frame_cache.
3750 * NEWS: Announce it.
3752 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3754 * record-btrace.c (record_btrace_set_replay)
3755 (record_btrace_goto_begin, record_btrace_goto_end)
3756 (record_btrace_goto): New.
3757 (init_record_btrace_ops): Initialize them.
3758 * NEWS: Announce it.
3760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3762 * record-btrace.c (record_btrace_find_new_threads)
3763 (record_btrace_thread_alive): New.
3764 (init_record_btrace_ops): Initialize to_find_new_threads and
3767 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3769 * record-btrace.c (record_btrace_resume): New.
3770 (record_btrace_wait): New.
3771 (init_record_btrace_ops): Initialize to_wait and to_resume.
3773 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3775 * record-btrace.c (record_btrace_xfer_partial)
3776 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3777 (record_btrace_allow_memory_access): New.
3778 (init_record_btrace_ops): Initialize new methods.
3779 * target.c (raw_memory_xfer_partial): Bail out if target reports
3780 that this memory is not available.
3782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3784 * target.h (target_ops) <to_insert_breakpoint>
3785 <to_remove_breakpoint>: Add target_ops parameter.
3786 (forward_target_insert_breakpoint): New.
3787 (forward_target_remove_breakpoint): New.
3788 (memory_remove_breakpoint, memory_insert_breakpoint):
3789 Add target_ops parameter.
3790 * target.c (target_insert_breakpoint): Split into this and ...
3791 (forward_target_insert_breakpoint): ... this.
3792 (target_remove_breakpoint): Split into this and ...
3793 (forward_target_remove_breakpoint): ... this.
3794 (debug_to_insert_breakpoint): Add target_ops parameter.
3795 Call forward_target_insert_breakpoint.
3796 (debug_to_remove_breakpoint): Add target_ops parameter.
3797 Call forward_target_remove_breakpoint.
3798 (update_current_target): Do not inherit or default to_insert_breakpoint
3799 and to_remove_breakpoint.
3800 * corelow.c (ignore): Add target_ops parameter.
3801 * exec.c (ignore): Add target_ops parameter.
3802 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3803 Add target_ops parameter.
3804 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3805 Add target_ops parameter.
3806 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3807 Add target_ops parameter.
3808 * record-full.c (record_full_beneath_to_insert_breakpoint)
3809 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3810 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3811 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3812 (record_full_core_remove_breakpoint): Add target_ops parameter.
3814 (record_full_beneath_to_insert_breakpoint_ops)
3815 (record_full_beneath_to_remove_breakpoint_ops)
3816 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3817 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3818 tmp_to_remove_breakpoint_ops,
3819 record_full_beneath_to_insert_breakpoint_ops, and
3820 record_full_beneath_to_remove_breakpoint_ops.
3821 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3822 (m32r_remove_breakpoint): Add target_ops parameter.
3823 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3824 Add target_ops parameter.
3825 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3826 Add target_ops parameter.
3828 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3829 Markus Metzger <markus.t.metzger@intel.com>
3831 * record-btrace.c: Include frame-unwind.h.
3832 (record_btrace_frame_unwind_stop_reason)
3833 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3834 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3836 (init_record_btrace_ops): Install it.
3838 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3840 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3843 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3848 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3850 * frame-unwind.c: Include target.h.
3851 (frame_unwind_try_unwinder): New function with code from ...
3852 (frame_unwind_find_by_frame): ... here. New variable
3853 unwinder_from_target, call also target_get_unwinder)
3854 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3855 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3856 * target.h (struct target_ops): New fields to_get_unwinder and
3857 to_get_tailcall_unwinder.
3858 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3860 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3862 * record-btrace.c (record_btrace_fetch_registers)
3863 (record_btrace_store_registers)
3864 (record_btrace_to_prepare_to_store): New.
3865 (init_record_btrace_ops): Add the above.
3867 2014-01-16 Tom Tromey <tromey@redhat.com>
3869 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3870 * target.h (struct target_ops) <to_prepare_to_store>: Add
3872 (target_prepare_to_store): Add argument.
3873 * target.c (debug_to_prepare_to_store): Add argument.
3874 (update_current_target): Update.
3875 * remote.c (remote_prepare_to_store): Add 'self' argument.
3876 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3877 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3878 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3879 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3881 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3882 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3883 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3884 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3885 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3889 * btrace.h (replay) <replay>: New.
3890 (btrace_is_replaying): New.
3891 * btrace.c (btrace_clear): Free replay iterator.
3892 (btrace_is_replaying): New.
3893 * record-btrace.c (record_btrace_is_replaying): New.
3894 (record_btrace_info): Print insn number if replaying.
3895 (record_btrace_insn_history): Start at replay position.
3896 (record_btrace_call_history): Start at replay position.
3897 (init_record_btrace_ops): Init to_record_is_replaying.
3899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3901 * record-btrace.c (record_btrace_insn_history_range): Include
3903 (record_btrace_insn_history_from): Adjust range.
3904 (record_btrace_call_history_range): Include
3906 (record_btrace_call_history_from): Adjust range.
3907 * NEWS: Announce changes.
3909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3911 * record.h (enum record_print_flag)
3912 <record_print_indent_calls>: New.
3913 * record.c (get_call_history_modifiers): Recognize /c modifier.
3914 (_initialize_record): Document /c modifier.
3915 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3916 Reorder fields. Optionally indent the function name. Update
3918 * NEWS: Announce changes.
3920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3922 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3924 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3926 * btrace.c (ftrace_new_function): Start counting at one.
3927 * record-btrace.c (record_btrace_info): Adjust number of calls
3929 * NEWS: Announce it.
3931 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3933 * record-btrace.c (btrace_call_history_insn_range): Print
3934 insn range as [begin, end].
3936 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3938 * btrace.h (struct btrace_func_link): New.
3939 (enum btrace_function_flag): New.
3940 (struct btrace_inst): Rename to ...
3941 (struct btrace_insn): ...this. Update all users.
3942 (struct btrace_func) <ibegin, iend>: Remove.
3943 (struct btrace_func_link): New.
3944 (struct btrace_func): Rename to ...
3945 (struct btrace_function): ...this. Update all users.
3946 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3947 (number, level, flags>: New.
3948 (struct btrace_insn_iterator): Rename to ...
3949 (struct btrace_insn_history): ...this.
3951 (struct btrace_insn_iterator, btrace_call_iterator): New.
3952 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3953 (struct btrace_target_info) <begin, end, level>
3954 <insn_history, call_history>: New.
3955 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3956 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3957 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3958 (btrace_call_number, btrace_call_begin, btrace_call_end)
3959 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3960 (btrace_find_function_by_number, btrace_set_insn_history)
3961 (btrace_set_call_history): New.
3962 * btrace.c (btrace_init_insn_iterator)
3963 (btrace_init_func_iterator, compute_itrace): Remove.
3964 (ftrace_print_function_name, ftrace_print_filename)
3965 (ftrace_skip_file): Change
3967 (ftrace_init_func): Remove.
3968 (ftrace_debug): Use new btrace_function fields.
3969 (ftrace_function_switched): Also consider gaining and
3970 losing symbol information).
3971 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3972 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3973 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3975 (ftrace_new_function): Move. Remove debug print.
3976 (ftrace_update_lines, ftrace_update_insns): New.
3977 (ftrace_update_function): Check for call, ret, and jump.
3978 (compute_ftrace): Renamed to ...
3979 (btrace_compute_ftrace): ...this. Rewritten to compute call
3981 (btrace_fetch, btrace_clear): Updated.
3982 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3983 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3984 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3985 (btrace_call_number, btrace_call_begin, btrace_call_end)
3986 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3987 (btrace_find_function_by_number, btrace_set_insn_history)
3988 (btrace_set_call_history): New.
3989 * record-btrace.c (require_btrace): Use new btrace thread
3991 (record_btrace_info, btrace_insn_history)
3992 (record_btrace_insn_history, record_btrace_insn_history_range):
3993 Use new btrace thread info fields and new iterator.
3994 (btrace_func_history_src_line): Rename to ...
3995 (btrace_call_history_src_line): ...this. Use new btrace
3997 (btrace_func_history): Rename to ...
3998 (btrace_call_history): ...this. Use new btrace thread info
3999 fields and new iterator.
4000 (record_btrace_call_history, record_btrace_call_history_range):
4001 Use new btrace thread info fields and new iterator.
4003 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4005 * frame.h (frame_id_build_unavailable_stack_special): New.
4006 * frame.c (frame_id_build_unavailable_stack_special): New.
4008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4010 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4011 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4012 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4014 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4015 (i386_insn_is_jump, i386_jmp_p): New.
4016 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4017 insn_is_jump to gdbarch.
4018 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4019 * gdbarch.h: Regenerated.
4020 * gdbarch.c: Regenerated.
4021 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4022 (default_insn_is_jump): New.
4023 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4024 (default_insn_is_jump): New.
4026 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4028 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4030 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4031 (btrace_read_type) <btrace_read_new>: Change to ...
4032 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4036 * common/linux-btrace.c (linux_read_btrace): Free trace from
4039 2014-01-15 Doug Evans <dje@google.com>
4041 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4044 2014-01-15 Tom Tromey <tromey@redhat.com>
4046 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4047 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4048 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4049 (set_objfile_main_name): New function.
4050 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4051 language_of_main>: New fields.
4052 (set_objfile_main_name): Declare.
4053 * symtab.c (find_main_name): Loop over objfiles to find the main
4055 (set_main_name): Now static.
4056 (get_main_info): Add comment.
4057 * symtab.h (set_main_name): Don't declare.
4059 2014-01-15 Tom Tromey <tromey@redhat.com>
4061 * symtab.c (main_progspace_key): New global.
4062 (struct main_info): New.
4063 (name_of_main, language_of_main): Remove.
4064 (get_main_info, main_info_cleanup): New function.
4065 (set_main_name, main_name, main_language): Use get_main_info.
4066 (_initialize_symtab): Initialize main_progspace_key.
4068 2014-01-15 Tom Tromey <tromey@redhat.com>
4070 * dbxread.c (process_one_symbol): Update.
4071 * dwarf2read.c (read_partial_die): Update.
4072 * symfile.c (set_initial_language): Call main_language.
4073 * symtab.c (language_of_main): Now static.
4074 (set_main_name): Add 'lang' parameter.
4075 (find_main_name): Update.
4076 (main_language): New function.
4077 (symtab_observer_executable_changed): Update.
4078 * symtab.h (set_main_name): Update.
4079 (language_of_main): Remove.
4080 (main_language): Declare.
4082 2014-01-15 Tom Tromey <tromey@redhat.com>
4084 * symfile.c (init_entry_point_info): Use new "initialized" field.
4086 * objfiles.h (struct entry_point) <initialized>: New field.
4087 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4088 (struct objfile) <ei>: ...here. Remove.
4089 * objfiles.c (entry_point_address_query): Update.
4091 2014-01-15 Tom Tromey <tromey@redhat.com>
4093 * objfiles.c (entry_point_address_query): Relocate entry point
4095 (objfile_relocate1): Do not relocate entry point address.
4096 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4097 <the_bfd_section_index>: New field.
4098 * symfile.c (init_entry_point_info): Find the entry point's
4101 2014-01-15 Tom Tromey <tromey@redhat.com>
4103 * solib-frv.c (enable_break): Use entry_point_address_query.
4105 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4107 * NEWS: Add note on improved process record-replay on
4108 arm*-linux* targets.
4110 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4112 * arm-tdep.c (enum arm_record_result): New enum.
4113 (arm_record_unsupported_insn): New function.
4114 (arm_record_coproc_data_proc): Removed.
4115 (thumb2_record_ld_st_multiple): New function.
4116 (thumb2_record_ld_st_dual_ex_tbb): New function.
4117 (thumb2_record_data_proc_sreg_mimm): New function.
4118 (thumb2_record_ps_dest_generic): New function.
4119 (thumb2_record_branch_misc_cntrl): New function.
4120 (thumb2_record_str_single_data): New function.
4121 (thumb2_record_ld_mem_hints): New function.
4122 (thumb2_record_ld_word): New function.
4123 (thumb2_record_lmul_lmla_div): New function.
4124 (thumb2_record_decode_insn_handler): New function.
4125 (decode_insn): Add thumb32 instruction handlers.
4127 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4129 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4130 (struct arm_linux_record_tdep): Declare.
4131 (arm_canonicalize_syscall): New function.
4132 (arm_all_but_pc_registers_record): New function.
4133 (arm_linux_syscall_record): New function.
4134 (arm_linux_init_abi): Add syscall recording constructs.
4135 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4136 decoding. (arm_record_coproc_data_proc): Update arm syscall
4138 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4139 <arm_syscall_record>: New field.
4140 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4143 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4145 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4146 register for push instruction recording.
4148 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4150 * arm-tdep.c (thumb_record_misc): Update to correct logical
4151 error while recording ldm, ldmia and pop instructions.
4153 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4155 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4157 2014-01-15 Pedro Alves <palves@redhat.com>
4159 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4160 (go32_resume, go32_fetch_registers, store_register)
4161 (go32_store_registers, go32_prepare_to_store)
4162 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4163 (go32_create_inferior, go32_can_run, go32_terminal_init)
4164 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4167 2014-01-15 Tom Tromey <tromey@redhat.com>
4169 * target.h (async_callback_ftype): New typedef.
4170 (struct target_ops) <to_async>: Use it.
4172 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4174 * python/py-value.c (get_field_type): Remove unnecessary curly
4175 braces for single-statement if block.
4177 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4179 * python/py-type.c (convert_field): Add missing empty line
4182 2014-01-14 Doug Evans <dje@google.com>
4184 * symfile.h (expand_symtabs_matching): Renamed from
4185 expand_partial_symbol_names. Update prototype.
4186 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4187 * symfile.c (expand_symtabs_matching): Renamed from
4188 expand_partial_symbol_names. New args file_matcher, kind.
4189 Rename arg fun to symbol_matcher.
4190 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4191 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4192 ada_expand_partial_symbol_name.
4193 (ada_make_symbol_completion_list): Update to call
4194 expand_symtabs_matching.
4195 (ada_add_global_exceptions): Call expand_symtabs_matching.
4196 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4197 call map_symbol_filenames.
4198 * symtab.c (sources_info): Update to call map_symbol_filenames.
4199 (search_symbols): Call expand_symtabs_matching.
4200 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4201 (default_make_symbol_completion_list_break_on): Update to call
4202 expand_symtabs_matching.
4203 (make_source_files_completion_list): Update to call
4204 map_symbol_filenames.
4206 2014-01-14 Doug Evans <dje@google.com>
4208 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4209 (expand_symtabs_symbol_matcher_ftype): New typedef.
4210 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4211 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4212 * symfile.c (expand_partial_symbol_names): Update to use
4213 expand_symtabs_symbol_matcher_ftype.
4214 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4215 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4216 Arg name_matcher renamed to symbol_matcher.
4217 * psymtab.c (recursively_search_psymtabs): Update to use
4218 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4220 (expand_symtabs_matching_via_partial): Update to use
4221 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4222 Arg name_matcher renamed to symbol_matcher.
4224 2014-01-14 Doug Evans <dje@google.com>
4226 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4227 (map_partial_symbol_filenames): Ditto.
4228 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4229 (map_partial_symbol_filenames): Ditto.
4230 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4231 (map_partial_symbol_filenames): Ditto.
4232 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4233 (map_partial_symbol_filenames): Ditto.
4234 * symtab.c: Delete #include "psymtab.h".
4236 2014-01-14 Pedro Alves <palves@redhat.com>
4237 Tom Tromey <tromey@redhat.com>
4239 * infrun.c (use_displaced_stepping): Use find_record_target
4240 instead of RECORD_IS_USED.
4241 (adjust_pc_after_break): Use record_full_is_used instead of
4243 * record-btrace.c (record_btrace_open): Call record_preopen
4244 instead of checking RECORD_IS_USED.
4245 * record-full.c (record_full_shortname)
4246 (record_full_core_shortname): New globals.
4247 (record_full_is_used): New function.
4248 (find_full_open): Call record_preopen instead of checking
4250 (init_record_full_ops): Set the target's shortname to
4251 record_full_shortname.
4252 (init_record_full_core_ops): Set the target's shortname to
4253 record_full_core_shortname.
4254 * record-full.h (record_full_is_used): Declare.
4255 * record.c (find_record_target): Make extern.
4256 (record_preopen): New function.
4257 * record.h (RECORD_IS_USED): Delete macro.
4258 (find_record_target, record_preopen): Declare functions.
4260 2014-01-14 Yao Qi <yao@codesourcery.com>
4262 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4263 'len''s type to ULONGEST.
4264 (core_xfer_shared_libraries_aix): Likewise.
4265 * gdbarch.c, gdbarch.h: Regenerated.
4266 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4267 Change type of 'len' to ULONGEST.
4268 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4269 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4271 2014-01-14 Yao Qi <yao@codesourcery.com>
4273 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4274 type of 'len' to ULONGEST.
4275 (linux_xfer_osdata_processgroups): Likewise.
4276 (linux_xfer_osdata_threads): Likewise.
4277 (linux_xfer_osdata_fds): Likewise.
4278 (linux_xfer_osdata_isockets): Likewise.
4279 (linux_xfer_osdata_shm): Likewise.
4280 (linux_xfer_osdata_sem): Likewise.
4281 (linux_xfer_osdata_msg): Likewise.
4282 (linux_common_xfer_osdata): Likewise.
4283 (struct osdata_type) <getter>: Likewise.
4284 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4287 2014-01-14 Yao Qi <yao@codesourcery.com>
4289 * target.h (target_xfer_partial_ftype): Update.
4290 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4292 * aix-thread.c (aix_thread_xfer_partial): Change type of
4293 argument 'len' to ULONGEST.
4294 * auxv.c (procfs_xfer_auxv): Likewise.
4295 (ld_so_xfer_auxv): Likewise.
4296 (memory_xfer_auxv): Likewise.
4297 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4298 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4299 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4300 * corelow.c (core_xfer_partial): Likewise.
4301 * ctf.c (ctf_xfer_partial): Likewise.
4302 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4304 (darwin_read_dyld_info): Likewise.
4305 (darwin_xfer_partial): Likewise.
4306 * exec.c (section_table_xfer_memory_partial): Likewise.
4307 (exec_xfer_partial): Likewise.
4308 * exec.h (section_table_xfer_memory_partial): Update
4310 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4311 instead of plongest.
4312 (gnu_xfer_partial): Likewise.
4313 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4314 (ia64_hpux_xfer_solib_got): Likewise.
4315 (ia64_hpux_xfer_partial): Likewise.
4316 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4317 * inf-ptrace.c (inf_ptrace_xfer_partial):
4318 * inf-ttrace.c (inf_ttrace_xfer_partial):
4319 * linux-nat.c (linux_xfer_siginfo): Likewise.
4320 (linux_nat_xfer_partial): Likewise.
4321 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4322 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4323 * monitor.c (monitor_xfer_memory): Likewise.
4324 (monitor_xfer_partial): Likewise.
4325 * procfs.c (procfs_xfer_partial): Likewise.
4326 * record-full.c (record_full_xfer_partial): Likewise.
4327 (record_full_core_xfer_partial): Likewise.
4328 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4329 instead of plongest.
4330 (gdbsim_xfer_partial): Likewise.
4331 * remote.c (remote_xfer_partial): Likewise.
4332 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4333 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4335 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4336 (rs6000_xfer_shared_libraries): Likewise.
4337 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4338 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4339 (sparc_xfer_partial): Likewise.
4340 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4341 (spu_xfer_partial): Likewise.
4342 * spu-multiarch.c (spu_xfer_partial): Likewise.
4343 * target.c (target_read_live_memory): Likewise.
4344 (memory_xfer_live_readonly_partial): Likewise.
4345 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4346 (target_xfer_partial, default_xfer_partial): Likewise.
4347 (current_xfer_partial): Likewise.
4348 * tracepoint.c (tfile_xfer_partial): Likewise.
4349 * windows-nat.c (windows_xfer_memory): Likewise. Call
4350 pulongest instead of plongest.
4351 (windows_xfer_partial): Likewise.
4352 (windows_xfer_shared_libraries): Likewise.
4354 2014-01-14 Yao Qi <yao@codesourcery.com>
4356 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4357 target_xfer_partial_ftype.
4359 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4363 * valops.c (value_struct_elt_bitpos): New function
4364 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4365 object to 'None' if the field name is an empty string ("").
4366 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4367 attribute to look for a field when 'name' is 'None'.
4368 (get_field_type): New function
4370 2014-01-13 Doug Evans <dje@google.com>
4373 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4374 (try_open_dwop_file): Ditto.
4375 * gdb_bfd.c: #include "vec.h".
4376 (bfdp): New typedef.
4377 (struct gdb_bfd_data): New member included_bfds.
4378 (gdb_bfd_unref): Unref all included bfds.
4379 (gdb_bfd_record_inclusion): New function.
4380 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4382 2014-01-13 Tom Tromey <tromey@redhat.com>
4384 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4386 2014-01-13 Tom Tromey <tromey@redhat.com>
4388 * defs.h (use_windows): Remove.
4389 * gdb.c (main): Update.
4390 * main.c (captured_main, gdb_main): Update.
4391 * main.h (struct captured_main_args) <use_windows>: Remove.
4392 * top.c (use_windows): Remove.
4394 2014-01-13 Tom Tromey <tromey@redhat.com>
4396 * defs.h (deprecated_flush_hook): Remove.
4398 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4401 * linux-thread-db.c (try_thread_db_load): Add parameter
4402 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4403 (try_thread_db_load_from_pdir_1): Move it there from here.
4404 (try_thread_db_load_from_sdir): Update caller.
4405 (try_thread_db_load_from_dir): Move it there from here.
4407 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4409 * regformats/regdat.sh: Always rewrite the register file.
4411 2014-01-13 Pedro Alves <palves@redhat.com>
4413 * Makefile.in (CHECK_HEADERS): New variable.
4414 (check-headers:): New rule.
4416 2014-01-13 Tom Tromey <tromey@redhat.com>
4418 * cli/cli-setshow.c (do_set_command): Update.
4419 * defs.h (deprecated_set_hook): Remove.
4420 * top.c (deprecated_set_hook): Remove.
4422 2014-01-13 Pedro Alves <palves@redhat.com>
4424 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4425 the tracepoint if the PC is a pseudo-register.
4427 2014-01-13 Tom Tromey <tromey@redhat.com>
4429 * defs.h (XCALLOC): Remove.
4430 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4431 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4432 * dwarf2loc.c (allocate_piece_closure): Likewise.
4433 * elfread.c (elf_symfile_segments): Likewise.
4434 (elf_symfile_segments): Likewise.
4435 * gdbtypes.c (copy_type_recursive): Likewise.
4436 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4437 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4438 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4440 * mt-tdep.c (mt_gdbarch_init): Likewise.
4441 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4443 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4444 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4445 * registry.c (registry_alloc_data): Likewise.
4446 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4447 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4448 * serial.c (serial_fdopen_ops): Likewise.
4449 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4451 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4452 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4455 2014-01-13 Tom Tromey <tromey@redhat.com>
4457 * defs.h (XMALLOC): Remove.
4458 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4459 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4460 * cli-out.c (struct ui_out *): Likewise.
4461 * cli/cli-dump.c (add_dump_command): Likewise.
4462 (add_dump_command): Likewise.
4463 * complaints.c (get_complaints): Likewise.
4464 (find_complaint): Likewise.
4465 * dwarf2-frame.c (execute_cfa_program): Likewise.
4466 * dwarf2read.c (abbrev_table_read_table): Likewise.
4467 * gdbarch.sh: Likewise.
4468 * gdbarch.c: Rebuild.
4469 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4470 * interps.c (interp_new): Likewise.
4471 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4472 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4473 * mi/mi-console.c (mi_console_file_new): Likewise.
4474 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4475 * mi/mi-out.c (mi_out_new): Likewise.
4476 * mi/mi-parse.c (mi_parse): Likewise.
4477 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4478 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4479 * observer.c (xalloc_observer_list_node): Likewise.
4480 * regcache.c (regcache_xmalloc_1): Likewise.
4481 * reggroups.c (reggroup_new): Likewise.
4482 (_initialize_reggroup): Likewise.
4483 * registry.c (register_data_with_cleanup): Likewise.
4484 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4485 * ser-base.c (serial_ttystate): Likewise.
4486 * ser-mingw.c (make_pipe_state): Likewise.
4487 * ser-pipe.c (pipe_open): Likewise.
4488 * serial.c (serial_open): Likewise.
4489 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4490 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4491 (tui_alloc_win_info): Likewise.
4492 (tui_add_content_elements): Likewise.
4493 * tui/tui-file.c (tui_file_new): Likewise.
4494 * tui/tui-out.c (tui_out_new): Likewise.
4495 * ui-file.c (mem_file_new): Likewise.
4496 * ui-out.c (push_level): Likewise.
4497 (make_cleanup_ui_out_end): Likewise.
4498 (append_header_to_list): Likewise.
4499 (ui_out_new): Likewise.
4500 * user-regs.c (user_reg_add_builtin): Likewise.
4502 2014-01-13 Tom Tromey <tromey@redhat.com>
4504 * defs.h (XZALLOC): Remove.
4505 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4506 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4507 (get_ada_tasks_inferior_data): Likewise.
4508 * auto-load.c (get_auto_load_pspace_data): Likewise.
4509 * auxv.c (get_auxv_inferior_data): Likewise.
4510 * bfd-target.c (target_bfd_reopen): Likewise.
4511 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4512 (deprecated_insert_raw_breakpoint): Likewise.
4513 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4514 * corelow.c (core_open): Likewise.
4515 * darwin-nat.c (darwin_check_new_threads): Likewise.
4516 (darwin_attach_pid): Likewise.
4517 * dummy-frame.c (dummy_frame_push): Likewise.
4518 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4519 * dwarf2loc.c (allocate_piece_closure): Likewise.
4520 * elfread.c (elf_symfile_segments): Likewise.
4521 * eval.c (ptrmath_type_p): Likewise.
4522 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4523 * gdbtypes.c (alloc_type_arch): Likewise.
4524 (alloc_type_instance): Likewise.
4525 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4526 * inf-child.c (inf_child_can_use_agent): Likewise.
4527 * inflow.c (get_inflow_inferior_data): Likewise.
4528 * infrun.c (save_infcall_suspend_state): Likewise.
4529 * jit.c (jit_reader_load): Likewise.
4530 (get_jit_objfile_data): Likewise.
4531 (get_jit_program_space_data): Likewise.
4532 (jit_object_open_impl): Likewise.
4533 (jit_symtab_open_impl): Likewise.
4534 (jit_block_open_impl): Likewise.
4535 (jit_frame_sniffer): Likewise.
4536 * linux-fork.c (add_fork): Likewise.
4537 * maint.c (make_command_stats_cleanup): Likewise.
4538 * objfiles.c (get_objfile_pspace_data): Likewise.
4539 * opencl-lang.c (struct lval_closure): Likewise.
4540 * osdata.c (osdata_start_osdata): Likewise.
4541 * progspace.c (new_address_space): Likewise.
4542 (add_program_space): Likewise.
4543 * remote-sim.c (get_sim_inferior_data): Likewise.
4544 * sh-tdep.c (sh_gdbarch_init): Likewise.
4545 * skip.c (Ignore): Likewise.
4546 (skip_delete_command): Likewise.
4547 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4548 (library_list_start_library): Likewise.
4549 (solib_aix_current_sos): Likewise.
4550 * solib-darwin.c (get_darwin_info): Likewise.
4551 (darwin_current_sos): Likewise.
4552 * solib-dsbt.c (get_dsbt_info): Likewise.
4553 * solib-ia64-hpux.c (new_so_list): Likewise.
4554 (ia64_hpux_get_solib_linkage_addr): Likewise.
4555 * solib-spu.c (append_ocl_sos): Likewise.
4556 (spu_current_sos): Likewise.
4557 * solib-svr4.c (get_svr4_info): Likewise.
4558 (svr4_keep_data_in_core): Likewise.
4559 (library_list_start_library): Likewise.
4560 (svr4_default_sos): Likewise.
4561 (svr4_read_so_list): Likewise.
4562 * solib-target.c (library_list_start_library): Likewise.
4563 (solib_target_current_sos): Likewise.
4564 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4565 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4566 * symfile.c (default_symfile_segments): Likewise.
4567 * target-descriptions.c (tdesc_data_init): Likewise.
4568 (tdesc_create_reg): Likewise.
4569 (struct tdesc_type *): Likewise.
4570 (tdesc_create_vector): Likewise.
4571 (tdesc_set_struct_size): Likewise.
4572 (struct tdesc_type *): Likewise.
4573 (tdesc_free_feature): Likewise.
4574 (tdesc_create_feature): Likewise.
4575 * windows-nat.c (windows_add_thread): Likewise.
4576 (windows_make_so): Likewise.
4577 * xml-support.c (gdb_xml_body_text): Likewise.
4578 (gdb_xml_create_parser_and_cleanup): Likewise.
4579 (xml_process_xincludes): Likewise.
4580 * xml-syscall.c (allocate_syscalls_info): Likewise.
4581 (syscall_create_syscall_desc): Likewise.
4583 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4585 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4586 function, with code from i386_stap_parse_special_token.
4587 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4588 (i386_stap_parse_special_token): Move code to the two functions
4591 2014-01-09 Pedro Alves <palves@redhat.com>
4592 Hui Zhu <hui@codesourcery.com>
4595 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4596 bp_err_string. Don't mark the location shlib_disabled if the
4597 error thrown wasn't a generic or memory error. Catch errors
4598 thrown while inserting breakpoints in overlayed code. Output
4599 error message of software breakpoints.
4600 * remote.c (remote_insert_breakpoint): If this breakpoint has
4601 target-side commands but this stub doesn't support Z0 packets,
4602 throw NOT_SUPPORTED_ERROR error.
4603 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4604 * target.h (target_insert_breakpoint): Extend comment.
4605 (target_insert_hw_breakpoint): Add comment.
4607 2014-01-08 Pedro Alves <palves@redhat.com>
4609 * remote.c (remote_add_thread): Add threads silently if starting
4611 (remote_notice_new_inferior): If in all-stop, and starting up,
4612 don't call notice_new_inferior.
4613 (get_current_thread): New function, factored out from ...
4614 (add_current_inferior_and_thread): ... this. Adjust.
4615 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4616 found any thread, then select the remote's current thread as GDB's
4619 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4621 * NEWS: Create a new section for the next release branch.
4622 Rename the section of the current branch, now that it has
4625 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4627 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4628 * version.in: Bump version to 7.7.50.DATE-cvs.
4630 2014-01-08 Yao Qi <yao@codesourcery.com>
4632 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4633 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4634 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4636 2014-01-08 Yao Qi <yao@codesourcery.com>
4638 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4639 return value of bfd_get_filename to symbol_file_add_from_bfd.
4641 2014-01-08 Pierre Muller <muller@sourceware.org>
4644 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4645 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4646 to prim_record_mininal_symbol_and_info.
4647 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4648 in call to prim_record_minimal_symbol_and_info.
4649 (read_pe_exported_syms): Set index field of section_data.
4651 2014-01-07 Andrew Pinski <apinski@cavium.com>
4653 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4654 * features/aarch64.c: Regenerate.
4656 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4658 * target.c (return_null): Define.
4659 (update_current_target): Use it instead of return_zero for
4660 functions that return a pointer.
4662 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4664 * source.c (add_path): Fix check for duplicated paths in the previously
4667 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4669 * ada-lang.c: Remove duplicated include statements.
4670 * alphabsd-nat.c: Ditto.
4671 * amd64-darwin-tdep.c: Ditto.
4672 * amd64fbsd-nat.c: Ditto.
4673 * auto-load.c: Ditto.
4675 * breakpoint.c: Ditto.
4677 * fork-child.c: Ditto.
4678 * gdb_usleep.c: Ditto.
4679 * i386-darwin-tdep.c: Ditto.
4680 * i386fbsd-nat.c: Ditto.
4682 * inferior.c: Ditto.
4684 * linux-nat.c: Ditto.
4685 * linux-tdep.c: Ditto.
4686 * m68kbsd-nat.c: Ditto.
4687 * m68klinux-nat.c: Ditto.
4688 * microblaze-tdep.c: Ditto.
4689 * mips-linux-tdep.c: Ditto.
4690 * mn10300-tdep.c: Ditto.
4691 * nto-tdep.c: Ditto.
4692 * opencl-lang.c: Ditto.
4694 * printcmd.c: Ditto.
4695 * regcache.c: Ditto.
4696 * remote-m32r-sdi.c: Ditto.
4700 * tilegx-linux-nat.c: Ditto.
4701 * tilegx-tdep.c: Ditto.
4702 * tracepoint.c: Ditto.
4704 * vaxbsd-nat.c: Ditto.
4705 * windows-nat.c: Ditto.
4706 * xtensa-tdep.c: Ditto.
4708 2014-01-07 Yao Qi <yao@codesourcery.com>
4710 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4712 2014-01-07 Yao Qi <yao@codesourcery.com>
4713 Joel Brobecker <brobecker@adacore.com>
4715 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4716 (pdc_write_regs): Likewise.
4717 (fetch_regs_kernel_thread): Likewise.
4718 (store_regs_kernel_thread): Likewise.
4720 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4722 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4723 tagged type objects to their actual type.
4725 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4727 * ada-valprint.c (print_field_values): Add "language" parameter.
4728 Update calls to print_field_values and print_variant_part.
4729 Pass new parameter "language" in call to val_print instead
4730 of "current_language". Replace call to ada_val_print by call
4732 (print_variant_part): Add "language" parameter.
4733 (ada_val_print_struct_union): Update call to print_field_values.
4735 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4737 * ada-valprint.c (ui_memcpy): Delete.
4738 (ada_print_floating): Update documentation. Add empty line
4739 between between function documentation and implementation.
4740 Delete variable "buffer". Use ui_file_xstrdup in place of
4741 ui_file_put. Minor adjustments following this change.
4743 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4745 * ada-valprint.c (ada_val_print_string): New function,
4746 extracted from ada_val_print_array.
4747 (ada_val_print_array): Replace extracted code by call
4748 to ada_val_print_string followed by a return. Move
4749 "else" branch to the function's top block.
4751 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4753 * ada-valprint.c (ada_val_print_array): Move implementation
4754 down. Rename parameter "offset" and "val" into "offset_aligned"
4755 and "original_value" respectively. Add parameter "offset".
4757 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4759 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4760 re-organizing the code. Change the "???" message printed
4761 when target type is a TYPE_CODE_UNDEF into
4762 "<ref to undefined type>".
4764 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4766 * ada-valprint.c (print_record): Delete, implementation inlined...
4767 (ada_val_print_struct_union): ... here. Remove call to
4768 ada_check_typedef in inlined implementation.
4770 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4772 * ada-valprint.c (ada_val_print_gnat_array): New function,
4773 extracted from ada_val_print_1;
4774 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4775 (ada_val_print_flt, ada_val_print_struct_union)
4776 (ada_val_print_ref): Likewise.
4777 (ada_val_print_1): Delete variables i and elttype.
4778 Replace extracted-out code by call to corresponding
4781 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4783 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4785 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4787 * ada-valprint.c (ada_val_print_1): Replace calls to
4788 ada_val_print_1 by calls to val_print.
4790 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4792 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4793 Update calls to self accordingly. Replace calls to c_val_print
4794 by calls to val_print.
4796 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4798 * ada-valprint.c (print_record): Delete declaration.
4799 (adjust_type_signedness, ada_val_print_1): Likewise.
4800 (ada_val_print): Move function implementation down.
4801 (print_variant_part, print_field_values, print_record):
4802 Move function implementation up.
4804 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4806 * python/py-type.c (typy_get_name): New function.
4807 (type_object_getset): Add entry for attribute "name".
4808 * NEWS: Add entry mentioning this new attribute.
4810 2014-01-07 Yao Qi <yao@codesourcery.com>
4812 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4815 2014-01-07 Yao Qi <yao@codesourcery.com>
4817 * gnu-nat.c (info_port_rights): Add qualifier const to
4820 2014-01-07 Yao Qi <yao@codesourcery.com>
4822 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4824 2014-01-07 Yao Qi <yao@codesourcery.com>
4826 * gnu-nat.c (make_inf) Update declaration.
4827 (make_inf): Make it static.
4828 (inf_set_traced): Likewise.
4829 (inf_port_to_thread, inf_task_died_status): Likewise.
4831 2014-01-07 Yao Qi <yao@codesourcery.com>
4833 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4835 2014-01-07 Yao Qi <yao@codesourcery.com>
4837 * gnu-nat.c (_initialize_gnu_nat): Declare.
4839 2014-01-07 Yao Qi <yao@codesourcery.com>
4841 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4843 (struct gdbarch_info) <byte_order>: Change type to
4845 <byte_order_for_code>: Likewise.
4846 * gdbarch.c, gdbarch.h: Regenerated.
4848 2014-01-06 Sasha Smundak <asmundak@google.com>
4850 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4852 2014-01-06 Tom Tromey <tromey@redhat.com>
4854 * doublest.c (convert_doublest_to_floatformat): Use const, not
4856 * somread.c (som_symtab_read): Likewise.
4858 2014-01-07 Hui Zhu <hui@codesourcery.com>
4860 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4861 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4862 (gdb_bfd_fopen): Ditto.
4863 (gdb_bfd_openr): Ditto.
4864 (gdb_bfd_openw): Ditto.
4865 (gdb_bfd_openr_iovec): Ditto.
4866 (gdb_bfd_fdopenr): Ditto.
4867 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4868 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4870 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4872 * symfile-mem.c (symbol_file_add_from_memory): Removed
4873 gdb_bfd_stash_filename.
4875 2014-01-03 Doug Evans <dje@google.com>
4877 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4880 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4882 Update year range in copyright notice of all files.
4884 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4886 * top.c (print_gdb_version): Set copyright year to 2014.
4888 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4890 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4892 For older changes see ChangeLog-2013.
4898 version-control: never