X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e5953863fad0c807701f8324c18dd98acb22f23e;hb=0fec99e8be72b091618862eafc14e2741f0ff0d5;hp=201a8c57288a151b0f38c7c961250295c82cd289;hpb=eb0b04635f2f57506ab4365b32a6fc0b62920d2f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 201a8c5728..e5953863fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,1018 @@ +2014-10-01 Pedro Alves + + * breakpoint.c (insert_bp_location): Error out if inserting a + software breakpoint at a read-only address. + * target.c (memory_xfer_check_region): New function, factored out + from ... + (memory_xfer_partial_1): ... this. Make the 'reg_len' local a + ULONGEST. + (target_xfer_partial) : Check the access + against the memory region attributes. + +2014-10-01 Simon Marchi + + * NEWS: Announce new exit-code field in -list-thread-groups + output. + * inferior.c (exit_inferior_1): Don't clear exit code. + (inferior_appeared): Clear exit code. + * mi/mi-main.c (print_one_inferior): Add printing of the exit + code. + +2014-10-01 Pedro Alves + + * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS + GENERATED" along with emacs/vi read-only markers. + * regformats/aarch64.dat: Regenerate. + * regformats/arm-with-iwmmxt.dat: Regenerate. + * regformats/arm-with-neon.dat: Regenerate. + * regformats/arm-with-vfpv2.dat: Regenerate. + * regformats/arm-with-vfpv3.dat: Regenerate. + * regformats/i386/amd64-avx-linux.dat: Regenerate. + * regformats/i386/amd64-avx.dat: Regenerate. + * regformats/i386/amd64-avx512-linux.dat: Regenerate. + * regformats/i386/amd64-avx512.dat: Regenerate. + * regformats/i386/amd64-linux.dat: Regenerate. + * regformats/i386/amd64-mpx-linux.dat: Regenerate. + * regformats/i386/amd64-mpx.dat: Regenerate. + * regformats/i386/amd64.dat: Regenerate. + * regformats/i386/i386-avx-linux.dat: Regenerate. + * regformats/i386/i386-avx.dat: Regenerate. + * regformats/i386/i386-avx512-linux.dat: Regenerate. + * regformats/i386/i386-avx512.dat: Regenerate. + * regformats/i386/i386-linux.dat: Regenerate. + * regformats/i386/i386-mmx-linux.dat: Regenerate. + * regformats/i386/i386-mmx.dat: Regenerate. + * regformats/i386/i386-mpx-linux.dat: Regenerate. + * regformats/i386/i386-mpx.dat: Regenerate. + * regformats/i386/i386.dat: Regenerate. + * regformats/i386/x32-avx-linux.dat: Regenerate. + * regformats/i386/x32-avx.dat: Regenerate. + * regformats/i386/x32-avx512-linux.dat: Regenerate. + * regformats/i386/x32-avx512.dat: Regenerate. + * regformats/i386/x32-linux.dat: Regenerate. + * regformats/i386/x32.dat: Regenerate. + * regformats/microblaze-with-stack-protect.dat: Regenerate. + * regformats/mips-dsp-linux.dat: Regenerate. + * regformats/mips-linux.dat: Regenerate. + * regformats/mips64-dsp-linux.dat: Regenerate. + * regformats/mips64-linux.dat: Regenerate. + * regformats/nios2-linux.dat: Regenerate. + * regformats/rs6000/powerpc-32.dat: Regenerate. + * regformats/rs6000/powerpc-32l.dat: Regenerate. + * regformats/rs6000/powerpc-64l.dat: Regenerate. + * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. + * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. + * regformats/rs6000/powerpc-cell32l.dat: Regenerate. + * regformats/rs6000/powerpc-cell64l.dat: Regenerate. + * regformats/rs6000/powerpc-e500l.dat: Regenerate. + * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. + * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. + * regformats/s390-linux32.dat: Regenerate. + * regformats/s390-linux32v1.dat: Regenerate. + * regformats/s390-linux32v2.dat: Regenerate. + * regformats/s390-linux64.dat: Regenerate. + * regformats/s390-linux64v1.dat: Regenerate. + * regformats/s390-linux64v2.dat: Regenerate. + * regformats/s390-te-linux64.dat: Regenerate. + * regformats/s390x-linux64.dat: Regenerate. + * regformats/s390x-linux64v1.dat: Regenerate. + * regformats/s390x-linux64v2.dat: Regenerate. + * regformats/s390x-te-linux64.dat: Regenerate. + * regformats/tic6x-c62x-linux.dat: Regenerate. + * regformats/tic6x-c62x.dat: Regenerate. + * regformats/tic6x-c64x-linux.dat: Regenerate. + * regformats/tic6x-c64x.dat: Regenerate. + * regformats/tic6x-c64xp-linux.dat: Regenerate. + * regformats/tic6x-c64xp.dat: Regenerate. + +2014-10-01 Pedro Alves + + * features/Makefile: Update comments. + (XMLTOC): List all xml files we build C files from. + (clean-cfiles): New rule. + +2014-10-01 Pedro Alves + + * features/i386/amd64-avx512-linux.c: Regenerate. + * features/i386/amd64-avx512.c: Regenerate. + * features/i386/x32-avx512-linux.c: Regenerate. + * features/i386/x32-avx512.c: Regenerate. + +2014-10-01 Pedro Alves + + * features/Makefile (WHICH): Remove arm-with-m, + arm-with-m-fpa-layout and arm-with-m-vfp-d16. + +2014-10-01 Pedro Alves + + * features/Makefile (clean): New rule. + +2014-10-01 Pedro Alves + + * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) + (zmm14h): Add missing end quotes. + +2014-10-01 Pedro Alves + + * features/aarch64-core.xml (cpsr): Change back to 32-bit. + * features/aarch64.c: Regenerate. + +2014-09-30 Don Breazeal + + * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent + code so as to work with follow_fork_inferior. + * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. + (inf_ttrace_create_inferior): Remove reference to + inf_ttrace_vfork_ppid. + (inf_ttrace_attach): Ditto. + (inf_ttrace_detach): Ditto. + (inf_ttrace_kill): Use current_inferior instead of + inf_ttrace_vfork_ppid. + (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report + TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the + inferior away from the parent. + * infrun.c (follow_fork): Call follow_fork_inferior instead of + target_follow_fork. + (follow_fork_inferior): New function. + (follow_inferior_reset_breakpoints): Make function static. + * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. + * linux-nat.c (linux_child_follow_fork): Move target-independent + code to infrun.c:follow_fork_inferior. + +2014-09-30 Andreas Arnez + + * gdbarch.sh (regset_from_core_section): Remove gdbarch method. + * gdbarch.c: Regenerate. + * gdbarch.h: Likewise. + * corelow.c (sniff_core_bfd): Drop presence check for deleted + gdbarch method 'regset_from_core_section'. + (get_core_register_section): Remove handling for the case that + regset == NULL and regset_from_core_section is defined. + (get_core_registers): Drop check for deleted method. + * procfs.c (procfs_do_thread_registers): Adjust comment. + +2014-09-30 Andreas Arnez + + * linux-nat.c (linux_nat_collect_thread_registers): Remove. + (linux_nat_make_corefile_notes): Remove. + (linux_target_install_ops): Do not set target method + 'make_corefile_notes'. + * linux-tdep.c (struct linux_corefile_thread_data): + Remove field. + (linux_corefile_thread_callback): Instead of args->collect, call + linux_collect_thread_registers. + (linux_make_corefile_notes): Remove 'collect' parameter. Return + NULL unless there is a regset iterator. + (linux_make_corefile_notes_1): Remove. + (linux_init_abi): Replace reference to linux_make_corefile_notes_1 + by linux_make_corefile_notes. + * linux-tdep.h (linux_make_corefile_notes): Remove prototype. + +2014-09-30 Andreas Arnez + + * fbsd-nat.c (find_signalled_thread, find_stop_signal) + (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): + Remove. + * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. + +2014-09-30 Andreas Arnez + + * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. + (xtensa_iterate_over_regset_sections): New. + (xtensa_gdbarch_init): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * vax-tdep.c (vax_regset_from_core_section): Remove. + (vax_iterate_over_regset_sections): New. + (vax_gdbarch_init): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. + (tilegx_regset_from_core_section): Remove. + (tilegx_iterate_over_regset_sections): New. + (tilegx_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * sparc-tdep.c (sparc_regset_from_core_section): Remove. + (sparc_iterate_over_regset_sections): New. + (sparc32_gdbarch_init): Adjust gdbarch initialization. + * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD + targets. + * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. + (sparc64fbsd_init_abi): Call fbsd_init_abi. + * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set + target method 'make_corefile_notes'. + +2014-09-30 Andreas Arnez + + * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields + 'sizeof_gregset' and 'sizeof_fpregset'. + * sh-tdep.c (sh_regset_from_core_section): Remove. + (sh_iterate_over_regset_sections): New. + (sh_gdbarch_init): Adjust gdbarch initialization. + * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and + sizeof_fpregset. + * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field + 'sizeof_gregset'. + +2014-09-30 Andreas Arnez + + * score-tdep.c (score7_linux_regset_from_core_section): Remove. + (score7_linux_iterate_over_regset_sections): New. + (score_gdbarch_init): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC + FreeBSD targets. + * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target + method 'make_corefile_notes'. + * ppcfbsd-tdep.c (fbsd-tdep.h): Include. + (ppcfbsd_regset_from_core_section): Remove. + (ppcfbsd_iterate_over_regset_sections): New. + (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch + initialization. + * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. + (ppcnbsd_iterate_over_regset_sections): New. + (ppcnbsd_init_abi): Adjust. + * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. + (ppcobsd_iterate_over_regset_sections): New. + (ppcobsd_init_abi): Adjust. + * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. + (rs6000_aix_iterate_over_regset_sections): New. + (rs6000_aix_init_osabi): Adjust. + +2014-09-30 Andreas Arnez + + * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. + (nios2_regset_from_core_section): Remove. + (nios2_iterate_over_regset_sections): New. + (nios2_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. + (am33_iterate_over_regset_sections): New. + (am33_linux_init_osabi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. + (mips_linux_iterate_over_regset_sections): New. + (mips_linux_init_abi): Adjust gdbarch initialization. + * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. + (mips64obsd_iterate_over_regset_sections): New. + (mips64obsd_init_abi): Adjust. + * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. + (mipsnbsd_iterate_over_regset_sections): New. + (mipsnbsd_init_abi): Adjust. + +2014-09-30 Andreas Arnez + + * m88k-tdep.c (m88k_regset_from_core_section): Remove. + (m88k_iterate_over_regset_sections): New. + (m88k_gdbarch_init): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. + (ia64_linux_iterate_over_regset_sections): New. + (ia64_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. + (m68kbsd_iterate_over_regset_sections): New. + (m68kbsd_init_abi): Adjust gdbarch initialization. + * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. + (m68k_linux_iterate_over_regset_sections): New. + (m68k_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. + (m32r_linux_regset_from_core_section): Remove. + (m32r_linux_iterate_over_regset_sections): New. + (m32r_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. + (amd64obsd_iterate_over_regset_sections): New. + (amd64obsd_core_init_abi): Adjust gdbarch initialization. + * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): + Remove. + (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop + regset_from_core_section initialization. + * i386-tdep.c (i386_regset_from_core_section): Remove. + (i386_iterate_over_regset_sections): New. + (i386_gdbarch_init): Adjust gdbarch initialization. + * i386-tdep.h (i386_regset_from_core_section): Remove prototype. + (i386_iterate_over_regset_sections): New prototype. + * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): + Remove. + (i386obsd_aout_iterate_over_regset_sections): New. + (i386obsd_aout_init_abi): Adjust gdbarch initialization. + * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD + targets. + * amd64fbsd-tdep.c (fbsd-tdep.h): Include. + (amd64fbsd_init_abi): Call fbsd_init_abi. + * i386fbsd-tdep.c (fbsd-tdep.h): Include. + (i386fbsd4_init_abi): Call fbsd_init_abi. + * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set + target method 'make_corefile_notes'. + * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. + +2014-09-30 Andreas Arnez + + * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. + (hppa_hpux_iterate_over_regset_sections): New. + (hppa_hpux_init_abi): Adjust gdbarch initialization. + * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. + (hppa_linux_iterate_over_regset_sections): New. + (hppa_linux_init_abi): Adjust. + * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. + (hppanbsd_iterate_over_regset_sections): New. + (hppanbsd_init_abi): Adjust. + * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. + (hppaobsd_iterate_over_regset_sections): New. + (hppaobsd_init_abi): Adjust. + +2014-09-30 Andreas Arnez + + * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. + (frv_linux_iterate_over_regset_sections): New. + (frv_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. + (armbsd_iterate_over_regset_sections): New prototype. + * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. + (armbsd_iterate_over_regset_sections): New. + * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch + initialization. + +2014-09-30 Andreas Arnez + + * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. + (alpha_linux_iterate_over_regset_sections): New. + (alpha_linux_init_abi): Adjust gdbarch initialization. + * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove + prototype. + (alphanbsd_iterate_over_regset_sections): New prototype. + +2014-09-30 Andreas Arnez + + * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): + Remove. + (aarch64_linux_iterate_over_regset_sections): New. + (aarch64_linux_init_abi): Adjust gdbarch initialization. + +2014-09-30 Andreas Arnez + + * fbsd-tdep.c: New file. + * fbsd-tdep.h: New file. + * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. + (HFILES_NO_SRCDIR): Add fbsd-tdep.h. + (ALLDEPFILES): Add fbsd-tdep.c. + +2014-09-30 Andreas Arnez + + * gdbarch.sh (iterate_over_regset_sections_cb): Add regset + parameter. + * gdbarch.h: Regenerate. + * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset + iterator. + (get_core_register_section): Add parameter 'regset' and use it, if + set. Add parameter 'min_size' and verify the bfd section size + against it. + (get_core_registers_cb): Add parameter 'regset' and pass it to + get_core_register section. For the "standard" register sections + ".reg" and ".reg2", set an appropriate default for human_name. + (get_core_registers): Don't abort when the gdbarch has an iterator + but no regset_from_core_section. Add NULL/0 for parameters + 'regset'/'min_size' in calls to get_core_register_section. + * linux-tdep.c (linux_collect_regset_section_cb): Add parameter + 'regset' and use it instead of calling the + regset_from_core_section gdbarch method. + * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. + * i386-tdep.c (i386_supply_xstateregset) + (i386_collect_xstateregset, i386_xstateregset): Moved to + i386-linux-tdep.c. + (i386_regset_from_core_section): Drop handling for .reg-xfp and + .reg-xstate. + (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic + core file support only if the regset iterator hasn't been set. + * i386-linux-tdep.c (i386_linux_supply_xstateregset) + (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. + Moved from i386-tdep.c and renamed to *_linux*. + (i386_linux_iterate_over_regset_sections): Add regset parameter to + each callback invocation. Allow any .reg-xstate size when reading + from a core file. + * amd64-tdep.c (amd64_supply_xstateregset) + (amd64_collect_xstateregset, amd64_xstateregset): Moved to + amd64-linux-tdep.c. + (amd64_regset_from_core_section): Remove. + (amd64_init_abi): Set new tdep field 'fpregset'. No longer + install an amd64-specific regset_from_core_section gdbarch method. + * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) + (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. + Moved from amd64-tdep.c and renamed to *_linux*. + (amd64_linux_iterate_over_regset_sections): Add regset parameter + to each callback invocation. Allow any .reg-xstate size when + reading from a core file. + * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. + (arm_linux_iterate_over_regset_sections): Add regset parameter to + each callback invocation. + (arm_linux_init_abi): No longer set the regset_from_core_section + gdbarch method. + * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. + (ppc_linux_iterate_over_regset_sections): Add regset parameter to + each callback invocation. + (ppc_linux_init_abi): No longer set the regset_from_core_section + gdbarch method. + * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields + gregset, sizeof_gregset, fpregset, and sizeof_fpregset. + (s390_regset_from_core_section): Remove. + (s390_iterate_over_regset_sections): Add regset parameter to each + callback invocation. + (s390_gdbarch_init): No longer set the regset_from_core_section + gdbarch method. Drop initialization of deleted tdep fields. + +2014-09-30 Andreas Arnez + + * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. + (amd64_linux_iterate_over_regset_sections): New. + (amd64_linux_init_abi_common): Don't install the regset section + list, but the new iterator in gdbarch. + * arm-linux-tdep.c (arm_linux_fpa_regset_sections) + (arm_linux_vfp_regset_sections): Remove. Move combined logic... + (arm_linux_iterate_over_regset_sections): ...here. New function. + (arm_linux_init_abi): Set iterator instead of section list. + * corelow.c (get_core_registers_cb): New function, logic moved + from... + (get_core_registers): ...loop body here. Use new iterator method + instead of walking through the regset section list. + * gdbarch.sh: Remove 'core_regset_sections'. New method + 'iterate_over_regset_sections'. New typedef + 'iterate_over_regset_sections_cb'. + * gdbarch.c: Regenerate. + * gdbarch.h: Likewise. + * i386-linux-tdep.c (i386_linux_regset_sections) + (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): + Remove. + (i386_linux_iterate_over_regset_sections): New. + (i386_linux_init_abi): Don't choose a regset section list, but + install new iterator in gdbarch. + * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. + (linux_collect_regset_section_cb): New function, logic moved + from... + (linux_collect_thread_registers): ...loop body here. Use iterator + method instead of walking through list. + (linux_make_corefile_notes_1): Check for presence of iterator + method instead of regset section list. + * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) + (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) + (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) + (ppc64_linux_fp_regset_sections): Remove. Move combined logic... + (ppc_linux_iterate_over_regset_sections): ...here. New function. + (ppc_linux_init_abi): Don't choose from above regset section + lists, but install new iterator in gdbarch. + * regset.h (struct core_regset_section): Remove. + * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields + have_linux_v1, have_linux_v2, and have_tdb. + (s390_linux32_regset_sections, s390_linux32v1_regset_sections) + (s390_linux32v2_regset_sections, s390_linux64_regset_sections) + (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) + (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) + (s390x_linux64v2_regset_sections): Remove. Move combined logic... + (s390_iterate_over_regset_sections): ...here. New function. Use + new tdep fields. + (s390_gdbarch_init): Set new tdep fields. Don't choose from above + regset section lists, but install new iterator. + +2014-09-29 Jan Kratochvil + + * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". + +2014-09-26 Simon Marchi + + * progspace.c (print_program_space): Don't prune program spaces + before printing them. + +2014-09-25 Pedro Alves + + * infrun.c (user_visible_resume_ptid): Don't check + singlestep_breakpoints_inserted_p. + +2014-09-25 Pedro Alves + + * breakpoint.c (should_be_inserted): Add debug output. + +2014-09-25 Pedro Alves + + * infrun.c (stepping_past_instruction_at) + (clear_exit_convenience_vars): Point at infrun.h instead of + inferior.h. + (handle_signal_stop): Fix typo. + +2014-09-24 Yao Qi + + * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the + bitmask. + +2014-09-22 Gary Benson + + * target.c (target_stop): Updated comment. + +2014-09-22 Gary Benson + + * target/target.h (target_stop_ptid): Renamed as... + (target_stop_and_wait): New function. Updated comment. + All uses updated. + (target_continue_ptid): Renamed as... + (target_continue_no_signal): New function. Updated comment. + All uses updated. + +2014-09-22 Pedro Alves + + * NEWS: Mention merge of "breakpoint always-inserted" modes "off" + and "auto" merged. + * breakpoint.c (enum ugll_insert_mode): New enum. + (always_inserted_mode): Now a plain boolean. + (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. + (breakpoints_always_inserted_mode): Delete. + (breakpoints_should_be_inserted_now): New function. + (insert_breakpoints): Pass UGLL_INSERT to + update_global_location_list instead of calling + insert_breakpoint_locations manually. + (create_solib_event_breakpoint_1): New, factored out from ... + (create_solib_event_breakpoint): ... this. + (create_and_insert_solib_event_breakpoint): Use + create_solib_event_breakpoint_1 instead of calling + insert_breakpoint_locations manually. + (update_global_location_list): Change parameter type from boolean + to enum ugll_insert_mode. All callers adjusted. Adjust to use + breakpoints_should_be_inserted_now and handle UGLL_INSERT. + (update_global_location_list_nothrow): Change parameter type from + boolean to enum ugll_insert_mode. + (_initialize_breakpoint): "breakpoint always-inserted" option is + now a boolean command. Update help text. + * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. + (breakpoints_should_be_inserted_now): New declaration. + * infrun.c (handle_inferior_event) : + Remove breakpoints_always_inserted_mode check. + (normal_stop): Adjust to use breakpoints_should_be_inserted_now. + * remote.c (remote_start_remote): Likewise. + +2014-09-22 Pedro Alves + + * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. + (insert_breakpoints): Don't call insert_breakpoint_locations here. + Instead, pass UGLL_INSERT to update_global_location_list. + (update_global_location_list): Change parameter type from boolean + to enum ugll_insert_mode. All callers adjusted. Adjust to use + breakpoints_should_be_inserted_now and handle UGLL_INSERT. + (create_solib_event_breakpoint_1): New, factored out from ... + (create_solib_event_breakpoint): ... this. + (create_and_insert_solib_event_breakpoint): Use + create_solib_event_breakpoint_1 instead of calling + insert_breakpoint_locations manually. + (update_global_location_list): Handle UGLL_INSERT. + +2014-09-22 Pedro Alves + + * breakpoint.c (enum ugll_insert_mode): New enum. + (update_global_location_list) + (update_global_location_list_nothrow): Change parameter type from + boolean to enum ugll_insert_mode. All callers adjusted. + +2014-09-19 Joel Brobecker + + * MAINTAINERS: Add Sergio Durigan Junior as maintainer of + SystemTap support in GDB. + +2014-09-19 Don Breazeal + + * linux-nat.c (linux_handle_extended_wait): Call + linux_ptrace_get_extended_event. + (wait_lwp): Call linux_is_extended_waitstatus. + (linux_nat_filter_event): Call linux_ptrace_get_extended_event + and linux_is_extended_waitstatus. + * nat/linux-ptrace.c (linux_test_for_tracefork): Call + linux_ptrace_get_extended_event. + (linux_ptrace_get_extended_event): New function. + (linux_is_extended_waitstatus): New function. + * nat/linux-ptrace.h (linux_ptrace_get_extended_event) + (linux_is_extended_waitstatus): New declarations. + +2014-09-19 Yao Qi + + * dwarf2read.c (dwarf_decode_lines): Update declaration. + (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update + comments. Callers update. + (dwarf_decode_lines): Likewise. + (dwarf_decode_lines_1): Add argument 'lowpc'. Update + comments. Skip the line table if 'lowpc' is greater than + 'address'. Don't check + dwarf2_per_objfile->has_section_at_zero. + +2014-09-18 Doug Evans + + * NEWS: Mention new "producer" attribute of gdb.Symtab. + * python/py-symtab.c (stpy_get_producer): New function. + (symtab_object_getset): Add "producer" attribute. + +2014-09-17 Ulrich Weigand  + + PR gdb/17384 + * corefile.c (struct captured_read_memory_integer_arguments): Remove. + (do_captured_read_memory_integer): Remove. + (safe_read_memory_integer): Use target_read_memory directly instead + of catching errors in do_captured_read_memory_integer. + +2014-09-16 Maciej W. Rozycki + + * CONTRIBUTE (Coding Standards): For internals refer to wiki, + not gdb/doc. + +2014-09-16 Sergio Durigan Junior + + * objc-lang.c (find_implementation_from_class): Remove dead code. + +2014-09-16 Sergio Durigan Junior + + PR cli/7233 + * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by + "fprintf_unfiltered (gdb_stdlog...)". + +2014-09-16 Patrick Palka + + PR breakpoints/12526 + * breakpoint.h (struct watchpoint): New fields val_bitpos and + val_bitsize. + * breakpoint.c (watch_command_1): Use these fields to retain + bitfield information. + (extract_bitfield_from_watchpoint_value): New function. + (watchpoint_check): Use it. + (update_watchpoint): Use it. Optimize the address and length of a + HW watchpoint pointing to a bitfield. + * value.h (unpack_value_bitfield): New prototype. + * value.c (unpack_value_bitfield): Make extern. + +2014-09-16 Samuel Thibault + + * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and + x86-dregs.o. + * gnu-nat.c (inf_threads): New function. + * gnu-nat.h (inf_threads_ftype): New typedef. + (inf_threads): New declaration. + * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". + [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) + (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) + (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) + (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) + (i386_gnu_dr_get_control): New functions. + (reg_addr): New structure. + (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware + i386 debugging register hooks. + * NEWS: Mention this. + +2014-08-13 Omair Javaid + + * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for + vector data transfer instructions. + (arm_record_coproc_data_proc): Updated. + +2014-08-13 Omair Javaid + + * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with + arm_record_exreg_ld_st_insn. + (arm_record_exreg_ld_st_insn): Add record handler for ex-register + load/store insns. + +2014-08-13 Omair Javaid + + * arm-tdep.c (arm_record_coproc_data_proc): Updated. + (arm_record_vfp_data_proc_insn): Added record handler for VFP data + processing instructions. + +2014-08-13 Omair Javaid + + * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler + for advance SIMD struct ld/st insn. + (thumb2_record_decode_insn_handler): Replace stub handler with + thumb2_record_asimd_struct_ld_st. + +2014-08-13 Omair Javaid + + * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs + for asimd, vfp and coprocessor insns. + (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp + and coprocessor insns. + (thumb2_record_coproc_insn): New function. + (thumb2_record_decode_insn_handler): Update coprocessor insns record + handlers. + (decode_insn): Install arm_record_asimd_vfp_coproc as handler for + opcode 110 insns. + +2014-09-13 Doug Evans + + * NEWS: Mention new "queue-signal" command. + * infcmd.c (queue_signal_command): New function. + (_initialize_infcmd): Add new queue-signal command. + +2014-09-13 Doug Evans + + * linux-nat.c (wait_lwp): Add debugging printf. + (linux_nat_wait_1): Ditto. + +2014-09-12 Pedro Alves + + * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) + (create_and_insert_solib_event_breakpoint): New functions. + * breakpoint.h (create_and_insert_solib_event_breakpoint) + (remove_solib_event_breakpoints_at_next_stop): New declarations. + * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. + (remove_dbx_link_breakpoint): Delete function. + (insert_dbx_link_bpt_in_file): Use + create_and_insert_solib_event_breakpoint instead of + deprecated_insert_raw_breakpoint. + (procfs_wait): Don't check whether we hit __dbx_link here. + (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint + here. + * solib-irix.c (base_breakpoint): Delete global. + (disable_break): Delete function. + (enable_break): Use create_solib_event_breakpoint + instead of deprecated_insert_raw_breakpoint. + (irix_solib_handle_event): New function. + (irix_solib_create_inferior_hook): Don't run the target or disable + the mapping-complete breakpoint here. + (_initialize_irix_solib): Install irix_solib_handle_event as + so_ops->handle_event hook. + +2014-09-12 Edjunior Barbosa Machado + Ulrich Weigand  + + PR tdep/17379 + * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer + instead of read_memory_unsigned_integer. + +2014-09-12 Gary Benson + + * nat/linux-waitpid.c: Include common-defs.h. + [GDBSERVER]: Add FIXME comment. + [!GDBSERVER]: Don't include defs.h or signal.h. + (linux_debug) [!GDBSERVER]: Remove empty block. + +2014-09-12 Gary Benson + + * nat/x86-dregs.c: Include common-defs.h and break-common.h. + Don't include defs.h or server.h. + +2014-09-12 Gary Benson + + * nat/linux-btrace.c: Include common-defs.h. + Don't include defs.h, server.h or gdbthread.h. + * nat/linux-btrace.h (struct target_ops): New forward declaration. + +2014-09-12 Gary Benson + + * common/agent.c: Include common-defs.h. + Don't include defs.h or server.h. + * common/buffer.c: Likewise. + * common/common-debug.c: Likewise. + * common/common-utils.c: Likewise. + * common/errors.c: Likewise. + * common/filestuff.c: Likewise. + * common/format.c: Likewise. + * common/gdb_vecs.c: Likewise. + * common/print-utils.c: Likewise. + * common/ptid.c: Likewise. + * common/rsp-low.c: Likewise. + * common/signals.c: Likewise. + * common/vec.c: Likewise. + * common/xml-utils.c: Likewise. + * nat/linux-osdata.c: Likewise. + * nat/linux-procfs.c: Likewise. + * nat/linux-ptrace.c: Likewise. + * nat/mips-linux-watch.c: Likewise. + * target/waitstatus.c: Likewise. + +2014-09-12 Tom Tromey + Gary Benson + + * common/common-regcache.h: New file. + * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. + * regcache.h: Include common-regcache.h. + (regcache_read_pc): Don't declare. + * regcache.c (get_thread_regcache_for_ptid): New function. + * nat/linux-btrace.c: Don't include regcache.h. + Include common-regcache.h. + (perf_event_read_bts): Use get_thread_regcache_for_ptid. + +2014-09-11 Thomas Schwinge + + * regcache.h (struct regset): Declare. + +2014-09-11 Pedro Alves + + PR gdb/17347 + * main.c: Include "infrun.h". + (catch_command_errors, catch_command_errors_const): Wait for the + foreground command to complete. + * top.c (maybe_wait_sync_command_done): New function, factored out + from ... + (maybe_wait_sync_command_done): ... here. + * top.h (maybe_wait_sync_command_done): New declaration. + +2014-09-11 Tom Tromey + Gary Benson + + * common/symbol.h: New file. + * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. + * minsyms.c (find_minimal_symbol_address): New function. + * common/agent.c: Include common/symbol.h. + [!GDBSERVER]: Don't include objfiles.h. + (agent_look_up_symbols): Use find_minimal_symbol_address. + +2014-09-11 Gary Benson + + * target/target.h (target_stop_ptid, target_continue_ptid): + Declare. + * target.c (target_stop_ptid, target_continue_ptid): New + functions. + * common/agent.c [!GDBSERVER]: Don't include infrun.h. + (agent_run_command): Always use target_stop_ptid and + target_continue_ptid. + +2014-09-11 Tom Tromey + Gary Benson + + * target/target.h: New file. + * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. + * target.h: Include target/target.h. + (target_read_memory, target_write_memory): Don't declare. + * target.c (target_read_uint32): New function. + * common/agent.c: Include target/target.h. + [!GDBSERVER]: Don't include target.h. + (helper_thread_id): Type changed to uint32_t. + (agent_get_helper_thread_id): Use target_read_uint32. + (agent_run_command): Always use target_read_memory and + target_write_memory. + (agent_capability): Type changed to uint32_t. + (agent_capability_check): Use target_read_uint32. + +2014-09-11 Gary Benson + + * common/common-debug.h (show_debug_regs): Declare. + * common/common-debug.c (show_debug_regs): Define. + * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace + all uses with show_debug_regs. Replace all uses that considered + debug_hw_points as a multi-value integer with straight boolean + uses. + * x86-nat.c (debug_hw_points): Don't define. Replace all uses + with show_debug_regs. + * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace + all uses with show_debug_regs. + * mips-linux-nat.c (maint_show_dr): Don't define. Replace all + uses with show_debug_regs. + +2014-09-10 Ulrich Weigand  + + * findvar.c (address_from_register): Handle targets requiring + a special conversion routine even for plain pointer types. + +2014-09-10 Ulrich Weigand  + + * rs6000-nat.c (exec_one_dummy_insn): Remove. + (store_register): Do not call exec_one_dummy_insn. + +2014-09-10 Joel Brobecker + + * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, + dereference it first. Use value_enclosing_type instead of + value_type. + (ada_array_length): Likewise. + +2014-09-10 Joel Brobecker + + * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". + Adjust function implementation and documentation accordingly. + (ada_evaluate_subexp) : Only assign "type" if + NOSIDE is EVAL_AVOID_SIDE_EFFECTS. + Update call to ada_value_ptr_subscript. + +2014-09-10 Joel Brobecker + + * ada-valprint.c (ada_value_print): Use VAL's enclosing type + instead of VAL's type. + +2014-09-10 Joel Brobecker + + * amd64-linux-nat.c: Add #include. + +2014-09-09 Doug Evans + + PR guile/17367 + * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as + last parameter to pkg-config, not first. + * configure.ac: Pass --with-guile provided pkg-config path to + GDB_GUILE_PROGRAM_NAMES. + * configure: Regenerate. + +2014-09-09 Gabriel Krisman Bertazi + + * MAINTAINERS (Write After Approval): Add "Gabriel Krisman + Bertazi". + +2014-09-09 Maciej W. Rozycki + + * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): + Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from + the list of sections determining GDB_OSABI_IRIX. + +2014-09-09 James Hogan + + * MAINTAINERS (Write After Approval): Add "James Hogan". + +2014-09-09 James Hogan + + * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. + +2014-09-09 Joel Brobecker + + * i386-linux-nat.c, x86-linux-nat.c: Add #include. + +2014-09-08 Doug Evans + + PR 17247 + * guile.c: #include . + (_initialize_guile): Block SIGCHLD while initializing Guile. + + Replaces the following, which is reverted. + + 2014-07-26 Doug Evans + + PR 17185 + * configure.ac: Add check for header gc/gc.h. + Add check for function setenv. + * configure: Regenerate. + * config.in: Regenerate. + * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. + +2014-09-08 Doug Evans + + * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number + with named constant. Fix style of pointer comparison. + * python/py-cmd.c (gdbpy_parse_command_name): Ditto. + +2014-09-07 Gabriel Krisman Bertazi + + PR gdb/17035 + * cli/cli-cmds.c (show_user): Use cli_user_command_p to + decide whether we display the command on "show user". + * cli/cli-script.c (show_user_1): Only verify cmdlines after + printing command name. + * cli/cli-decode.h (cli_user_command_p): Declare new function. + * cli/cli-decode.c (cli_user_command_p): Create helper function + to verify whether cmd_list_element is a user-defined command. + +2014-09-07 Jan Kratochvil + + PR python/17355 + * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. + Fix goto out of TRY_CATCH. + +2014-09-06 Doug Evans + Tom Tromey + + PR 15276 + * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, + $_any_caller_matches. + * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. + * python/lib/gdb/function/caller_is.py: New file. + +2014-09-06 Doug Evans + + * infcmd.c (program_info): Fix typo. + +2014-09-05 Sergio Durigan Junior + + PR gdb/17235 + * stap-probe.c (stap_parse_single_operand): Delete unused variable + 'number'. New variable 'has_digit'. Rewrite code to deal with + subexpressions on SDT probes. + +2014-09-04 Pedro Alves + + * c-exp.y (parse_number): Skip handling base-switching prefixes if + the input is only one character long. + 2014-09-04 Sergio Durigan Junior PR fortran/17237