X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2FChangeLog;h=7bc35d1c37276a291156444134110fd62b0fe10d;hb=dadef93096fd397c3acf2078bcf6b526ff4e0da4;hp=4ef9c7f6bb13ec21bd84a3a165eb6c792e008d81;hpb=20ad026db61cde2376aa5de641ee63b46e818fa4;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4ef9c7f..7bc35d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,466 @@ +2014-10-13 Doug Evans + + * python/py-objfile.c (objfpy_initialize): New function. + (objfpy_new, objfile_to_objfile_object): Call it. + * python/py-progspace.c (pspy_initialize): New function. + (pspy_new, pspace_to_pspace_object): Call it. + +2014-10-13 Miroslav Franc + Jan Kratochvil + + Fix "save breakpoints" for "catch" command. + * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing + newline. + +2014-10-12 Miroslav Franc + + Fix "save breakpoints" for "disable $bpnum" command. + * breakpoint.c (save_breakpoints): Add $bpnum for disable. + +2014-10-10 Pedro Alves + + * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. + (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. + (HFILES_NO_SRCDIR): Remove solib-irix.h. + * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* + and been removed. + * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. + * configure.ac: Remove references to IRIX. + * configure.host: Add *-*-irix* to the obsolete hosts section. + Remove all other references to irix. + * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: + Delete files. + +2014-10-10 Ajit Agarwal + + * microblaze-tdep.c (microblaze_gdbarch_init): If the description + isn't valid, release the tdesc arch data and return NULL. + +2014-10-10 Pedro Alves + + * linux-tdep.c: Include observer.h. + (linux_inferior_data): New global. + (struct linux_info): New structure. + (invalidate_linux_cache_inf, linux_inferior_data_cleanup) + (get_linux_inferior_data): New functions. + (linux_vsyscall_range): Rename to ... + (linux_vsyscall_range_raw): ... this. + (linux_vsyscall_range): New function; handles caching. + (_initialize_linux_tdep): Register linux_inferior_data. Install + inferior_exit and inferior_appeared observers. + +2014-10-10 Jan Kratochvil + Pedro Alves + + PR symtab/14466 + * solib-svr4.c (svr4_read_so_list): Rename to ... + (svr4_current_sos_1): ... this and change the function comment. + (svr4_current_sos): New function. + +2014-10-10 Pedro Alves + + * arch-utils.c (default_vsyscall_range): New function. + * arch-utils.h (default_vsyscall_range): New declaration. + * gdbarch.sh (vsyscall_range): New hook. + * gdbarch.h, gdbarch.c: Regenerate. + * linux-tdep.c (linux_vsyscall_range): New function. + (linux_init_abi): Install linux_vsyscall_range as + vsyscall_range gdbarch hook. + * memrange.c (address_in_mem_range): New function. + * memrange.h (address_in_mem_range): New declaration. + * symfile-mem.c (find_vdso_size): Delete function. + (add_vsyscall_page): Use gdbarch_vsyscall_range. + +2014-10-10 Pedro Alves + + * infrun.c (normal_stop): Fix typo in comment. + +2014-10-09 Sergio Durigan Junior + + PR tdep/9390 + * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible + typo when using logical AND to determine instruction type. + +2014-10-09 Yao Qi + + * infrun.c (handle_signal_stop): Remove local variable + 'printed'. + +2014-10-08 Stan Shebs + + * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. + +2014-10-08 Gary Benson + + * fbsd-tdep.c: Do not include string.h or gdb_assert.h. + +2014-10-08 Gary Benson + + * common/common-defs.h: Include common-exceptions.h. + * exceptions.h: Do not include common-exceptions.h. + +2014-10-08 Gary Benson + + * common/common-defs.h: Include cleanups.h. + * common/common-exceptions.c: Do not include cleanups.h. + * utils.h: Likewise. + +2014-10-08 Gary Benson + + * ada-lang.c: Do not include exceptions.h. + * ada-valprint.c: Likewise. + * amd64-tdep.c: Likewise. + * auto-load.c: Likewise. + * block.c: Likewise. + * break-catch-throw.c: Likewise. + * breakpoint.c: Likewise. + * btrace.c: Likewise. + * c-lang.c: Likewise. + * cli/cli-cmds.c: Likewise. + * cli/cli-interp.c: Likewise. + * cli/cli-script.c: Likewise. + * completer.c: Likewise. + * corefile.c: Likewise. + * corelow.c: Likewise. + * cp-abi.c: Likewise. + * cp-support.c: Likewise. + * cp-valprint.c: Likewise. + * darwin-nat.c: Likewise. + * dwarf2-frame-tailcall.c: Likewise. + * dwarf2-frame.c: Likewise. + * dwarf2loc.c: Likewise. + * dwarf2read.c: Likewise. + * eval.c: Likewise. + * event-loop.c: Likewise. + * event-top.c: Likewise. + * f-valprint.c: Likewise. + * frame-unwind.c: Likewise. + * frame.c: Likewise. + * gdbtypes.c: Likewise. + * gnu-v2-abi.c: Likewise. + * gnu-v3-abi.c: Likewise. + * guile/scm-auto-load.c: Likewise. + * guile/scm-breakpoint.c: Likewise. + * guile/scm-cmd.c: Likewise. + * guile/scm-frame.c: Likewise. + * guile/scm-lazy-string.c: Likewise. + * guile/scm-param.c: Likewise. + * guile/scm-symbol.c: Likewise. + * guile/scm-type.c: Likewise. + * hppa-hpux-tdep.c: Likewise. + * i386-tdep.c: Likewise. + * inf-loop.c: Likewise. + * infcall.c: Likewise. + * infcmd.c: Likewise. + * infrun.c: Likewise. + * interps.c: Likewise. + * interps.h: Likewise. + * jit.c: Likewise. + * linespec.c: Likewise. + * linux-nat.c: Likewise. + * linux-thread-db.c: Likewise. + * m32r-rom.c: Likewise. + * main.c: Likewise. + * memory-map.c: Likewise. + * mi/mi-cmd-break.c: Likewise. + * mi/mi-cmd-stack.c: Likewise. + * mi/mi-interp.c: Likewise. + * mi/mi-main.c: Likewise. + * monitor.c: Likewise. + * nto-procfs.c: Likewise. + * objc-lang.c: Likewise. + * p-valprint.c: Likewise. + * parse.c: Likewise. + * ppc-linux-tdep.c: Likewise. + * printcmd.c: Likewise. + * probe.c: Likewise. + * python/py-auto-load.c: Likewise. + * python/py-breakpoint.c: Likewise. + * python/py-cmd.c: Likewise. + * python/py-finishbreakpoint.c: Likewise. + * python/py-frame.c: Likewise. + * python/py-framefilter.c: Likewise. + * python/py-function.c: Likewise. + * python/py-gdb-readline.c: Likewise. + * python/py-inferior.c: Likewise. + * python/py-infthread.c: Likewise. + * python/py-lazy-string.c: Likewise. + * python/py-linetable.c: Likewise. + * python/py-param.c: Likewise. + * python/py-prettyprint.c: Likewise. + * python/py-symbol.c: Likewise. + * python/py-type.c: Likewise. + * python/py-value.c: Likewise. + * python/python-internal.h: Likewise. + * python/python.c: Likewise. + * record-btrace.c: Likewise. + * record-full.c: Likewise. + * regcache.c: Likewise. + * remote-fileio.c: Likewise. + * remote-mips.c: Likewise. + * remote.c: Likewise. + * rs6000-aix-tdep.c: Likewise. + * rs6000-nat.c: Likewise. + * skip.c: Likewise. + * solib-darwin.c: Likewise. + * solib-dsbt.c: Likewise. + * solib-frv.c: Likewise. + * solib-ia64-hpux.c: Likewise. + * solib-spu.c: Likewise. + * solib-svr4.c: Likewise. + * solib.c: Likewise. + * spu-tdep.c: Likewise. + * stack.c: Likewise. + * stap-probe.c: Likewise. + * symfile-mem.c: Likewise. + * symmisc.c: Likewise. + * target.c: Likewise. + * thread.c: Likewise. + * top.c: Likewise. + * tracepoint.c: Likewise. + * tui/tui-interp.c: Likewise. + * typeprint.c: Likewise. + * utils.c: Likewise. + * valarith.c: Likewise. + * valops.c: Likewise. + * valprint.c: Likewise. + * value.c: Likewise. + * varobj.c: Likewise. + * windows-nat.c: Likewise. + * xml-support.c: Likewise. + +2014-10-05 Maciej W. Rozycki + + * mips-tdep.c (add_offset_16): Rewrite to implement what the + name implies. + (extended_mips16_next_pc): Update accordingly. + +2014-10-05 Maciej W. Rozycki + + * mips-tdep.c (mips16_instruction_is_compact_branch): New + function. + (micromips_instruction_is_compact_branch): Likewise. + (mips16_scan_prologue): Terminate scanning upon seeing a branch + or a compact jump, reaching a jump delay slot, or seeing a + second non-prologue instruction. + (micromips_scan_prologue): Also terminate scanning upon seeing a + compact branch or jump, or reaching a branch or jump delay slot. + (mips32_scan_prologue): Terminate scanning upon reaching a branch + or jump delay slot, or seeing a second non-prologue instruction. + (mips32_instruction_has_delay_slot): Retain instruction + examination code only, update arguments accordingly and move + instruction fetch pieces to... + (mips32_insn_at_pc_has_delay_slot): ... this new function. + (micromips_instruction_has_delay_slot): Likewise and to... + (micromips_insn_at_pc_has_delay_slot): ... this new function. + (mips16_instruction_has_delay_slot): Likewise and to... + (mips16_insn_at_pc_has_delay_slot): ... this new function. + (mips_single_step_through_delay): Update accordingly. + (mips_adjust_breakpoint_address): Likewise. + +2014-10-05 Maciej W. Rozycki + + * mips-tdep.c (micromips_instruction_has_delay_slot): When + !mustbe32 also return 1 for 32-bit instructions. + (mips16_instruction_has_delay_slot): Likewise. Add an + explanatory comment. + +2014-10-03 Maciej W. Rozycki + + * elfread.c (elf_symtab_read): Also mark solib trampoline minimal + symbols special. + +2014-10-03 Maciej W. Rozycki + + * breakpoint.h (bp_target_info): Add `reqstd_address' member, + update comments. + * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' + for the breakpoint's address. Don't preinitialize `placed_size'. + (insert_bp_location): Set `reqstd_address' rather than + `placed_address'. + (bp_target_info_copy_insertion_state): Also copy `placed_address'. + (bkpt_insert_location): Use `reqstd_address' for the breakpoint's + address. + (bkpt_remove_location): Likewise. + (deprecated_insert_raw_breakpoint): Likewise. + (deprecated_remove_raw_breakpoint): Likewise. + (find_single_step_breakpoint): Likewise. + * mem-break.c (default_memory_insert_breakpoint): Use + `reqstd_address' for the breakpoint's address. Don't set + `placed_address' or `placed_size' if breakpoint contents couldn't + have been determined. + * remote.c (remote_insert_breakpoint): Use `reqstd_address' for + the breakpoint's address. + (remote_insert_hw_breakpoint): Likewise. Don't set + `placed_address' or `placed_size' if breakpoint couldn't have been + set. + * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use + `reqstd_address' for the breakpoint's address. + * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. + * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. + * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. + * microblaze-linux-tdep.c + (microblaze_linux_memory_remove_breakpoint): Likewise. + * monitor.c (monitor_insert_breakpoint): Likewise. + * nto-procfs.c (procfs_insert_breakpoint): Likewise. + (procfs_insert_hw_breakpoint): Likewise. + * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. + * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. + * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. + * remote-mips.c (mips_insert_breakpoint): Likewise. + * x86-nat.c (x86_insert_hw_breakpoint): Likewise. + +2014-10-03 Luis Machado + + * valops.c (value_assign): Check for bit field assignments + before calling architecture-specific register value + conversion functions. + +2014-10-03 Pierre Muller + + * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. + +2014-10-02 Pedro Alves + + * breakpoint.c (breakpoints_should_be_inserted_now): Use + threads_are_executing. + * breakpoint.h (breakpoints_should_be_inserted_now): Add + describing comment. + * gdbthread.h (threads_are_executing): Declare. + (handle_signal_stop) : Don't print about the + signal here if stopping. + (end_stepping_range): Don't notify observers here. + (normal_stop): Update the thread list. If stopped by a random + signal or a stepping range ended, notify observers. + * thread.c (threads_executing): New global. + (init_thread_list): Clear 'threads_executing'. + (set_executing): Set or clear 'threads_executing'. + (threads_are_executing): New function. + (update_threads_executing): New function. + (update_thread_list): Use it. + +2014-10-02 Pedro Alves + + PR breakpoints/17431 + * breakpoint.c (update_breakpoints_after_exec): Don't create + overlay, longjmp, std terminate nor exception breakpoints here. + +2014-10-02 Pedro Alves + + * gdbthread.h (any_thread_of_process, any_live_thread_of_process): + Adjust comments. + * inferior.c (find_inferior_for_program_space): Give preference to + the current inferior. + * inferior.h (find_inferior_for_program_space): Update comment. + * progspace.c (switch_to_program_space_and_thread): Prefer the + current inferior if it's bound to the program space requested. If + the inferior found doesn't have a PID yet, don't bother looking up + a thread. + * progspace.h (switch_to_program_space_and_thread): Adjust + comment. + * thread.c (any_thread_of_process, any_live_thread_of_process): + Give preference to the current thread. + +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,