2004-08-10 David Carlton <carlton@bactrian.org>
[binutils-gdb.git] / gdb / ChangeLog
index 35d8fb9486e9800b07df87db8d434b805bf1704e..38d282790739719774ca94f4a33c3ef1783a992e 100644 (file)
@@ -1,5 +1,298 @@
+2004-08-10  David Carlton  <carlton@bactrian.org>
+
+       * MAINTAINERS: Remove David Carlton from c++ testsuite
+       maintainers.
+
+2004-08-10  Jerome Guitton  <guitton@gnat.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
+       print a line feed before the prompt.
+
+2004-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
+
+2004-08-09  Joel Brobecker  <brobecker@gnat.com>
+
+       General cleanup of the AIX xm include file:
+       * config/xm-aix4.h (fd_set): Remove undefine.
+       Remove include of <sys/select.h>.
+       (HAVE_TERMIO): Remove define.
+       (USG): Likewise.
+       (NULL): Remove redefine.
+       (alloca): Remove #pragma.
+       (vfork): Remove define.
+       (termdef): Remove.
+       (SIGWINCH_HANDLER): Remove.
+       (SIGWINCH_HANDLER_BODY): Remove.
+
+2004-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
+       GDB_OSABI_OPENBSD_ELF.
+
+2004-08-07  Robert Millan  <robertmh@gnu.org>
+
+       * bsd-kvm.c: Check for nlist.h before including it.
+
+2004-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
+       sigcontext' offset consistency checks for ancient BSD.
+
+       * gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
+
+       * configure.in: Check for <sys/types.h>.  Check return and
+       argument types of ptrace.
+       * configure, config.in: Regenerate.     
+
+2004-08-09  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
+       rs6000_register_sim_regno): Doc fixes.
+
+2004-08-08  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c: Include "floatformat.h".
+       (n32n64_floatformat_always_valid): New function.
+       (floatformat_n32n64_long_double_big): New constant.
+       (mips_gdbarch_init): Set size and format of long double
+       for N32 and N64 ABIs.
+       * Makefile.in (mips-tdep.o): Update dependencies.
+
+2004-08-08  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbarch.sh: Delete "fmt" and "attrib" fields.  Always use %s to
+       print.  Improve script's error messages.
+       * gdbarch.h: Re-generate.
+
+       * gdbarch.sh (pformat): New function.
+       (float_format, double_format, long_double_format): List with bit
+       members.  Use pformat when printing.
+       * gdbarch.c, gdbarch.h: Re-generate.
+       
+2004-08-08  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
+       "gdbcore.h", "regcache.h", and "bsd-kvm.h".
+       (ppcnbsd_supply_pcb): New function.
+       (_initialize_ppcnbsd_nat): New prototype and function.
+       * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+       * Makefile.in (ppcnbsd-nat.o): Update dependencies.
+
+2004-08-08  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
+       (builtin_type_ieee_double, builtin_type_ia64_quad)
+       (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
+       BE/LE floating-point types.
+       * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
+       (builtin_type_ieee_double, builtin_type_ia64_quad)
+       (builtin_type_ia64_spill): Declare.
+       * doublest.c (_initialize_doublest, floatformat_ieee_single)
+       (floatformat_ieee_double, floatformat_arm_ext)
+       (floatformat_ia64_spill, floatformat_ia64_quad): Add tables
+       of LE/BE floatformats.  
+       * doublest.h: (struct floatformat, floatformat_ieee_single)
+       (floatformat_ieee_double, floatformat_arm_ext)
+       (floatformat_ia64_spill, floatformat_ia64_quad): Declare.
+
+2004-08-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386gnu-nat.c (gnu_store_registers): Fix typo.
+
+       * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
+       instead of regcache_raw_supply when storing the registers.
+
+       * i386gnu-nat.c: Update copyright year.
+       (gnu_store_registers): Don't use deprecated_registers and
+       deprecated_registers_valid.  Use regcache_valid_p and
+       regcache_raw_supply instead.
+
+       * vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
+       frame_pc_unwind.
+
+       * procfs.c (procfs_pid_to_str): Remove redundant and unused
+       variables.  Incapitalized "process".
+
+       * configure.in: Add cursesX to the list of possible curses libs.
+       Add cursesX.h to the list of possible curses headers. 
+       * configure, config.in: Regenerate.     
+
+2004-08-07  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * configure.in: Test for struct lwp in <sys/lwp.h>.
+       * bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
+       the offset of l_addr in struct lwp.
+
+2004-08-07  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * bsd-kvm.c: Include "gdbcore.h"
+       (bsd_kvm_open): Use get_exec_file() to set 'execfile'.
+
+2004-08-07  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbtypes.c (build_flt, build_complex): New functions.
+       (gdbtypes_post_init): Use.
+
+       * doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
+
+       * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
+       through to builtin_type_uint128.
+
+       * c-exp.y: Use builtin_type function to obtain builtin types.
+
+       * gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
+       builtin_uint128.
+       * gdbtypes.c (gdbtypes_post_init): Update.
+       (build_gdbtypes): Move initialization of builtin_type_int0
+       through to builtin_type_uint128 from here ...
+       (_initialize_gdbtypes): ... to here.
+       * d10v-tdep.c (d10v_register_type): Update.
+
+       * doublest.c: Update copyright.
+       (floatformat_from_length): Call error when floatformat is NULL.
+       (extract_floating_by_length): Remove NULL fmt check.
+       (store_floating_by_length): Ditto.
+
+2004-08-07  Andrew Cagney  <cagney@gnu.org>
+
+       * regcache.c (regcache_raw_read): For the moment, #ifdef assert
+       that the register is valid.
+
+2004-08-05  Mark Kettenis  <kettenis@chello.nl>
+
+       * i386-linux-tdep.c (i386_linux_sigtramp_start)
+       (i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
+       struct frame_info *.  Use safe_frame_unwind_memory instead of
+       deprecated_read_memory_nobpt.
+       (i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
+       changed signature of i386_linux_sigtramp_start and
+       i386_linux_rt_sigtramp_start.
+
+       * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
+       CORE_ADDR to struct frame_info *.  Use safe_frame_unwind_memory
+       instead of deprecated_read_memory_nobpt.
+       (i386nbsd_sigtramp_p): Adjust for changed signature of
+       i386nbsd_sigtramp_offset.
+
+       * i386obsd-tdep.c (i386obsd_sigtramp_p): Use
+       safe_frame_unwind_memory instead of target_read_memory.
+
+       * infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
+       !NO_SYS_FILE.
+       [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
+       [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
+       (_initialize_kernel_u_addr): Remove prototype and function.
+       * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
+       !NO_SYS_FILE.
+       * xcoffread.c: Likewise.
+
+2004-08-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * vax-nat.c: New file.
+       * vaxbsd-nat.c: Tweak comment.
+       * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and
+       vaxnbsd-tdep.c.
+       (vax-nat.o): New dependency.
+       * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax.
+       (vax-*-ultrix2*): Remove.
+       * config/vax/vax.mh: New file.
+       * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration.
+       (KERNEL_U_ADDR): Define as vax_kernel_u_addr.
+       (vax_register_u_addr): New prototype.
+       (REGISTER_U_ADDR): Define using vax_register_u_addr.
+       * config/vax/vaxult2.mh: Remove file.
+       * config/vax/vaxult.mh: Remove file.
+       * config/vax/vaxbsd.mh: Remove file.
+       * config/vax/vax.mt (TM_FILE): Remove.
+       * config/vax/tm-vaxbsd.h: Remove file.
+
+2004-08-06  Joel Brobecker  <brobecker@gnat.com>
+
+       * aix-thread.c (get_signaled_thread): New function.
+       (iter_trap): Delete, no longer used.
+       (iter_tid): New function.
+       (pd_update): Find the thread that received the SIGTRAP signal
+       by first locating the kernel thread, and then finding its
+       associated thread.
+
+2004-08-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * lin-lwp.c (child_wait): Continue inferior after processing
+       PTRACE_EVENT_CLONE event.
+
+2004-08-05  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-05  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
+       libunwind-xxxx.so" where xxxx is UNW_TARGET.
+
+2004-08-05  Andrew Cagney  <cagney@gnu.org>
+
+       * config/xm-sysv4.h: Delete file.
+       * config/mips/xm-irix5.h: Delete file.
+       * config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/ia64/xm-aix.h: Delete file.
+       * config/ia64/aix.mh (XM_FILE): Delete.
+       * config/pa/xm-hppah.h: Delete file.
+       * config/pa/hpux11w.mh (XM_FILE): Delete.
+       * config/pa/hpux11.mh (XM_FILE): Delete.
+       * config/pa/hpux1020.mh (XM_FILE): Delete.
+       * config/pa/hppahpux.mh (XM_FILE): Delete.
+
+       * config/alpha/xm-alphalinux.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
+       * config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
+       * config/alpha/xm-alphaosf.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
+       * config/alpha/alpha-osf3.mh (XM_FILE): Delete.
+       * config/alpha/alpha-osf2.mh (XM_FILE): Delete.
+       * config/alpha/alpha-osf1.mh (XM_FILE): Delete.
+
+       * config/i386/xm-i386v.h: Delete file.
+       * config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/xm-i386sco.h: Delete file.
+       * config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
+       * config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
+       * config/i386/xm-i386v4.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
+       * config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
+       * config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
+
+       * config/vax/xm-vax.h: Delete file.
+       * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
+       * config/vax/xm-vaxult2.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
+       * config/vax/vaxult2.mh (XM_FILE): Delete.
+       * config/vax/xm-vaxult.h: Delete file.
+       * config/vax/vaxult.mh (XM_FILE): Delete.
+       * config/vax/xm-vaxbsd.h: Delete file.
+       * config/vax/vaxbsd.mh (XM_FILE): Delete.
+
+       * gdbarch.sh (deprecated_frame_saved_pc): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
+       * inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
+       * frame.h: Delete deprecated_read_fp from comments.
+       * arch-utils.c (deprecated_init_frame_pc_default): Delete.
+       * arch-utils.h (deprecated_init_frame_pc_default): Delete.
+
 2004-08-04  Mark Kettenis  <kettenis@gnu.org>
 
+       * i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
+       trampoline in OpenBSD 3.5-current.
+
+       * i387-tdep.c (i387_supply_fsave): Provide summy values for the
+       SSE registers.
+
        * Makefile.in: Remove embedded page breaks.
 
 2004-08-04  Jim Blandy  <jimb@redhat.com>