* config/powerpc/aix.mh: Add comment.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 07b8ab410716de1104bb9481ef2f79bccd2dc994..c181a14ddca2a638a52fc8d22df5cf77d3bbd161 100644 (file)
@@ -1,3 +1,471 @@
+2004-08-31  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/aix.mh: Add comment.
+
+2004-08-31  Paul GIlliam  <pgilliam@us.ibm.com>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30  Andrew Cagney  <cagney@gnu.org>
+
+       Fix PR breakpoints/1757.
+       * infrun.c (struct execution_control_state): Replace
+       remove_breakpoints_on_following_step with
+       step_after_step_resume_breakpoint.
+       (init_execution_control_state): Update.
+       (handle_inferior_event): For signals, when stepping off a
+       breakpoint, set step_after_step_resume_breakpoint.  When
+       BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
+       (keep_going): Delete code handling
+       remove_breakpoints_on_following_step.
+
+2004-08-29  David Lecomber  <david@streamline-computing.com>
+       
+       Fix PR gdb/648
+       * language.h (enum array_ordering): New enum.
+       * language.h (struct language_defn): New la_array_ordering 
+       attribute.
+       * language.c (unknown_language_defn, auto_language_defn)
+       (local_language_defn): Ditto.
+       * ada-lang.c (ada_language_defn): Ditto.
+       * c-lang.c (c_language_defn, cplus_language_defn)
+       (asm_language_defn, minimal_language_defn): Ditto.
+       * f-lang.c (f_language_defn): Ditto.
+       * jv-lang.c (java_language_defn): Ditto.
+       * m2-lang.c (f_language_defn): Ditto.
+       * objc-lang.c (objc_language_defn): Ditto.
+       * p-lang.c (pascal_language_defn): Ditto.
+       * scm-lang.c (scm_language_defn): Ditto.
+       * eval.c (evaluate_subexp_standard): Assume Fortran arrays are
+       oriented large to small in type structure.
+       * dwarf2read.c (read_array_order): New function.
+       (read_array_type): Use read_array_order to check row/column
+       major ordering.
+
+2004-08-27  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * target.c (target_resize_to_sections): Check
+       current_target.to_sections for an old value when updating.
+
+2004-08-27  Joel Brobecker  <brobecker@gnat.com>
+
+       * procfs.c (dbx_link_bpt_addr): New static global variable.
+       (dbx_link_shadow_contents): New static global variable.
+       (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
+       (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
+       if we just hit it.
+       (procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
+       Reset dbx_link_bpt_addr as the address of __dbx_link() may change
+       from run to run.
+       (procfs_create_inferior): Remove syssgi syscall-exit notifications
+       after the inferior has been forked.
+       (remove_dbx_link_breakpoint): New function.
+       (dbx_link_addr): New function.
+       (insert_dbx_link_bpt_in_file): New function.
+       (insert_dbx_link_bpt_in_region): New function.
+       (insert_dbx_link_breakpoint): New function.
+       (proc_trace_syscalls_1): New function, extracted from
+       proc_trace_syscalls.
+       (proc_trace_syscalls): Replace extract code by call to
+       proc_trace_syscalls_1.
+       * solib-irix.c (disable_break): Remove stop_pc assertion, as it
+       is no longer valid.
+
+2004-08-25  Jim Blandy  <jimb@redhat.com>
+
+       * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
+
+2004-08-25  Andrew Cagney  <cagney@gnu.org>
+
+       * infrun.c (struct execution_control_state): Delete field
+       "stepping_through_sigtramp".
+       (init_execution_control_state): Do not set same.
+       (context_switch): Do not pass same to save_infrun_state and
+       load_infrun_state.
+       * gdbthread.h (struct thread_info): Delete field
+       stepping_through_sigtramp.
+       (save_infrun_state, load_infrun_state): Delete parameter
+       stepping_through_sigtramp.
+       * thread.c (load_infrun_state, save_infrun_state): Update.
+
+       * infrun.c: Re-indent.  Move expression operators to the beginning
+       of the line.  Remove long disabled #if 0 code.
+
+2004-08-24  Andrew Cagney  <cagney@gnu.org>
+
+       * doublest.h (floatformat_ieee_quad): Rename
+       floatformat_ia64_quad.
+       * doublest.c (floatformat_ieee_quad): Rename
+       floatformat_ia64_quad.
+       (_initialize_doublest): Update.
+
+2004-08-24  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2expr.h (struct dwarf_expr_context): New members
+       'num_pieces' and 'pieces', for returning the result of an
+       expression that uses DW_OP_piece.
+       (struct dwarf_expr_piece): New struct type.
+       * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
+       pieces.
+       (free_dwarf_expr_context): Free pieces, if any.
+       (add_piece): New function.
+       (execute_stack_op): Implement DW_OP_piece.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
+       expression is a list of pieces, print an error message.
+        (dwarf2_loc_desc_needs_frame): If the expression yields
+        pieces, and any piece is in a register, then we need a frame.
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
+       the stack until we've decided what sort of result the evaluation
+       has produced.  Use separate variables, with more specific names.
+
+2004-08-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
+       (arm_nbsd_thumb_[lb]e_breakpoint): Define.
+       (arm_netbsd_init_abi_common): Register them.
+
+2004-08-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
+
+       * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
+       safe_frame_unwind_memory instead of target_read_memory.
+
+       * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
+       Reorder includes.
+       (fetch_register, store_register): Remove prototypes.
+       (child_resume): Reorganize code and comments such that it is
+       grouped a bit more logically.
+       (attach): Explicitly compare errno against 0.
+       (detach): Likewise.  Use perror_with_name instead of
+       print_sys_errmsg.
+       * Makefile.in (infptrace.o): Update dependencies.
+
+       * ia64-linux-nat.c: Update copyright year.
+       (fetch_debug_register, store_debug_register)
+       (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * config/ia64/nm-linux.h: Update copyright year.
+        (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
+
+       * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
+       from CORE_ADDR to struct frame_info *.  Use
+       safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
+       (amd64_linux_sigtramp_p): Adjust for changed signature of
+       and64_linux_sigtramp_start
+
+       * gdb_ptrace.h: GNU/Linux.
+
+       * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
+       Remove defines.
+
+       * infptrace.c: Include "gdb_assert.h".
+       (PTRACE_XFER_TYPE): Remove define.
+       (offsetof): Only define if U_REGS_OFFSET isn't defined.
+       (fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
+       Tweak comment.
+       (fetch_inferior_registers, store_inferior_registers): Remove
+       redundant culry braces.  Tweak comment.  s/regno/regnum.
+       * Makefile.in (infptrace.o): Update dependencies.
+
+       * configure.in: Change test for return type of ptrace to default
+       to `long' instead of `int'.
+       * configure: Regenerate.        
+
+2004-08-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/alpha/alpha-linux.mh (LOADLIBES): New variable.
+
+       * configure.in: Check for ttrace function.
+       * configure, config.in: Regenerate.     
+
+       * gdb_ptrace.h: New file.
+       * infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
+       <sys/ptrace.h>.
+       (PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
+       (PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
+       (attach): Don't define PT_ATTACH.
+       (detach): Don't define PT_DETACH.
+       * Makefile.in (gdb_ptrace_h): New variable.
+       (infptrace.o): Update dependencies.
+
+2004-08-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
+       instead of `int' if not already defined.
+       (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * infptrace.c (call_ptrace): Revert change that replaced
+       PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+
+2004-08-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
+       Remove defines.
+
+       * linux-nat.c (kill_inferior): Add missing third and fourth
+       arguments to ptrace call.  Don't use PTRACE_ARG3_TYPE.
+
+       * infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
+       PTRACE_TYPE_RET.
+
+       * proc-why.c (proc_prettyfprint_why): Fix format string.
+
+       * solib-osf.c (osf_current_sos): Remove unsused label.
+
+       * configure.in: Add <ncurses/ncurses.h> to the list of possible
+       curses headers.
+       * configure, config.in: Regenerate.     
+       * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
+       <ncurses/ncurses.h>.
+
+       * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
+       * config/nm-nbsd.h: Update copyright year.
+       (PTRACE_ARG3_TYPE): Remove define.
+
+       * sparc-nat.c (fetch_inferior_registers)
+       (store_inferior_registers, sparc_xfer_wcookie): 
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+
+       * alphabsd-nat.c (fetch_inferior_registers):
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * amd64bsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * armnbsd-nat.c: Update copyright year.
+       (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs)
+       (store_register, store_regs, store_fp_register, store_fp_regs):
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * hppabsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * i386bsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status):
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * m68kbsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * m88kbsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * mipsnbsd-nat.c: Update copyright year.
+       (fetch_inferior_registers, store_inferior_registers):
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * ns32knbsd-nat.c: Update copyright year.
+       (fetch_inferior_registers, store_inferior_registers):
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * ppcnbsd-nat.c (fetch_inferior_registers):
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * ppcobsd-nat.c (fetch_inferior_registers):
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * shnbsd-nat.c: Update copyright year.
+       (fetch_inferior_registers, store_inferior_registers):
+       Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * vaxbsd-nat.c (fetch_inferior_registers)
+       (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       
+       * inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * infptrace.c (call_ptrace, child_resume, attach, detach)
+       (U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory)
+       (udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+       * inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+
+2004-08-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * defs.h: Remove out-of-date comment.
+       [!FCLOSE_PROVIDED] (fclose): Remove prototype.
+       [!GETENV_PROVIDED] (getenv): Remove prototype.
+
+       * standalone.c: Remove file.
+       * Makefile.in (standalone.o): Remove dependency.
+
+       * i386-linux-nat.c (dummy_sse_values): Remove function and
+       prototype.
+       (i386_linux_dr_get): Fix typo in comment.
+       (LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM.
+
+       * config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o.
+
+       * defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
+       from declaration.
+       * top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
+       from definition.
+
+2004-08-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
+       parenthesis in definition.
+       * configure: Regenerated.
+
+2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * PROBLEMS: Mention build/1411.
+
+2004-08-09  Robert Millan  <robertmh@gnu.org>
+
+       Committed by Nathanael Nerode.
+       * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
+       * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
+
+2004-08-12  Andrew Cagney  <cagney@gnu.org>
+
+       * NEWS: Mention fixes in GDB 6.2.1.
+       * PROBLEMS: Remove mention of mips-irix.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/xm-aix.h: Delete.
+       * config/powerpc/aix.mh (MH_FILE): Remove.
+       * config/powerpc/aix432.mh (MH_FILE): Remove.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/aix.mh: Remove obsolete comment.
+       * config/powerpc/aix432.mh: Likewise.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/xm-aix.h (UINT_MAX): Remove undef.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
+       this file is now empty.
+       * config/xm-aix4.h: Remove, this file is no longer included
+       anywhere.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h" include,
+       that file is now empty.
+       (termdef): Remove prototype, function no longer used.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * doc/gdbint.texinfo (Host Definition): Remove documentation
+       for USE_O_NOCTTY, no longer used.
+       * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
+       * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
+       * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
+       * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
+
+2004-08-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
+       instead of FIVE_ARG_PTRACE.
+
+       * inflow.c (O_NOCTTY): Define to zero if not already defined.
+       (new_tty): Use O_NOCTTY unconditionally.
+
+2004-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * procfs.c (procfs_detach): Cleanup.  Print process ID, not LWP
+       ID.  Use comma in output.  Use gdb_flush on gdb_stdout instead of
+       fflush on stdout.
+
+2004-08-10  Joel Brobecker  <brobecker@gnat.com>
+
+       * xcoff_symfile_finish: Replace last call to xmfree by call
+       to xfree.
+
+2004-08-10  Andrew Cagney  <cagney@gnu.org>
+
+       * main.c (captured_main): Delete call to init_malloc.
+       * defs.h (init_malloc): Delete declaration.
+       * utils.c (mmalloc, mrealloc, mcalloc, mfree)
+       (init_malloc): Delete functions.
+
+       * defs.h (xmfree): Delete.
+       * utils.c (xmfree): Delete function.
+       (xfree): Inline calls to xmfree and mfree.
+       * symmisc.c (free_symtab_block, free_symtab): Use xfree.
+       * symfile.c (reread_symbols, init_psymbol_list): Ditto.
+       * source.c (forget_cached_source_info, find_and_open_source): Ditto.
+       * somread.c (som_symfile_finish): Ditto.
+       * objfiles.c (allocate_objfile, free_objfile): 
+       * nlmread.c (nlm_symfile_finish): Ditto.
+       * hpread.c (hpread_symfile_finish): Ditto.
+       * elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
+       * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
+       * coffread.c (coff_symfile_finish): Ditto.
+
+       * defs.h (xmcalloc): Delete declaration.
+       * utils.c (xmcalloc): Delete.
+       (xcalloc): Inline calls to xmcalloc and mcalloc.
+       * ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
+       xcalloc and xfree.
+       * symtab.c (create_demangled_names_hash): Ditto.
+
+       * defs.h (xmrealloc): Delete.
+       * utils.c (xmrealloc): Delete.
+       (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
+       * symmisc.c (extend_psymbol_list): Use xrealloc.
+       * source.c (find_source_lines): Ditto.
+       * hpread.c (hpread_lookup_type): Ditto.
+       * dbxread.c (add_bincl_to_list): Ditto.
+
+       * utils.c (xmmalloc): Delete.
+       (xmalloc): Inline xmmalloc and mmalloc calls.
+       (msavestring): Use xmalloc.
+       * defs.h (xmmalloc): Delete declaration.
+       * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
+       xmmalloc.
+       * symmisc.c (extend_psymbol_list): Ditto.
+       * symfile.c (init_psymbol_list): Ditto.
+       * source.c (find_source_lines): Ditto.
+       * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
+       * elfread.c (elf_symtab_read): Ditto.
+       * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
+       * coffread.c (coff_symfile_init): Ditto.
+
+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.
This page took 0.029298 seconds and 4 git commands to generate.