X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=62afb81cc662f97f24308e57dc15c5ea165b4f48;hb=26144df5d2c0b2fa0244f3fb95f8ed2686ac0815;hp=4f34bf5cfc4f206c771e6e74715c626e523380ec;hpb=8807d78becbc8b26407c953a4f6e952b3905c1cf;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f34bf5cfc..62afb81cc6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,843 @@ +2007-05-06 Ulrich Weigand + + * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. + * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. + * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace + i387_fill_fsave and i387_fill_fxsave calls by inline copies. + * i386-nto-tdep.c (i386nto_regset_fill): Likewise. + * i386gnu-nat.c (store_fpregs): Likewise. + * i386v4-nat.c (fill_fpregset): Likewise. + * go32-nat.c (store_register, go32_store_registers): Likewise. + +2007-05-06 Ulrich Weigand + + * cris-tdep.c (supply_gregset): Rename to ... + (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it + instead of current_regcache. + (fetch_core_registers): Update call. Pass current_regcache. + +2007-05-06 Ulrich Weigand + + * arnmnbsd-nat.c (supply_gregset): Rename to ... + (arm_supply_gregset): ... this. Add REGCACHE parameter. + Use it instead of current_regcache. + (supply_fparegset): Rename to ... + (arm_supply_fparegset): ... this. Add REGCACHE parameter. + Use it instead of current_regcache. + (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. + (fetch_core_registers, fetch_elfcore_registers): Likewise. + +2007-05-06 Ulrich Weigand + + * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, + alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, + use it instead of current_regcache. + * alpha-tdep.h (struct regcache): Add forward declaration. + (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, + alpha_fill_fp_regs): Update prototypes. + + * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, + fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. + * alpha-linux-nat.c: Include "regcache.h". + (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass + current_regcache to alpha_supply/fill_ routines. + + * alphabsd-tdep.c: Include "regcache.h". + (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, + pass it to alpha_supply_ routines. Make REGS const. + (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, + pass it to alpha_fill_ routines. + * alphabsd-tdep.h (struct regcache): Add forward declaration. + (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, + alphabsd_fill_fpreg): Update prototypes. + + * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, + fill_fpregset, alphabsd_fetch_inferior_registers, + alphabsd_store_inferior_registers): Pass current_regcache to + alphabsd_supply/fill_ routines. + + * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update + dependencies. + +2007-05-06 Ulrich Weigand + + * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, + supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it + instead of current_regcache. + (fetch_regs_user_thread, fetch_regs_kernel_thread): Add + REGCACHE parameter, pass it to supply_ routines. + (aix_thread_fetch_registers): Pass current_regcache to + fetch_regs_user_thread and fetch_regs_kernel_thread. + + (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): + Add REGCACHE parameter, use it instead of current_regcache. + Call regcache_valid_p instead of register_cached. + (store_regs_user_thread, store_regs_kernel_thread): Likewise. + Also, pass REGCACHE to fill_ routines. + (aix_thread_store_registers): Pass current_regcache to + store_regs_user_thread and store_regs_kernel_thread. + +2007-05-06 Ulrich Weigand + + * m32r-linux-nat.c (supply_gregset): Do not modify contents + pointed to by GREGSETP. + +2007-05-06 Ulrich Weigand + + * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead + of regcache_raw_read_signed. + (fill_fpregset): Use regcache_raw_collect instead of + regcache_raw_read. + +2007-05-03 Kevin Buettner + + * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating + point arguments, test explicitly for use of the EABI32 ABI + instead of inferring this condition from tests on register + sizes. + +2007-05-03 Kevin Buettner + + * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address + prior to allocating its location. + +2007-05-02 Maciej W. Rozycki + + * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions + based on mips_abi_regsize() whose result is known in advance. + (mips_o64_push_dummy_call): Likewise. + +2007-04-29 Ulrich Weigand + + * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. + * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. + + * mips-linux-nat.c: Include "gregset.h". + (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move + from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. + * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, + fill_fpregset): Move to mips-linux-nat.c. + + * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. + +2007-04-28 Ulrich Weigand + + * regcache.c (deprecated_read_register_gen): Remove, inline ... + (read_register): ... here. + (deprecated_write_register_gen): Remove, inline ... + (write_register): ... here. + * regcache.h (deprecated_read_register_gen): Remove prototype. + (deprecated_write_register_gen): Likewise. + + * remote-sim.c (gdbsim_store_register): Replace call to + deprecated_read_register_gen with regcache_cooked_read. + * target.c (debug_print_register): Replace calls to + deprecated_read_register_gen and read_register with + regcache_cooked_read. + +2007-04-28 Ulrich Weigand + + * hpux-thread.c (hpux_thread_store_registers): Use + regcache_raw_collect, not regcache_raw_read. + * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, + not regcache_raw_write. + +2007-04-28 Ulrich Weigand + + * gdbarch.sh: Remove deprecated_register_byte. + * gdbarch.c, gdbarch.h: Regenerate. + * arch-utils.h (generic_register_size, generic_register_byte): Remove. + * arch-utils.c (generic_register_size, generic_register_byte): Remove. + + * regcache.h (regcache_valid_p): Make REGCACHE parameter const. + * regcache.c (regcache_valid_p): Allow to query cooked registers in + read-only register caches. Make REGCACHE parameter const. + (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. + + * mi/mi-main.c (old_regs): Remove. + (mi_setup_architecture_data, _initialize_mi_main): Remove. + (register_changed_p): Reimplement to compare two register caches. + (mi_cmd_data_list_changed_registers): Update caller. + * mi/mi-main.h (mi_setup_architecture_data): Remove. + * mi/mi-interp.c (mi_interpreter_init): Do not call + mi_setup_architecture_data. + +2007-04-28 Ulrich Weigand + + * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, + inline definition at the places the macros are used. + * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. + +2007-04-28 Ulrich Weigand + + * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and + "gdb_string.h". + (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. + (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. + (rs6000_aix32_regset, rs6000_aix64_regset): New variables. + (rs6000_aix_regset_from_core_section): New function. + (rs6000_aix_init_osabi): Register it. + (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and + sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. + * rs6000-nat.c (CoreRegs): Do not define type. + (fetch_core_registers, rs6000_core_fns): Remove. + (_initialize_core_rs6000): Do not register it. Rename to ... + (_initialize_rs6000_nat): ... this. + * Makefile.in (rs6000-aix-tdep.o): Update dependencies. + +2007-04-27 Kevin Buettner + + * dwarf2expr.c (unsigned_address_type): Add forward declaration. + (dwarf2_read_address): Sign extend return address as required by + target architecture. + +2007-04-27 Kevin Buettner + + * solib-frv.c (lm_base): Bail out if the main executable has + not been relocated. + +2007-04-27 Ulrich Weigand + + * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location + of FPCR register in fpregset. + +2007-04-27 Maciej W. Rozycki + + * Makefile.in (gdbtk-wrapper.o): Update dependencies. + (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. + +2007-04-27 Ulrich Weigand + + * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. + * rs6000-nat.c (rs6000_wait): New function. + (_initialize_core_rs6000): Install it as to_wait target method. + * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. + +2007-04-27 Ulrich Weigand + + * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. + * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. + * rs6000-nat.c (super_create_inferior): New variable. + (rs6000_create_inferior): Make static. Adapt argument list. Call + original version of create_inferior via super_create_inferior. + (_initialize_core_rs6000): Install to_create_inferior target method. + +2007-04-27 Ulrich Weigand + + * aix-thread.c (aix_thread_xfer_memory): Replace by ... + (aix_thread_xfer_partial): ... this. + (init_aix_thread_ops): Install to_xfer_partial instead + of deprecated_xfer_memory target method. + + * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o + and inftarg.o, add inf-ptrace.o. + * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, + CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. + * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". + (fetch_inferior_registers): Rename to ... + (rs6000_fetch_inferior_registers): ... this. Make static. + (store_inferior_registers): Rename to ... + (rs6000_store_inferior_registers): ... this. Make static. + (read_word, child_xfer_memory): Remove. + (rs6000_xfer_partial): New function. + (kernel_u_size): Remove. + (_initialize_core_rs6000): Add inf_ptrace-based target. + * Makefile.in (rs6000-nat.o): Update dependencies. + +2007-04-27 Ulrich Weigand + + * inf-ptrace.c: Include "gdb_stdint.h". + (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as + intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. + (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" + before casting CORE_ADDR to PTRACE_TYPE_ARG3. + (inf_ptrace_store_register): Likewise. + * Makefile.in (inf-ptrace.o): Update dependencies. + +2007-04-27 Ulrich Weigand + + * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. + * configure.tgt (rs6000-*-*): Likewise. + * config/rs6000/aix4.mh: Delete file. + * config/rs6000/aix4.mt: Delete file. + * config/rs6000/rs6000.mh: Delete file. + * config/rs6000/rs6000.mt: Delete file. + + * config/powerpc/nm-aix.h: Delete file. + * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. + +2007-04-27 Ulrich Weigand + + * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". + Remove obsolete part of comment. + (store_regs_user_thread): Use uint32_t temporaries when calling + fill_sprs32. + (store_regs_kernel_thread): Likewise. Add assertion to verify + correct size of struct ptsprs members. + (aix_thread_xfer_memory): Fix type of myaddr. + (aix_thread_extra_thread_info): Fix compiler warning. + * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". + (fetch_register, store_register): Adapt callers. + +2007-04-27 Ulrich Weigand + + * vec.h (vec_free): Rename to vec_free_. Adapt users. + +2007-04-25 Ulrich Weigand + + * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", + and "regcache.h". + (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. + (alpha_linux_gregset, alpha_linux_fpregset): New variables. + (alpha_linux_regset_from_core_section): New function. + (alpha_linux_init_abi): Install it. + * alpha-linux-nat.c: Do not include "gdbcore.h". Include + "alpha-tdep.h", , , + , and "gregset.h". + (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): + Move from config/alpha/nm-linux.h. + (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy + from alpha-nat.c. + (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. + * alpha-nat.c: Remove #ifdef __linux__ section. + (fetch_elf_core_registers, alpha_elf_core_fns): Remove. + (_initialize_core_alpha): Do not register alpha_elf_core_fns. + (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. + (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. + * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. + (NATDEPFILES): Remove alpha-nat.o. + * config/alpha/nm-linux.h: Delete file. + * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. + * Makefile.in (alpha-linux-nat.o): Update dependencies. + (alpha-linux-tdep.o): Likewise. + +2007-04-25 Ulrich Weigand + + * mips-linux-nat.c: No longer include "gdbcore.h". + (mips_linux_register_addr): Move from mips-linux-tdep.c. + (mips64_linux_register_addr): Likewise. + (mips_linux_register_u_offset): Call mips_linux_register_addr or + mips64_linux_register_addr instead of register_addr. + * mips-linux-tdep.c (mips_linux_register_addr, + mips64_linux_register_addr): Move to mips-linux-nat.c. + (register_addr): Remove. + (register_addr_data, init_register_addr_data): Remove. + (_initialize_mips_linux_tdep): Do not initialize register_addr_data. + (set_mips_linux_register_addr): Remove. + (mips_linux_init_abi): Do not call set_mips_linux_register_addr. + * Makefile.in (mips-linux-nat.o): Update dependencies. + +2007-04-25 Ulrich Weigand + + * linux-nat.c (linux_register_u_offset): Remove. + (linux_target_install_ops): New function. + (linux_target): Use it. + (linux_trad_target): New function. + * linux-nat.h (linux_trad_target): Declare. + + * alpha-linux-nat.c: Include "gdbcore.h". + (alpha_linux_register_u_offset): New function. + (_initialize_alpha_linux_nat): Use linux_trad_target. + + * mips-linux-nat.c: Include "gdbcore.h". + (mips_linux_register_u_offset): New function. + (_initialize_mips_linux_nat): Use linux_trad_target. + + * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/arm/nm-linux.h: Delete file. + + * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. + * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. + + * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/ia64/nm-linux.h: Delete file. + + * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/m32r/nm-linux.h: Delete file. + + * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/m68k/nm-linux.h: Delete file. + + * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/pa/nm-linux.h: Delete file. + + * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. + * config/powerpc/nm-linux.h: Delete file. + + * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. + * config/s390/nm-linux.h: Delete file. + + * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. + * config/sparc/linux64.mh (NAT_FILE): Likewise. + * config/sparc/nm-linux.h: Delete file. + + * Makefile.in (alpha-linux-nat.o): Update dependencies. + (mips-linux-nat.o): Likewise. + +2007-04-25 Ulrich Weigand + + * core-aout.c: Delete file. + * Makefile.in (ALLDEPFILES): Remove core-aout.c. + (core-aout.o): Delete rule. + * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. + + * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. + + * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. + * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, + KERNEL_U_ADDR): Remove. + + * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. + (cannot_fetch_register, cannot_store_register): Remove. + (fetch_register): Inline cannot_fetch_register and register_addr. + (store_register): Inline cannot_store_register and register_addr. + * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. + * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, + REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): + Remove. + + * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. + (fetch_register): Inline register_addr. + (store_register): Inline register_addr. + * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. + * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, + U_REGS_OFFSET, REGISTER_U_ADDR): Remove. + + * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. + * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, + REGISTER_U_ADDR): Remove. + + * hppa-linux-nat.c (register_addr): Rename to ... + (hppa_linux_register_addr): ... this. Make static. + (fetch_register, store_register): Adapt callers. + * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. + + * ppc-linux-nat.c (kernel_u_size): Remove. + * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. + + * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. + * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. + (NAT_FILE): Remove. + * config/vax/nm-vax.h: Delete file. + +2007-04-20 Mark Shinwell + + * MAINTAINERS (Write After Approval): Add myself. + +2007-04-20 Mark Shinwell + + * Makefile.in: Adjust dependencies of m68klinux-tdep.c. + * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. + (m68k_linux_sigcontext_reg_offset): Fix typo. + (target_is_uclinux): New. + (m68k_linux_inferior_created): New. + (m68k_linux_get_sigtramp_info): Check for uClinux or + normal Linux. Use m68k_uclinux_sigcontext_reg_offset for + uClinux. + (_initialize_m68k_linux_tdep): Register + m68k_linux_inferior_created. + +2007-04-19 Pedro Alves + + * win32-nat.c (win32_detach): Remove delete_command call. + Resume inferior with win32_resume instead of win32_continue. + +2007-04-19 Jerome Guitton + + * ser-mingw.c (fd_is_file): New function. + (file_select_thread): New function. + (ser_console_wait_handle): Add special handling for files. + +2007-04-18 Denis Pilat + + * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type + when missing from DW_TAG_subrange_type. Remove the handling of null + return from die_type. + +2007-04-18 Maciej W. Rozycki + + * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last + change to rearrange some brackets. + (mips_n32n64_push_dummy_call): Likewise. + (mips_o32_push_dummy_call): Likewise. + (mips_o64_push_dummy_call): Likewise. + +2007-04-18 Denis Pilat + + * infcmd.c (post_create_inferior): Start with a call to + target_terminal_ours. + +2007-04-17 Maciej W. Rozycki + + * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some + brackets. + (mips_n32n64_push_dummy_call): Likewise. Reformat some + expressions. + (mips_o32_push_dummy_call): Likewise. + (mips_o64_push_dummy_call): Likewise. + +2007-04-17 Maciej W. Rozycki + + * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a + comment. + +2007-04-17 Maciej W. Rozycki + + * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a + comment. + (mips_o32_push_dummy_call): Likewise. + +2007-04-17 Andreas Schwab + + * symtab.c (skip_prologue_using_sal): Allow the end of the prologue + sal to be bigger than the end of the function. + +2007-04-17 Maciej W. Rozycki + Nigel Stephens + + * mips-tdep.c (mips_o32_push_dummy_call): Take account of + argument alignment requirements when calculating stack space + required. When aligning an arg register to eight bytes + boundary, align stack_offset too. Write floating-point + arguments to the appropriate integer register if need go there. + (mips_o64_push_dummy_call): Likewise. + +2007-04-14 Ulrich Weigand + + * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and + "sig" arguments, add "regcache" argument. + * gdbarch.c, gdbarch.h: Regenerate. + + * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. + (handle_inferior_event): Call remove_single_step_breakpoints directly + instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. + + * alpha-tdep.c (alpha_software_single_step): Update argument list. + Remove handling of !insert_breakpoints_p case. + * arm-tdep.c (arm_software_single_step): Likewise. + * cris-tdep.c (cris_software_single_step): Likewise. + * mips-tdep.c (mips_software_single_step): Likewise. + * rs6000-tdep.c (rs6000_software_single_step): Likewise. + * sparc-tdep.c (sparc_software_single_step): Likewise. + * spu-tdep.c (spu_software_single_step): Likewise. + + * alpha-tdep.h (alpha_software_single_step): Update prototype. + * mips-tdep.h (mips_software_single_step): Likewise. + * rs6000-tdep.h (rs6000_software_single_step): Likewise. + * sparc-tdep.h (sparc_software_single_step): Likewise. + +2007-04-14 Ulrich Weigand + + * alpha-tdep.c (alpha_software_single_step): Do not call write_pc + when removing single-step breakpoints. + +2007-04-14 Vladimir Prus + + * varobj.h (varobj_set_frozen): New + (varobj_get_frozen): New. + (varobj_update): New parameter explicit. + * varobj.c (struct varobj): New fields frozen + and not_fetched. + (varobj_set_frozen, varobj_get_frozen): New. + (install_new_value): Don't fetch values for + frozen variable object, or children thereof. Allow + a frozen variable object to have non-fetched value. + (varobj_update): Allow updating child variables. + Don't traverse frozen children. + (new_variable): Initialize the frozen field. + (c_value_of_variable): Return NULL for frozen + variable without any value yet. + * mi/mi-cmd-var.c (varobj_update_one): New parameter + 'explicit'. + (mi_cmd_var_create): Output the 'frozen' field, + as soon as testsuite is adjusted to expect that field. + (mi_cmd_var_set_frozen): New. + (mi_cmd_var_update): Pass the 'explicit' parameter to + varobj_update_one. + * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. + * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. + +2007-04-13 Paul Brook + + * target-descriptions.c (tdesc_named_type): Add ieee_single and + ieee_double. + * doc/gdb.texinfo: Document ieee_single and ieee_double target types. + +2007-04-13 Daniel Jacobowitz + + * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, + remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, + scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, + ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. + * Makefile.in: Remove references to deleted files. + * README: Do not mention deleted ROM monitor interfaces. + * defs.h (enum language): Delete language_scm. + * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. + (dump_subexp_body_standard): Likewise. + * parse.c (operator_length_standard): Likewise. + * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. + * remote-mips.c: Do not include remote-utils.h. + * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug + throughout. + * value.c: Do not include scm-lang.h. + (unpack_long): Delete scm_unpack call. + * config/h8300/h8300.mt, config/mips/embed.mt, + config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, + config/sh/embed.mt, config/sh/linux.mt: Remove references to + deleted files. + * NEWS: Mention removed files. + +2007-04-13 Daniel Jacobowitz + + * symfile.c (add_psymbol_with_dem_name_to_list): Remove. + * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. + +2007-04-13 Daniel Jacobowitz + + * NEWS: Mention removal of HP aCC support. + +2007-04-13 Daniel Jacobowitz + + * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the + first entry for static executables. + (breakpoint_addr): Delete unused variable. + (elf_locate_base): Search for _r_debug in static executables. + (enable_break): Do not set breakpoint_addr. Scan solib_break_names + also. + +2007-04-13 Daniel Jacobowitz + + * breakpoint.c (update_breakpoints_after_exec, print_it_typical) + (bpstat_what, print_one_breakpoint, allocate_bp_location) + (mention): Remove bp_through_sigtramp support. + * breakpoint.h (enum bptype): Remove bp_through_sigtramp. + +2007-04-13 Daniel Jacobowitz + + * breakpoint.c (bpstat_what): Give step-resume higher priority than + shlib events. + +2007-04-13 Daniel Jacobowitz + + * infrun.c: Doc fixes. + (handle_inferior_event): Clarify debug message. + (insert_step_resume_breakpoint_at_sal): Print a debug message. + +2007-04-12 Ulrich Weigand + + * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. + +2007-04-12 Ulrich Weigand + + * config/m68k/tm-monitor.h: Delete file. + * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. + * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break + call moved to ... + * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... + * m68klinux-tdep.c (m68k_linux_init_abi): ... here. + +2007-04-12 Luis Machado + + * gdbarch.sh (software_single_step): Change the return type + from void to int and reformatted some comments to <= 80 + columns. + * gdbarch.c, gdbarch.h: Regenerated. + * alpha-tdep.c (alpha_software_single_step): Likewise. + * alpha-tdep.h (alpha_software_single_step): Likewise. + * arm-tdep.c (arm_software_single_step): Likewise. + * cris-tdep.c (cris_software_single_step): Likewise. + * mips-tdep.c (mips_software_single_step): Likewise. + * mips-tdep.h (mips_software_single_step): Likewise. + * rs6000-tdep.c (rs6000_software_single_step): Likewise. + * rs6000-tdep.h (rs6000_software_single_step): Likewise. + * sparc-tdep.c (sparc_software_single_step): Likewise. + * sparc-tdep.h (sparc_software_single_step): Likewise. + * spu-tdep.c (spu_software_single_step): Likewise. + * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP + and act accordingly. + +2007-04-11 Steve Ellcey + + * configure.ac (build_warnings): Add -Wno-char-subscripts. + * configure: Regenerate. + * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. + +2007-04-11 Jan Kratochvil + + * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. + +2007-04-11 Jan Kratochvil + + * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New + macros. + (TYPE_IS_OPAQUE): Empty vs. opaque structures are now + distinct on the TYPE_STUB_SUPPORTED debug targets. + * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. + +2007-04-11 Joel Brobecker + + * sparc-tdep.c (X_RS2): New macro. + (sparc_skip_stack_check): New function. + (sparc_analyze_prologue): Adjust PC past stack probing + sequence if necessary. + +2007-04-10 Andreas Schwab + + * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR + register. + +2007-04-10 Daniel Jacobowitz + + * breakpoint.c (gdb_breakpoint_query): Really return an + enum gdb_rc. + (gdb_breakpoint): Likewise. + * thread.c (gdb_list_thread_ids): Likewise. + (gdb_thread_select): Likewise. + * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. + (mi_cmd_thread_list_ids): Remove bogus initialization. + +2007-04-10 Daniel Jacobowitz + + * Makefile.in (SFILES): Remove hpacc-abi.c. + (COMMON_OBS): Remove hpacc-abi.o. + (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). + (hpacc-abi.o, hpread.o): Delete rules. + * somread.c: Delete extern declarations from hpread.c. + (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. + (som_symfile_finish): Do not call hpread_symfile_finish. + (som_symfile_init): Do not call hpread_symfile_init. + * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. + * config/pa/hppahpux.mt (TDEPFILES): Likewise. + * hpacc-abi.c, hpread.c: Deleted. + +2007-04-10 Daniel Jacobowitz + + * solib-svr4.c (enable_break): Simplify return value. + (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. + +2007-04-10 Andreas Schwab + + * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, + l_ld_size, l_next_size, l_prev_size, l_name_size. + + * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address + to extract addresses from link map. + (LM_DYNAMIC_FROM_LINK_MAP): Likewise. + (LM_NEXT): Likewise. + (LM_NAME): Likewise. + (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. + (elf_locate_base): Likewise. + (open_symbol_file_object): Likewise. + (svr4_fetch_objfile_link_map): Likewise. + (SOLIB_EXTRACT_ADDRESS): Remove unused macro. + (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of + l_ld_size. + (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. + (svr4_lp64_fetch_link_map_offsets): Likewise. + + * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set + removed members. Set l_ld_offset to -1 if not present. + +2007-04-08 Vladimir Prus + + Pass stderr of program run with "target remote |" + via gdb_stderr. + * serial.c (serial_open): Set error_fd to -1. + * serial.h (struct serial): New field error_fd. + (struct serial_opts): New field avail. + * ser-pipe.c (pipe_open): Create another pair + of sockets. Pass stderr to gdb. + * ser-mingw.c (pipe_windows_open): Pass + PEX_STDERR_TO_PIPE to pex_run. Initialize + sd->error_fd. + (pipe_avail): New. + (_initialize_ser_windows): Hook pipe_avail. + * ser-base.c (generic_readchar): Check if there's + anything in stderr channel and route that to gdb_stderr. + +2007-04-03 Pedro Alves + + * dbxread.c (read_ofile_symtab): Move current_objfile + clearing to after end_stabs. + +2007-04-01 Andreas Schwab + + * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter + gdbarch instead of current_gdbarch. + +2007-04-01 Vladimir Prus + + * varobj.c (varobj_create): Keep varobj value + NULL when evaluating the type. + +2007-03-31 Pedro Alves + + * NEWS: Mention new Windows CE support. + +2007-03-30 Pedro Alves + + * configure.tgt: Move mips*-*-pe and sh*-*-pe to + the obsoletion stanza. + * NEWS: Mention deleted targets. + + * config/sh/tm-wince.h: Remove. + * config/sh/wince.mt: Remove. + * config/mips/tm-wince.h: Remove. + * config/mips/wince.mt: Remove. + + * wince.c: Remove. + * wince-stub.c: Remove. + * wince-stub.h: Remove. + * Makefile.in (wince.o): Remove rule. + (wince-stub.o): Likewise. + + * mips-tdep.c (mips_next_pc): Make static. + * mips-tdep.h (mips_next_pc): Remove declaration. + * arm-tdep.c (arm_pc_is_thumb): Make static. + (thumb_get_next_pc): Likewise. + (arm_get_next_pc): Likewise. + * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. + (arm_pc_is_thumb): Likewise. + (thumb_get_next_pc): Likewise. + (arm_get_next_pc): Likewise. + +2007-03-30 Daniel Jacobowitz + + * MAINTAINERS: Remove d10v entry. + * Makefile.in (SFILES): Remove dwarfread.c. + (COMMON_OBS): Remove dwarfread.o. + (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) + (remote-est.o, rom68k-rom.o): Delete. + * NEWS: Mention removal of d10v, target abug, target cpu32bug, + target est, target rom68k, and DWARF 1. + * configure.tgt: Mark d10v as removed. + * dwarf2read.c: Doc update. + * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, + and lnsize. + (elf_locate_sections): Do not set them. + (elf_symfile_read): Do not call dwarf_build_psymtabs. + * symfile.h (dwarf_build_psymtabs): Delete prototype. + * config/m68k/monitor.mt (TDEPFILES): Prune. + * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, + remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. + +2007-03-30 Daniel Jacobowitz + + * doublest.c (convert_floatformat_to_doublest): Use + floatformat_classify. + (floatformat_is_nan): Rename to... + (floatformat_classify): ...this. Return more information. + * doublest.h (enum float_kind): New. + (floatformat_is_nan): Replace prototype... + (floatformat_classify): ...with this one. + * valprint.c (print_floating): Use floatformat_classify. Handle + infinity. + +2007-03-30 Daniel Jacobowitz + + * README: Mention ISO C library requirement. + 2007-03-30 Daniel Jacobowitz * Makefile.in (SFILES): Remove nlmread.c.