1 2014-03-22 Yao Qi <yao@codesourcery.com>
3 * ctf.c (ctf_xfer_partial): Check the return value of
4 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5 return TARGET_XFER_UNAVAILABLE.
6 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7 * target.c (target_read_live_memory): Move it to remote.c.
8 (memory_xfer_live_readonly_partial): Likewise.
9 (memory_xfer_partial_1): Move some code to remote_read_bytes.
10 * remote.c (target_read_live_memory): Moved from target.c.
11 (memory_xfer_live_readonly_partial): Likewise.
12 (remote_read_bytes): Factored out from
13 memory_xfer_partial_1.
15 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
17 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
20 2014-03-21 Pedro Alves <palves@redhat.com>
22 * infrun.c (normal_stop): Extend comment.
24 2014-03-21 Hui Zhu <hui@codesourcery.com>
25 Pedro Alves <palves@redhat.com>
27 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
29 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
30 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
31 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
33 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
35 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
36 `z' formatted output modifier.
38 2014-03-20 Tom Tromey <tromey@redhat.com>
39 Sergio Durigan Junior <sergiodj@redhat.com>
41 * probe.c (parse_probes): Turn assert into an ordinary error.
42 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
43 exceptions when parsing probes. Rearrange the code for clarity.
45 2014-03-20 Tom Tromey <tromey@redhat.com>
48 * top.c (execute_command): Only dispatch events if the command
51 2014-03-20 Tom Tromey <tromey@redhat.com>
54 * infcall.c: Include event-top.h.
55 (run_inferior_call): Call async_disable_stdin if needed.
57 2014-03-20 Pedro Alves <palves@redhat.com>
59 * infrun.c (prepare_to_proceed): Delete.
60 (thread_still_needs_step_over): New function.
61 (find_thread_needs_step_over): New function.
62 (proceed): If the current thread needs a step-over, set its
63 steping_over_breakpoint flag. Adjust to use
64 find_thread_needs_step_over instead of prepare_to_proceed.
65 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
66 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
68 (switch_back_to_stepped_thread): Step over breakpoints of all
69 threads not the stepping thread, before switching back to the
72 2014-03-20 Pedro Alves <palves@redhat.com>
74 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
76 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
77 * infrun.c (saved_singlestep_ptid)
78 (stepping_past_singlestep_breakpoint): Delete.
79 (resume): Remove stepping_past_singlestep_breakpoint handling.
80 (proceed): Store the prev_pc of the stepping thread too.
81 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
83 (enum infwait_states): Delete infwait_thread_hop_state.
84 (struct execution_control_state) <hit_singlestep_breakpoint>: New
86 (handle_inferior_event): Adjust.
87 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
88 handling and the thread-hop code. Before removing single-step
89 breakpoints, check whether the thread hit a single-step breakpoint
90 of another thread. If it did, the trap is not a random signal.
91 (switch_back_to_stepped_thread): If the event thread hit a
92 single-step breakpoint, unblock it before switching to the
93 stepping thread. Handle the case of the stepped thread having
95 (keep_going): Handle the case of the current thread moving past a
96 single-step breakpoint.
98 2014-03-20 Pedro Alves <palves@redhat.com>
101 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
102 are being stepped over.
103 (breakpoint_address_match): Make extern.
104 * breakpoint.h (breakpoint_address_match): New declaration.
105 * inferior.h (stepping_past_instruction_at): New declaration.
106 * infrun.c (struct step_over_info): New type.
107 (step_over_info): New global.
108 (set_step_over_info, clear_step_over_info)
109 (stepping_past_instruction_at): New functions.
110 (handle_inferior_event): Clear the step-over info when
111 trap_expected is cleared.
112 (resume): Remove now stale comment.
113 (clear_proceed_status): Clear step-over info.
114 (proceed): Adjust step-over handling to set or clear the step-over
115 info instead of removing all breakpoints.
116 (handle_signal_stop): When setting up a thread-hop, don't remove
118 (stop_stepping): Clear step-over info.
119 (keep_going): Adjust step-over handling to set or clear step-over
120 info and then always inserting breakpoints, instead of removing
121 all breakpoints when stepping over one.
123 2014-03-20 Pedro Alves <palves@redhat.com>
125 * infrun.c (previous_inferior_ptid): Adjust comment.
126 (deferred_step_ptid): Delete.
127 (infrun_thread_ptid_changed, prepare_to_proceed)
128 (init_wait_for_inferior): Adjust.
129 (handle_signal_stop): Delete deferred_step_ptid handling.
131 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
134 * defs.h (sync_quit_force_run): New declaration.
135 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
136 * event-top.c (async_sigterm_handler): New declaration.
137 (async_sigterm_token): New variable.
138 (async_init_signals): Create also async_sigterm_token.
139 (async_sigterm_handler): New function.
140 (sync_quit_force_run): New variable.
141 (handle_sigterm): Replace quit_force call by other calls.
142 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
144 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
146 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
147 offset into SPE pseudo registers.
149 2014-03-18 Pedro Alves <palves@redhat.com>
152 * inferior.h (print_stop_event): Declare.
153 * infrun.c (print_stop_event): New, factored out from ...
154 (normal_stop): ... this.
155 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
156 of bpstat_print/print_stack_frame.
158 2014-03-17 Tom Tromey <tromey@redhat.com>
160 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
162 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
164 * ada-lang.c (decode_constrained_packed_array): Perform a
165 minimal coercion for reference with coerce_ref instead of
168 2014-03-17 Tristan Gingold <gingold@adacore.com>
170 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
171 (darwin_solib_create_inferior_hook): Emit a warning if version
174 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
176 * python/py-value.c (get_field_flag): Cast flag_name argument to
177 PyObject_GetAttrString to support Python 2.4.
179 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
181 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
182 (Global Maintainers): Remove Jan Kratochvil.
184 2014-03-14 Pedro Alves <palves@redhat.com>
186 * inferior.h (terminal_ours_for_output): Rename to ...
187 (child_terminal_ours_for_output): ... this.
188 (terminal_save_ours): Rename to ...
189 (child_terminal_save_ours): ... this.
190 (terminal_ours): Rename to ...
191 (child_terminal_ours): ... this.
192 (terminal_inferior): Rename to ...
193 (child_terminal_inferior): ... this.
194 (terminal_init_inferior): Rename to ...
195 (child_terminal_init_inferior): ... this.
196 (terminal_init_inferior_with_pgrp): Rename to ...
197 (child_terminal_init_inferior_with_pgrp): ... this.
198 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
199 (child_terminal_init_with_pgrp): ... this.
200 (terminal_save_ours): Rename to ...
201 (child_terminal_save_ours): ... this.
202 (terminal_init_inferior): Rename to ...
203 (child_terminal_init): ... this. Adjust.
204 (terminal_inferior): Rename to ...
205 (child_terminal_inferior): ... this.
206 (terminal_ours_for_output): Rename to ...
207 (child_terminal_ours_for_output): ... this. Adjust.
208 (terminal_ours): Rename to ...
209 (child_terminal_ours): ... this.
210 (terminal_ours_1): Rename to ...
211 (child_terminal_ours_1): ... this. Adjust.
212 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
213 * windows-nat.c (do_initial_windows_stuff): Adjust.
214 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
215 (gnu_terminal_init): ... this. Adjust.
216 (gnu_target): Adjust.
217 * inf-child.c (inf_child_target): Adjust.
219 2014-03-13 Doug Evans <xdje42@gmail.com>
222 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
225 2014-03-13 Doug Evans <xdje42@gmail.com>
227 * value.c (record_latest_value): Call release_value_or_incref
228 instead of release_value.
230 2014-03-13 Pedro Alves <palves@redhat.com>
232 * procfs.c (procfs_target): Don't override to_shortname,
233 to_longname or to_doc.
235 2014-03-13 Pedro Alves <palves@redhat.com>
237 * inf-child.c (inf_child_open, inf_child_target): Don't mention
238 Unix in user visible strings.
240 2014-03-12 Stan Shebs <stan@codesourcery.com>
242 * gdbtypes.h: Annotate comments for Doxygen, add a page
243 block comment with some general info.
245 2014-03-12 Pedro Alves <palves@redhat.com>
247 * infcmd.c (prepare_execution_command): New function, factored out
248 from several execution commands.
249 (run_command_1, continue_command, step_1, jump_command)
250 (signal_command, until_command, advance_command, finish_command)
251 (attach_command): Use prepare_execution_command.
253 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
255 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
258 (struct arm_linux_thread_points): Removed.
259 (struct arm_linux_process_info): New.
260 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
261 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
262 (arm_linux_find_breakpoints_by_tid): Removed.
263 (struct arch_lwp_info): New.
264 (arm_linux_find_process_pid): New functions.
265 (arm_linux_add_process): New functions.
266 (arm_linux_process_info_get): New functions.
267 (arm_linux_forget_process): New function.
268 (arm_linux_get_debug_reg_state): New function.
269 (struct update_registers_data): New.
270 (update_registers_callback): New function.
271 (arm_linux_insert_hw_breakpoint1): Updated.
272 (arm_linux_remove_hw_breakpoint1): Updated.
273 (arm_linux_insert_hw_breakpoint): Updated.
274 (arm_linux_remove_hw_breakpoint): Updated.
275 (arm_linux_insert_watchpoint): Updated.
276 (arm_linux_remove_watchpoint): Updated.
277 (arm_linux_new_thread): Updated.
278 (arm_linux_prepare_to_resume): New function.
279 (arm_linux_new_fork): New function.
280 (_initialize_arm_linux_nat): Updated.
282 2014-03-12 Pedro Alves <palves@redhat.com>
284 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
286 2014-03-12 Tom Tromey <tromey@redhat.com>
288 * inf-child.c (return_zero): New function.
289 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
290 * aix-thread.c (aix_thread_inferior_created): New function.
291 (aix_thread_attach): Remove.
292 (init_aix_thread_ops): Don't set to_attach.
293 (_initialize_aix_thread): Register inferior_created observer.
294 * corelow.c (init_core_ops): Don't set to_attach or
296 * exec.c (init_exec_ops): Don't set to_attach or
298 * infcmd.c (run_command_1): Use find_run_target. Make direct
300 (attach_command): Use find_attach_target. Make direct target
302 * record-btrace.c (init_record_btrace_ops): Don't set
304 * record-full.c (record_full_can_async_p, record_full_is_async_p):
306 (init_record_full_ops, init_record_full_core_ops): Update. Don't
307 set to_create_inferior.
308 * target.c (complete_target_initialization): Add assertion.
309 (target_create_inferior): Remove.
310 (find_default_attach, find_default_create_inferior): Remove.
311 (find_attach_target, find_run_target): New functions.
312 (find_default_is_async_p, find_default_can_async_p)
313 (target_supports_non_stop, target_attach): Remove.
314 (init_dummy_target): Don't set to_create_inferior or
315 to_supports_non_stop.
316 * target.h (struct target_ops) <to_attach>: Add comment. Remove
318 <to_create_inferior>: Add comment.
319 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
320 TARGET_DEFAULT_RETURN.
321 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
322 (find_attach_target, find_run_target): Declare.
323 (target_create_inferior): Remove.
324 (target_has_execution_1): Update comment.
325 (target_supports_non_stop): Remove.
326 * target-delegates.c: Rebuild.
328 2014-03-12 Pedro Alves <palves@redhat.com>
330 * inf-child.h: Update comment to not mention Unix.
332 2014-03-12 Pedro Alves <palves@redhat.com>
334 * inf-child.c: Update top comment to not mention Unix. Add
335 generic comment describing how this target is meant to be used.
336 (inf_child_post_attach, inf_child_post_startup_inferior)
337 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
340 2014-03-12 Pedro Alves <palves@redhat.com>
342 * nto-procfs.c: Include inf-child.h.
343 (procfs_ops): Delete global.
344 (procfs_can_run): Delete method.
345 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
346 target pointer instead of referencing procfs_ops.
347 (procfs_prepare_to_store): Delete.
348 (init_procfs_ops): Delete function.
349 (procfs_target): New function, based on init_procfs_ops, but
350 inherit inf_child_target.
351 (_initialize_procfs): Use procfs_target.
353 2014-03-12 Pedro Alves <palves@redhat.com>
355 * windows-nat.c: Include inf-child.h.
356 (windows_ops): Delete global.
357 (windows_open, windows_prepare_to_store, windows_can_run): Delete
359 (init_windows_ops): Delete function.
360 (windows_target): New function, based on init_windows_ops, but
361 inherit inf_child_target.
362 (_initialize_windows_nat): Use windows_target. Install x86
363 specific target methods here.
365 2014-03-10 Doug Evans <xdje42@gmail.com>
367 * guile/guile.c (call_initialize_gdb_module): New function.
368 (initialize_guile): Replace call to scm_init_guile with call to
371 2014-03-10 Joel Brobecker <brobecker@adacore.com>
373 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
374 in call to TYPE_CODE macro.
376 2014-03-10 Jerome Guitton <guitton@adacore.com>
378 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
379 Resolve tagged types to full view.
381 2014-03-10 Hui Zhu <hui@codesourcery.com>
383 * target.h (target_insert_breakpoint): Remove "hardware" from its
386 2014-03-07 Doug Evans <dje@google.com>
388 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
390 2014-03-07 Doug Evans <dje@google.com>
392 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
393 Remove unused local comp_dir_attr. Assert exactly one of
394 stub_comp_unit_die, stub_comp_dir is non-NULL.
396 2014-03-07 Joel Brobecker <brobecker@adacore.com>
398 * target.h (complete_target_initialization, add_target):
401 2014-03-07 Pedro Alves <palves@redhat.com>
403 * go32-nat.c: Include inf-child.h.
404 (go32_ops): Delete global.
405 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
407 (go32_create_inferior): Push the passed in target pointer instead
408 of referencing go32_ops.
409 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
410 (go32_target): New function, based on init_go32_ops, but inherit
412 (_initialize_go32_nat): Use go32_target. Move parts of
415 2014-03-06 Joel Brobecker <brobecker@adacore.com>
417 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
418 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
419 SYMBOL_VALUE_ADDRESS.
420 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
422 2014-03-06 Yao Qi <yao@codesourcery.com>
424 * breakpoint.c (get_tracepoint_by_number): Remove argument
425 optional_p. All callers updated. Adjust comments. Update
427 * breakpoint.h (get_tracepoint_by_number): Update declaration.
429 2014-03-06 Yao Qi <yao@codesourcery.com>
431 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
432 early if get_number returns zero. Use 'p' instead of 'args'.
434 2014-03-06 Yao Qi <yao@codesourcery.com>
436 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
439 2014-03-06 Yao Qi <yao@codesourcery.com>
442 * tracepoint.c (check_trace_running): New function.
443 (trace_find_command): Move code to check_trace_running and
444 call check_trace_running.
445 (trace_find_pc_command): Likewise.
446 (trace_find_tracepoint_command): Likewise.
447 (trace_find_line_command): Likewise.
448 (trace_find_range_command): Likewise.
449 * tracepoint.h (check_trace_running): Likewise.
450 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
452 2014-03-06 Yao Qi <yao@codesourcery.com>
454 * target.h (struct target_ops) <to_traceframe_info>: Use
455 TARGET_DEFAULT_NORETURN (tcomplain ()).
456 * target-delegates.c: Regenerated.
458 2014-03-05 Pedro Alves <palves@redhat.com>
461 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
462 void. Update comment.
463 (dcache_xfer_memory): Delete.
464 (dcache_read_memory_partial): New, based on the read bits of
466 (dcache_update): Add status parameter. Use ULONGEST for len, and
467 adjust. Discard cache lines if the reason for the update was
469 * dcache.h (dcache_xfer_memory): Delete declaration.
470 (dcache_read_memory_partial): New declaration.
471 (dcache_update): Update prototype.
472 * target.c (raw_memory_xfer_partial): Update the dcache here.
473 (memory_xfer_partial_1): Don't handle dcache writes here.
475 2014-03-05 Mike Frysinger <vapier@gentoo.org>
477 * remote-sim.c (gdbsim_load): Add const to prog.
479 2014-03-03 Tom Tromey <tromey@redhat.com>
481 * elfread.c (probe_key): Change to bfd_data.
482 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
483 now per-BFD, not per-objfile.
484 * stap-probe.c (stap_probe_destroy): Update comment.
485 (handle_stap_probe): Allocate on the per-BFD obstack.
487 2014-03-03 Tom Tromey <tromey@redhat.com>
489 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
490 * breakpoint.c (create_longjmp_master_breakpoint): Use
492 (add_location_to_breakpoint, bkpt_probe_insert_location)
493 (bkpt_probe_remove_location): Update.
494 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
495 * elfread.c (elf_symfile_relocate_probe): Remove.
496 (elf_probe_fns): Update.
497 (insert_exception_resume_breakpoint): Change type of "probe"
498 parameter to bound_probe.
499 (check_exception_resume): Update.
500 * objfiles.c (objfile_relocate1): Don't relocate probes.
501 * probe.c (bound_probe_s): New typedef.
502 (parse_probes): Use get_probe_address. Set sal's objfile.
503 (find_probe_by_pc): Return a bound_probe.
504 (collect_probes): Return a VEC(bound_probe_s).
505 (compare_probes): Update.
506 (gen_ui_out_table_header_info): Change type of "probes"
508 (info_probes_for_ops): Update.
509 (get_probe_address): New function.
510 (probe_safe_evaluate_at_pc): Update.
511 * probe.h (struct probe_ops) <get_probe_address>: New field.
512 <set_semaphore, clear_semaphore>: Add objfile parameter.
513 (struct probe) <objfile>: Remove field.
515 <address>: Update comment.
516 (struct bound_probe): New.
517 (find_probe_by_pc): Return a bound_probe.
518 (get_probe_address): Declare.
519 * solib-svr4.c (struct probe_and_action) <address>: New field.
520 (hash_probe_and_action, equal_probe_and_action): Update.
521 (register_solib_event_probe): Add address parameter.
522 (solib_event_probe_at): Update.
523 (svr4_create_probe_breakpoints): Add objfile parameter. Use
525 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
526 (stap_get_probe_address): New function.
527 (stap_can_evaluate_probe_arguments, compute_probe_arg)
528 (compile_probe_arg): Update.
529 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
531 (handle_stap_probe): Don't relocate the probe.
532 (stap_relocate): Remove.
533 (stap_gen_info_probes_table_values): Update.
534 (stap_probe_ops): Remove stap_relocate.
535 * symfile-debug.c (debug_sym_relocate_probe): Remove.
536 (debug_sym_probe_fns): Update.
537 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
538 * symtab.c (init_sal): Use memset.
539 * symtab.h (struct symtab_and_line) <objfile>: New field.
540 * tracepoint.c (start_tracing, stop_tracing): Update.
542 2014-03-03 Tom Tromey <tromey@redhat.com>
544 * probe.h (parse_probes, find_probe_by_pc)
545 (find_probes_in_objfile): Fix comments.
547 2014-03-02 Doug Evans <xdje42@gmail.com>
549 * infrun.c (handle_signal_stop): Replace test for
550 TARGET_WAITKIND_STOPPED with an assert.
552 2014-03-02 Doug Evans <xdje42@gmail.com>
554 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
556 2014-03-02 Doug Evans <xdje42@gmail.com>
558 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
560 2014-03-01 Mark Kettenis <kettenis@gnu.org>
562 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
564 2014-03-01 Mark Kettenis <kettenis@gnu.org>
566 * i386obsd-nat.c: Include "obsd-nat.h".
567 (_initialize_i386obsd_nat): Call obsd_add_target instead of
569 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
571 2014-03-01 Mark Kettenis <kettenis@gnu.org>
573 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
575 2014-03-01 Mark Kettenis <kettenis@gnu.org>
577 * mips64obsd-nat.c: Include "obsd-nath".
578 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
580 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
582 2014-03-01 Mark Kettenis <kettenis@gnu.org>
584 * amd64obsd-nat.c: Include "obsd-nat,h.
585 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
587 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
589 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
591 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
592 (find_overload_match): Update call to find_oload_champ.
593 (find_oload_champ_namespace_loop): Likewise
595 2014-02-28 Mark Kettenis <kettenis@gnu.org>
597 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
599 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
600 * config/sparc/obsd64.mh: New file.
601 * sparc64obsd-nat.c: New file.
603 * obsd-nat.h: New file.
604 * obsd-nat.c: New file.
605 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
606 (ALLDEPFILES): Add obsd-nat.c.
608 2014-02-28 Tom Tromey <tromey@redhat.com>
610 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
611 * cli-out.h (cli_ui_out_impl): Now const.
612 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
613 * ui-out.c (struct ui_out) <impl>: Now const.
614 (default_ui_out_impl): Now const.
615 (ui_out_new): Make 'impl' parameter const.
616 * ui-out.h (ui_out_new): Update.
618 2014-02-27 Mark Kettenis <kettenis@gnu.org>
620 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
622 2014-02-27 Mark Kettenis <kettenis@gnu.org>
624 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
626 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
628 Additional PR 8882 fix.
629 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
631 2014-02-27 Pedro Alves <palves@redhat.com>
633 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
636 2014-02-27 Pedro Alves <palves@redhat.com>
639 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
640 * nat/linux-waitpid.c: Include string.h.
641 (status_to_str): Moved here and made extern.
642 * nat/linux-waitpid.h (status_to_str): New declaration.
644 2014-02-27 Hui Zhu <hui@codesourcery.com>
647 * infrun.c (ptid_match): Move ...
648 * common/ptid.c (ptid_match): ... here.
649 * inferior.h (ptid_match): Move ...
650 * common/ptid.h (ptid_match): ... here.
652 2014-02-27 Mark Kettenis <kettenis@gnu.org>
654 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
655 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
658 2014-02-27 Mark Kettenis <kettenis@gnu.org>
660 * obsd-tdep.c (obsd_auxv_parse): New function.
661 (obsd_init_abi): Set auxv_parse.
663 * gdbarch.sh (auxv_parse): New.
664 * gdbarch.h: Regenerated.
665 * gdbarch.c: Regenerated.
666 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
668 2014-02-26 Ludovic Courtès <ludo@gnu.org>
670 * guile/scm-value.c (gdbscm_history_append_x): New function.
671 (value_functions): Add it.
673 2014-02-27 Joel Brobecker <brobecker@adacore.com>
675 * dwarf2read.c (attr_value_as_address): New function.
676 (dwarf2_find_base_address, read_call_site_scope): Use
677 attr_value_as_address in place of DW_ADDR.
678 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
679 the low and high addresses. Slight rework of the handling
680 of the high pc being a constant form, and limit it to
681 DWARF verson 4 or higher.
682 (dwarf2_record_block_ranges): Likewise.
683 (read_partial_die): Likewise.
684 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
686 2014-02-26 Tom Tromey <tromey@redhat.com>
688 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
690 2014-02-26 Tom Tromey <tromey@redhat.com>
692 * elfread.c (elf_read_minimal_symbols): Return early if
693 minimal symbols have already been read. Add "ei" parameter.
694 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
695 * minsyms.c (prim_record_minimal_symbol_full): Update.
696 * objfiles.h (struct objstats) <n_minsyms>: Move...
697 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
698 * symmisc.c (print_objfile_statistics): Update.
700 2014-02-26 Tom Tromey <tromey@redhat.com>
702 * elfread.c (elf_read_minimal_symbols): New function, from
704 (elf_symfile_read): Call it.
706 2014-02-26 Tom Tromey <tromey@redhat.com>
708 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
709 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
710 (lookup_minimal_symbol_solib_trampoline)
711 (lookup_minimal_symbol_by_pc_section_1)
712 (lookup_minimal_symbol_and_objfile): Update.
713 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
714 Don't allocate a minimal symbol if minsyms have already been read.
715 (build_minimal_symbol_hash_tables): Update.
716 (install_minimal_symbols): Do nothing if minsyms already read.
717 Use the per-BFD obstack.
718 (terminate_minimal_symbol_table): Use the per-BFD obstack.
719 * objfiles.c (allocate_objfile): Call
720 terminate_minimal_symbol_table later.
721 (have_minimal_symbols): Update.
722 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
723 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
724 Move from struct objfile.
725 <minsyms_read>: New field.
726 (struct objfile) <msymbols, minimal_symbol_count,
727 msymbol_hash, msymbol_demangled_hash>: Move.
728 (ALL_OBJFILE_MSYMBOLS): Update.
729 * symfile.c (read_symbols): Set minsyms_read.
730 (reread_symbols): Update.
731 * symmisc.c (dump_objfile, dump_msymbols): Update.
733 2014-02-26 Tom Tromey <tromey@redhat.com>
735 * minsyms.c (msymbols_sort): Remove.
736 * minsyms.h (msymbols_sort): Remove.
737 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
738 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
739 * elfread.c (elf_symtab_read): Don't add section offsets.
740 * xcoffread.c (record_minimal_symbol): Don't add section offset
741 to minimal symbol address.
742 * somread.c (text_offset, data_offset): Remove.
743 (som_symtab_read): Don't add section offsets to minimal symbol
745 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
746 Don't add section offsets to minimal symbols.
747 * coffread.c (coff_symtab_read): Don't add section offsets
748 to minimal symbol addresses.
749 * machoread.c (macho_symtab_add_minsym): Don't add section offset
750 to minimal symbol addresses.
751 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
752 section offset to minimal symbol addresses.
753 * mdebugread.c (parse_partial_symbols): Don't add section
754 offset to minimal symbol addresses.
755 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
756 offset to minimal symbol addresses.
758 2014-02-26 Tom Tromey <tromey@redhat.com>
760 * ada-lang.c (ada_main_name): Update.
761 (ada_add_standard_exceptions): Update.
762 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
763 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
764 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
765 * auxv.c (ld_so_xfer_auxv): Update.
766 * avr-tdep.c (avr_scan_prologue): Update.
767 * ax-gdb.c (gen_var_ref): Update.
768 * blockframe.c (get_pc_function_start)
769 (find_pc_partial_function_gnu_ifunc): Update.
770 * breakpoint.c (create_overlay_event_breakpoint)
771 (create_longjmp_master_breakpoint)
772 (create_std_terminate_master_breakpoint)
773 (create_exception_master_breakpoint): Update.
774 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
775 * c-valprint.c (c_val_print): Update.
776 * coff-pe-read.c (add_pe_forwarded_sym): Update.
777 * common/agent.c (agent_look_up_symbols): Update.
778 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
779 * dwarf2loc.c (call_site_to_target_addr): Update.
780 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
781 * elfread.c (elf_gnu_ifunc_record_cache)
782 (elf_gnu_ifunc_resolve_by_got): Update.
783 * findvar.c (default_read_var_value): Update.
784 * frame.c (inside_main_func): Update.
785 * frv-tdep.c (frv_frame_this_id): Update.
786 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
787 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
789 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
790 (hppa_hpux_find_dummy_bpaddr): Update.
791 * hppa-tdep.c (hppa_symbol_address): Update.
792 * infcmd.c (until_next_command): Update.
793 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
795 * linespec.c (minsym_found, add_minsym): Update.
796 * linux-nat.c (get_signo): Update.
797 * linux-thread-db.c (inferior_has_bug): Update.
798 * m32c-tdep.c (m32c_return_value)
799 (m32c_m16c_address_to_pointer): Update.
800 * m32r-tdep.c (m32r_frame_this_id): Update.
801 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
802 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
803 * maint.c (maintenance_translate_address): Update.
804 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
805 (frob_address): New function.
806 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
807 frob_address. Rename parameter to "pc_in".
808 (compare_minimal_symbols, compact_minimal_symbols): Use raw
810 (find_solib_trampoline_target, minimal_symbol_upper_bound):
812 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
813 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
814 * objc-lang.c (find_objc_msgsend): Update.
815 * objfiles.c (objfile_relocate1): Update.
816 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
817 * p-valprint.c (pascal_val_print): Update.
818 * parse.c (write_exp_msymbol): Update.
819 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
820 (ppc_elfv2_skip_entrypoint): Update.
821 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
822 * printcmd.c (build_address_symbolic, msym_info)
823 (address_info): Update.
824 * proc-service.c (ps_pglobal_lookup): Update.
825 * psymtab.c (find_pc_sect_psymtab_closer)
826 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
827 Change msymbol parameter to bound_minimal_symbol.
828 * ravenscar-thread.c (get_running_thread_id): Update.
829 * remote.c (remote_check_symbols): Update.
830 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
832 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
833 * solib-dsbt.c (lm_base): Update.
834 * solib-frv.c (lm_base, main_got): Update.
835 * solib-irix.c (locate_base): Update.
836 * solib-som.c (som_solib_create_inferior_hook)
837 (link_map_start): Update.
838 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
839 * solib-svr4.c (elf_locate_base, enable_break): Update.
840 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
841 (flush_ea_cache): Update.
842 * stabsread.c (define_symbol, scan_file_globals): Update.
843 * stack.c (find_frame_funname): Update.
844 * symfile-debug.c (debug_qf_expand_symtabs_matching)
845 (debug_qf_find_pc_sect_symtab): Update.
846 * symfile.c (simple_read_overlay_table)
847 (simple_overlay_update): Update.
848 * symfile.h (struct quick_symbol_functions)
849 <find_pc_sect_symtab>: Change type of msymbol to
850 bound_minimal_symbol.
851 * symmisc.c (dump_msymbols): Update.
852 * symtab.c (find_pc_sect_symtab_via_partial)
853 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
854 (search_symbols, print_msymbol_info): Update.
855 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
856 (MSYMBOL_VALUE_ADDRESS): Redefine.
857 (BMSYMBOL_VALUE_ADDRESS): New macro.
858 * tracepoint.c (scope_info): Update.
859 * tui/tui-disasm.c (tui_find_disassembly_address)
860 (tui_get_begin_asm_address): Update.
861 * valops.c (find_function_in_inferior): Update.
862 * value.c (value_static_field, value_fn_field): Update.
864 2014-02-26 Tom Tromey <tromey@redhat.com>
866 * ada-lang.c (ada_update_initial_language): Update.
867 (ada_main_name, ada_has_this_exception_support): Update.
868 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
869 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
870 * arm-tdep.c (arm_skip_stub): Update.
871 * auxv.c (ld_so_xfer_auxv): Update.
872 * avr-tdep.c (avr_scan_prologue): Update.
873 * ax-gdb.c (gen_var_ref): Update.
874 * breakpoint.c (struct breakpoint_objfile_data)
875 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
876 type to bound_minimal_symbol.
877 (create_overlay_event_breakpoint)
878 (create_longjmp_master_breakpoint)
879 (create_std_terminate_master_breakpoint)
880 (create_exception_master_breakpoint): Update.
881 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
882 * c-exp.y (classify_name): Update.
883 * coffread.c (coff_symfile_read): Update.
884 * common/agent.c (agent_look_up_symbols): Update.
885 * d-lang.c (d_main_name): Update.
886 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
887 * dec-thread.c (enable_dec_thread): Update.
888 * dwarf2loc.c (call_site_to_target_addr): Update.
889 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
890 * eval.c (evaluate_subexp_standard): Update.
891 * findvar.c (struct minsym_lookup_data) <result>: Change type
892 to bound_minimal_symbol.
894 (minsym_lookup_iterator_cb, default_read_var_value): Update.
895 * frame.c (inside_main_func): Update.
896 * frv-tdep.c (frv_frame_this_id): Update.
897 * gcore.c (call_target_sbrk): Update.
898 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
899 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
901 * go-lang.c (go_main_name): Update.
902 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
903 (hppa_hpux_find_import_stub_for_addr): Update.
904 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
905 Update. Change return type.
906 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
908 * jit.c (jit_breakpoint_re_set_internal): Update.
909 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
911 * linux-nat.c (get_signo): Update.
912 * linux-thread-db.c (inferior_has_bug): Update
913 * m32c-tdep.c (m32c_return_value)
914 (m32c_m16c_address_to_pointer): Update.
915 * m32r-tdep.c (m32r_frame_this_id): Update.
916 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
917 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
918 * minsyms.c (lookup_minimal_symbol_internal): Rename to
919 lookup_minimal_symbol. Change return type.
920 (lookup_minimal_symbol): Remove.
921 (lookup_bound_minimal_symbol): Update.
922 (lookup_minimal_symbol_text): Change return type.
923 (lookup_minimal_symbol_solib_trampoline): Change return type.
924 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
925 (lookup_minimal_symbol_solib_trampoline): Change return type.
926 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
927 * objc-lang.c (lookup_objc_class, lookup_child_selector)
928 (value_nsstring, find_imps): Update.
929 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
930 * p-lang.c (pascal_main_name): Update.
931 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
932 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
933 * proc-service.c (ps_pglobal_lookup): Update.
934 * ravenscar-thread.c (get_running_thread_msymbol): Change
936 (has_ravenscar_runtime, get_running_thread_id): Update.
937 * remote.c (remote_check_symbols): Update.
938 * sol-thread.c (ps_pglobal_lookup): Update.
939 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
940 * solib-dsbt.c (lm_base): Update.
941 * solib-frv.c (lm_base, frv_relocate_section_addresses):
943 * solib-irix.c (locate_base): Update.
944 * solib-som.c (som_solib_create_inferior_hook)
945 (som_solib_desire_dynamic_linker_symbols, link_map_start):
947 * solib-spu.c (spu_enable_break): Update.
948 * solib-svr4.c (elf_locate_base, enable_break): Update.
949 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
950 (flush_ea_cache): Update.
951 * stabsread.c (define_symbol): Update.
952 * symfile.c (simple_read_overlay_table): Update.
953 * symtab.c (find_pc_sect_line): Update.
954 * tracepoint.c (scope_info): Update.
955 * tui-disasm.c (tui_get_begin_asm_address): Update.
956 * value.c (value_static_field): Update.
958 2014-02-26 Tom Tromey <tromey@redhat.com>
960 * minsyms.c (prim_record_minimal_symbol_full): Use
961 SET_MSYMBOL_VALUE_ADDRESS.
962 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
963 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
964 SET_MSYMBOL_VALUE_ADDRESS.
965 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
966 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
968 2014-02-26 Tom Tromey <tromey@redhat.com>
970 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
971 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
972 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
973 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
974 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
975 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
976 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
977 * ada-lang.c (ada_main_name): Update.
978 (ada_lookup_simple_minsym): Update.
979 (ada_make_symbol_completion_list): Update.
980 (ada_add_standard_exceptions): Update.
981 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
982 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
983 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
984 * arm-tdep.c (skip_prologue_function): Update.
985 (arm_skip_stack_protector, arm_skip_stub): Update.
986 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
987 (arm_wince_skip_main_prologue): Update.
988 * auxv.c (ld_so_xfer_auxv): Update.
989 * avr-tdep.c (avr_scan_prologue): Update.
990 * ax-gdb.c (gen_var_ref): Update.
991 * block.c (call_site_for_pc): Update.
992 * blockframe.c (get_pc_function_start): Update.
993 (find_pc_partial_function_gnu_ifunc): Update.
994 * breakpoint.c (create_overlay_event_breakpoint): Update.
995 (create_longjmp_master_breakpoint): Update.
996 (create_std_terminate_master_breakpoint): Update.
997 (create_exception_master_breakpoint): Update.
998 (resolve_sal_pc): Update.
999 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1000 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1002 * c-valprint.c (c_val_print): Update.
1003 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1004 * coffread.c (coff_symfile_read): Update.
1005 * common/agent.c (agent_look_up_symbols): Update.
1006 * dbxread.c (find_stab_function_addr): Update.
1007 (end_psymtab): Update.
1008 * dwarf2loc.c (call_site_to_target_addr): Update.
1009 (func_verify_no_selftailcall): Update.
1010 (tailcall_dump): Update.
1011 (call_site_find_chain_1): Update.
1012 (dwarf_expr_reg_to_entry_parameter): Update.
1013 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1014 (elf_gnu_ifunc_resolve_by_got): Update.
1015 * f-valprint.c (info_common_command): Update.
1016 * findvar.c (read_var_value): Update.
1017 * frame.c (get_prev_frame_1): Update.
1018 (inside_main_func): Update.
1019 * frv-tdep.c (frv_skip_main_prologue): Update.
1020 (frv_frame_this_id): Update.
1021 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1022 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1023 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1024 (gnuv3_skip_trampoline): Update.
1025 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1026 (hppa64_hpux_in_solib_call_trampoline): Update.
1027 (hppa_hpux_skip_trampoline_code): Update.
1028 (hppa64_hpux_search_dummy_call_sequence): Update.
1029 (hppa_hpux_find_import_stub_for_addr): Update.
1030 (hppa_hpux_find_dummy_bpaddr): Update.
1031 * hppa-tdep.c (hppa_symbol_address)
1032 (hppa_lookup_stub_minimal_symbol): Update.
1033 * i386-tdep.c (i386_skip_main_prologue): Update.
1034 (i386_pe_skip_trampoline_code): Update.
1035 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1036 * infcall.c (get_function_name): Update.
1037 * infcmd.c (until_next_command): Update.
1038 * jit.c (jit_breakpoint_re_set_internal): Update.
1039 (jit_inferior_init): Update.
1040 * linespec.c (minsym_found): Update.
1041 (add_minsym): Update.
1042 * linux-fork.c (info_checkpoints_command): Update.
1043 * linux-nat.c (get_signo): Update.
1044 * linux-thread-db.c (inferior_has_bug): Update.
1045 * m32c-tdep.c (m32c_return_value): Update.
1046 (m32c_m16c_address_to_pointer): Update.
1047 (m32c_m16c_pointer_to_address): Update.
1048 * m32r-tdep.c (m32r_frame_this_id): Update.
1049 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1050 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1051 * maint.c (maintenance_translate_address): Update.
1052 * minsyms.c (add_minsym_to_hash_table): Update.
1053 (add_minsym_to_demangled_hash_table): Update.
1054 (msymbol_objfile): Update.
1055 (lookup_minimal_symbol): Update.
1056 (iterate_over_minimal_symbols): Update.
1057 (lookup_minimal_symbol_text): Update.
1058 (lookup_minimal_symbol_by_pc_name): Update.
1059 (lookup_minimal_symbol_solib_trampoline): Update.
1060 (lookup_minimal_symbol_by_pc_section_1): Update.
1061 (lookup_minimal_symbol_and_objfile): Update.
1062 (prim_record_minimal_symbol_full): Update.
1063 (compare_minimal_symbols): Update.
1064 (compact_minimal_symbols): Update.
1065 (build_minimal_symbol_hash_tables): Update.
1066 (install_minimal_symbols): Update.
1067 (terminate_minimal_symbol_table): Update.
1068 (find_solib_trampoline_target): Update.
1069 (minimal_symbol_upper_bound): Update.
1070 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1071 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1072 (mips_skip_pic_trampoline_code): Update.
1073 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1074 * objc-lang.c (selectors_info): Update.
1075 (classes_info): Update.
1076 (find_methods): Update.
1077 (find_imps): Update.
1078 (find_objc_msgsend): Update.
1079 * objfiles.c (objfile_relocate1): Update.
1080 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1081 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1082 * p-valprint.c (pascal_val_print): Update.
1083 * parse.c (write_exp_msymbol): Update.
1084 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1085 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1086 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1087 * printcmd.c (build_address_symbolic): Update.
1089 (address_info): Update.
1090 * proc-service.c (ps_pglobal_lookup): Update.
1091 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1092 (find_pc_sect_psymtab): Update.
1093 * python/py-framefilter.c (py_print_frame): Update.
1094 * ravenscar-thread.c (get_running_thread_id): Update.
1095 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1097 * remote.c (remote_check_symbols): Update.
1098 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1099 (rs6000_skip_trampoline_code): Update.
1100 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1101 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1102 * solib-dsbt.c (lm_base): Update.
1103 * solib-frv.c (lm_base): Update.
1105 * solib-irix.c (locate_base): Update.
1106 * solib-som.c (som_solib_create_inferior_hook): Update.
1107 (som_solib_desire_dynamic_linker_symbols): Update.
1108 (link_map_start): Update.
1109 * solib-spu.c (spu_enable_break): Update.
1110 (ocl_enable_break): Update.
1111 * solib-svr4.c (elf_locate_base): Update.
1112 (enable_break): Update.
1113 * spu-tdep.c (spu_get_overlay_table): Update.
1114 (spu_catch_start): Update.
1115 (flush_ea_cache): Update.
1116 * stabsread.c (define_symbol): Update.
1117 (scan_file_globals): Update.
1118 * stack.c (find_frame_funname): Update.
1119 (frame_info): Update.
1120 * symfile.c (simple_read_overlay_table): Update.
1121 (simple_overlay_update): Update.
1122 * symmisc.c (dump_msymbols): Update.
1123 * symtab.c (fixup_section): Update.
1124 (find_pc_sect_line): Update.
1125 (skip_prologue_sal): Update.
1126 (search_symbols): Update.
1127 (print_msymbol_info): Update.
1128 (rbreak_command): Update.
1129 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1130 (completion_list_objc_symbol): Update.
1131 (default_make_symbol_completion_list_break_on): Update.
1132 * tracepoint.c (scope_info): Update.
1133 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1134 (tui_get_begin_asm_address): Update.
1135 * valops.c (find_function_in_inferior): Update.
1136 * value.c (value_static_field): Update.
1137 (value_fn_field): Update.
1139 2014-02-26 Tom Tromey <tromey@redhat.com>
1141 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1142 bound minimal symbols. Move code that knows about minsym
1144 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1146 * minsyms.h (minimal_symbol_upper_bound): Declare.
1147 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1148 minimal_symbol_upper_bound.
1150 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1152 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1153 Use the type's name if its basic type does not have a tag.
1155 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1157 * dwarf2read.c (read_subrange_type): Add comment.
1159 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1161 * dwarf2read.c (update_enumeration_type_from_children): New
1162 function, mostly extracted from process_structure_scope.
1163 (read_enumeration_type): Call update_enumeration_type_from_children.
1164 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1165 and flag_flag_enum fields.
1167 2014-02-26 Pedro Alves <palves@redhat.com>
1169 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1170 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1171 to_xfer_partial method.
1173 2014-02-26 Pedro Alves <palves@redhat.com>
1175 * target.c (complete_target_initialization): Don't install
1176 default_xfer_partial as to_xfer_partial hook.
1178 (update_current_target): Don't INHERIT nor de_fault
1179 deprecated_xfer_memory. Delete de_fault macro.
1180 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1181 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1182 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1185 2014-02-26 Pedro Alves <palves@redhat.com>
1187 * go32-nat.c (my_write_child): New function.
1188 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1189 (go32_xfer_partial): New function.
1190 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1191 Instead install a to_xfer_partial hook.
1193 2014-02-26 Pedro Alves <palves@redhat.com>
1195 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1196 to_xfer_partial helper. Rewrite.
1197 (procfs_xfer_partial): New function.
1198 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1199 Install a to_xfer_partial hook.
1201 2014-02-26 Pedro Alves <palves@redhat.com>
1203 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1204 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1205 (m32r_xfer_partial): New function.
1206 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1207 Install a to_xfer_partial hook.
1209 2014-02-26 Pedro Alves <palves@redhat.com>
1211 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1213 (mips_xfer_partial): New function.
1214 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1215 hook. Install a to_xfer_partial hook.
1217 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1219 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1220 * gdbtypes.c (create_array_type_with_stride): New function,
1221 renaming create_array_type, but with an added parameter
1222 called "bit_stride".
1223 (create_array_type): Re-implement using
1224 create_array_type_with_stride.
1225 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1226 and DW_AT_bit_stride attributes.
1228 2014-02-26 Pedro Alves <palves@redhat.com>
1230 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1231 task-specific breakpoints.
1233 2014-02-25 Pedro Alves <palves@redhat.com>
1235 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1236 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1238 2014-02-25 Stan Shebs <stan@codesourcery.com>
1240 * defs.h: Annotate comments for Doxygen.
1242 2014-02-25 Tom Tromey <tromey@redhat.com>
1244 * target.h (target_ignore): Don't declare.
1245 * target.c (target_ignore): Remove.
1247 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1250 * auto-load.c (auto_load_objfile_script_1): Change filename to
1253 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1255 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1256 documentation. Adjust prototype to match the target_ops
1257 to_xfer_partial method. Adjust implementation accordingly.
1259 2014-02-25 Hui Zhu <hui@codesourcery.com>
1261 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1264 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1266 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1267 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1268 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1269 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1270 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1271 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1272 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1273 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1275 (rl78_register_type): Use a data pointer type for SP and
1276 new pseudo registers mentioned above. Use a 16 bit integer
1277 type for all other register pairs.
1278 (rl78_register_name, rl78_g10_register_name): Update for
1279 new pseudo registers.
1280 (rl78_pseudo_register_read): Likewise.
1281 (rl78_pseudo_register_write): Likewise.
1282 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1283 to the newly added pseudo registers.
1285 2014-02-24 Doug Evans <dje@google.com>
1287 * value.c (record_latest_value): Fix comment.
1288 * printcmd.c (print_command_1): Remove code to handle -1 return from
1289 record_latest_value.
1291 2014-02-24 Pedro Alves <palves@redhat.com>
1293 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1294 deprecated_xfer_memory hook.
1295 (procfs_xfer_partial): Call procfs_xfer_memory instead
1296 of the deprecated_xfer_memory target hook.
1297 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1300 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1302 * windows-nat.c (windows_xfer_shared_libraries): Return
1303 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1304 requested object is TARGET_OBJECT_LIBRARIES.
1306 2014-02-24 Yao Qi <yao@codesourcery.com>
1308 * target.h (enum target_xfer_status)
1309 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1310 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1312 * corefile.c (memory_error_message): User updated.
1313 * exec.c (section_table_read_available_memory): Likewise.
1314 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1315 * target.c (target_xfer_status_to_string): Likewise.
1316 (raw_memory_xfer_partial): Likewise.
1317 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1318 * valops.c (read_value_memory): Likewise.
1319 * exec.h: Update comments.
1321 2014-02-24 Yao Qi <yao@codesourcery.com>
1323 * target.c (target_xfer_status_to_string): Rename argument err
1325 * target.h (target_xfer_status_to_string): Update declaration.
1326 Replace target_xfer_error_to_string with
1327 target_xfer_status_to_string in comment.
1329 2014-02-24 Yao Qi <yao@codesourcery.com>
1331 * mips-linux-nat.c (super_close): Update its type.
1332 (mips_linux_close): Pass 'self' to super_close.
1334 2014-02-24 Yao Qi <yao@codesourcery.com>
1336 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1337 * corefile.c (read_memory): Adjusted.
1338 * target.c (target_write_with_progress): Adjusted.
1340 2014-02-23 Yao Qi <yao@codesourcery.com>
1344 2013-10-25 Yao Qi <yao@codesourcery.com>
1346 * remote.c (remote_traceframe_info): Return early if
1347 traceframe is not selected.
1349 2013-07-19 Yao Qi <yao@codesourcery.com>
1351 * target.c (update_current_target): Change the default action
1352 of 'to_traceframe_info' from tcomplain to return_zero.
1353 * target.h (struct target_ops) <to_traceframe_info>: Add more
1356 2014-02-23 Yao Qi <yao@codesourcery.com>
1358 * valops.c (read_value_memory): Rewrite it. Call
1359 target_xfer_partial in a loop.
1360 * exec.h (section_table_available_memory): Remove declaration.
1361 Move comments to ...
1362 * exec.c (section_table_available_memory): ... here. Make it
1365 2014-02-23 Yao Qi <yao@codesourcery.com>
1367 * exec.c (section_table_read_available_memory): New function.
1368 * exec.h (section_table_read_available_memory): Declare.
1369 * ctf.c (ctf_xfer_partial): Call
1370 section_table_read_available_memory.
1371 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1373 2014-02-23 Yao Qi <yao@codesourcery.com>
1375 * ctf.c (ctf_xfer_partial): Move code to ...
1376 * exec.c (exec_read_partial_read_only): ... it. New function.
1377 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1378 * tracefile.c: Include "exec.h".
1379 * exec.h (exec_read_partial_read_only): Declare.
1381 2014-02-23 Yao Qi <yao@codesourcery.com>
1383 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1384 (tfile_has_memory): Remove.
1385 (init_tfile_ops): Don't set fields to_has_all_memory and
1386 to_has_memory of tfile_ops.
1387 * tracefile.c (tracefile_has_all_memory): New function.
1388 (tracefile_has_memory): New function.
1389 (init_tracefile_ops): Initialize fields to_has_all_memory and
1390 to_has_memory of 'ops'.
1392 2014-02-23 Yao Qi <yao@codesourcery.com>
1394 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1395 (ctf_thread_alive, ctf_get_trace_status): Remove.
1396 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1398 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1399 (tfile_has_stack, tfile_has_registers): Remove.
1400 (tfile_thread_alive): Remove.
1401 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1403 * tracefile.c (tracefile_has_stack): New function.
1404 (tracefile_has_registers): New function.
1405 (tracefile_thread_alive): New function.
1406 (tracefile_get_trace_status): New function.
1407 (init_tracefile_ops): New function.
1408 * tracefile.h (init_tracefile_ops): Declare.
1410 2014-02-23 Yao Qi <yao@codesourcery.com>
1412 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1413 (O_LARGEFILE): Likewise.
1414 (tfile_ops): Likewise.
1415 (TRACE_HEADER_SIZE): Likewise.
1416 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1417 (cur_data_size): Likewise.
1418 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1419 (tfile_close, tfile_files_info): Likewise.
1420 (tfile_get_trace_status): Likewise.
1421 (tfile_get_tracepoint_status): Likewise.
1422 (tfile_get_traceframe_address): Likewise.
1423 (tfile_trace_find, match_blocktype): Likewise.
1424 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1425 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1426 (tfile_get_trace_state_variable_value): Likewise.
1427 (tfile_has_all_memory, tfile_has_memory): Likewise.
1428 (tfile_has_stack, tfile_has_registers): Likewise.
1429 (tfile_thread_alive, build_traceframe_info): Likewise.
1430 (tfile_traceframe_info, init_tfile_ops): Likewise.
1431 (_initialize_tracepoint): Don't call init_tfile_ops
1432 and add_target_with_completer.
1433 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1434 exec.h, completer.h and filenames.h.
1435 (_initialize_tracefile_tfile): New function.
1437 2014-02-23 Yao Qi <yao@codesourcery.com>
1439 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1441 (HFILES_NO_SRCDIR): Add tracefile.h.
1442 * ctf.c: Include "tracefile.h".
1443 * tracefile.h: New file.
1444 * tracefile.c: New file
1445 * tracefile-tfile.c: New file.
1446 * tracepoint.c: Include "tracefile.h".
1447 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1448 (stop_reason_names): Add const.
1449 (trace_file_writer_xfree): Move it to tracefile.c.
1450 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1451 (trace_save_ctf): Likewise.
1452 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1453 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1454 (tfile_write_header, tfile_write_regblock_type): Likewise.
1455 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1456 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1457 (tfile_write_raw_data, tfile_end): Likewise.
1458 (tfile_trace_file_writer_new): Likewise.
1459 (free_uploaded_tp): Make it extern.
1460 (free_uploaded_tsv): Make it extern.
1461 (_initialize_tracepoint): Move code to register command 'tsave'
1463 * tracepoint.h (stop_reason_names): Declare.
1464 (struct trace_frame_write_ops): Move it to tracefile.h.
1465 (struct trace_file_write_ops): Likewise.
1466 (struct trace_file_writer): Likewise.
1467 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1469 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1472 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1474 (get_cores_used_by_process): New parameter num_cores, use it.
1475 (linux_xfer_osdata_processes): Pass num_cores to it.
1476 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1479 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1481 * target.c (memory_xfer_partial): Fix length arg in call to
1482 breakpoint_xfer_memory.
1484 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1487 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1488 number comes after the + or - signs. Adjust length of register
1489 name to be extracted.
1491 2014-02-20 Tom Tromey <tromey@redhat.com>
1493 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1494 (ada_varobj_ops): Mark "extern".
1496 2014-02-20 Tom Tromey <tromey@redhat.com>
1498 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1500 2014-02-20 Doug Evans <xdje42@gmail.com>
1502 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1503 All callers updated.
1504 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1505 All callers updated.
1506 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1507 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1509 2014-02-20 lin zuojian <manjian2006@gmail.com>
1510 Joel Brobecker <brobecker@adacore.com>
1511 Doug Evans <xdje42@gmail.com>
1514 * dwarf2read.c (struct die_info): New member in_process.
1515 (reset_die_in_process): New function.
1516 (process_die): Set it at the start, reset when returning.
1517 (inherit_abstract_dies): Only call process_die if origin_child_die
1518 not already being processed.
1520 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1522 * windows-nat.c (handle_unload_dll): Add function documentation.
1523 (do_initial_windows_stuff): Add comment explaining why we wait
1524 until after inferior initialization has finished before
1525 processing all DLLs.
1527 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1529 * windows-nat.c (get_module_name): Delete.
1530 (windows_get_exec_module_filename): New function, mostly
1531 inspired from get_module_name.
1532 (windows_pid_to_exec_file): Replace call to get_module_name
1533 by call to windows_get_exec_module_filename.
1535 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1537 * windows-nat.c (handle_load_dll): Rewrite this function's
1538 introductory comment. Remove code using get_module_name
1539 to get the DLL's name.
1541 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1543 * windows-nat.c (get_windows_debug_event): Ignore
1544 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1545 if windows_initialization_done == 0.
1546 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1547 Adjust implementation to always load all DLLs.
1548 (do_initial_windows_stuff): Replace call to
1549 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1551 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1553 * windows-nat.c (_initialize_windows_nat): Deprecate the
1554 "dll-symbols" command. Turn the "add-shared-symbol-files"
1555 and "assf" aliases into commands, and deprecate them as well.
1556 * NEWS: Add entry explaining that "dll-symbols" and its two
1557 aliases are now deprecated.
1559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1561 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1562 new-line in debug string. Remove trailing spaces.
1564 2014-02-19 Stan Shebs <stan@codesourcery.com>
1566 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1568 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1570 * NEWS: Add entry for the new feature
1571 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1574 2014-02-19 Stan Shebs <stan@codesourcery.com>
1576 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1578 2014-02-19 Pedro Alves <palves@redhat.com>
1580 * common/ptid.h (struct ptid): Mention that process_stratum
1581 targets should prefer ptid.lwp.
1583 2014-02-19 Pedro Alves <palves@redhat.com>
1585 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1586 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1587 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1588 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1589 store remote thread ids rather than ptid.tid.
1590 (_initialize_remote): Adjust.
1592 2014-02-19 Tom Tromey <tromey@redhat.com>
1594 * target.c (target_get_unwinder): Rewrite.
1595 (target_get_tailcall_unwinder): Rewrite.
1596 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1597 (record_btrace_to_get_tailcall_unwinder): New function.
1598 (init_record_btrace_ops): Update.
1599 * target.h (struct target_ops) <to_get_unwinder,
1600 to_get_tailcall_unwinder>: Now function pointers. Use
1601 TARGET_DEFAULT_RETURN.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1607 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1613 * target-delegates.c: Rebuild.
1614 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1615 TARGET_DEFAULT_FUNC.
1616 * target.c (default_target_decr_pc_after_break): Rename from
1617 forward_target_decr_pc_after_break. Simplify.
1618 (target_decr_pc_after_break): Rely on delegation.
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.c (update_current_target): Do not INHERIT to_doc or
1623 to_magic. Do not de_fault to_open or to_close.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * gcore.h (objfile_find_memory_regions): Declare.
1628 * gcore.c (objfile_find_memory_regions): No longer static. Add
1630 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1631 * exec.c: Include gcore.h.
1632 (exec_set_find_memory_regions): Remove.
1633 (exec_find_memory_regions): Remove.
1634 (exec_do_find_memory_regions): Remove.
1635 (init_exec_ops): Update.
1636 * defs.h (exec_set_find_memory_regions): Remove.
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target-delegates.c: Rebuild.
1641 * target.h (struct target_ops) <to_extra_thread_info,
1642 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1643 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1644 not 0, in TARGET_DEFAULT_RETURN.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target.c (complete_target_initialization): Remove casts. Use
1649 return_zero_has_execution.
1650 (return_zero): Add "ignore" argument.
1651 (return_zero_has_execution): New function.
1652 (init_dummy_target): Remove casts. Use
1653 return_zero_has_execution.
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * target.c (update_current_target): Update comments. Do not
1660 2014-02-19 Tom Tromey <tromey@redhat.com>
1662 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1664 * corelow.c (core_read_description): Delegate when needed.
1665 * remote.c (remote_read_description): Delegate when needed.
1666 * target-delegates.c: Rebuild.
1667 * target.c (target_read_description): Rewrite.
1668 * target.h (struct target_ops) <to_read_description>: Update
1669 comment. Use TARGET_DEFAULT_RETURN.
1671 2014-02-19 Tom Tromey <tromey@redhat.com>
1673 * target-delegates.c: Rebuild.
1674 * target.c (update_current_target): Don't inherit or default
1676 (find_default_run_target): Check against delegate_can_run.
1677 * target.h (struct target_ops) <to_can_run>: Use
1678 TARGET_DEFAULT_RETURN.
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1682 * target-delegates.c: Rebuild.
1683 * target.c (target_disconnect): Unconditionally delegate.
1684 * target.h (struct target_ops) <to_disconnect>: Use
1685 TARGET_DEFAULT_NORETURN.
1687 2014-02-19 Tom Tromey <tromey@redhat.com>
1689 * record.c (record_stop): Unconditionally delegate.
1690 * target-delegates.c: Rebuild.
1691 * target.c (target_stop_recording): Unconditionally delegate.
1692 * target.h (struct target_ops) <to_stop_recording>: Use
1693 TARGET_DEFAULT_IGNORE.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * target-delegates.c: Rebuild.
1698 * target.c (target_enable_btrace): Unconditionally delegate.
1699 * target.h (struct target_ops) <to_enable_btrace>: Use
1700 TARGET_DEFAULT_NORETURN.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target-delegates.c: Rebuild.
1705 * target.c (target_read_btrace): Unconditionally delegate.
1706 * target.h (struct target_ops) <to_read_btrace>: Use
1707 TARGET_DEFAULT_NORETURN.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target-delegates.c: Rebuild.
1712 * target.c (target_teardown_btrace): Unconditionally delegate.
1713 * target.h (struct target_ops) <to_teardown_btrace>: Use
1714 TARGET_DEFAULT_NORETURN.
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * target-delegates.c: Rebuild.
1719 * target.c (target_disable_btrace): Unconditionally delegate.
1720 * target.h (struct target_ops) <to_disable_btrace>: Use
1721 TARGET_DEFAULT_NORETURN.
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1725 * target-delegates.c: Rebuild.
1726 * target.c (default_search_memory): New function.
1727 (simple_search_memory): Update comment.
1728 (target_search_memory): Unconditionally delegate.
1729 * target.h (struct target_ops) <to_search_memory>: Use
1730 TARGET_DEFAULT_FUNC.
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1734 * auxv.c (default_auxv_parse): No longer static.
1735 (target_auxv_parse): Unconditionally delegate.
1736 * auxv.h (default_auxv_parse): Declare.
1737 * target-delegates.c: Rebuild.
1738 * target.c: Include auxv.h.
1739 * target.h (struct target_ops) <to_auxv_parse>: Use
1740 TARGET_DEFAULT_FUNC.
1742 2014-02-19 Tom Tromey <tromey@redhat.com>
1744 * target-delegates.c: Rebuild.
1745 * target.c (target_memory_map): Unconditionally delegate.
1746 * target.h (struct target_ops) <to_memory_map>: Use
1747 TARGET_DEFAULT_RETURN.
1749 2014-02-19 Tom Tromey <tromey@redhat.com>
1751 * target-delegates.c: Rebuild.
1752 * target.c (target_thread_alive): Unconditionally delegate.
1753 * target.h (struct target_ops) <to_thread_alive>: Use
1754 TARGET_DEFAULT_RETURN.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target-delegates.c: Rebuild.
1759 * target.c (target_save_record): Unconditionally delegate.
1760 * target.h (struct target_ops) <to_save_record>: Use
1761 TARGET_DEFAULT_NORETURN.
1763 2014-02-19 Tom Tromey <tromey@redhat.com>
1765 * target-delegates.c: Rebuild.
1766 * target.c (target_delete_record): Unconditionally delegate.
1767 * target.h (struct target_ops) <to_delete_record>: Use
1768 TARGET_DEFAULT_NORETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (target_record_is_replaying): Unconditionally
1775 * target.h (struct target_ops) <to_record_is_replaying>: Use
1776 TARGET_DEFAULT_RETURN.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target-delegates.c: Rebuild.
1781 * target.c (target_goto_record_begin): Unconditionally delegate.
1782 * target.h (struct target_ops) <to_goto_record_begin>: Use
1783 TARGET_DEFAULT_NORETURN.
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1787 * target-delegates.c: Rebuild.
1788 * target.c (target_goto_record_end): Unconditionally delegate.
1789 * target.h (struct target_ops) <to_goto_record_end>: Use
1790 TARGET_DEFAULT_NORETURN.
1792 2014-02-19 Tom Tromey <tromey@redhat.com>
1794 * target-delegates.c: Rebuild.
1795 * target.c (target_goto_record): Unconditionally delegate.
1796 * target.h (struct target_ops) <to_goto_record>: Use
1797 TARGET_DEFAULT_NORETURN.
1799 2014-02-19 Tom Tromey <tromey@redhat.com>
1801 * target-delegates.c: Rebuild.
1802 * target.c (target_insn_history): Unconditionally delegate.
1803 * target.h (struct target_ops) <to_insn_history>: Use
1804 TARGET_DEFAULT_NORETURN.
1806 2014-02-19 Tom Tromey <tromey@redhat.com>
1808 * target-delegates.c: Rebuild.
1809 * target.c (target_insn_history_from): Unconditionally delegate.
1810 * target.h (struct target_ops) <to_insn_history_from>: Use
1811 TARGET_DEFAULT_NORETURN.
1813 2014-02-19 Tom Tromey <tromey@redhat.com>
1815 * target-delegates.c: Rebuild.
1816 * target.c (target_insn_history_range): Unconditionally delegate.
1817 * target.h (struct target_ops) <to_insn_history_range>: Use
1818 TARGET_DEFAULT_NORETURN.
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target-delegates.c: Rebuild.
1823 * target.c (target_call_history): Unconditionally delegate.
1824 * target.h (struct target_ops) <to_call_history>: Use
1825 TARGET_DEFAULT_NORETURN.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target-delegates.c: Rebuild.
1830 * target.c (target_call_history_from): Unconditionally delegate.
1831 * target.h (struct target_ops) <to_call_history_from>: Use
1832 TARGET_DEFAULT_NORETURN.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target-delegates.c: Rebuild.
1837 * target.c (target_call_history_range): Unconditionally delegate.
1838 * target.h (struct target_ops) <to_call_history_range>: Use
1839 TARGET_DEFAULT_NORETURN.
1841 2014-02-19 Tom Tromey <tromey@redhat.com>
1843 * target-delegates.c: Rebuild.
1844 * target.c (target_verify_memory): Unconditionally delegate.
1845 * target.h (struct target_ops) <to_verify_memory>: Use
1846 TARGET_DEFAULT_NORETURN.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target-delegates.c: Rebuild.
1851 * target.c (target_core_of_thread): Unconditionally delegate.
1852 * target.h (struct target_ops) <to_core_of_thread>: Use
1853 TARGET_DEFAULT_RETURN.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * target-delegates.c: Rebuild.
1858 * target.c (target_flash_done): Unconditionally delegate.
1859 * target.h (struct target_ops) <to_flash_done>: Use
1860 TARGET_DEFAULT_NORETURN.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target-delegates.c: Rebuild.
1865 * target.c (target_flash_erase): Unconditionally delegate.
1866 * target.h (struct target_ops) <to_flash_erase>: Use
1867 TARGET_DEFAULT_NORETURN.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target-delegates.c: Rebuild.
1872 * target.c (target_get_section_table): Unconditionally delegate.
1873 * target.h (struct target_ops) <to_get_section_table>: Use
1874 TARGET_DEFAULT_RETURN.
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1878 * target-delegates.c: Rebuild.
1879 * target.c (target_pid_to_str): Unconditionally delegate.
1880 (init_dummy_target): Don't initialize to_pid_to_str.
1881 (default_pid_to_str): Rename from dummy_pid_to_str.
1882 * target.h (struct target_ops) <to_pid_to_str>: Use
1883 TARGET_DEFAULT_FUNC.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target-delegates.c: Rebuild.
1888 * target.c (target_find_new_threads): Unconditionally delegate.
1889 * target.h (struct target_ops) <to_find_new_threads>: Use
1890 TARGET_DEFAULT_RETURN.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target-delegates.c: Rebuild.
1895 * target.c (target_program_signals): Unconditionally delegate.
1896 * target.h (struct target_ops) <to_program_signals>: Use
1897 TARGET_DEFAULT_IGNORE.
1899 2014-02-19 Tom Tromey <tromey@redhat.com>
1901 * target-delegates.c: Rebuild.
1902 * target.c (target_pass_signals): Unconditionally delegate.
1903 * target.h (struct target_ops) <to_pass_signals>: Use
1904 TARGET_DEFAULT_IGNORE.
1906 2014-02-19 Tom Tromey <tromey@redhat.com>
1908 * target-delegates.c: Rebuild.
1909 * target.c (default_mourn_inferior): New function.
1910 (target_mourn_inferior): Unconditionally delegate.
1911 * target.h (struct target_ops) <to_mourn_inferior>: Use
1912 TARGET_DEFAULT_FUNC.
1914 2014-02-19 Tom Tromey <tromey@redhat.com>
1916 * target-delegates.c: Rebuild.
1917 * target.c (default_follow_fork): New function.
1918 (target_follow_fork): Unconditionally delegate.
1919 * target.h (struct target_ops) <to_follow_fork>: Use
1920 TARGET_DEFAULT_FUNC.
1922 2014-02-19 Tom Tromey <tromey@redhat.com>
1924 * target-delegates.c: Rebuild.
1925 * target.c (target_kill): Unconditionally delegate.
1926 * target.h (struct target_ops) <to_kill>: Use
1927 TARGET_DEFAULT_NORETURN.
1929 2014-02-19 Tom Tromey <tromey@redhat.com>
1931 * target-delegates.c: Rebuild.
1932 * target.c (target_masked_watch_num_registers): Unconditionally
1934 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1935 Use TARGET_DEFAULT_RETURN.
1937 2014-02-19 Tom Tromey <tromey@redhat.com>
1939 * target-delegates.c: Rebuild.
1940 * target.c (target_remove_mask_watchpoint): Unconditionally
1942 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1943 TARGET_DEFAULT_RETURN.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target-delegates.c: Rebuild.
1948 * target.c (target_insert_mask_watchpoint): Unconditionally
1950 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1951 TARGET_DEFAULT_RETURN.
1953 2014-02-19 Tom Tromey <tromey@redhat.com>
1955 * target-delegates.c: Rebuild.
1956 * target.c (target_ranged_break_num_registers): Unconditionally
1958 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1959 Use TARGET_DEFAULT_RETURN.
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target-delegates.c: Rebuild.
1964 * target.c (target_fetch_registers): Unconditionally delegate.
1965 * target.h (struct target_ops) <to_fetch_registers>: Use
1966 TARGET_DEFAULT_NORETURN.
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target-delegates.c: Rebuild.
1971 * target.c (update_current_target): Don't inherit or default
1973 * target.h (struct target_ops) <to_stop>: Use
1974 TARGET_DEFAULT_IGNORE.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * target-delegates.c: Rebuild.
1979 * target.c (update_current_target): Don't inherit or default
1980 to_can_run_breakpoint_commands.
1981 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1982 Use TARGET_DEFAULT_RETURN.
1984 2014-02-19 Tom Tromey <tromey@redhat.com>
1986 * target-delegates.c: Rebuild.
1987 * target.c (update_current_target): Don't inherit or default
1988 to_supports_evaluation_of_breakpoint_conditions.
1989 * target.h (struct target_ops)
1990 <to_supports_evaluation_of_breakpoint_conditions>: Use
1991 TARGET_DEFAULT_RETURN.
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target-delegates.c: Rebuild.
1996 * target.c (update_current_target): Don't inherit or default
1997 to_augmented_libraries_svr4_read.
1998 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1999 Use TARGET_DEFAULT_RETURN.
2001 2014-02-19 Tom Tromey <tromey@redhat.com>
2003 * target-delegates.c: Rebuild.
2004 * target.c (update_current_target): Don't inherit or default
2006 * target.h (struct target_ops) <to_can_use_agent>: Use
2007 TARGET_DEFAULT_RETURN.
2009 2014-02-19 Tom Tromey <tromey@redhat.com>
2011 * target-delegates.c: Rebuild.
2012 * target.c (update_current_target): Don't inherit or default
2014 * target.h (struct target_ops) <to_use_agent>: Use
2015 TARGET_DEFAULT_NORETURN.
2017 2014-02-19 Tom Tromey <tromey@redhat.com>
2019 * target-delegates.c: Rebuild.
2020 * target.c (update_current_target): Don't inherit or default
2022 (return_null): Remove.
2023 * target.h (struct target_ops) <to_traceframe_info>: Use
2024 TARGET_DEFAULT_RETURN.
2026 2014-02-19 Tom Tromey <tromey@redhat.com>
2028 * target-delegates.c: Rebuild.
2029 * target.c (update_current_target): Don't inherit or default
2030 to_static_tracepoint_markers_by_strid.
2031 * target.h (struct target_ops)
2032 <to_static_tracepoint_markers_by_strid>: Use
2033 TARGET_DEFAULT_NORETURN.
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target-delegates.c: Rebuild.
2038 * target.c (update_current_target): Don't inherit or default
2039 to_static_tracepoint_marker_at.
2040 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2041 Use TARGET_DEFAULT_RETURN.
2043 2014-02-19 Tom Tromey <tromey@redhat.com>
2045 * target-delegates.c: Rebuild.
2046 * target.c (update_current_target): Don't inherit or default
2048 * target.h (struct target_ops) <to_set_permissions>: Use
2049 TARGET_DEFAULT_IGNORE.
2051 2014-02-19 Tom Tromey <tromey@redhat.com>
2053 * target-delegates.c: Rebuild.
2054 * target.c (update_current_target): Don't inherit or default
2056 * target.h (struct target_ops) <to_get_tib_address>: Use
2057 TARGET_DEFAULT_NORETURN.
2059 2014-02-19 Tom Tromey <tromey@redhat.com>
2061 * target-delegates.c: Rebuild.
2062 * target.c (update_current_target): Don't inherit or default
2064 * target.h (struct target_ops) <to_set_trace_notes>: Use
2065 TARGET_DEFAULT_RETURN.
2067 2014-02-19 Tom Tromey <tromey@redhat.com>
2069 * target-delegates.c: Rebuild.
2070 * target.c (update_current_target): Don't initialize
2071 to_set_trace_buffer_size.
2072 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2073 TARGET_DEFAULT_IGNORE.
2075 2014-02-19 Tom Tromey <tromey@redhat.com>
2077 * target-delegates.c: Rebuild.
2078 * target.c (update_current_target): Don't inherit or default
2079 to_set_circular_trace_buffer.
2080 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2081 TARGET_DEFAULT_IGNORE.
2083 2014-02-19 Tom Tromey <tromey@redhat.com>
2085 * target-delegates.c: Rebuild.
2086 * target.c (update_current_target): Don't inherit or default
2087 to_set_disconnected_tracing.
2088 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2089 TARGET_DEFAULT_IGNORE.
2091 2014-02-19 Tom Tromey <tromey@redhat.com>
2093 * target-delegates.c: Rebuild.
2094 * target.c (update_current_target): Don't inherit or default
2095 to_get_min_fast_tracepoint_insn_len.
2096 (return_minus_one): Remove.
2097 * target.h (struct target_ops)
2098 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2100 2014-02-19 Tom Tromey <tromey@redhat.com>
2102 * target-delegates.c: Rebuild.
2103 * target.c (update_current_target): Don't inherit or default
2104 to_get_raw_trace_data.
2105 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2106 TARGET_DEFAULT_NORETURN.
2108 2014-02-19 Tom Tromey <tromey@redhat.com>
2110 * target-delegates.c: Rebuild.
2111 * target.c (update_current_target): Don't inherit or default
2112 to_upload_trace_state_variables.
2113 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2114 Use TARGET_DEFAULT_RETURN.
2116 2014-02-19 Tom Tromey <tromey@redhat.com>
2118 * target-delegates.c: Rebuild.
2119 * target.c (update_current_target): Don't inherit or default
2120 to_upload_tracepoints.
2121 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2122 TARGET_DEFAULT_RETURN.
2124 2014-02-19 Tom Tromey <tromey@redhat.com>
2126 * target-delegates.c: Rebuild.
2127 * target.c (update_current_target): Don't inherit or default
2129 * target.h (struct target_ops) <to_save_trace_data>: Use
2130 TARGET_DEFAULT_NORETURN.
2132 2014-02-19 Tom Tromey <tromey@redhat.com>
2134 * target-delegates.c: Rebuild.
2135 * target.c (update_current_target): Don't inherit or default
2136 to_get_trace_state_variable_value.
2137 * target.h (struct target_ops)
2138 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2140 2014-02-19 Tom Tromey <tromey@redhat.com>
2142 * target-delegates.c: Rebuild.
2143 * target.c (update_current_target): Don't inherit or default
2145 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target-delegates.c: Rebuild.
2150 * target.c (update_current_target): Don't inherit or default
2152 * target.h (struct target_ops) <to_trace_stop>: Use
2153 TARGET_DEFAULT_NORETURN.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target-delegates.c: Rebuild.
2158 * target.c (update_current_target): Don't inherit or default
2159 to_get_tracepoint_status.
2160 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2161 TARGET_DEFAULT_NORETURN.
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * target-delegates.c: Rebuild.
2166 * target.c (update_current_target): Don't inherit or default
2167 to_get_trace_status.
2168 * target.h (struct target_ops) <to_get_trace_status>: Use
2169 TARGET_DEFAULT_RETURN.
2171 2014-02-19 Tom Tromey <tromey@redhat.com>
2173 * target-delegates.c: Rebuild.
2174 * target.c (update_current_target): Don't inherit or default
2176 * target.h (struct target_ops) <to_trace_start>: Use
2177 TARGET_DEFAULT_NORETURN.
2179 2014-02-19 Tom Tromey <tromey@redhat.com>
2181 * target-delegates.c: Rebuild.
2182 * target.c (update_current_target): Don't inherit or default
2183 to_trace_set_readonly_regions.
2184 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2185 Use TARGET_DEFAULT_NORETURN.
2187 2014-02-19 Tom Tromey <tromey@redhat.com>
2189 * target-delegates.c: Rebuild.
2190 * target.c (update_current_target): Don't inherit or default
2191 to_disable_tracepoint.
2192 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2193 TARGET_DEFAULT_NORETURN.
2195 2014-02-19 Tom Tromey <tromey@redhat.com>
2197 * target-delegates.c: Rebuild.
2198 * target.c (update_current_target): Don't inherit or default
2199 to_enable_tracepoint.
2200 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2201 TARGET_DEFAULT_NORETURN.
2203 2014-02-19 Tom Tromey <tromey@redhat.com>
2205 * target-delegates.c: Rebuild.
2206 * target.c (update_current_target): Don't inherit or default
2207 to_download_trace_state_variable.
2208 * target.h (struct target_ops) <to_download_trace_state_variable>:
2209 Use TARGET_DEFAULT_NORETURN.
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target-delegates.c: Rebuild.
2214 * target.c (update_current_target): Don't inherit or default
2215 to_can_download_tracepoint.
2216 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2217 TARGET_DEFAULT_RETURN.
2219 2014-02-19 Tom Tromey <tromey@redhat.com>
2221 * target-delegates.c: Rebuild.
2222 * target.c (update_current_target): Don't inherit or default
2223 to_download_tracepoint.
2224 * target.h (struct target_ops) <to_download_tracepoint>: Use
2225 TARGET_DEFAULT_NORETURN.
2227 2014-02-19 Tom Tromey <tromey@redhat.com>
2229 * target-delegates.c: Rebuild.
2230 * target.c (update_current_target): Don't inherit or default
2232 * target.h (struct target_ops) <to_trace_init>: Use
2233 TARGET_DEFAULT_RETURN.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target-delegates.c: Rebuild.
2238 * target.c (update_current_target): Don't inherit or default
2239 to_supports_string_tracing.
2240 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2241 TARGET_DEFAULT_RETURN.
2243 2014-02-19 Tom Tromey <tromey@redhat.com>
2245 * target-delegates.c: Rebuild.
2246 * target.c (update_current_target): Don't inherit or default
2247 to_supports_enable_disable_tracepoint.
2248 * target.h (struct target_ops)
2249 <to_supports_enable_disable_tracepoint>: Use
2250 TARGET_DEFAULT_RETURN.
2252 2014-02-19 Tom Tromey <tromey@redhat.com>
2254 * target-delegates.c: Rebuild.
2255 * target.c (update_current_target): Don't inherit or default
2256 to_supports_multi_process.
2257 * target.h (struct target_ops) <to_supports_multi_process>: Use
2258 TARGET_DEFAULT_RETURN.
2260 2014-02-19 Tom Tromey <tromey@redhat.com>
2262 * target-delegates.c: Rebuild.
2263 * target.c (update_current_target): Don't inherit or default
2264 to_get_ada_task_ptid.
2265 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2266 TARGET_DEFAULT_FUNC.
2268 2014-02-19 Tom Tromey <tromey@redhat.com>
2270 * target-delegates.c: Rebuild.
2271 * target.c (update_current_target): Don't inherit or default
2272 to_thread_architecture.
2273 * target.h (struct target_ops) <to_thread_architecture>: Use
2274 TARGET_DEFAULT_FUNC.
2276 2014-02-19 Tom Tromey <tromey@redhat.com>
2278 * target-delegates.c: Rebuild.
2279 * target.c (update_current_target): Don't inherit or default
2280 to_execution_direction.
2281 * target.h (struct target_ops) <to_execution_direction>: Use
2282 TARGET_DEFAULT_FUNC.
2284 2014-02-19 Tom Tromey <tromey@redhat.com>
2286 * target-delegates.c: Rebuild.
2287 * target.c (update_current_target): Don't inherit or default
2288 to_can_execute_reverse.
2289 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2290 TARGET_DEFAULT_RETURN.
2291 (target_can_execute_reverse): Unconditionally delegate.
2293 2014-02-19 Tom Tromey <tromey@redhat.com>
2295 * target-delegates.c: Rebuild.
2296 * target.c (update_current_target): Don't inherit or default
2298 (dummy_goto_bookmark): Remove.
2299 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2300 * target.h (struct target_ops) <to_goto_bookmark>: Use
2301 TARGET_DEFAULT_NORETURN.
2303 2014-02-19 Tom Tromey <tromey@redhat.com>
2305 * target-delegates.c: Rebuild.
2306 * target.c (update_current_target): Don't inherit or default
2308 (dummy_get_bookmark): Remove.
2309 (init_dummy_target): Don't inherit or default to_get_bookmark.
2310 * target.h (struct target_ops) <to_get_bookmark>: Use
2311 TARGET_DEFAULT_NORETURN
2313 2014-02-19 Tom Tromey <tromey@redhat.com>
2315 * target-delegates.c: Rebuild.
2316 * target.c (update_current_target): Don't inherit or default
2317 to_make_corefile_notes.
2318 (init_dummy_target): Don't initialize to_make_corefile_notes.
2319 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2320 TARGET_DEFAULT_FUNC.
2322 2014-02-19 Tom Tromey <tromey@redhat.com>
2324 * target-delegates.c: Rebuild.
2325 * target.c (update_current_target): Don't inherit or default
2326 to_find_memory_regions.
2327 (init_dummy_target): Don't initialize to_find_memory_regions.
2328 * target.h (struct target_ops) <to_find_memory_regions>: Use
2329 TARGET_DEFAULT_FUNC.
2331 2014-02-19 Tom Tromey <tromey@redhat.com>
2333 * target-delegates.c: Rebuild.
2334 * target.c (update_current_target): Don't inherit or default
2336 * target.h (struct target_ops) <to_log_command>: Use
2337 TARGET_DEFAULT_IGNORE.
2338 (target_log_command): Unconditionally delegate.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target-delegates.c: Rebuild.
2343 * target.c (update_current_target): Don't inherit or default
2344 to_pid_to_exec_file.
2345 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2346 TARGET_DEFAULT_RETURN.
2348 2014-02-19 Tom Tromey <tromey@redhat.com>
2350 * target-delegates.c: Rebuild.
2351 * target.c (update_current_target): Don't inherit or default
2353 (target_thread_name): Unconditionally delegate.
2354 * target.h (struct target_ops) <to_thread_name>: Use
2355 TARGET_DEFAULT_RETURN.
2357 2014-02-19 Tom Tromey <tromey@redhat.com>
2359 * target-delegates.c: Rebuild.
2360 * target.c (update_current_target): Don't inherit or default
2361 to_extra_thread_info.
2362 * target.h (struct target_ops) <to_extra_thread_info>: Use
2363 TARGET_DEFAULT_RETURN.
2365 2014-02-19 Tom Tromey <tromey@redhat.com>
2367 * target-delegates.c: Rebuild.
2368 * target.c (update_current_target): Don't inherit or default
2370 * target.h (struct target_ops) <to_has_exited>: Use
2371 TARGET_DEFAULT_RETURN..
2373 2014-02-19 Tom Tromey <tromey@redhat.com>
2375 * target-delegates.c: Rebuild.
2376 * target.c (update_current_target): Don't inherit or default
2377 to_set_syscall_catchpoint.
2378 (return_one): Remove.
2379 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2380 TARGET_DEFAULT_RETURN.
2382 2014-02-19 Tom Tromey <tromey@redhat.com>
2384 * target-delegates.c: Rebuild.
2385 * target.c (update_current_target): Don't inherit or default
2386 to_insert_exec_catchpoint.
2387 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2388 TARGET_DEFAULT_RETURN.
2390 2014-01-08 Tom Tromey <tromey@redhat.com>
2392 * target-delegates.c: Rebuild.
2393 * target.c (update_current_target): Don't inherit or default
2394 to_insert_exec_catchpoint.
2395 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2396 TARGET_DEFAULT_RETURN.
2398 2014-02-19 Tom Tromey <tromey@redhat.com>
2400 * target-delegates.c: Rebuild.
2401 * target.c (update_current_target): Don't inherit or default
2402 to_remove_vfork_catchpoint.
2403 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2404 TARGET_DEFAULT_RETURN.
2406 2014-02-19 Tom Tromey <tromey@redhat.com>
2408 * target-delegates.c: Rebuild.
2409 * target.c (update_current_target): Don't inherit or default
2410 to_insert_vfork_catchpoint.
2411 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2412 TARGET_DEFAULT_RETURN.
2414 2014-02-19 Tom Tromey <tromey@redhat.com>
2416 * target-delegates.c: Rebuild.
2417 * target.c (update_current_target): Don't inherit or default
2418 to_remove_fork_catchpoint.
2419 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2420 TARGET_DEFAULT_RETURN.
2422 2014-02-19 Tom Tromey <tromey@redhat.com>
2424 * target-delegates.c: Rebuild.
2425 * target.c (update_current_target): Don't inherit or default
2426 to_insert_fork_catchpoint.
2427 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2428 TARGET_DEFAULT_RETURN.
2430 2014-02-19 Tom Tromey <tromey@redhat.com>
2432 * target-delegates.c: Rebuild.
2433 * target.c (update_current_target): Don't inherit or default
2434 to_post_startup_inferior.
2435 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2436 TARGET_DEFAULT_IGNORE.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (update_current_target): Don't inherit or default
2443 * target.h (struct target_ops) <to_load>: Use
2444 TARGET_DEFAULT_NORETURN.
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2448 * target-delegates.c: Rebuild.
2449 * target.c (update_current_target): Don't inherit or default
2451 * target.h (struct target_ops) <to_terminal_info>: Use
2452 TARGET_DEFAULT_FUNC.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (update_current_target): Don't inherit or default
2458 to_terminal_save_ours.
2459 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2460 TARGET_DEFAULT_IGNORE.
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2464 * target-delegates.c: Rebuild.
2465 * target.c (update_current_target): Don't inherit or default
2467 * target.h (struct target_ops) <to_terminal_ours>: Use
2468 TARGET_DEFAULT_IGNORE.
2470 2014-02-19 Tom Tromey <tromey@redhat.com>
2472 * target-delegates.c: Rebuild.
2473 * target.c (update_current_target): Don't inherit or default
2474 to_terminal_ours_for_output.
2475 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2476 TARGET_DEFAULT_IGNORE.
2478 2014-02-19 Tom Tromey <tromey@redhat.com>
2480 * target-delegates.c: Rebuild.
2481 * target.c (update_current_target): Don't inherit or default
2482 to_terminal_inferior.
2483 * target.h (struct target_ops) <to_terminal_inferior>: Use
2484 TARGET_DEFAULT_IGNORE.
2486 2014-02-19 Tom Tromey <tromey@redhat.com>
2488 * target-delegates.c: Rebuild.
2489 * target.c (update_current_target): Don't inherit or default
2491 * target.h (struct target_ops) <to_terminal_init>: Use
2492 TARGET_DEFAULT_IGNORE.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target-delegates.c: Rebuild.
2497 * target.c (update_current_target): Don't inherit or default
2498 to_can_accel_watchpoint_condition.
2499 * target.h (struct target_ops)
2500 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2502 2014-02-19 Tom Tromey <tromey@redhat.com>
2504 * target-delegates.c: Rebuild.
2505 * target.c (update_current_target): Don't inherit or default
2506 to_region_ok_for_hw_watchpoint.
2507 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2508 Use TARGET_DEFAULT_FUNC.
2510 2014-02-19 Tom Tromey <tromey@redhat.com>
2512 * target-delegates.c: Rebuild.
2513 * target.c (update_current_target): Don't inherit or default
2514 to_watchpoint_addr_within_range.
2515 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2516 Use TARGET_DEFAULT_FUNC.
2518 2014-02-19 Tom Tromey <tromey@redhat.com>
2520 * target-delegates.c: Rebuild.
2521 * target.c (update_current_target): Don't inherit or default
2522 to_remove_watchpoint.
2523 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2524 TARGET_DEFAULT_NORETURN.
2526 2014-02-19 Tom Tromey <tromey@redhat.com>
2528 * target-delegates.c: Rebuild.
2529 * target.c (update_current_target): Don't inherit or default
2530 to_insert_watchpoint.
2531 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2532 TARGET_DEFAULT_RETURN.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * target-delegates.c: Rebuild.
2537 * target.c (update_current_target): Don't inherit or default
2538 to_remove_hw_breakpoint.
2539 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2540 TARGET_DEFAULT_RETURN.
2542 2014-02-19 Tom Tromey <tromey@redhat.com>
2544 * target-delegates.c: Rebuild.
2545 * target.c (update_current_target): Don't inherit or default
2546 to_insert_hw_breakpoint.
2547 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2548 TARGET_DEFAULT_RETURN.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target-delegates.c: Rebuild.
2553 * target.c (update_current_target): Don't inherit or default
2554 to_can_use_hw_breakpoint.
2555 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2556 TARGET_DEFAULT_RETURN.
2558 2014-02-19 Tom Tromey <tromey@redhat.com>
2560 * target-delegates.c: Rebuild.
2561 * target.c (update_current_target): Don't inherit or default
2563 * target.h (struct target_ops) <to_files_info>: Use
2564 TARGET_DEFAULT_IGNORE.
2566 2014-02-19 Tom Tromey <tromey@redhat.com>
2568 * target-delegates.c: Rebuild.
2569 * target.c (update_current_target): Don't inherit or default
2571 * target.h (struct target_ops) <to_store>: Use
2572 TARGET_DEFAULT_NORETURN.
2574 2014-02-19 Tom Tromey <tromey@redhat.com>
2576 * target-delegates.c: Rebuild.
2577 * target.c (update_current_target): Don't inherit or default
2579 * target.h (struct target_ops) <to_post_attach>: Use
2580 TARGET_DEFAULT_IGNORE.
2582 2014-02-19 Tom Tromey <tromey@redhat.com>
2584 * target-delegates.c: Rebuild.
2585 * target.c (update_current_target): Don't inherit or default
2587 (default_rcmd): New function.
2588 (do_monitor_command): Unconditionally delegate.
2589 * target.h (struct target_ops) <to_rmcd>: Use
2590 TARGET_DEFAULT_FUNC.
2592 2014-02-19 Tom Tromey <tromey@redhat.com>
2594 * target-delegates.c: Rebuild.
2595 * target.c (init_dummy_target): Don't initialize to_attach.
2596 (target_attach): Unconditionally delegate.
2597 * target.h (struct target_ops) <to_attach>: Use
2598 TARGET_DEFAULT_FUNC.
2600 2014-02-19 Tom Tromey <tromey@redhat.com>
2602 * target-delegates.c: Rebuild.
2603 * target.c (target_detach): Unconditionally delegate.
2604 (init_dummy_target): Don't initialize to_detach.
2605 * target.h (struct target_ops) <to_detach>: Use
2606 TARGET_DEFAULT_IGNORE.
2608 2014-02-19 Tom Tromey <tromey@redhat.com>
2610 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2612 (target_augmented_libraries_svr4_read): Add argument.
2613 * target.c (update_current_target): Update.
2614 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2617 2014-02-19 Tom Tromey <tromey@redhat.com>
2619 * target.h (struct target_ops) <to_call_history_range>: Add
2621 * target.c (target_call_history_range): Add argument.
2622 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2624 (record_btrace_call_history_from): Update.
2626 2014-02-19 Tom Tromey <tromey@redhat.com>
2628 * target.h (struct target_ops) <to_call_history_from>: Add
2630 * target.c (target_call_history_from): Add argument.
2631 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2634 2014-02-19 Tom Tromey <tromey@redhat.com>
2636 * target.h (struct target_ops) <to_call_history>: Add argument.
2637 * target.c (target_call_history): Add argument.
2638 * record-btrace.c (record_btrace_call_history): Add 'self'
2641 2014-02-19 Tom Tromey <tromey@redhat.com>
2643 * target.h (struct target_ops) <to_insn_history_range>: Add
2645 * target.c (target_insn_history_range): Add argument.
2646 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2648 (record_btrace_insn_history_from): Update.
2650 2014-02-19 Tom Tromey <tromey@redhat.com>
2652 * target.h (struct target_ops) <to_insn_history_from>: Add
2654 * target.c (target_insn_history_from): Add argument.
2655 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2658 2014-02-19 Tom Tromey <tromey@redhat.com>
2660 * target.h (struct target_ops) <to_insn_history>: Add argument.
2661 * target.c (target_insn_history): Add argument.
2662 * record-btrace.c (record_btrace_insn_history): Add 'self'
2665 2014-02-19 Tom Tromey <tromey@redhat.com>
2667 * target.h (struct target_ops) <to_goto_record>: Add argument.
2668 * target.c (target_goto_record): Add argument.
2669 * record-full.c (record_full_goto): Add 'self' argument.
2670 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2672 2014-02-19 Tom Tromey <tromey@redhat.com>
2674 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2675 * target.c (target_goto_record_end): Add argument.
2676 * record-full.c (record_full_goto_end): Add 'self' argument.
2677 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2679 2014-02-19 Tom Tromey <tromey@redhat.com>
2681 * target.h (struct target_ops) <to_goto_record_begin>: Add
2683 * target.c (target_goto_record_begin): Add argument.
2684 * record-full.c (record_full_goto_begin): Add 'self' argument.
2685 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2688 2014-02-19 Tom Tromey <tromey@redhat.com>
2690 * target.h (struct target_ops) <to_record_is_replaying>: Add
2692 * target.c (target_record_is_replaying): Add argument.
2693 * record-full.c (record_full_is_replaying): Add 'self' argument.
2694 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2696 (record_btrace_xfer_partial, record_btrace_store_registers)
2697 (record_btrace_prepare_to_store, record_btrace_resume)
2698 (record_btrace_wait, record_btrace_decr_pc_after_break)
2699 (record_btrace_find_new_threads, record_btrace_thread_alive):
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target.h (struct target_ops) <to_delete_record>: Add argument.
2705 * target.c (target_delete_record): Add argument.
2706 * record-full.c (record_full_delete): Add 'self' argument.
2708 2014-02-19 Tom Tromey <tromey@redhat.com>
2710 * target.h (struct target_ops) <to_save_record>: Add argument.
2711 * target.c (target_save_record): Add argument.
2712 * record-full.c (record_full_save): Add 'self' argument.
2713 (record_full_save): Add 'self' argument.
2715 2014-02-19 Tom Tromey <tromey@redhat.com>
2717 * target.h (struct target_ops) <to_info_record>: Add argument.
2718 * target.c (target_info_record): Add argument.
2719 * record.c (info_record_command): Add argument.
2720 * record-full.c (record_full_info): Add 'self' argument.
2721 * record-btrace.c (record_btrace_info): Add 'self' argument.
2723 2014-02-19 Tom Tromey <tromey@redhat.com>
2725 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2726 * target.c (target_stop_recording): Add argument.
2727 * record.c (record_stop): Add argument.
2728 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2731 2014-02-19 Tom Tromey <tromey@redhat.com>
2733 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2734 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2735 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2737 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2738 (_initialize_amd64_linux_nat): Use it.
2739 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2740 (_initialize_i386_linux_nat): Use it.
2742 2014-02-19 Tom Tromey <tromey@redhat.com>
2744 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2745 * target.c (target_teardown_btrace): Add argument.
2746 * remote.c (remote_teardown_btrace): Add 'self' argument.
2747 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2749 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2752 2014-02-19 Tom Tromey <tromey@redhat.com>
2754 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2755 * target.c (target_disable_btrace): Add argument.
2756 * remote.c (remote_disable_btrace): Add 'self' argument.
2757 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2759 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2762 2014-02-19 Tom Tromey <tromey@redhat.com>
2764 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2765 * target.c (target_enable_btrace): Add argument.
2766 * remote.c (remote_enable_btrace): Add 'self' argument.
2767 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2769 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2772 2014-02-19 Tom Tromey <tromey@redhat.com>
2774 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2775 (target_can_use_agent): Add argument.
2776 * target.c (update_current_target): Update.
2777 * remote.c (remote_can_use_agent): Add 'self' argument.
2778 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2780 2014-02-19 Tom Tromey <tromey@redhat.com>
2782 * target.h (struct target_ops) <to_use_agent>: Add argument.
2783 (target_use_agent): Add argument.
2784 * target.c (update_current_target): Update.
2785 * remote.c (remote_use_agent): Add 'self' argument.
2786 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2788 2014-02-19 Tom Tromey <tromey@redhat.com>
2790 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2791 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2792 (target_traceframe_info): Add argument.
2793 * target.c (update_current_target): Update.
2794 * remote.c (remote_traceframe_info): Add 'self' argument.
2795 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2797 2014-02-19 Tom Tromey <tromey@redhat.com>
2799 * target.h (target_static_tracepoint_markers_by_strid): Add
2801 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2803 * target.c (update_current_target): Update.
2804 * remote.c (struct target_ops)
2805 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2806 * linux-nat.c (struct target_ops)
2807 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2809 2014-02-19 Tom Tromey <tromey@redhat.com>
2811 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2813 (target_static_tracepoint_marker_at): Add argument.
2814 * target.c (update_current_target): Update.
2815 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2818 2014-02-19 Tom Tromey <tromey@redhat.com>
2820 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2821 (target_set_permissions): Add argument.
2822 * target.c (update_current_target): Update.
2823 * remote.c (remote_set_permissions): Add 'self' argument.
2824 (remote_start_remote): Update.
2826 2014-02-19 Tom Tromey <tromey@redhat.com>
2828 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2829 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2830 (target_get_tib_address): Add argument.
2831 * target.c (update_current_target): Update.
2832 * remote.c (remote_get_tib_address): Add 'self' argument.
2834 2014-02-19 Tom Tromey <tromey@redhat.com>
2836 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2837 (target_set_trace_notes): Add argument.
2838 * target.c (update_current_target): Update.
2839 * remote.c (remote_set_trace_notes): Add 'self' argument.
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2845 (target_set_trace_buffer_size): Add argument.
2846 * target.c (update_current_target): Update.
2847 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2849 2014-02-19 Tom Tromey <tromey@redhat.com>
2851 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2853 (target_set_circular_trace_buffer): Add argument.
2854 * target.c (update_current_target): Update.
2855 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2862 (target_set_disconnected_tracing): Add argument.
2863 * target.c (update_current_target): Update.
2864 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2866 2014-02-19 Tom Tromey <tromey@redhat.com>
2868 * target.h (struct target_ops)
2869 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2870 (target_get_min_fast_tracepoint_insn_len): Add argument.
2871 * target.c (update_current_target): Update.
2872 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2875 2014-02-19 Tom Tromey <tromey@redhat.com>
2877 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2879 (target_get_raw_trace_data): Add argument.
2880 * target.c (update_current_target): Update.
2881 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2883 2014-02-19 Tom Tromey <tromey@redhat.com>
2885 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2887 (target_upload_trace_state_variables): Add argument.
2888 * target.c (update_current_target): Update.
2889 * remote.c (remote_upload_trace_state_variables): Add 'self'
2891 (remote_start_remote): Update.
2893 2014-02-19 Tom Tromey <tromey@redhat.com>
2895 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2897 (target_upload_tracepoints): Add argument.
2898 * target.c (update_current_target): Update.
2899 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2900 (remote_start_remote): Update.
2902 2014-02-19 Tom Tromey <tromey@redhat.com>
2904 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2905 (target_save_trace_data): Add argument.
2906 * target.c (update_current_target): Update.
2907 * remote.c (remote_save_trace_data): Add 'self' argument.
2909 2014-02-19 Tom Tromey <tromey@redhat.com>
2911 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2913 * target.h (struct target_ops)
2914 <to_get_trace_state_variable_value>: Add argument.
2915 (target_get_trace_state_variable_value): Add argument.
2916 * target.c (update_current_target): Update.
2917 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2919 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2921 2014-02-19 Tom Tromey <tromey@redhat.com>
2923 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2924 * target.h (struct target_ops) <to_trace_find>: Add argument.
2925 (target_trace_find): Add argument.
2926 * target.c (update_current_target): Update.
2927 * remote.c (remote_trace_find): Add 'self' argument.
2928 * ctf.c (ctf_trace_find): Add 'self' argument.
2930 2014-02-19 Tom Tromey <tromey@redhat.com>
2932 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2933 (target_trace_stop): Add argument.
2934 * target.c (update_current_target): Update.
2935 * remote.c (remote_trace_stop): Add 'self' argument.
2937 2014-02-19 Tom Tromey <tromey@redhat.com>
2939 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2940 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2942 (target_get_tracepoint_status): Add argument.
2943 * target.c (update_current_target): Update.
2944 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2946 2014-02-19 Tom Tromey <tromey@redhat.com>
2948 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2949 * target.h (struct target_ops) <to_get_trace_status>: Add
2951 (target_get_trace_status): Add argument.
2952 * target.c (update_current_target): Update.
2953 * remote.c (remote_get_trace_status): Add 'self' argument.
2954 (remote_start_remote, remote_can_download_tracepoint): Update.
2955 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2957 2014-02-19 Tom Tromey <tromey@redhat.com>
2959 * target.h (struct target_ops) <to_trace_start>: Add argument.
2960 (target_trace_start): Add argument.
2961 * target.c (update_current_target): Update.
2962 * remote.c (remote_trace_start): Add 'self' argument.
2964 2014-02-19 Tom Tromey <tromey@redhat.com>
2966 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2968 (target_trace_set_readonly_regions): Add argument.
2969 * target.c (update_current_target): Update.
2970 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2973 2014-02-19 Tom Tromey <tromey@redhat.com>
2975 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2977 (target_disable_tracepoint): Add argument.
2978 * target.c (update_current_target): Update.
2979 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2981 2014-02-19 Tom Tromey <tromey@redhat.com>
2983 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2985 (target_enable_tracepoint): Add argument.
2986 * target.c (update_current_target): Update.
2987 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2989 2014-02-19 Tom Tromey <tromey@redhat.com>
2991 * target.h (struct target_ops) <to_download_trace_state_variable>:
2993 (target_download_trace_state_variable): Add argument.
2994 * target.c (update_current_target): Update.
2995 * remote.c (remote_download_trace_state_variable): Add 'self'
2998 2014-02-19 Tom Tromey <tromey@redhat.com>
3000 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3002 (target_can_download_tracepoint): Add argument.
3003 * target.c (update_current_target): Update.
3004 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3006 2014-02-19 Tom Tromey <tromey@redhat.com>
3008 * target.h (struct target_ops) <to_download_tracepoint>: Add
3010 (target_download_tracepoint): Add argument.
3011 * target.c (update_current_target): Update.
3012 * remote.c (remote_download_tracepoint): Add 'self' argument.
3014 2014-02-19 Tom Tromey <tromey@redhat.com>
3016 * target.h (struct target_ops) <to_trace_init>: Add argument.
3017 (target_trace_init): Add argument.
3018 * target.c (update_current_target): Update.
3019 * remote.c (remote_trace_init): Add 'self' argument.
3021 2014-02-19 Tom Tromey <tromey@redhat.com>
3023 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3024 * target.c (target_fileio_readlink): Add argument.
3025 * remote.c (remote_hostio_readlink): Add 'self' argument.
3026 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3028 2014-02-19 Tom Tromey <tromey@redhat.com>
3030 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3031 * target.c (target_fileio_unlink): Add argument.
3032 * remote.c (remote_hostio_unlink): Add 'self' argument.
3033 (remote_file_delete): Update.
3034 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3036 2014-02-19 Tom Tromey <tromey@redhat.com>
3038 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3039 * target.c (target_fileio_close): Add argument.
3040 * remote.c (remote_hostio_close): Add 'self' argument.
3041 (remote_hostio_close_cleanup): Update.
3042 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3044 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3046 2014-02-19 Tom Tromey <tromey@redhat.com>
3048 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3049 * target.c (target_fileio_pread): Add argument.
3050 * remote.c (remote_hostio_pread): Add 'self' argument.
3051 (remote_bfd_iovec_pread, remote_file_get): Update.
3052 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3054 2014-02-19 Tom Tromey <tromey@redhat.com>
3056 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3057 * target.c (target_fileio_pwrite): Add argument.
3058 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3059 (remote_file_put): Update.
3060 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3062 2014-02-19 Tom Tromey <tromey@redhat.com>
3064 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3065 * target.c (target_fileio_open): Add argument.
3066 * remote.c (remote_hostio_open): Add 'self' argument.
3067 (remote_bfd_iovec_open): Add 'self' argument.
3068 (remote_file_put): Add 'self' argument.
3069 (remote_file_get): Add 'self' argument.
3070 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3072 2014-02-19 Tom Tromey <tromey@redhat.com>
3074 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3076 (target_can_run_breakpoint_commands): Add argument.
3077 * target.c (update_current_target): Update.
3078 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3080 (remote_insert_breakpoint): Add 'self' argument.
3081 (remote_insert_hw_breakpoint): Add 'self' argument.
3082 (remote_can_run_breakpoint_commands): Add 'self' argument.
3084 2014-02-19 Tom Tromey <tromey@redhat.com>
3086 * target.h (struct target_ops)
3087 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3088 (target_supports_evaluation_of_breakpoint_conditions): Add
3090 * target.c (update_current_target): Update.
3091 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3093 (remote_insert_breakpoint): Add 'self' argument.
3094 (remote_insert_hw_breakpoint): Add 'self' argument.
3095 (remote_supports_cond_breakpoints): Add 'self' argument.
3097 2014-02-19 Tom Tromey <tromey@redhat.com>
3099 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3101 (target_supports_string_tracing): Add argument.
3102 * target.c (update_current_target): Update.
3103 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3105 2014-02-19 Tom Tromey <tromey@redhat.com>
3107 * target.h (struct target_ops)
3108 <to_supports_disable_randomization>: Add argument.
3109 * target.c (find_default_supports_disable_randomization): Add
3111 (target_supports_disable_randomization): Add argument.
3112 (find_default_supports_disable_randomization): Add 'self'
3114 * remote.c (extended_remote_supports_disable_randomization): Add
3116 (remote_supports_disable_randomization): Add 'self' argument.
3117 (extended_remote_create_inferior): Update.
3118 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3121 2014-02-19 Tom Tromey <tromey@redhat.com>
3123 * target.h (struct target_ops)
3124 <to_supports_enable_disable_tracepoint>: Add argument.
3125 (target_supports_enable_disable_tracepoint): Add argument.
3126 * target.c (update_current_target): Update.
3127 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3130 2014-02-19 Tom Tromey <tromey@redhat.com>
3132 * target.h (struct target_ops) <to_supports_multi_process>: Add
3134 (target_supports_multi_process): Add argument.
3135 * target.c (update_current_target): Update.
3136 * remote.c (remote_supports_multi_process): Add 'self' argument.
3137 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3139 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3142 2014-02-19 Tom Tromey <tromey@redhat.com>
3144 * target.h (struct target_ops) <to_execution_direction>: Add
3146 (target_execution_direction): Add argument.
3147 * target.c (default_execution_direction): Add 'self' argument.
3148 * record-full.c (record_full_execution_direction): Add 'self'
3151 2014-02-19 Tom Tromey <tromey@redhat.com>
3153 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3155 (target_can_execute_reverse): Add argument.
3156 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3157 * record-full.c (record_full_can_execute_reverse): Add 'self'
3159 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3165 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3167 (target_get_ada_task_ptid): Add argument.
3168 * target.c (update_current_target): Update.
3169 (default_get_ada_task_ptid): Add 'self' argument.
3170 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3171 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3172 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3174 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3176 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3178 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3180 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3181 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3184 2014-02-19 Tom Tromey <tromey@redhat.com>
3186 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3187 (target_goto_bookmark): Add argument.
3188 * target.c (dummy_goto_bookmark): Add 'self' argument.
3189 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3191 2014-02-19 Tom Tromey <tromey@redhat.com>
3193 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3194 (target_get_bookmark): Add argument.
3195 * target.c (dummy_get_bookmark): Add 'self' argument.
3196 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3198 2014-02-19 Tom Tromey <tromey@redhat.com>
3200 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3202 (target_make_corefile_notes): Add argument.
3203 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3204 * procfs.c (procfs_make_note_section): Add 'self' argument.
3205 (procfs_make_note_section): Add 'self' argument.
3206 (procfs_make_note_section): Add 'self' argument.
3207 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3209 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3210 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3211 * exec.c (exec_make_note_section): Add 'self' argument.
3212 (exec_make_note_section): Add 'self' argument.
3214 2014-02-19 Tom Tromey <tromey@redhat.com>
3216 * target.h (struct target_ops) <to_find_memory_regions>: Add
3218 (target_find_memory_regions): Add argument.
3219 * target.c (dummy_find_memory_regions): Add 'self' argument.
3220 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3221 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3222 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3223 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3224 * exec. (exec_do_find_memory_regions): New global.
3225 (exec_set_find_memory_regions): Rewrite.
3226 (exec_find_memory_regions): New function.
3227 (init_exec_ops): Use exec_find_memory_regions.
3229 2014-02-19 Tom Tromey <tromey@redhat.com>
3231 * target.h (struct target_ops) <to_supports_non_stop>: Add
3233 * target.c (find_default_supports_non_stop): Add argument.
3234 (target_supports_non_stop): Add argument.
3235 (find_default_supports_non_stop): Add 'self' argument.
3236 * remote.c (remote_supports_non_stop): Add 'self' argument.
3237 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3239 2014-02-19 Tom Tromey <tromey@redhat.com>
3241 * target.h (struct target_ops) <to_log_command>: Add argument.
3242 (target_log_command): Add argument.
3243 * serial.h (serial_log_command): Add 'self' argument.
3244 * serial.c (serial_log_command): Add 'self' argument.
3246 2014-02-19 Tom Tromey <tromey@redhat.com>
3248 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3249 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3251 (target_pid_to_exec_file): Add argument.
3252 * target.c (debug_to_pid_to_exec_file): Add argument.
3253 (update_current_target): Update.
3254 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3255 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3256 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3257 (linux_handle_extended_wait): Update.
3258 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3259 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3260 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3261 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3263 2014-02-19 Tom Tromey <tromey@redhat.com>
3265 * target.h (struct target_ops) <to_rcmd>: Add argument.
3266 (target_rcmd): Add argument.
3267 * target.c (debug_to_rcmd): Add argument.
3268 (update_current_target, do_monitor_command): Update.
3269 * remote.c (remote_rcmd): Add 'self' argument.
3270 * monitor.c (monitor_rcmd): Add 'self' argument.
3272 2014-02-19 Tom Tromey <tromey@redhat.com>
3274 * windows-nat.c (windows_stop): Add 'self' argument.
3275 * target.h (struct target_ops) <to_stop>: Add argument.
3276 * target.c (target_stop): Add argument.
3277 (debug_to_stop): Add argument.
3278 (update_current_target): Update.
3279 * remote.c (remote_stop): Add 'self' argument.
3280 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3281 (gdbsim_cntrl_c): Update.
3282 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3283 * procfs.c (procfs_stop): Add 'self' argument.
3284 * nto-procfs.c (procfs_stop): Add 'self' argument.
3285 * monitor.c (monitor_stop): Add 'self' argument.
3286 (monitor_open): Update.
3287 * linux-nat.c (linux_nat_stop): Add argument.
3288 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3289 * gnu-nat.c (gnu_stop): Add 'self' argument.
3290 * darwin-nat.c (darwin_stop): Add 'self' argument.
3292 2014-02-19 Tom Tromey <tromey@redhat.com>
3294 * target.h (struct target_ops) <to_thread_name>: Add argument.
3295 * target.c (target_thread_name): Add argument.
3296 (update_current_target): Update.
3297 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3299 2014-02-19 Tom Tromey <tromey@redhat.com>
3301 * target.h (struct target_ops) <to_extra_thread_info>: Add
3303 (target_extra_thread_info): Add argument.
3304 * target.c (update_current_target): Update.
3305 * remote.c (remote_threads_extra_info): Add 'self' argument.
3306 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3308 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3309 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3310 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3312 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3314 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3316 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3319 2014-02-19 Tom Tromey <tromey@redhat.com>
3321 * target.h (struct target_ops) <to_program_signals>: Add argument.
3322 * target.c (target_program_signals): Add argument.
3323 * remote.c (remote_program_signals): Add 'self' argument.
3325 2014-02-19 Tom Tromey <tromey@redhat.com>
3327 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3328 * target.c (target_pass_signals): Add argument.
3329 * remote.c (remote_pass_signals): Add 'self' argument.
3330 (remote_start_remote): Update.
3331 * procfs.c (procfs_pass_signals): Add 'self' argument.
3332 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3333 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3334 (linux_nat_create_inferior, linux_nat_attach): Update.
3336 2014-02-19 Tom Tromey <tromey@redhat.com>
3338 * windows-nat.c (windows_can_run): Add 'self' argument.
3339 * target.h (struct target_ops) <to_can_run>: Add argument.
3340 (target_can_run): Add argument.
3341 * target.c (debug_to_can_run): Add argument.
3342 (update_current_target): Update.
3343 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3344 * inf-child.c (inf_child_can_run): Add 'self' argument.
3345 * go32-nat.c (go32_can_run): Add 'self' argument.
3347 2014-02-19 Tom Tromey <tromey@redhat.com>
3349 * target.h (struct target_ops) <to_has_exited>: Add argument.
3350 (target_has_exited): Add argument.
3351 * target.c (debug_to_has_exited): Add argument.
3352 (update_current_target): Update.
3354 2014-02-19 Tom Tromey <tromey@redhat.com>
3356 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3358 (target_set_syscall_catchpoint): Add argument.
3359 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3361 * target.c (update_current_target): Update.
3363 2014-02-19 Tom Tromey <tromey@redhat.com>
3365 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3367 (target_remove_exec_catchpoint): Add argument.
3368 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3369 (update_current_target): Update.
3370 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3373 2014-02-19 Tom Tromey <tromey@redhat.com>
3375 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3377 (target_insert_exec_catchpoint): Add argument.
3378 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3379 (update_current_target): Update.
3380 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3383 2014-02-19 Tom Tromey <tromey@redhat.com>
3385 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3387 (target_remove_vfork_catchpoint): Add argument.
3388 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3389 (update_current_target): Update.
3390 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3393 2014-02-19 Tom Tromey <tromey@redhat.com>
3395 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3397 (target_insert_vfork_catchpoint): Add argument.
3398 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3399 (update_current_target): Update.
3400 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3403 2014-02-19 Tom Tromey <tromey@redhat.com>
3405 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3407 (target_remove_fork_catchpoint): Add argument.
3408 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3409 (update_current_target): Update.
3410 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3413 2014-02-19 Tom Tromey <tromey@redhat.com>
3415 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3417 (target_insert_fork_catchpoint): Add argument.
3418 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3419 (update_current_target): Update.
3420 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3423 2014-02-19 Tom Tromey <tromey@redhat.com>
3425 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3427 (target_post_startup_inferior): Add argument.
3428 * target.c (debug_to_post_startup_inferior): Add argument.
3429 (update_current_target): Update.
3430 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3432 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3434 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3436 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3438 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3440 (super_post_startup_inferior): Likewise.
3441 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3443 (super_post_startup_inferior): Likewise.
3444 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3445 Add 'self' argument.
3446 (super_post_startup_inferior): Likewise.
3448 2014-02-19 Tom Tromey <tromey@redhat.com>
3450 * target.h (struct target_ops) <to_load>: Add argument.
3451 * target.c (target_load): Add argument.
3452 (debug_to_load): Add argument.
3453 (update_current_target): Update.
3454 * remote.c (remote_load): Add 'self' argument.
3455 * remote-sim.c (gdbsim_load): Add 'self' argument.
3456 * remote-mips.c (mips_load): Add 'self' argument.
3457 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3458 * monitor.c (monitor_load): Add 'self' argument.
3459 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3461 2014-02-19 Tom Tromey <tromey@redhat.com>
3463 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3464 (target_terminal_info): Add argument.
3465 * target.c (debug_to_terminal_info): Add argument.
3466 (default_terminal_info): Likewise.
3467 * inflow.c (child_terminal_info): Add 'self' argument.
3468 * inferior.h (child_terminal_info): Add 'self' argument.
3469 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3471 2014-02-19 Tom Tromey <tromey@redhat.com>
3473 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3475 (target_terminal_save_ours): Add argument.
3476 * target.c (debug_to_terminal_save_ours): Add argument.
3477 (update_current_target): Update.
3478 * inflow.c (terminal_save_ours): Add 'self' argument.
3479 * inferior.h (terminal_save_ours): Add 'self' argument.
3481 2014-02-19 Tom Tromey <tromey@redhat.com>
3483 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3484 (target_terminal_ours): Add argument.
3485 * target.c (debug_to_terminal_ours): Add argument.
3486 (update_current_target): Update.
3487 * remote.c (remote_terminal_ours): Add 'self' argument.
3488 (remote_close): Update.
3489 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3490 * inflow.c (terminal_ours): Add 'self' argument.
3491 * inferior.h (terminal_ours): Add 'self' argument.
3492 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3494 2014-02-19 Pedro Alves <palves@redhat.com>
3495 Tom Tromey <tromey@redhat.com>
3497 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3499 (target_terminal_ours_for_output): Add argument.
3500 * target.c (debug_to_terminal_ours_for_output): Add argument.
3501 (update_current_target): Update.
3502 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3503 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3504 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3506 2014-02-19 Tom Tromey <tromey@redhat.com>
3508 * target.h (struct target_ops) <to_terminal_inferior>: Add
3510 * target.c (target_terminal_inferior): Add argument.
3511 (update_current_target): Update.
3512 * remote.c (remote_terminal_inferior): Add 'self' argument.
3513 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3514 * inflow.c (terminal_inferior): Add 'self' argument.
3515 * inferior.h (terminal_inferior): Add 'self' argument.
3516 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3517 (go32_terminal_inferior): Add 'self' argument.
3519 2014-02-19 Tom Tromey <tromey@redhat.com>
3521 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3522 (target_terminal_init): Add argument.
3523 * target.c (debug_to_terminal_init): Add argument.
3524 (update_current_target): Update.
3525 * inflow.c (terminal_init_inferior): Add 'self' argument.
3526 * inferior.h (terminal_init_inferior): Add 'self' argument.
3527 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3528 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3530 2014-02-19 Tom Tromey <tromey@redhat.com>
3532 * target.h (struct target_ops)
3533 <to_can_accel_watchpoint_condition>: Add argument.
3534 (target_can_accel_watchpoint_condition): Add argument.
3535 * target.c (debug_to_can_accel_watchpoint_condition): Add
3537 (update_current_target): Update.
3538 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3541 2014-02-19 Tom Tromey <tromey@redhat.com>
3543 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3545 (target_region_ok_for_hw_watchpoint): Add argument.
3546 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3547 (default_region_ok_for_hw_watchpoint): Add argument.
3548 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3549 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3551 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3553 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3555 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3557 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3559 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3561 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3562 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3564 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3565 Add 'self' argument.
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3571 (target_insert_watchpoint): Add argument.
3572 * target.c (debug_to_insert_watchpoint): Add argument.
3573 (update_current_target): Update.
3574 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3575 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3576 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3577 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3578 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3579 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3581 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3582 (procfs_insert_hw_watchpoint): Add 'self' argument.
3583 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3585 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3587 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3589 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3590 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3592 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3595 2014-02-19 Tom Tromey <tromey@redhat.com>
3597 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3599 (target_remove_watchpoint): Add argument.
3600 * target.c (debug_to_remove_watchpoint): Add argument.
3601 (update_current_target): Update.
3602 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3603 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3604 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3605 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3606 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3607 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3609 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3610 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3612 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3614 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3616 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3617 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3619 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3622 2014-02-19 Tom Tromey <tromey@redhat.com>
3624 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3626 (target_remove_hw_breakpoint): Add argument.
3627 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3628 (update_current_target): Update.
3629 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3630 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3632 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3633 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3635 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3638 2014-02-19 Tom Tromey <tromey@redhat.com>
3640 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3642 (target_insert_hw_breakpoint): Add argument.
3643 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3644 (update_current_target): Update.
3645 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3646 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3648 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3649 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3650 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3652 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3655 2014-02-19 Tom Tromey <tromey@redhat.com>
3657 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3659 (target_can_use_hardware_watchpoint): Add argument.
3660 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3661 (update_current_target): Update.
3662 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3664 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3666 * remote.c (remote_check_watch_resources): Add 'self' argument.
3667 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3668 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3670 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3671 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3673 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3675 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3677 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3679 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3681 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3683 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3684 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3686 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3689 2014-02-19 Tom Tromey <tromey@redhat.com>
3691 * target.h (struct target_ops) <to_post_attach>: Add argument.
3692 (target_post_attach): Add argument.
3693 * target.c (debug_to_post_attach): Add argument.
3694 (update_current_target): Update.
3695 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3696 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3697 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3698 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3699 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3701 2014-02-19 Tom Tromey <tromey@redhat.com>
3703 * windows-nat.c (windows_close): Add 'self' argument.
3704 * tracepoint.c (tfile_close): Add 'self' argument.
3705 * target.h (struct target_ops) <to_close>: Add argument.
3706 * target.c (target_close): Add argument.
3707 (update_current_target): Update.
3708 * remote.c (remote_close): Add 'self' argument.
3709 * remote-sim.c (gdbsim_close): Add 'self' argument.
3710 * remote-mips.c (mips_close): Add 'self' argument.
3711 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3712 * record-full.c (record_full_close): Add 'self' argument.
3713 * record-btrace.c (record_btrace_close): Add 'self' argument.
3714 * monitor.h (monitor_close): Add 'self' argument.
3715 * monitor.c (monitor_close): Add 'self' argument.
3716 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3717 * linux-nat.c (linux_nat_close): Add argument.
3718 * go32-nat.c (go32_close): Add 'self' argument.
3719 * exec.c (exec_close_1): Add 'self' argument.
3720 * ctf.c (ctf_close): Add 'self' argument.
3721 * corelow.c (core_close): Add 'self' argument.
3722 (core_close_cleanup): Update.
3723 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3724 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3726 2014-02-19 Tom Tromey <tromey@redhat.com>
3728 * remote.c (remote_load): New function.
3729 (init_remote_ops): Use it.
3731 2014-02-19 Tom Tromey <tromey@redhat.com>
3733 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3735 * common/linux-btrace.h (linux_supports_btrace): Update.
3736 * remote.c (remote_supports_btrace): Add "self" argument.
3737 * target-delegates.c: Rebuild.
3738 * target.c (target_supports_btrace): Remove.
3739 * target.h (struct target_ops) <to_supports_btrace>: Add
3740 target_ops argument.
3741 (target_supports_btrace): New define.
3743 2014-02-19 Tom Tromey <tromey@redhat.com>
3745 * record-full.c (record_full_beneath_to_resume_ops)
3746 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3747 (record_full_beneath_to_wait)
3748 (record_full_beneath_to_store_registers_ops)
3749 (record_full_beneath_to_store_registers)
3750 (record_full_beneath_to_xfer_partial_ops)
3751 (record_full_beneath_to_xfer_partial)
3752 (record_full_beneath_to_insert_breakpoint_ops)
3753 (record_full_beneath_to_insert_breakpoint)
3754 (record_full_beneath_to_remove_breakpoint_ops)
3755 (record_full_beneath_to_remove_breakpoint)
3756 (record_full_beneath_to_stopped_by_watchpoint)
3757 (record_full_beneath_to_stopped_data_address)
3758 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3759 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3760 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3761 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3762 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3763 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3764 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3765 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3766 (record_full_resume, record_full_wait_1)
3767 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3768 (record_full_store_registers, record_full_xfer_partial)
3769 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3770 (record_full_async, record_full_core_xfer_partial): Use target
3772 * target-delegates.c: Rebuild.
3773 * target.c (current_xfer_partial): Remove.
3774 (update_current_target): Do not INHERIT or de_fault
3775 to_insert_breakpoint, to_remove_breakpoint,
3776 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3777 to_is_async_p, to_async. Do not set to_xfer_partial field.
3778 (default_xfer_partial): Simplify.
3779 (current_xfer_partial): Remove.
3780 (target_wait, target_resume): Simplify.
3781 (find_default_can_async_p, find_default_is_async_p): Update.
3782 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3783 to_xfer_partial, to_stopped_by_watchpoint,
3784 to_stopped_data_address.
3785 (target_store_registers): Simplify.
3786 (forward_target_remove_breakpoint)
3787 (forward_target_insert_breakpoint): Remove.
3788 (target_remove_breakpoint, target_insert_breakpoint)
3789 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3790 * target.h (struct target_ops) <to_resume, to_wait,
3791 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3792 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3793 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3795 (forward_target_remove_breakpoint)
3796 (forward_target_insert_breakpoint): Remove.
3797 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3799 (record_btrace_insert_breakpoint): Delegate directly.
3801 2014-02-19 Tom Tromey <tromey@redhat.com>
3804 * target-delegates.c: New file.
3805 * target.c: Include target-delegates.c.
3806 (init_dummy_target): Call install_dummy_methods.
3807 (complete_target_initialization): Call install_delegators.
3808 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3809 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3810 * make-target-delegates: New file.
3812 2014-02-19 Tom Tromey <tromey@redhat.com>
3814 * record.c (find_record_target): Use find_target_at.
3815 * target.c (find_target_at): New function.
3816 * target.h (find_target_at): Declare.
3818 2014-02-19 Tom Tromey <tromey@redhat.com>
3820 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3822 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3824 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3825 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3827 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3829 * linux-nat.c (save_sigtrap): Update.
3830 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3831 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3832 (linux_nat_close): Update.
3833 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3835 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3837 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3838 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3839 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3840 (tmp_to_async): Add 'ops' argument.
3841 (record_full_stopped_by_watchpoint, record_full_async)
3842 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3844 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3845 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3846 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3847 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3848 (remote_is_async_p, remote_async): Add 'ops' argument.
3849 (remote_stopped_data_address): Update.
3850 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3851 * target.c (update_current_target)
3852 (find_default_can_async_p, find_default_is_async_p): Update.
3853 (init_dummy_target): Update.
3854 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3855 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3856 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3857 (target_can_async_p, target_is_async_p, target_async)
3858 (target_stopped_by_watchpoint): Update.
3860 2014-02-19 Yao Qi <yao@codesourcery.com>
3863 * gdbarch.sh: Remove startup_gdbarch.
3864 * gdbarch.c: Regenerated.
3865 * gdbarch.h: Likewise.
3867 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3869 * rl78-tdep.c (rl78_g10_register_name): New function.
3870 (rl78_return_value): Add g10 support.
3871 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3874 2014-02-17 Doug Evans <xdje42@gmail.com>
3876 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3877 (SUBDIR_GUILE_SRCS): Ditto.
3878 (scm-gsmob.o): Ditto.
3880 2014-02-17 Yao Qi <yao@codesourcery.com>
3882 * gnu-nat.c (ILL_RPC): Declare defined function.
3884 2014-02-17 Yao Qi <yao@codesourcery.com>
3886 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3887 mach_msg_type_number_t.
3888 (gnu_write_inferior): Likewise.
3890 2014-02-17 Yao Qi <yao@codesourcery.com>
3892 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3894 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3895 (inf_validate_procs, inf_signal): Likewise.
3896 (S_exception_raise_request): Likewise.
3897 (do_mach_notify_dead_name): Likewise.
3898 (steal_exc_port): Likewise.
3899 (gnu_read_inferior): Change 'copy_count''s type to
3900 mach_msg_type_number_t.
3901 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3904 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3906 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3907 flag. Adjust all users; in particular...
3908 (gnu_wait): ..., don't decrement its value in here...
3909 (gnu_create_inferior): ..., and instead set the flag in here,
3910 around the startup_inferior call, and call that one with
3911 START_INFERIOR_TRAPS_EXPECTED.
3913 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3914 (ILL_RPC): ... new macro.
3915 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3916 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3917 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3918 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3919 functions with ILL_RPC macro.
3920 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3921 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3922 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3923 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3924 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3925 (S_proc_getlogin_reply, S_proc_getsid_reply)
3926 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3927 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3928 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3929 (S_proc_getnports_reply, S_proc_is_important_reply)
3930 (S_proc_get_code_reply): New stub functions, generated with
3933 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3934 collected the type check structures.
3936 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3938 2014-02-14 Doug Evans <dje@google.com>
3940 * target.c (target_write_partial): Fix result type.
3942 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3944 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3945 the proper offsets to access fpregset_t.
3947 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3949 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3950 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3951 * h8300-tdep.c (setmachinelist): Remove global.
3952 * hppa-tdep.c (hppa_sigtramp): Remove global.
3953 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3954 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3955 * ravenscar-thread.c (update_target_observer): Remove global.
3956 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3958 2014-02-12 Tom Tromey <tromey@redhat.com>
3960 * common/rsp-low.c: Update comments.
3961 * common/rsp-low.h: Update comments.
3963 2014-02-12 Tom Tromey <tromey@redhat.com>
3965 * common/rsp-low.c (convert_ascii_to_int): Remove.
3966 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3968 2014-02-12 Tom Tromey <tromey@redhat.com>
3970 * common/rsp-low.h (unhexify): Don't declare.
3971 * common/rsp-low.c (unhexify): Remove.
3973 2014-02-12 Tom Tromey <tromey@redhat.com>
3975 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3976 * common/rsp-low.c (convert_int_to_ascii): Remove.
3978 2014-02-12 Tom Tromey <tromey@redhat.com>
3980 * common/rsp-low.h (hexify): Don't declare.
3981 * common/rsp-low.c (hexify): Remove.
3983 2014-02-12 Tom Tromey <tromey@redhat.com>
3985 * common/rsp-low.c (hexify): Never take strlen of argument.
3987 2014-02-12 Tom Tromey <tromey@redhat.com>
3989 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3990 * remote.c (extended_remote_run, remote_rcmd)
3991 (remote_download_trace_state_variable, remote_save_trace_data)
3992 (remote_set_trace_notes): Update.
3993 * tracepoint.c (encode_source_string, tfile_write_status)
3994 (tfile_write_uploaded_tsv): Update.
3996 2014-02-12 Tom Tromey <tromey@redhat.com>
3998 * tracepoint.c: Include rsp-low.h.
3999 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4000 * remote.c: Include rsp-low.h.
4001 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4002 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4003 (remote_unescape_input): Move to common/rsp-low.c.
4004 * common/rsp-low.h: New file.
4005 * common/rsp-low.c: New file.
4006 * Makefile.in (SFILES): Add common/rsp-low.c.
4007 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4008 (COMMON_OBS): Add rsp-low.o.
4009 (rsp-low.o): New target.
4011 2014-02-12 Tom Tromey <tromey@redhat.com>
4013 * utils.h: Include print-utils.h.
4014 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4015 (int_string, core_addr_to_string, core_addr_to_string_nz)
4016 (hex_string, hex_string_custom): Don't declare.
4017 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4018 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4019 (hex_string_custom, int_string, core_addr_to_string)
4020 (core_addr_to_string_nz, host_address_to_string): Move to
4021 common/print-utils.c.
4022 * common/print-utils.h: New file.
4023 * common/print-utils.c: New file
4024 * Makefile.in (SFILES): Add common/print-utils.c.
4025 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4026 (COMMON_OBS): Add print-utils.o.
4027 (print-utils.o): New target.
4029 2014-02-12 Tom Tromey <tromey@redhat.com>
4031 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4033 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4035 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4037 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4039 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4040 if a PT_IO ptrace request returns sucessfully but indicates that 0
4041 bytes were transferred.
4043 2014-02-12 Pedro Alves <palves@redhat.com>
4044 Kevin Buettner <kevinb@redhat.com>
4046 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4047 TYPE_INSTANCE_FLAG_CODE_SPACE.
4049 2014-02-12 Pedro Alves <palves@redhat.com>
4051 * h8300-tdep.c (pseudo_from_raw_register)
4052 (raw_from_pseudo_register): New functions.
4053 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4056 2014-02-12 Pedro Alves <palves@redhat.com>
4058 * h8300-tdep.c (h8300_register_sim_regno): New function.
4059 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4060 gdbarch_register_sim_regno hook.
4062 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4064 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4066 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4068 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4070 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4072 * obsd-tdep.h (obsd_init_abi): New prototype.
4073 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4074 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4075 (obsd_init_abi): New functions.
4076 * i386obsd-tdep.c: Include "obsd-tdep.h".
4077 (i386obsd_init_abi): Call obsd_init_abi.
4078 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4079 (amd64obsd_init_abi): Call obsd_init_abi.
4080 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4081 obsd-tdep.c to gdb_target_obs.
4083 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4085 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4086 double float arguments to 16-byte in the argument slots.
4088 2014-02-11 Doug Evans <xdje42@gmail.com>
4090 * configure.ac: Don't crash if pkg-config is not found and guile
4091 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4093 * configure: Regenerate.
4095 2014-02-11 Yao Qi <yao@codesourcery.com>
4097 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4098 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4099 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4100 * gnu-nat.c (gnu_xfer_memory): Likewise.
4101 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4102 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4103 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4104 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4106 2014-02-11 Yao Qi <yao@codesourcery.com>
4108 * target.h (enum target_xfer_error): Rename to ...
4109 (enum target_xfer_status): ... it. New. All users updated.
4110 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4112 (TARGET_XFER_STATUS_ERROR_P): New macro.
4113 (target_xfer_error_to_string): Remove declaration.
4114 (target_xfer_status_to_string): Declare.
4115 (target_xfer_partial_ftype): Adjust it.
4116 (struct target_ops) <to_xfer_partial>: Return
4117 target_xfer_status. Add argument xfered_len. Update
4119 * target.c (target_xfer_error_to_string): Rename to ...
4120 (target_xfer_status_to_string): ... it. New. All callers
4122 (target_read_live_memory): Likewise. Call target_xfer_partial
4123 instead of target_read.
4124 (memory_xfer_live_readonly_partial): Return
4125 target_xfer_status. Add argument xfered_len.
4126 (raw_memory_xfer_partial): Likewise.
4127 (memory_xfer_partial_1): Likewise.
4128 (memory_xfer_partial): Likewise.
4129 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4130 properly. Update debug message.
4131 (default_xfer_partial, current_xfer_partial): Likewise.
4132 (target_write_partial): Likewise.
4133 (target_read_partial): Likewise. All callers updated.
4134 (read_whatever_is_readable): Likewise.
4135 (target_write_with_progress): Likewise.
4136 (target_read_alloc_1): Likewise.
4138 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4139 * auxv.c (procfs_xfer_auxv): Likewise.
4140 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4141 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4142 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4143 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4144 * corefile.c (read_memory): Adjust.
4145 * corelow.c (core_xfer_partial): Likewise.
4146 * ctf.c (ctf_xfer_partial): Likewise.
4147 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4149 (darwin_xfer_partial): Likewise.
4150 * exec.c (section_table_xfer_memory_partial): Likewise. All
4152 (exec_xfer_partial): Likewise.
4153 * exec.h (section_table_xfer_memory_partial): Update
4155 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4157 (gnu_xfer_partial): Likewise.
4158 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4159 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4160 (ia64_hpux_xfer_solib_got): Likewise.
4161 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4162 type of 'partial_len' to ULONGEST.
4163 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4164 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4165 (linux_nat_xfer_partial): Likewise.
4166 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4167 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4168 * monitor.c (monitor_xfer_memory): Likewise.
4169 (monitor_xfer_partial): Likewise.
4170 * procfs.c (procfs_xfer_partial): Likewise.
4171 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4172 * record-full.c (record_full_xfer_partial): Likewise.
4173 (record_full_core_xfer_partial): Likewise.
4174 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4175 (gdbsim_xfer_partial): Likewise.
4176 * remote.c (remote_write_bytes_aux): Likewise. All callers
4178 (remote_write_bytes, remote_read_bytes): Likewise. All
4180 (remote_flash_erase): Likewise. All callers updated.
4181 (remote_write_qxfer): Likewise. All callers updated.
4182 (remote_read_qxfer): Likewise. All callers updated.
4183 (remote_xfer_partial): Likewise.
4184 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4185 (rs6000_xfer_shared_libraries): Likewise.
4186 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4187 (sol_thread_xfer_partial): Likewise.
4188 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4189 (sparc_xfer_partial): Likewise.
4190 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4192 (spu_xfer_partial): Likewise.
4193 * spu-multiarch.c (spu_xfer_partial): Likewise.
4194 * tracepoint.c (tfile_xfer_partial): Likewise.
4195 * windows-nat.c (windows_xfer_memory): Likewise.
4196 (windows_xfer_shared_libraries): Likewise.
4197 (windows_xfer_partial): Likewise.
4198 * valprint.c: Replace 'target_xfer_error' with
4199 'target_xfer_status' in comments.
4201 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4203 Checked in by Joel Brobecker <brobecker@adacore.com>.
4204 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4206 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4208 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4209 function parameters.
4211 2014-02-10 Will Newton <will.newton@linaro.org>
4213 * elfread.c (elf_rel_plt_read): Look for a .got section if
4214 looking up .got.plt fails.
4215 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4216 on address passed to elf_gnu_ifunc_record_cache.
4217 (elf_gnu_ifunc_resolve_addr): Likewise.
4218 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4220 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4222 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4223 (X_RETTURN): New macro.
4224 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4226 * sparc64-tdep.c (sparc64_init_abi): Hook
4227 sparc_in_function_epilogue_p.
4229 2014-02-10 Gary Benson <gbenson@redhat.com>
4231 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4232 Rename name_matcher to symbol_matcher.
4234 2014-02-10 Gary Benson <gbenson@redhat.com>
4236 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4237 Use expand_symtabs_file_matcher_ftype and
4238 expand_symtabs_symbol_matcher_ftype.
4240 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4242 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4243 (struct ada_symbol_cache): New.
4244 (ada_free_symbol_cache): Forward declare.
4245 (struct ada_pspace_data): New.
4246 (ada_pspace_data_handle): New static global.
4247 (get_ada_pspace_data, ada_pspace_data_cleanup)
4248 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4249 (cache_space, cache): Delete, now folded inside struct
4251 (ada_get_symbol_cache): New function.
4252 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4254 (_initialize_ada_language): Remove initialization of cache_space.
4255 Move call to observer_attach_inferior_exit up, grouping it
4256 with the other observer registrations inside this function.
4257 Rename command to be more general. Add call to
4258 register_program_space_data_with_cleanup.
4260 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4262 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4263 ada_new_objfile_observer.
4264 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4265 (_initialize_tasks): Update uses of ada_new_objfile_observer
4266 and ada_tasks_normal_stop_observer.
4268 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4270 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4271 returned by the 'Length attribute to integer.
4273 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4275 * ada-lang.c (_initialize_ada_language): Initialize
4276 cache_space obstack.
4278 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4280 * ada-lang.c (HASH_SIZE): New macro.
4281 (struct cache_entry): New type.
4282 (cache_space, cache): New static globals.
4283 (ada_clear_symbol_cache, find_entry): New functions.
4284 (lookup_cached_symbol, cache_symbol): Implement.
4285 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4286 (_initialize_ada_language): Attach ada_new_objfile_observer
4287 and ada_free_objfile_observer.
4289 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4291 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4292 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4293 struct block * parameter.
4294 (ada_lookup_symbol_list_worker): Constify local variable "block".
4295 Remove cast which is no longer necessary.
4297 2014-02-10 Doug Evans <xdje42@gmail.com>
4299 Add Guile as an extension language.
4300 * NEWS: Mention Guile scripting.
4301 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4302 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4303 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4304 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4305 (CLIBS): Add GUILE_LIBS.
4306 (install-guile): New rule.
4307 (guile.o): New rule.
4308 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4309 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4310 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4311 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4312 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4313 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4314 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4315 * configure.ac: New option --with-guile.
4316 * configure: Regenerate.
4317 * config.in: Regenerate.
4318 * auto-load.c: Remove #include "python/python.h". Add #include
4319 "gdb/section-scripts.h".
4320 (source_section_scripts): Handle Guile scripts.
4321 (_initialize_auto_load): Add name of Guile objfile script to
4322 scripts-directory help text.
4323 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4324 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4325 (struct breakpoint): New member scm_bp_object.
4326 * defs.h (enum command_control_type): New value guile_control.
4327 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4329 (show_user): Update comment.
4330 (_initialize_cli_cmds): Update help text for "show user". Update help
4331 text for max-user-call-depth.
4332 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4334 (multi_line_command_p): Add guile_control.
4335 (print_command_lines): Handle guile_control.
4336 (execute_control_command, recurse_read_control_structure): Ditto.
4337 (process_next_line): Recognize "guile" commands.
4338 * disasm.c (gdb_disassemble_info): Make non-static.
4339 * disasm.h: #include "dis-asm.h".
4340 (struct gdbarch): Add forward decl.
4341 (gdb_disassemble_info): Declare.
4342 * extension.c: #include "guile/guile.h".
4343 (extension_languages): Add guile.
4344 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4345 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4346 * gdbtypes.c (get_unsigned_type_max): New function.
4347 (get_signed_type_minmax): New function.
4348 * gdbtypes.h (get_unsigned_type_max): Declare.
4349 (get_signed_type_minmax): Declare.
4350 * guile/README: New file.
4351 * guile/guile-internal.h: New file.
4352 * guile/guile.c: New file.
4353 * guile/guile.h: New file.
4354 * guile/scm-arch.c: New file.
4355 * guile/scm-auto-load.c: New file.
4356 * guile/scm-block.c: New file.
4357 * guile/scm-breakpoint.c: New file.
4358 * guile/scm-disasm.c: New file.
4359 * guile/scm-exception.c: New file.
4360 * guile/scm-frame.c: New file.
4361 * guile/scm-gsmob.c: New file.
4362 * guile/scm-iterator.c: New file.
4363 * guile/scm-lazy-string.c: New file.
4364 * guile/scm-math.c: New file.
4365 * guile/scm-objfile.c: New file.
4366 * guile/scm-ports.c: New file.
4367 * guile/scm-pretty-print.c: New file.
4368 * guile/scm-safe-call.c: New file.
4369 * guile/scm-string.c: New file.
4370 * guile/scm-symbol.c: New file.
4371 * guile/scm-symtab.c: New file.
4372 * guile/scm-type.c: New file.
4373 * guile/scm-utils.c: New file.
4374 * guile/scm-value.c: New file.
4375 * guile/lib/gdb.scm: New file.
4376 * guile/lib/gdb/boot.scm: New file.
4377 * guile/lib/gdb/experimental.scm: New file.
4378 * guile/lib/gdb/init.scm: New file.
4379 * guile/lib/gdb/iterator.scm: New file.
4380 * guile/lib/gdb/printing.scm: New file.
4381 * guile/lib/gdb/types.scm: New file.
4382 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4383 (VPATH): Add $(GUILE_SRCDIR).
4384 (GUILE_DIR): New variable.
4385 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4386 (all): Add stamp-guile dependency.
4387 (stamp-guile): New rule.
4388 (clean-guile, install-guile, uninstall-guile): New rules.
4389 (install-only): Add install-guile dependency.
4390 (uninstall): Add uninstall-guile dependency.
4391 (clean): Add clean-guile dependency.
4393 2014-02-09 Doug Evans <xdje42@gmail.com>
4395 Revert this patch (which I approved, mea culpa).
4397 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4399 * Makefile.in (all-lib): Remove.
4400 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4402 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4404 Fix Python stack corruption.
4405 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4408 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4410 * Makefile.in (all-lib): Remove.
4411 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4413 2014-02-07 Doug Evans <dje@google.com>
4415 * extension-priv.h (extension_language_script_ops): Add comment.
4416 (extension_language_ops): Add comment.
4417 (active_ext_lang_state): Fix typo in comment.
4419 2014-02-07 Pedro Alves <palves@redhat.com>
4421 PR breakpoints/16292
4422 * infrun.c (handle_signal_stop) <signal arrives while stepping
4423 over a breakpoint>: Switch back to the stepping thread.
4425 2014-02-07 Yao Qi <yao@codesourcery.com>
4427 * target.c (target_xfer_partial): Return zero if LEN is zero.
4429 2014-02-07 Yao Qi <yao@codesourcery.com>
4431 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4432 (ld_so_xfer_auxv): Likewise.
4433 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4434 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4435 * corelow.c (core_xfer_partial): Likewise.
4436 * ctf.c (ctf_xfer_partial): Likewise.
4437 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4438 (darwin_xfer_partial): Likewise.
4439 * exec.c (exec_xfer_partial): Likewise.
4440 * gnu-nat.c (gnu_xfer_partial): Likewise.
4441 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4442 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4443 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4444 * linux-nat.c (linux_xfer_siginfo): Likewise.
4445 (linux_proc_xfer_spu): Likewise.
4446 * procfs.c (procfs_xfer_partial): Likewise.
4447 * record-full.c (record_full_xfer_partial): Likewise.
4448 (record_full_core_xfer_partial): Likewise.
4449 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4450 * remote.c (remote_write_qxfer): Likewise.
4451 (remote_write_qxfer, remote_read_qxfer): Likewise.
4452 (remote_xfer_partial): Likewise.
4453 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4454 (rs6000_xfer_shared_libraries): Likewise.
4455 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4456 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4457 (spu_xfer_partial): Likewise.
4458 * target.c (memory_xfer_partial_1): Likewise.
4459 * tracepoint.c (tfile_xfer_partial): Likewise.
4460 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4461 (windows_xfer_partial): Likewise.
4463 2014-02-07 Yao Qi <yao@codesourcery.com>
4465 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4467 (core_xfer_shared_libraries_aix): Likewise.
4468 * gdbarch.c, gdbarch.h: Regenerated.
4469 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4470 ULONGEST. Change 'len_avail' type to ULONGEST.
4471 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4472 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4474 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4476 2014-02-07 Yao Qi <yao@codesourcery.com>
4478 * corefile.c (memory_error): Get 'exception' from ERR and pass
4479 'exception' to throw_error.
4481 2014-02-06 Doug Evans <xdje42@gmail.com>
4483 * configure.ac (libpython checking): Remove all but python.o from
4484 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4485 * configure: Regenerate.
4487 * Makefile.in (SFILES): Add extension.c.
4488 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4489 (COMMON_OBS): Add extension.o.
4490 * extension.h: New file.
4491 * extension-priv.h: New file.
4492 * extension.c: New file.
4494 * python/python-internal.h: #include "extension.h".
4495 (gdbpy_auto_load_enabled): Declare.
4496 (gdbpy_apply_val_pretty_printer): Declare.
4497 (gdbpy_apply_frame_filter): Declare.
4498 (gdbpy_preserve_values): Declare.
4499 (gdbpy_breakpoint_cond_says_stop): Declare.
4500 (gdbpy_breakpoint_has_cond): Declare.
4501 (void source_python_script_for_objfile): Delete.
4502 * python/python.c: #include "extension-priv.h".
4503 Delete inclusion of "observer.h".
4504 (extension_language_python): Moved here and renamed from
4505 script_language_python in py-auto-load.c.
4506 Redefined to be of type extension_language_defn.
4507 (python_extension_script_ops): New global.
4508 (python_extension_ops): New global.
4509 (struct python_env): New member previous_active.
4510 (restore_python_env): Call restore_active_ext_lang.
4511 (ensure_python_env): Call set_active_ext_lang.
4512 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4514 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4516 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4518 (gdbpy_eval_from_control_command): Renamed from
4519 eval_python_from_control_command, made static. New arg extlang.
4520 (gdbpy_source_script) Renamed from source_python_script, made static.
4522 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4523 result to int. New arg extlang.
4524 (gdbpy_source_objfile_script): Renamed from
4525 source_python_script_for_objfile, made static. New arg extlang.
4526 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4527 static. New args extlang, extlang_printers. Change result type to
4529 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4530 static. New arg extlang. Rename arg printers to extlang_printers
4531 and change type to ext_lang_type_printers *.
4532 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4533 static. Replace argument arg with extlang, extlang_printers.
4534 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4535 (!HAVE_PYTHON, source_python_script): Delete.
4536 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4537 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4538 (!HAVE_PYTHON, start_type_printers): Delete.
4539 (!HAVE_PYTHON, apply_type_printers): Delete.
4540 (!HAVE_PYTHON, free_type_printers): Delete.
4541 (_initialize_python): Delete call to observer_attach_before_prompt.
4542 (finalize_python): Set/restore active extension language.
4543 (gdbpy_finish_initialization) Renamed from
4544 finish_python_initialization, made static. New arg extlang.
4545 (gdbpy_initialized): New function.
4546 * python/python.h: #include "extension.h". Delete #include
4547 "value.h", "mi/mi-cmds.h".
4548 (extension_language_python): Declare.
4549 (GDBPY_AUTO_FILE_NAME): Delete.
4550 (enum py_bt_status): Moved to extension.h and renamed to
4552 (enum frame_filter_flags): Moved to extension.h.
4553 (enum py_frame_args): Moved to extension.h and renamed to
4554 ext_lang_frame_args.
4555 (finish_python_initialization): Delete.
4556 (eval_python_from_control_command): Delete.
4557 (source_python_script): Delete.
4558 (apply_val_pretty_printer): Delete.
4559 (apply_frame_filter): Delete.
4560 (preserve_python_values): Delete.
4561 (gdbpy_script_language_defn): Delete.
4562 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4563 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4565 * auto-load.c: #include "extension.h".
4566 (GDB_AUTO_FILE_NAME): Delete.
4567 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4568 (script_language_gdb): Delete, moved to extension.c and renamed to
4569 extension_language_gdb.
4570 (source_gdb_script_for_objfile): Delete.
4571 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4572 (loaded_script): Change type of language member to
4573 struct extension_language_defn *.
4574 (init_loaded_scripts_info): Initialize
4575 unsupported_script_warning_printed.
4576 (maybe_add_script): Make static. Change type of language arg to
4577 struct extension_language_defn *.
4578 (clear_section_scripts): Reset unsupported_script_warning_printed.
4579 (auto_load_objfile_script_1): Rewrite to use extension language API.
4580 (auto_load_objfile_script): Make public. Remove support-compiled-in
4581 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4582 (source_section_scripts): Rewrite to use extension language API.
4583 (load_auto_scripts_for_objfile): Rewrite to use
4584 auto_load_scripts_for_objfile.
4585 (collect_matching_scripts_data): Change type of language member to
4586 struct extension_language_defn *.
4587 (auto_load_info_scripts): Change type of language arg to
4588 struct extension_language_defn *.
4589 (unsupported_script_warning_print): New function.
4590 (script_not_found_warning_print): Make static.
4591 (_initialize_auto_load): Rewrite construction of scripts-directory
4593 * auto-load.h (struct objfile): Add forward decl.
4594 (struct script_language): Delete.
4595 (struct auto_load_pspace_info): Add forward decl.
4596 (struct extension_language_defn): Add forward decl.
4597 (maybe_add_script): Delete.
4598 (auto_load_objfile_script): Declare.
4599 (script_not_found_warning_print): Delete.
4600 (auto_load_info_scripts): Update prototype.
4601 (auto_load_gdb_scripts_enabled): Declare.
4602 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4603 auto_load_python_scripts_enabled and made public.
4604 (script_language_python): Delete, moved to python.c.
4605 (gdbpy_script_language_defn): Delete.
4606 (info_auto_load_python_scripts): Update to use
4607 extension_language_python.
4609 * breakpoint.c (condition_command): Replace call to
4610 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4611 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4612 with call to breakpoint_ext_lang_cond_says_stop.
4613 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4614 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4615 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4616 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4618 (local_setattro): Print name of extension language with existing
4621 * valprint.c (val_print, value_print): Update to call
4622 apply_ext_lang_val_pretty_printer.
4623 * cp-valprint.c (cp_print_value): Update call to
4624 apply_ext_lang_val_pretty_printer.
4625 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4626 (gdbpy_apply_val_pretty_printer): Renamed from
4627 apply_val_pretty_printer. New arg extlang.
4628 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4630 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4631 extension language API.
4632 * cli/cli-script.c (execute_control_command): Update to call
4633 eval_ext_lang_from_control_command.
4635 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4636 enum ext_lang_bt_status values. Update call to
4637 apply_ext_lang_frame_filter.
4638 (mi_cmd_stack_list_locals): Ditto.
4639 (mi_cmd_stack_list_args): Ditto.
4640 (mi_cmd_stack_list_variables): Ditto.
4641 * mi/mi-main.c: Delete #include "python/python-internal.h".
4642 Add #include "extension.h".
4643 (mi_cmd_list_features): Replace reference to python internal variable
4644 gdb_python_initialized with call to ext_lang_initialized_p.
4646 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4647 Update to use enum ext_lang_frame_args. Update to call
4648 apply_ext_lang_frame_filter.
4649 * python/py-framefilter.c (extract_sym): Update to use enum
4651 (extract_value, py_print_type, py_print_value): Ditto.
4652 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4653 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4654 (py_print_frame): Ditto.
4655 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4656 New arg extlang. Update to use enum ext_lang_bt_status.
4658 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4659 finish_python_initialization. Replace with call to
4660 finish_ext_lang_initialization.
4662 * typeprint.c (do_free_global_table): Update to call
4663 free_ext_lang_type_printers.
4664 (create_global_typedef_table): Update to call
4665 start_ext_lang_type_printers.
4666 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4667 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4668 (type_print_options): Change type of global_printers from "void *"
4669 to "struct ext_lang_type_printers *".
4671 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4672 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4673 (gdbpy_preserve_values): Renamed from preserve_python_values.
4675 (!HAVE_PYTHON, preserve_python_values): Delete.
4677 * utils.c (quit_flag): Delete, moved to extension.c.
4678 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4681 * eval.c: Delete #include "python/python.h".
4682 * main.c: Delete #include "python/python.h".
4684 * defs.h: Update comment.
4686 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4690 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4692 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4695 2014-02-05 Yao Qi <yao@codesourcery.com>
4697 * remote.c (remote_pass_signals): Remove local 'buf' and use
4699 (remote_program_signals): Likewise.
4701 2014-02-05 Yao Qi <yao@codesourcery.com>
4703 * ctf.c: Include "inferior.h" and "gdbthread.h".
4704 (CTF_PID): A new macro.
4705 (ctf_open): Call inferior_appeared and add_thread_silent.
4706 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4707 (ctf_thread_alive): New function.
4708 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4710 2014-02-05 Yao Qi <yao@codesourcery.com>
4714 2013-05-24 Yao Qi <yao@codesourcery.com>
4716 * tracepoint.c (TFILE_PID): Remove.
4717 (tfile_open): Don't add thread and inferior.
4718 (tfile_close): Don't set 'inferior_ptid'. Don't call
4719 exit_inferior_silent.
4720 (tfile_thread_alive): Remove.
4721 (init_tfile_ops): Don't set field 'to_thread_alive' of
4724 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4726 * remote.c (remote_start_remote): Call remote_check_symbols even
4727 if only symbol-file (not file) has been given.
4729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4731 * gdbarch.sh (skip_entrypoint): New callback.
4732 * gdbarch.c, gdbarch.h: Regenerate.
4733 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4734 * infrun.c (fill_in_stop_func): Likewise.
4735 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4736 (ppc_elfv2_elf_make_msymbol_special): New function.
4737 (ppc_elfv2_skip_entrypoint): Likewise.
4738 (ppc_linux_init_abi): Install them for ELFv2.
4740 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4742 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4743 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4744 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4745 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4746 structures returned in GPRs.
4748 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4750 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4751 offset to the stack parameter list for the ELFv2 ABI.
4753 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4755 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4756 set_gdbarch_convert_from_func_ptr_addr and
4757 set_gdbarch_elf_make_msymbol_special for ELFv1.
4758 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4759 function descriptors on ELFv1.
4760 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4761 set up r12 at function entry.
4763 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4765 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4766 (struct gdbarch_tdep): New member elf_abi.
4768 * rs6000-tdep.c: Include "elf/ppc64.h".
4769 (rs6000_gdbarch_init): Detect ELF ABI version.
4771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4773 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4774 within a register pair holding a DFP 128-bit value on little-endian.
4775 (ppc64_sysv_abi_return_value_base): Likewise.
4776 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4777 (dfp_pseudo_register_write): Likewise.
4779 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4781 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4782 offset on little-endian when passing _Decimal32.
4783 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4785 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4787 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4788 of the overlapped FP register within the VSX register on little-
4790 (efpr_pseudo_register_write): Likewise.
4792 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4794 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4795 offset on little-endian when passing small structures.
4797 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4799 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4800 (struct ppc64_sysv_argpos): New data structure.
4801 (ppc64_sysv_abi_push_float): Remove.
4802 (ppc64_sysv_abi_push_val): New function.
4803 (ppc64_sysv_abi_push_integer): Likewise.
4804 (ppc64_sysv_abi_push_freg): Likewise.
4805 (ppc64_sysv_abi_push_vreg): Likewise.
4806 (ppc64_sysv_abi_push_param): Likewise.
4807 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4808 (ppc64_sysv_abi_return_value_base): New function.
4809 (ppc64_sysv_abi_return_value): Refactor to use it.
4811 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4813 * NEWS: Document new target powerpc64le-*-linux*.
4815 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4817 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4818 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4820 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4821 register set used in ELF core dumps. Add floating-point register set.
4823 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4825 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4826 dwarf2_to_gdb[] table using symbolic constants. Adjust
4827 penultimate entry from number representing the PC register
4828 to symbolic constant representing the MDR register. Add
4829 constant for the PC register to the end of the table.
4831 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4833 * bsd-kvm.c: Include <sys/param.h>
4835 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4837 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4839 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4841 * ada-lang.h (clear_ada_sym_cache): Delete.
4843 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4845 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4847 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4849 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4850 the sigreturn register save area only if the syscall is
4853 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4855 * valops.c (value_slice): Minor reformatting.
4857 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4859 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4861 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4863 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4865 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4866 (ada_ignore_descriptive_types_p): New static global.
4867 (find_parallel_type_by_descriptive_type): Return immediately
4868 if ada_ignore_descriptive_types_p is set.
4869 (_initialize_ada_language): Register new commands "maintenance
4870 set ada", "maintenance show ada", "maintenance set ada
4871 ignore-descriptive-types" and "maintenance show ada
4872 ignore-descriptive-types".
4873 * NEWS: Add entry for new "maint ada set/show
4874 ignore-descriptive-types" commands.
4876 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4878 * record-btrace.c (record_btrace_close): Call btrace_teardown
4881 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4883 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4886 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4888 * ada-typeprint (type_is_full_subrange_of_target_type):
4890 (print_range): Add parameter bounds_prefered_p. If not set,
4891 try printing range types using the name of their base type.
4892 (print_range_type): Add parameter bounds_prefered_p.
4893 Use it in call to print_range.
4894 (print_array_type, ada_print_type): Update calls to print_range
4895 and print_range_type.
4897 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4899 * ada-typeprint.c (print_array_type, print_choices, print_range)
4900 (print_range_bound, print_dynamic_range_bound, print_range_type):
4903 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4905 * ada-typeprint.c (print_range): Add missing empty line
4906 after local declaration.
4908 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4910 * ada-valprint.c (print_optional_low_bound): Get index_type's
4911 target type for as long as it is a TYPE_CODE_RANGE.
4913 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4915 * procfs.c (procfs_make_note_section): Remove assertion and
4918 2014-01-24 Yao Qi <yao@codesourcery.com>
4920 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4921 * corelow.c (get_core_siginfo): Likewise.
4923 2014-01-24 Yao Qi <yao@codesourcery.com>
4925 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4926 ULONGEST. Don't check 'len' is negative.
4927 (remote_write_bytes): Change type of 'len' to ULONGEST.
4929 2014-01-23 Tom Tromey <tromey@redhat.com>
4932 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4933 Handle exception from frame.block.
4934 (FrameVars.fetch_frame_locals): Likewise.
4936 2014-01-23 Tom Tromey <tromey@redhat.com>
4939 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4940 on a NULL pointer. Move "goto error" to correct place.
4942 2014-01-23 Tom Tromey <tromey@redhat.com>
4945 * python/py-framefilter.c (apply_frame_filter): Call
4946 ensure_python_env after computing gdbarch.
4948 2014-01-23 Yao Qi <yao@codesourcery.com>
4950 * target.c (raw_memory_xfer_partial): Change argument type
4951 from void * to gdb_byte *.
4952 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4954 2014-01-22 Doug Evans <dje@google.com>
4956 New gdbserver option --debug-format=timestamp.
4959 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4961 * syscalls/s390x-linux.xml: New file.
4962 * syscalls/s390-linux.xml: New file.
4963 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4964 (XML_SYSCALL_FILENAME_S390X): Likewise.
4965 (op_svc): New enum value for SVC opcode.
4966 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4967 (s390_linux_get_syscall_number): New function.
4968 (s390_gdbarch_init): Register '*get_syscall_number' and the
4969 syscall xml file name.
4970 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4971 "s390-linux.xml" and "s390x-linux.xml".
4972 * NEWS: Announce new feature.
4974 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4976 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4978 2014-01-22 Pedro Alves <palves@redhat.com>
4980 * xtensa-config.c: Include defs.h.
4982 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4984 * common/common-utils.h: Add "ARI:" comment beside __func__
4987 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4989 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4990 documentation a bit.
4992 2014-01-21 Roland McGrath <mcgrathr@google.com>
4994 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4995 * configure: Regenerate.
4996 * aclocal.m4: Regenerate.
4997 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4998 New substituted variables.
4999 (install-strip): New target.
5000 (INSTALL_SCRIPT): New substituted variable.
5001 (FLAGS_TO_PASS): Add it.
5002 (install-only): Use $(INSTALL_SCRIPT) rather than
5003 $(INSTALL_PROGRAM) for gcore.
5005 2014-01-20 Tom Tromey <tromey@redhat.com>
5007 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5010 2014-01-20 Tom Tromey <tromey@redhat.com>
5012 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5013 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5014 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5015 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5016 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5017 (struct cmd_list_element) <flags>: Remove.
5018 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5019 doc_allocated>: New fields.
5020 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5022 * maint.c (maintenance_do_deprecate): Update.
5023 * top.c (execute_command): Update.
5025 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5027 * xtensa-linux-nat.c: Include asm/ptrace.h.
5029 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5031 * Makefile.in (SFILES): Add d-support.c.
5032 (COMMON_OBS): Add d-support.o.
5033 * d-lang.h (d_parse_symbol): Add comment, now defined in
5035 * d-lang.c (parse_call_convention)
5036 (parse_attributes, parse_function_types)
5037 (parse_function_args, parse_type, parse_identifier)
5038 (call_convention_p, d_parse_symbol): Move functions to ...
5039 * d-support.c: ... New file.
5041 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5043 * d-lang.h (d_parse_symbol): Add declaration.
5044 * d-lang.c (extract_identifiers)
5045 (extract_type_info): Remove functions.
5046 (parse_call_convention, parse_attributes)
5047 (parse_function_types, parse_function_args)
5048 (parse_type, parse_identifier, call_convention_p)
5049 (d_parse_symbol): New functions.
5050 (d_demangle): Use d_parse_symbol to demangle D symbols.
5052 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5054 * d-lang.h (struct builtin_d_type): New data type.
5055 (builtin_d_type): Add declaration.
5056 * d-lang.c (d_language_arch_info, build_d_types)
5057 (builtin_d_type): New functions.
5058 (enum d_primitive_types): New data type.
5059 (d_language_defn): Change c_language_arch_info to
5060 d_language_arch_info.
5061 (d_type_data): New static variable.
5062 (_initialize_d_language): Initialize d_type_data.
5064 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5066 * d-lang.h (d_main_name): Add declaration.
5067 * d-lang.c (d_main_name): New function.
5068 * symtab.c (find_main_name): Add call to d_main_name.
5070 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5072 * d-lang.c (d_language_defn): Change macro_expansion_c to
5075 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5077 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5079 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5081 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5082 gdb_exception" declaration.
5083 * remote.c (getpkt_or_notif_sane): Likewise.
5085 2014-01-17 Doug Evans <dje@google.com>
5087 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5088 function, contents of dirnames_to_char_ptr_vec_append moved here.
5089 (delim_string_to_char_ptr_vec): New function.
5090 (dirnames_to_char_ptr_vec_append): Rewrite.
5091 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5093 2014-01-17 Doug Evans <dje@google.com>
5095 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5097 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5098 #include "common-utils.h".
5099 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5100 * common/vec.h (VEC_ASSERT_PASS): Update.
5101 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5102 (MACH_CHECK_ERROR): Update.
5104 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5106 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5108 * gdbarch.h: Regenerate.
5110 2014-01-16 Tom Tromey <tromey@redhat.com>
5112 * value.c (struct value) <regnum>: Move earlier.
5114 2014-01-16 Tom Tromey <tromey@redhat.com>
5116 * remote.c (extended_remote_create_inferior): Rename from
5117 extended_remote_create_inferior_1. Add "ops" argument. Remove
5120 2014-01-16 Pedro Alves <palves@redhat.com>
5122 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5123 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5126 2014-01-16 Doug Evans <dje@google.com>
5128 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5132 * btrace.h (btrace_thread_flag): New.
5133 (struct btrace_thread_info) <flags>: New.
5134 * record-btrace.c (record_btrace_resume_thread)
5135 (record_btrace_find_thread_to_move, btrace_step_no_history)
5136 (btrace_step_stopped, record_btrace_start_replaying)
5137 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5138 (record_btrace_find_resume_thread): New.
5139 (record_btrace_resume, record_btrace_wait): Extend.
5140 (record_btrace_can_execute_reverse): New.
5141 (record_btrace_open): Fail in non-stop mode.
5142 (record_btrace_set_replay): Split into this, ...
5143 (record_btrace_stop_replaying): ... this, ...
5144 (record_btrace_clear_histories): ... and this.
5145 (init_record_btrace_ops): Init to_can_execute_reverse.
5146 * NEWS: Announce it.
5148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5150 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5151 (forward_target_decr_pc_after_break)
5152 (target_decr_pc_after_break): New.
5153 * target.c (forward_target_decr_pc_after_break)
5154 (target_decr_pc_after_break): New.
5155 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5156 instead of gdbarch_decr_pc_after_break.
5157 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5158 instead of gdbarch_decr_pc_after_break.
5159 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5160 instead of gdbarch_decr_pc_after_break.
5161 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5162 instead of gdbarch_decr_pc_after_break.
5163 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5164 instead of gdbarch_decr_pc_after_break.
5165 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5166 instead of gdbarch_decr_pc_after_break.
5168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5170 * btrace.c: Include regcache.h.
5171 (btrace_add_pc): New.
5172 (btrace_enable): Call btrace_add_pc.
5173 (btrace_is_empty): New.
5174 * btrace.h (btrace_is_empty): New.
5175 * record-btrace.c (require_btrace, record_btrace_info): Call
5178 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5180 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5181 Support delta reads.
5182 (linux_disable_btrace): Change return type.
5183 * common/linux-btrace.h (linux_read_btrace): Change parameters
5184 and return type to allow error reporting. Update users.
5185 (linux_disable_btrace): Change return type. Update users.
5186 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5188 (btrace_error): New.
5189 (btrace_block) <begin>: Comment on BEGIN == 0.
5190 * btrace.c (btrace_compute_ftrace): Start from the end of
5192 (btrace_stitch_trace, btrace_clear_history): New.
5193 (btrace_fetch): Read delta trace, return if replaying.
5194 (btrace_clear): Move clear history code to btrace_clear_history.
5195 (parse_xml_btrace): Throw an error if parsing failed.
5196 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5197 and return type to allow error reporting.
5198 (target_read_btrace): Change parameters and return type to allow
5200 * target.c (target_read_btrace): Update.
5201 * remote.c (remote_read_btrace): Support delta reads. Pass
5203 * NEWS: Announce it.
5205 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5207 * record.h (record_btrace_frame_unwind)
5208 (record_btrace_tailcall_frame_unwind): New declarations.
5209 * dwarf2-frame: Include record.h
5210 (dwarf2_frame_cfa): Throw an error for btrace frames.
5211 * record-btrace.c: Include hashtab.h.
5212 (btrace_get_bfun_name): New.
5213 (btrace_call_history): Call btrace_get_bfun_name.
5214 (struct btrace_frame_cache): New.
5216 (bfcache_hash, bfcache_eq, bfcache_new): New.
5217 (btrace_get_frame_function): New.
5218 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5219 (record_btrace_frame_this_id): Compute own id.
5220 (record_btrace_frame_prev_register): Provide PC, throw_error
5221 for all other registers.
5222 (record_btrace_frame_sniffer): Detect btrace frames.
5223 (record_btrace_tailcall_frame_sniffer): New.
5224 (record_btrace_frame_dealloc_cache): New.
5225 (record_btrace_frame_unwind): Add new functions.
5226 (record_btrace_tailcall_frame_unwind): New.
5227 (_initialize_record_btrace): Allocate cache.
5228 * btrace.c (btrace_clear): Call reinit_frame_cache.
5229 * NEWS: Announce it.
5231 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5233 * record-btrace.c (record_btrace_set_replay)
5234 (record_btrace_goto_begin, record_btrace_goto_end)
5235 (record_btrace_goto): New.
5236 (init_record_btrace_ops): Initialize them.
5237 * NEWS: Announce it.
5239 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5241 * record-btrace.c (record_btrace_find_new_threads)
5242 (record_btrace_thread_alive): New.
5243 (init_record_btrace_ops): Initialize to_find_new_threads and
5246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5248 * record-btrace.c (record_btrace_resume): New.
5249 (record_btrace_wait): New.
5250 (init_record_btrace_ops): Initialize to_wait and to_resume.
5252 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5254 * record-btrace.c (record_btrace_xfer_partial)
5255 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5256 (record_btrace_allow_memory_access): New.
5257 (init_record_btrace_ops): Initialize new methods.
5258 * target.c (raw_memory_xfer_partial): Bail out if target reports
5259 that this memory is not available.
5261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5263 * target.h (target_ops) <to_insert_breakpoint>
5264 <to_remove_breakpoint>: Add target_ops parameter.
5265 (forward_target_insert_breakpoint): New.
5266 (forward_target_remove_breakpoint): New.
5267 (memory_remove_breakpoint, memory_insert_breakpoint):
5268 Add target_ops parameter.
5269 * target.c (target_insert_breakpoint): Split into this and ...
5270 (forward_target_insert_breakpoint): ... this.
5271 (target_remove_breakpoint): Split into this and ...
5272 (forward_target_remove_breakpoint): ... this.
5273 (debug_to_insert_breakpoint): Add target_ops parameter.
5274 Call forward_target_insert_breakpoint.
5275 (debug_to_remove_breakpoint): Add target_ops parameter.
5276 Call forward_target_remove_breakpoint.
5277 (update_current_target): Do not inherit or default to_insert_breakpoint
5278 and to_remove_breakpoint.
5279 * corelow.c (ignore): Add target_ops parameter.
5280 * exec.c (ignore): Add target_ops parameter.
5281 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5282 Add target_ops parameter.
5283 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5284 Add target_ops parameter.
5285 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5286 Add target_ops parameter.
5287 * record-full.c (record_full_beneath_to_insert_breakpoint)
5288 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5289 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5290 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5291 (record_full_core_remove_breakpoint): Add target_ops parameter.
5293 (record_full_beneath_to_insert_breakpoint_ops)
5294 (record_full_beneath_to_remove_breakpoint_ops)
5295 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5296 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5297 tmp_to_remove_breakpoint_ops,
5298 record_full_beneath_to_insert_breakpoint_ops, and
5299 record_full_beneath_to_remove_breakpoint_ops.
5300 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5301 (m32r_remove_breakpoint): Add target_ops parameter.
5302 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5303 Add target_ops parameter.
5304 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5305 Add target_ops parameter.
5307 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5308 Markus Metzger <markus.t.metzger@intel.com>
5310 * record-btrace.c: Include frame-unwind.h.
5311 (record_btrace_frame_unwind_stop_reason)
5312 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5313 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5315 (init_record_btrace_ops): Install it.
5317 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5319 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5322 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5324 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5327 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5329 * frame-unwind.c: Include target.h.
5330 (frame_unwind_try_unwinder): New function with code from ...
5331 (frame_unwind_find_by_frame): ... here. New variable
5332 unwinder_from_target, call also target_get_unwinder)
5333 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5334 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5335 * target.h (struct target_ops): New fields to_get_unwinder and
5336 to_get_tailcall_unwinder.
5337 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5339 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5341 * record-btrace.c (record_btrace_fetch_registers)
5342 (record_btrace_store_registers)
5343 (record_btrace_to_prepare_to_store): New.
5344 (init_record_btrace_ops): Add the above.
5346 2014-01-16 Tom Tromey <tromey@redhat.com>
5348 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5349 * target.h (struct target_ops) <to_prepare_to_store>: Add
5351 (target_prepare_to_store): Add argument.
5352 * target.c (debug_to_prepare_to_store): Add argument.
5353 (update_current_target): Update.
5354 * remote.c (remote_prepare_to_store): Add 'self' argument.
5355 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5356 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5357 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5358 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5360 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5361 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5362 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5363 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5364 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5366 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5368 * btrace.h (replay) <replay>: New.
5369 (btrace_is_replaying): New.
5370 * btrace.c (btrace_clear): Free replay iterator.
5371 (btrace_is_replaying): New.
5372 * record-btrace.c (record_btrace_is_replaying): New.
5373 (record_btrace_info): Print insn number if replaying.
5374 (record_btrace_insn_history): Start at replay position.
5375 (record_btrace_call_history): Start at replay position.
5376 (init_record_btrace_ops): Init to_record_is_replaying.
5378 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5380 * record-btrace.c (record_btrace_insn_history_range): Include
5382 (record_btrace_insn_history_from): Adjust range.
5383 (record_btrace_call_history_range): Include
5385 (record_btrace_call_history_from): Adjust range.
5386 * NEWS: Announce changes.
5388 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5390 * record.h (enum record_print_flag)
5391 <record_print_indent_calls>: New.
5392 * record.c (get_call_history_modifiers): Recognize /c modifier.
5393 (_initialize_record): Document /c modifier.
5394 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5395 Reorder fields. Optionally indent the function name. Update
5397 * NEWS: Announce changes.
5399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5401 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5403 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5405 * btrace.c (ftrace_new_function): Start counting at one.
5406 * record-btrace.c (record_btrace_info): Adjust number of calls
5408 * NEWS: Announce it.
5410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5412 * record-btrace.c (btrace_call_history_insn_range): Print
5413 insn range as [begin, end].
5415 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5417 * btrace.h (struct btrace_func_link): New.
5418 (enum btrace_function_flag): New.
5419 (struct btrace_inst): Rename to ...
5420 (struct btrace_insn): ...this. Update all users.
5421 (struct btrace_func) <ibegin, iend>: Remove.
5422 (struct btrace_func_link): New.
5423 (struct btrace_func): Rename to ...
5424 (struct btrace_function): ...this. Update all users.
5425 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5426 (number, level, flags>: New.
5427 (struct btrace_insn_iterator): Rename to ...
5428 (struct btrace_insn_history): ...this.
5430 (struct btrace_insn_iterator, btrace_call_iterator): New.
5431 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5432 (struct btrace_target_info) <begin, end, level>
5433 <insn_history, call_history>: New.
5434 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5435 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5436 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5437 (btrace_call_number, btrace_call_begin, btrace_call_end)
5438 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5439 (btrace_find_function_by_number, btrace_set_insn_history)
5440 (btrace_set_call_history): New.
5441 * btrace.c (btrace_init_insn_iterator)
5442 (btrace_init_func_iterator, compute_itrace): Remove.
5443 (ftrace_print_function_name, ftrace_print_filename)
5444 (ftrace_skip_file): Change
5446 (ftrace_init_func): Remove.
5447 (ftrace_debug): Use new btrace_function fields.
5448 (ftrace_function_switched): Also consider gaining and
5449 losing symbol information).
5450 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5451 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5452 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5454 (ftrace_new_function): Move. Remove debug print.
5455 (ftrace_update_lines, ftrace_update_insns): New.
5456 (ftrace_update_function): Check for call, ret, and jump.
5457 (compute_ftrace): Renamed to ...
5458 (btrace_compute_ftrace): ...this. Rewritten to compute call
5460 (btrace_fetch, btrace_clear): Updated.
5461 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5462 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5463 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5464 (btrace_call_number, btrace_call_begin, btrace_call_end)
5465 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5466 (btrace_find_function_by_number, btrace_set_insn_history)
5467 (btrace_set_call_history): New.
5468 * record-btrace.c (require_btrace): Use new btrace thread
5470 (record_btrace_info, btrace_insn_history)
5471 (record_btrace_insn_history, record_btrace_insn_history_range):
5472 Use new btrace thread info fields and new iterator.
5473 (btrace_func_history_src_line): Rename to ...
5474 (btrace_call_history_src_line): ...this. Use new btrace
5476 (btrace_func_history): Rename to ...
5477 (btrace_call_history): ...this. Use new btrace thread info
5478 fields and new iterator.
5479 (record_btrace_call_history, record_btrace_call_history_range):
5480 Use new btrace thread info fields and new iterator.
5482 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5484 * frame.h (frame_id_build_unavailable_stack_special): New.
5485 * frame.c (frame_id_build_unavailable_stack_special): New.
5487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5489 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5490 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5491 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5493 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5494 (i386_insn_is_jump, i386_jmp_p): New.
5495 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5496 insn_is_jump to gdbarch.
5497 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5498 * gdbarch.h: Regenerated.
5499 * gdbarch.c: Regenerated.
5500 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5501 (default_insn_is_jump): New.
5502 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5503 (default_insn_is_jump): New.
5505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5507 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5509 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5510 (btrace_read_type) <btrace_read_new>: Change to ...
5511 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5513 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5515 * common/linux-btrace.c (linux_read_btrace): Free trace from
5518 2014-01-15 Doug Evans <dje@google.com>
5520 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5523 2014-01-15 Tom Tromey <tromey@redhat.com>
5525 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5526 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5527 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5528 (set_objfile_main_name): New function.
5529 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5530 language_of_main>: New fields.
5531 (set_objfile_main_name): Declare.
5532 * symtab.c (find_main_name): Loop over objfiles to find the main
5534 (set_main_name): Now static.
5535 (get_main_info): Add comment.
5536 * symtab.h (set_main_name): Don't declare.
5538 2014-01-15 Tom Tromey <tromey@redhat.com>
5540 * symtab.c (main_progspace_key): New global.
5541 (struct main_info): New.
5542 (name_of_main, language_of_main): Remove.
5543 (get_main_info, main_info_cleanup): New function.
5544 (set_main_name, main_name, main_language): Use get_main_info.
5545 (_initialize_symtab): Initialize main_progspace_key.
5547 2014-01-15 Tom Tromey <tromey@redhat.com>
5549 * dbxread.c (process_one_symbol): Update.
5550 * dwarf2read.c (read_partial_die): Update.
5551 * symfile.c (set_initial_language): Call main_language.
5552 * symtab.c (language_of_main): Now static.
5553 (set_main_name): Add 'lang' parameter.
5554 (find_main_name): Update.
5555 (main_language): New function.
5556 (symtab_observer_executable_changed): Update.
5557 * symtab.h (set_main_name): Update.
5558 (language_of_main): Remove.
5559 (main_language): Declare.
5561 2014-01-15 Tom Tromey <tromey@redhat.com>
5563 * symfile.c (init_entry_point_info): Use new "initialized" field.
5565 * objfiles.h (struct entry_point) <initialized>: New field.
5566 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5567 (struct objfile) <ei>: ...here. Remove.
5568 * objfiles.c (entry_point_address_query): Update.
5570 2014-01-15 Tom Tromey <tromey@redhat.com>
5572 * objfiles.c (entry_point_address_query): Relocate entry point
5574 (objfile_relocate1): Do not relocate entry point address.
5575 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5576 <the_bfd_section_index>: New field.
5577 * symfile.c (init_entry_point_info): Find the entry point's
5580 2014-01-15 Tom Tromey <tromey@redhat.com>
5582 * solib-frv.c (enable_break): Use entry_point_address_query.
5584 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5586 * NEWS: Add note on improved process record-replay on
5587 arm*-linux* targets.
5589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5591 * arm-tdep.c (enum arm_record_result): New enum.
5592 (arm_record_unsupported_insn): New function.
5593 (arm_record_coproc_data_proc): Removed.
5594 (thumb2_record_ld_st_multiple): New function.
5595 (thumb2_record_ld_st_dual_ex_tbb): New function.
5596 (thumb2_record_data_proc_sreg_mimm): New function.
5597 (thumb2_record_ps_dest_generic): New function.
5598 (thumb2_record_branch_misc_cntrl): New function.
5599 (thumb2_record_str_single_data): New function.
5600 (thumb2_record_ld_mem_hints): New function.
5601 (thumb2_record_ld_word): New function.
5602 (thumb2_record_lmul_lmla_div): New function.
5603 (thumb2_record_decode_insn_handler): New function.
5604 (decode_insn): Add thumb32 instruction handlers.
5606 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5608 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5609 (struct arm_linux_record_tdep): Declare.
5610 (arm_canonicalize_syscall): New function.
5611 (arm_all_but_pc_registers_record): New function.
5612 (arm_linux_syscall_record): New function.
5613 (arm_linux_init_abi): Add syscall recording constructs.
5614 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5615 decoding. (arm_record_coproc_data_proc): Update arm syscall
5617 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5618 <arm_syscall_record>: New field.
5619 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5622 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5624 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5625 register for push instruction recording.
5627 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5629 * arm-tdep.c (thumb_record_misc): Update to correct logical
5630 error while recording ldm, ldmia and pop instructions.
5632 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5634 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5636 2014-01-15 Pedro Alves <palves@redhat.com>
5638 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5639 (go32_resume, go32_fetch_registers, store_register)
5640 (go32_store_registers, go32_prepare_to_store)
5641 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5642 (go32_create_inferior, go32_can_run, go32_terminal_init)
5643 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5646 2014-01-15 Tom Tromey <tromey@redhat.com>
5648 * target.h (async_callback_ftype): New typedef.
5649 (struct target_ops) <to_async>: Use it.
5651 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5653 * python/py-value.c (get_field_type): Remove unnecessary curly
5654 braces for single-statement if block.
5656 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5658 * python/py-type.c (convert_field): Add missing empty line
5661 2014-01-14 Doug Evans <dje@google.com>
5663 * symfile.h (expand_symtabs_matching): Renamed from
5664 expand_partial_symbol_names. Update prototype.
5665 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5666 * symfile.c (expand_symtabs_matching): Renamed from
5667 expand_partial_symbol_names. New args file_matcher, kind.
5668 Rename arg fun to symbol_matcher.
5669 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5670 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5671 ada_expand_partial_symbol_name.
5672 (ada_make_symbol_completion_list): Update to call
5673 expand_symtabs_matching.
5674 (ada_add_global_exceptions): Call expand_symtabs_matching.
5675 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5676 call map_symbol_filenames.
5677 * symtab.c (sources_info): Update to call map_symbol_filenames.
5678 (search_symbols): Call expand_symtabs_matching.
5679 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5680 (default_make_symbol_completion_list_break_on): Update to call
5681 expand_symtabs_matching.
5682 (make_source_files_completion_list): Update to call
5683 map_symbol_filenames.
5685 2014-01-14 Doug Evans <dje@google.com>
5687 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5688 (expand_symtabs_symbol_matcher_ftype): New typedef.
5689 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5690 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5691 * symfile.c (expand_partial_symbol_names): Update to use
5692 expand_symtabs_symbol_matcher_ftype.
5693 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5694 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5695 Arg name_matcher renamed to symbol_matcher.
5696 * psymtab.c (recursively_search_psymtabs): Update to use
5697 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5699 (expand_symtabs_matching_via_partial): Update to use
5700 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5701 Arg name_matcher renamed to symbol_matcher.
5703 2014-01-14 Doug Evans <dje@google.com>
5705 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5706 (map_partial_symbol_filenames): Ditto.
5707 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5708 (map_partial_symbol_filenames): Ditto.
5709 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5710 (map_partial_symbol_filenames): Ditto.
5711 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5712 (map_partial_symbol_filenames): Ditto.
5713 * symtab.c: Delete #include "psymtab.h".
5715 2014-01-14 Pedro Alves <palves@redhat.com>
5716 Tom Tromey <tromey@redhat.com>
5718 * infrun.c (use_displaced_stepping): Use find_record_target
5719 instead of RECORD_IS_USED.
5720 (adjust_pc_after_break): Use record_full_is_used instead of
5722 * record-btrace.c (record_btrace_open): Call record_preopen
5723 instead of checking RECORD_IS_USED.
5724 * record-full.c (record_full_shortname)
5725 (record_full_core_shortname): New globals.
5726 (record_full_is_used): New function.
5727 (find_full_open): Call record_preopen instead of checking
5729 (init_record_full_ops): Set the target's shortname to
5730 record_full_shortname.
5731 (init_record_full_core_ops): Set the target's shortname to
5732 record_full_core_shortname.
5733 * record-full.h (record_full_is_used): Declare.
5734 * record.c (find_record_target): Make extern.
5735 (record_preopen): New function.
5736 * record.h (RECORD_IS_USED): Delete macro.
5737 (find_record_target, record_preopen): Declare functions.
5739 2014-01-14 Yao Qi <yao@codesourcery.com>
5741 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5742 'len''s type to ULONGEST.
5743 (core_xfer_shared_libraries_aix): Likewise.
5744 * gdbarch.c, gdbarch.h: Regenerated.
5745 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5746 Change type of 'len' to ULONGEST.
5747 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5748 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5750 2014-01-14 Yao Qi <yao@codesourcery.com>
5752 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5753 type of 'len' to ULONGEST.
5754 (linux_xfer_osdata_processgroups): Likewise.
5755 (linux_xfer_osdata_threads): Likewise.
5756 (linux_xfer_osdata_fds): Likewise.
5757 (linux_xfer_osdata_isockets): Likewise.
5758 (linux_xfer_osdata_shm): Likewise.
5759 (linux_xfer_osdata_sem): Likewise.
5760 (linux_xfer_osdata_msg): Likewise.
5761 (linux_common_xfer_osdata): Likewise.
5762 (struct osdata_type) <getter>: Likewise.
5763 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5766 2014-01-14 Yao Qi <yao@codesourcery.com>
5768 * target.h (target_xfer_partial_ftype): Update.
5769 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5771 * aix-thread.c (aix_thread_xfer_partial): Change type of
5772 argument 'len' to ULONGEST.
5773 * auxv.c (procfs_xfer_auxv): Likewise.
5774 (ld_so_xfer_auxv): Likewise.
5775 (memory_xfer_auxv): Likewise.
5776 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5777 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5778 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5779 * corelow.c (core_xfer_partial): Likewise.
5780 * ctf.c (ctf_xfer_partial): Likewise.
5781 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5783 (darwin_read_dyld_info): Likewise.
5784 (darwin_xfer_partial): Likewise.
5785 * exec.c (section_table_xfer_memory_partial): Likewise.
5786 (exec_xfer_partial): Likewise.
5787 * exec.h (section_table_xfer_memory_partial): Update
5789 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5790 instead of plongest.
5791 (gnu_xfer_partial): Likewise.
5792 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5793 (ia64_hpux_xfer_solib_got): Likewise.
5794 (ia64_hpux_xfer_partial): Likewise.
5795 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5796 * inf-ptrace.c (inf_ptrace_xfer_partial):
5797 * inf-ttrace.c (inf_ttrace_xfer_partial):
5798 * linux-nat.c (linux_xfer_siginfo): Likewise.
5799 (linux_nat_xfer_partial): Likewise.
5800 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5801 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5802 * monitor.c (monitor_xfer_memory): Likewise.
5803 (monitor_xfer_partial): Likewise.
5804 * procfs.c (procfs_xfer_partial): Likewise.
5805 * record-full.c (record_full_xfer_partial): Likewise.
5806 (record_full_core_xfer_partial): Likewise.
5807 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5808 instead of plongest.
5809 (gdbsim_xfer_partial): Likewise.
5810 * remote.c (remote_xfer_partial): Likewise.
5811 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5812 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5814 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5815 (rs6000_xfer_shared_libraries): Likewise.
5816 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5817 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5818 (sparc_xfer_partial): Likewise.
5819 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5820 (spu_xfer_partial): Likewise.
5821 * spu-multiarch.c (spu_xfer_partial): Likewise.
5822 * target.c (target_read_live_memory): Likewise.
5823 (memory_xfer_live_readonly_partial): Likewise.
5824 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5825 (target_xfer_partial, default_xfer_partial): Likewise.
5826 (current_xfer_partial): Likewise.
5827 * tracepoint.c (tfile_xfer_partial): Likewise.
5828 * windows-nat.c (windows_xfer_memory): Likewise. Call
5829 pulongest instead of plongest.
5830 (windows_xfer_partial): Likewise.
5831 (windows_xfer_shared_libraries): Likewise.
5833 2014-01-14 Yao Qi <yao@codesourcery.com>
5835 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5836 target_xfer_partial_ftype.
5838 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5842 * valops.c (value_struct_elt_bitpos): New function
5843 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5844 object to 'None' if the field name is an empty string ("").
5845 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5846 attribute to look for a field when 'name' is 'None'.
5847 (get_field_type): New function
5849 2014-01-13 Doug Evans <dje@google.com>
5852 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5853 (try_open_dwop_file): Ditto.
5854 * gdb_bfd.c: #include "vec.h".
5855 (bfdp): New typedef.
5856 (struct gdb_bfd_data): New member included_bfds.
5857 (gdb_bfd_unref): Unref all included bfds.
5858 (gdb_bfd_record_inclusion): New function.
5859 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5861 2014-01-13 Tom Tromey <tromey@redhat.com>
5863 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5865 2014-01-13 Tom Tromey <tromey@redhat.com>
5867 * defs.h (use_windows): Remove.
5868 * gdb.c (main): Update.
5869 * main.c (captured_main, gdb_main): Update.
5870 * main.h (struct captured_main_args) <use_windows>: Remove.
5871 * top.c (use_windows): Remove.
5873 2014-01-13 Tom Tromey <tromey@redhat.com>
5875 * defs.h (deprecated_flush_hook): Remove.
5877 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5880 * linux-thread-db.c (try_thread_db_load): Add parameter
5881 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5882 (try_thread_db_load_from_pdir_1): Move it there from here.
5883 (try_thread_db_load_from_sdir): Update caller.
5884 (try_thread_db_load_from_dir): Move it there from here.
5886 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5888 * regformats/regdat.sh: Always rewrite the register file.
5890 2014-01-13 Pedro Alves <palves@redhat.com>
5892 * Makefile.in (CHECK_HEADERS): New variable.
5893 (check-headers:): New rule.
5895 2014-01-13 Tom Tromey <tromey@redhat.com>
5897 * cli/cli-setshow.c (do_set_command): Update.
5898 * defs.h (deprecated_set_hook): Remove.
5899 * top.c (deprecated_set_hook): Remove.
5901 2014-01-13 Pedro Alves <palves@redhat.com>
5903 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5904 the tracepoint if the PC is a pseudo-register.
5906 2014-01-13 Tom Tromey <tromey@redhat.com>
5908 * defs.h (XCALLOC): Remove.
5909 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5910 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5911 * dwarf2loc.c (allocate_piece_closure): Likewise.
5912 * elfread.c (elf_symfile_segments): Likewise.
5913 (elf_symfile_segments): Likewise.
5914 * gdbtypes.c (copy_type_recursive): Likewise.
5915 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5916 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5917 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5919 * mt-tdep.c (mt_gdbarch_init): Likewise.
5920 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5922 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5923 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5924 * registry.c (registry_alloc_data): Likewise.
5925 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5926 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5927 * serial.c (serial_fdopen_ops): Likewise.
5928 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5930 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5931 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5934 2014-01-13 Tom Tromey <tromey@redhat.com>
5936 * defs.h (XMALLOC): Remove.
5937 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5938 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5939 * cli-out.c (struct ui_out *): Likewise.
5940 * cli/cli-dump.c (add_dump_command): Likewise.
5941 (add_dump_command): Likewise.
5942 * complaints.c (get_complaints): Likewise.
5943 (find_complaint): Likewise.
5944 * dwarf2-frame.c (execute_cfa_program): Likewise.
5945 * dwarf2read.c (abbrev_table_read_table): Likewise.
5946 * gdbarch.sh: Likewise.
5947 * gdbarch.c: Rebuild.
5948 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5949 * interps.c (interp_new): Likewise.
5950 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5951 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5952 * mi/mi-console.c (mi_console_file_new): Likewise.
5953 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5954 * mi/mi-out.c (mi_out_new): Likewise.
5955 * mi/mi-parse.c (mi_parse): Likewise.
5956 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5957 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5958 * observer.c (xalloc_observer_list_node): Likewise.
5959 * regcache.c (regcache_xmalloc_1): Likewise.
5960 * reggroups.c (reggroup_new): Likewise.
5961 (_initialize_reggroup): Likewise.
5962 * registry.c (register_data_with_cleanup): Likewise.
5963 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5964 * ser-base.c (serial_ttystate): Likewise.
5965 * ser-mingw.c (make_pipe_state): Likewise.
5966 * ser-pipe.c (pipe_open): Likewise.
5967 * serial.c (serial_open): Likewise.
5968 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5969 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5970 (tui_alloc_win_info): Likewise.
5971 (tui_add_content_elements): Likewise.
5972 * tui/tui-file.c (tui_file_new): Likewise.
5973 * tui/tui-out.c (tui_out_new): Likewise.
5974 * ui-file.c (mem_file_new): Likewise.
5975 * ui-out.c (push_level): Likewise.
5976 (make_cleanup_ui_out_end): Likewise.
5977 (append_header_to_list): Likewise.
5978 (ui_out_new): Likewise.
5979 * user-regs.c (user_reg_add_builtin): Likewise.
5981 2014-01-13 Tom Tromey <tromey@redhat.com>
5983 * defs.h (XZALLOC): Remove.
5984 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5985 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5986 (get_ada_tasks_inferior_data): Likewise.
5987 * auto-load.c (get_auto_load_pspace_data): Likewise.
5988 * auxv.c (get_auxv_inferior_data): Likewise.
5989 * bfd-target.c (target_bfd_reopen): Likewise.
5990 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5991 (deprecated_insert_raw_breakpoint): Likewise.
5992 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5993 * corelow.c (core_open): Likewise.
5994 * darwin-nat.c (darwin_check_new_threads): Likewise.
5995 (darwin_attach_pid): Likewise.
5996 * dummy-frame.c (dummy_frame_push): Likewise.
5997 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5998 * dwarf2loc.c (allocate_piece_closure): Likewise.
5999 * elfread.c (elf_symfile_segments): Likewise.
6000 * eval.c (ptrmath_type_p): Likewise.
6001 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6002 * gdbtypes.c (alloc_type_arch): Likewise.
6003 (alloc_type_instance): Likewise.
6004 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6005 * inf-child.c (inf_child_can_use_agent): Likewise.
6006 * inflow.c (get_inflow_inferior_data): Likewise.
6007 * infrun.c (save_infcall_suspend_state): Likewise.
6008 * jit.c (jit_reader_load): Likewise.
6009 (get_jit_objfile_data): Likewise.
6010 (get_jit_program_space_data): Likewise.
6011 (jit_object_open_impl): Likewise.
6012 (jit_symtab_open_impl): Likewise.
6013 (jit_block_open_impl): Likewise.
6014 (jit_frame_sniffer): Likewise.
6015 * linux-fork.c (add_fork): Likewise.
6016 * maint.c (make_command_stats_cleanup): Likewise.
6017 * objfiles.c (get_objfile_pspace_data): Likewise.
6018 * opencl-lang.c (struct lval_closure): Likewise.
6019 * osdata.c (osdata_start_osdata): Likewise.
6020 * progspace.c (new_address_space): Likewise.
6021 (add_program_space): Likewise.
6022 * remote-sim.c (get_sim_inferior_data): Likewise.
6023 * sh-tdep.c (sh_gdbarch_init): Likewise.
6024 * skip.c (Ignore): Likewise.
6025 (skip_delete_command): Likewise.
6026 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6027 (library_list_start_library): Likewise.
6028 (solib_aix_current_sos): Likewise.
6029 * solib-darwin.c (get_darwin_info): Likewise.
6030 (darwin_current_sos): Likewise.
6031 * solib-dsbt.c (get_dsbt_info): Likewise.
6032 * solib-ia64-hpux.c (new_so_list): Likewise.
6033 (ia64_hpux_get_solib_linkage_addr): Likewise.
6034 * solib-spu.c (append_ocl_sos): Likewise.
6035 (spu_current_sos): Likewise.
6036 * solib-svr4.c (get_svr4_info): Likewise.
6037 (svr4_keep_data_in_core): Likewise.
6038 (library_list_start_library): Likewise.
6039 (svr4_default_sos): Likewise.
6040 (svr4_read_so_list): Likewise.
6041 * solib-target.c (library_list_start_library): Likewise.
6042 (solib_target_current_sos): Likewise.
6043 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6044 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6045 * symfile.c (default_symfile_segments): Likewise.
6046 * target-descriptions.c (tdesc_data_init): Likewise.
6047 (tdesc_create_reg): Likewise.
6048 (struct tdesc_type *): Likewise.
6049 (tdesc_create_vector): Likewise.
6050 (tdesc_set_struct_size): Likewise.
6051 (struct tdesc_type *): Likewise.
6052 (tdesc_free_feature): Likewise.
6053 (tdesc_create_feature): Likewise.
6054 * windows-nat.c (windows_add_thread): Likewise.
6055 (windows_make_so): Likewise.
6056 * xml-support.c (gdb_xml_body_text): Likewise.
6057 (gdb_xml_create_parser_and_cleanup): Likewise.
6058 (xml_process_xincludes): Likewise.
6059 * xml-syscall.c (allocate_syscalls_info): Likewise.
6060 (syscall_create_syscall_desc): Likewise.
6062 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6064 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6065 function, with code from i386_stap_parse_special_token.
6066 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6067 (i386_stap_parse_special_token): Move code to the two functions
6070 2014-01-09 Pedro Alves <palves@redhat.com>
6071 Hui Zhu <hui@codesourcery.com>
6074 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6075 bp_err_string. Don't mark the location shlib_disabled if the
6076 error thrown wasn't a generic or memory error. Catch errors
6077 thrown while inserting breakpoints in overlayed code. Output
6078 error message of software breakpoints.
6079 * remote.c (remote_insert_breakpoint): If this breakpoint has
6080 target-side commands but this stub doesn't support Z0 packets,
6081 throw NOT_SUPPORTED_ERROR error.
6082 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6083 * target.h (target_insert_breakpoint): Extend comment.
6084 (target_insert_hw_breakpoint): Add comment.
6086 2014-01-08 Pedro Alves <palves@redhat.com>
6088 * remote.c (remote_add_thread): Add threads silently if starting
6090 (remote_notice_new_inferior): If in all-stop, and starting up,
6091 don't call notice_new_inferior.
6092 (get_current_thread): New function, factored out from ...
6093 (add_current_inferior_and_thread): ... this. Adjust.
6094 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6095 found any thread, then select the remote's current thread as GDB's
6098 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6100 * NEWS: Create a new section for the next release branch.
6101 Rename the section of the current branch, now that it has
6104 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6106 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6107 * version.in: Bump version to 7.7.50.DATE-cvs.
6109 2014-01-08 Yao Qi <yao@codesourcery.com>
6111 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6112 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6113 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6115 2014-01-08 Yao Qi <yao@codesourcery.com>
6117 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6118 return value of bfd_get_filename to symbol_file_add_from_bfd.
6120 2014-01-08 Pierre Muller <muller@sourceware.org>
6123 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6124 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6125 to prim_record_mininal_symbol_and_info.
6126 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6127 in call to prim_record_minimal_symbol_and_info.
6128 (read_pe_exported_syms): Set index field of section_data.
6130 2014-01-07 Andrew Pinski <apinski@cavium.com>
6132 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6133 * features/aarch64.c: Regenerate.
6135 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6137 * target.c (return_null): Define.
6138 (update_current_target): Use it instead of return_zero for
6139 functions that return a pointer.
6141 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6143 * source.c (add_path): Fix check for duplicated paths in the previously
6146 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6148 * ada-lang.c: Remove duplicated include statements.
6149 * alphabsd-nat.c: Ditto.
6150 * amd64-darwin-tdep.c: Ditto.
6151 * amd64fbsd-nat.c: Ditto.
6152 * auto-load.c: Ditto.
6154 * breakpoint.c: Ditto.
6156 * fork-child.c: Ditto.
6157 * gdb_usleep.c: Ditto.
6158 * i386-darwin-tdep.c: Ditto.
6159 * i386fbsd-nat.c: Ditto.
6161 * inferior.c: Ditto.
6163 * linux-nat.c: Ditto.
6164 * linux-tdep.c: Ditto.
6165 * m68kbsd-nat.c: Ditto.
6166 * m68klinux-nat.c: Ditto.
6167 * microblaze-tdep.c: Ditto.
6168 * mips-linux-tdep.c: Ditto.
6169 * mn10300-tdep.c: Ditto.
6170 * nto-tdep.c: Ditto.
6171 * opencl-lang.c: Ditto.
6173 * printcmd.c: Ditto.
6174 * regcache.c: Ditto.
6175 * remote-m32r-sdi.c: Ditto.
6179 * tilegx-linux-nat.c: Ditto.
6180 * tilegx-tdep.c: Ditto.
6181 * tracepoint.c: Ditto.
6183 * vaxbsd-nat.c: Ditto.
6184 * windows-nat.c: Ditto.
6185 * xtensa-tdep.c: Ditto.
6187 2014-01-07 Yao Qi <yao@codesourcery.com>
6189 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6191 2014-01-07 Yao Qi <yao@codesourcery.com>
6192 Joel Brobecker <brobecker@adacore.com>
6194 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6195 (pdc_write_regs): Likewise.
6196 (fetch_regs_kernel_thread): Likewise.
6197 (store_regs_kernel_thread): Likewise.
6199 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6201 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6202 tagged type objects to their actual type.
6204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6206 * ada-valprint.c (print_field_values): Add "language" parameter.
6207 Update calls to print_field_values and print_variant_part.
6208 Pass new parameter "language" in call to val_print instead
6209 of "current_language". Replace call to ada_val_print by call
6211 (print_variant_part): Add "language" parameter.
6212 (ada_val_print_struct_union): Update call to print_field_values.
6214 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6216 * ada-valprint.c (ui_memcpy): Delete.
6217 (ada_print_floating): Update documentation. Add empty line
6218 between between function documentation and implementation.
6219 Delete variable "buffer". Use ui_file_xstrdup in place of
6220 ui_file_put. Minor adjustments following this change.
6222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6224 * ada-valprint.c (ada_val_print_string): New function,
6225 extracted from ada_val_print_array.
6226 (ada_val_print_array): Replace extracted code by call
6227 to ada_val_print_string followed by a return. Move
6228 "else" branch to the function's top block.
6230 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6232 * ada-valprint.c (ada_val_print_array): Move implementation
6233 down. Rename parameter "offset" and "val" into "offset_aligned"
6234 and "original_value" respectively. Add parameter "offset".
6236 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6238 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6239 re-organizing the code. Change the "???" message printed
6240 when target type is a TYPE_CODE_UNDEF into
6241 "<ref to undefined type>".
6243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6245 * ada-valprint.c (print_record): Delete, implementation inlined...
6246 (ada_val_print_struct_union): ... here. Remove call to
6247 ada_check_typedef in inlined implementation.
6249 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6251 * ada-valprint.c (ada_val_print_gnat_array): New function,
6252 extracted from ada_val_print_1;
6253 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6254 (ada_val_print_flt, ada_val_print_struct_union)
6255 (ada_val_print_ref): Likewise.
6256 (ada_val_print_1): Delete variables i and elttype.
6257 Replace extracted-out code by call to corresponding
6260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6262 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6264 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6266 * ada-valprint.c (ada_val_print_1): Replace calls to
6267 ada_val_print_1 by calls to val_print.
6269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6271 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6272 Update calls to self accordingly. Replace calls to c_val_print
6273 by calls to val_print.
6275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6277 * ada-valprint.c (print_record): Delete declaration.
6278 (adjust_type_signedness, ada_val_print_1): Likewise.
6279 (ada_val_print): Move function implementation down.
6280 (print_variant_part, print_field_values, print_record):
6281 Move function implementation up.
6283 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6285 * python/py-type.c (typy_get_name): New function.
6286 (type_object_getset): Add entry for attribute "name".
6287 * NEWS: Add entry mentioning this new attribute.
6289 2014-01-07 Yao Qi <yao@codesourcery.com>
6291 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6294 2014-01-07 Yao Qi <yao@codesourcery.com>
6296 * gnu-nat.c (info_port_rights): Add qualifier const to
6299 2014-01-07 Yao Qi <yao@codesourcery.com>
6301 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6303 2014-01-07 Yao Qi <yao@codesourcery.com>
6305 * gnu-nat.c (make_inf) Update declaration.
6306 (make_inf): Make it static.
6307 (inf_set_traced): Likewise.
6308 (inf_port_to_thread, inf_task_died_status): Likewise.
6310 2014-01-07 Yao Qi <yao@codesourcery.com>
6312 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6314 2014-01-07 Yao Qi <yao@codesourcery.com>
6316 * gnu-nat.c (_initialize_gnu_nat): Declare.
6318 2014-01-07 Yao Qi <yao@codesourcery.com>
6320 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6322 (struct gdbarch_info) <byte_order>: Change type to
6324 <byte_order_for_code>: Likewise.
6325 * gdbarch.c, gdbarch.h: Regenerated.
6327 2014-01-06 Sasha Smundak <asmundak@google.com>
6329 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6331 2014-01-06 Tom Tromey <tromey@redhat.com>
6333 * doublest.c (convert_doublest_to_floatformat): Use const, not
6335 * somread.c (som_symtab_read): Likewise.
6337 2014-01-07 Hui Zhu <hui@codesourcery.com>
6339 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6340 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6341 (gdb_bfd_fopen): Ditto.
6342 (gdb_bfd_openr): Ditto.
6343 (gdb_bfd_openw): Ditto.
6344 (gdb_bfd_openr_iovec): Ditto.
6345 (gdb_bfd_fdopenr): Ditto.
6346 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6347 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6349 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6351 * symfile-mem.c (symbol_file_add_from_memory): Removed
6352 gdb_bfd_stash_filename.
6354 2014-01-03 Doug Evans <dje@google.com>
6356 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6359 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6361 Update year range in copyright notice of all files.
6363 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6365 * top.c (print_gdb_version): Set copyright year to 2014.
6367 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6369 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6371 For older changes see ChangeLog-2013.
6377 version-control: never