Typo fix.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 53b5c60e7902aa806d0ce597a09eff1da5e6c891..00f7dcfff6c9ebf115610a001ec2fd4e947a1704 100644 (file)
@@ -1,3 +1,429 @@
+2006-06-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
+       (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
+       conversion. Use M68K_NUM_REGS for number of regs.
+
+       * remote-fileio.c (remote_fileio_reset): New.
+       * remote-fileio.h (remote_fileio_reset): Prototype.
+       * remote.c (extended_remote_restart, remote_open_1): Call it.
+
+       * remote.c (remote_open_1): Do preopen tasks before
+       irreversably destroying state.
+
+2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (struct remote_state): New type, only containing
+       buf and buf_size.
+       (remote_state): New variable.
+       (get_remote_state): New function.
+       (struct remote_arch_state): Renamed from struct remote_state.
+       Removed buf and buf_size.
+       (get_remote_arch_state): Renamed from get_remote_state.  All
+       necessary callers updated to call this function.
+       (init_remote_state): Initialize the architecture-specific state.
+       Update the target-specific state if necessary.
+       (get_remote_packet_size): New function.  All previous references
+       changed to use this accessor function.
+       (packet_reg_from_regnum, packet_reg_from_pnum): Take a
+       remote_arch_state instead of a remote_state.  All callers changed.
+       (_initialize_remote): Initialize the packet buffer here.
+
+2006-06-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * remote.c (remote_insert_watchpoint): Return -1, rather than
+       fatal error if packet is disabled.
+       (remote_remove_watchpoint, remote_insert_hw_breakpoint,
+       remote_remove_hw_breakpoint): Likewise.
+
+2006-06-02  Nick Roberts  <nickrob@snap.net.nz>
+
+       * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
+
+2006-05-31  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c: Comment tweaks.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (top_builddir): Update comments.
+       (INTL_DIR, INTL_SRC): Delete.
+       (INTL, INTL_DEPS, INTL_CFLAGS): Update.
+       * acinclude.m4: Include new gettext macros.
+       * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR.  Remove copied
+       CATALOGS code.
+       * aclocal.m4, configure: Regenerated.
+
+2006-05-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (arm-linux-nat.o): Update dependencies.
+       * arm-linux-nat.c: Include "gdb_proc_service.h".
+       (PTRACE_GET_THREAD_AREA): Define.
+       (ps_get_thread_area): New function.
+
+2006-05-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
+       DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
+       DWARF2_FRAME_REG_SAVED_VAL_EXP.
+       * dwarf2-frame.c (execute_cfa_program): Handle val_offset,
+       val_offset_sf and val_expression.
+       (dwarf2_frame_prev_register): Handle the new reg rules.
+       (dwarf2_frame_this_id): Use pc instead of function entry point.
+
+2006-05-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
+       (dwarf2_frame_sniffer): Use it.
+       (decode_frame_entry_1): Set it according to augmentation "S".
+
+2006-05-27  Joel Brobecker  <brobecker@adacore.com>
+
+       From Peter Schauer <peterschauer@gmx.net>
+       * m2-typeprint.c (m2_record_fields): Move variable declarations
+       to the begining of the block.
+        
+2006-05-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * mt-tdep.c (mt_register_name): Correct out-of-range logic to
+       include additional registers. 
+
+       * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
+       Iscramb2, Qscramb2, Qchannel2.
+       (mt_register_name): Likewise.
+       (mt_copro_register_type): Describe ZI2 and ZQ2.
+
+       * mt-tdep.c (mt_gdb_regnums): Define
+       MT_COPRO_PSEUDOREG_MAC_REGNUM.
+       (mt_register_name): Use it.
+       (mt_copro_register_type): Likewise.
+       (mt_register_type): Likewise.
+       (mt_pseudo_register_read): Likewise.  Read the MAC register, not
+       the coprocessor register.
+       (mt_pseudo_register_write): Likewise.
+
+2006-05-21  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (cygwin_exceptions): New variable.
+       (handle_exception): Treat a cygwin exception like a normal exception if
+       cygwin_exceptions is true.
+       (_initialize_win32_nat): Add "set cygwin-exceptions" handler.
+
+2006-05-20  Gaius Mulley  <gaius@glam.ac.uk>
+
+       * NEWS: (Improved Modula-2 language support): New section.
+
+2006-05-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure: Regenerate using proper version of autoconf.
+
+2006-05-19  Fred Fish  <fnf@specifix.com>
+
+       * Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
+       * dwarfread.c: Fix spelling of 'unexpected'.
+       * mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
+       * stack.c: Fix spelling of 'RETURN_VALUE'.
+       
+2006-05-18  Paul Gilliam  <pgilliam@us.ibm.com
+
+       * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
+
+2006-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2-frame.c: Include "value.h".
+       (read_reg): Use unpack_long and register_type.
+       * Makefile.in (dwarf2-frame.o): Update.
+
+2006-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-rdp.c: Deleted.
+       * NEWS: Mention removal of remote-rdp.c.
+
+       * Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
+       (remote-rdp.o): Delete.
+       * README: Remove description of remote-rdp.c.
+       * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
+       * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
+
+2006-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ser-e7kpc.c: Include <time.h> if it is available.
+
+2006-05-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in (version.in): Bump version number to 6.5.50 now
+       that the gdb-6.5 branch has been created.
+       * NEWS: Create a new section for changes that are included
+       since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
+       section.
+
+2006-05-16  Jim Blandy  <jimb@codesourcery.com>
+
+       * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
+       the Global Maintainers' invitation to be an authorized committer
+       for the Modula-2 support.
+
+2006-05-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppcobsd-nat.c: Include "gdb_assert.h".
+       [PT_GETFPREGS] (getfpregs_supplies): New function.
+       (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
+       versions that have PT_GETFPREGS.
+       (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
+       ppcobsd_fpreg_offsets.
+       * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
+       Declare.
+       * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
+       variables.
+       (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
+       * Makefile.in (ppcobsd-nat.o): Update dependencies.
+
+2006-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.ac: Use GCC_HEADER_STDINT.
+       * acinclude.m4: Include stdint.m4.
+       * Makefile.in (gdb_stdint_h): Define.
+       (distclean): Remove gdb_stdint.h.
+       (Makefile, stamp-h): Update rules to generate only the correct
+       files.
+       (gdb_stdint.h, stamp-int): New rules.
+       * config.in, configure: Regenerated.
+
+2006-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * valprint.c: Include "exceptions.h".
+       (val_print): If something goes wrong while printing, supply an
+       error message.
+
+2006-05-15  Peter O'Gorman  <gdb-patches@mlists.thewrittenword.com>
+
+       * source.c (get_current_source_symtab_and_line)
+       (set_current_source_symtab_and_line): Use { 0 }.
+       * cli/cli-cmds.c (list_command): Likewise.
+
+2006-05-14  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands.
+       (gdbmi): Use new variable name gdb-pc-address.
+       (gdbmi-frame-handler):  Use new variable name gdb-pc-address.
+       Check that a match has been found.
+
+2006-05-13  Gaius Mulley  <gaius@glam.ac.uk>
+
+       * m2-lang.h: Added function extern prototypes for
+       m2_is_long_set and get_long_set_bounds.
+       * m2-typeprint.c: Complete replacement.
+       (m2_print_type): Walk the Modula-2 type tree.
+       (m2_type_name): New function.
+       (m2_range): New function.
+       (m2_typedef): New function.
+       (m2_array): New function.
+       (m2_pointer): New function.
+       (m2_ref): New function.
+       (m2_unknown): New function.
+       (m2_union): New function.
+       (m2_procedure): New function.
+       (m2_print_bounds): New function.
+       (m2_short_set): New function.
+       (m2_is_long_set): New function.
+       (m2_get_discrete_bounds): New function.
+       (m2_is_long_set_of_type): New function.
+       (m2_long_set): New function.
+       (m2_record_fields): New function.
+       (m2_enum): New function.
+       * dwarf2read.c: Modified.
+       (read_set_type): New function.
+       (process_die): Call read_set_type.
+       (read_base_type): Modifed.
+       (set_cu_language): Added Modula-2 case clause.
+       * m2-valprint.c: Complete replacement.
+       (print_function_pointer_address): New function.
+       (get_long_set_bounds): New function.
+       (m2_print_long_set): New function.
+       (print_unpacked_pointer): New function.
+       (print_variable_at_address): New function.
+       (m2_val_print): Replaced.
+       * gdb/MAINTAINERS (Write After Approval): Added
+       Gaius Mulley  <gaius@glam.ac.uk>
+
+2006-05-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppcnbsd-tdep.h: Update copyright year.  Include <stddef.h>
+       (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
+       (ppcnbsd_fill_fpreg): Remove prototypes.
+       (struct regset): Add forward declaration.
+       (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
+       * ppcnbsd-tdep.c: Update copyright year.  Include "gdbtypes.h",
+       "regset.h" and "gdb_string.h".  Don't include "breakpoint.h",
+       "value.h", target.h and nbsd-tdep.h".  Reorder includes.
+       (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
+       (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
+       (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
+       Remove macros.
+       (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
+       (ppcnbsd_fill_fpreg): Remove functions.
+       (fetch_core_registers, fetch_elfcore_registers): Remove functions.
+       (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
+       (ppcnbsd_reg_offsets): New variable.
+       (ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
+       (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
+       introduced in NetBSD 2.0.
+       (ppcnbsd_sigtramp): Provide complete signal trampoline.
+       (ppcnbsd2_sigtramp): New variable.
+       (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
+       svr4_ilp32_fetch_link_map_offsets.  Set regset_from_core_section.
+       Add ppcnbs2_sigtramp unwinder.
+       (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
+       Initialize ppcnbsd_reg_offsets.
+       * ppcnbsd-nat.c: Update copyright year.  Reorder includes.
+       (getregs_supplies): Use regnum instead of regno.
+       (getfpregs_supplies): Likewise.
+       (ppcnbsd_fetch_inferior_registers): Likewise.  Call
+       ppc_supply_gregset and ppc_suppply_fpregset instead of
+       ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
+       (ppcnbsd_store_inferior_registers): Likewise.  Call
+       ppc_collect_gregset and ppc_collect_fpregset instead of
+       ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
+       (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
+       (_initialize_ppcnbsd_nat): Add some whitespace.
+       * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
+       * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
+       (NAT_FILE): Remove.
+       * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
+
+2006-05-11  Alfred M. Szmidt  <ams@gnu.org>
+
+       * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
+
+2006-05-11  Fred Fish  <fnf@specifix.com>
+
+       * symtab.c (skip_prologue_using_sal): Handle single line functions
+       like "foo(){}", which may optimize down to a single return inst.
+
+2006-05-10  Steve Ellcey  <sje@cup.hp.com>
+
+       * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
+       message.
+
+2006-05-09  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
+       (execute_cfa_program): Add parameter eh_frame_p.  Call
+       dwarf2_frame_eh_frame_regnum when true.
+       (dwarf2_frame_cache): Pass eh_frame_p from fde to
+       execute_cfa_program.
+       (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
+       processing .eh_frame.  Copy eh_frame_p to the new fde.
+       (struct dwarf2_frame_ops): Add eh_frame_regnum.
+       (dwarf2_frame_set_eh_frame_regnum): Define.
+       (dwarf2_frame_eh_frame_regnum): Define.
+
+       * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
+       (dwarf2_frame_eh_frame_regnum): Declare.
+
+2006-05-06  David S. Miller  <davem@sunset.davemloft.net>
+
+       * linux-nat.c (linux_nat_do_thread_registers): Check for
+       NULL collect_regset method.
+
+2006-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (s390_collect_regset): New function.
+       (s390_gregset, s390x_gregset, s390_fpregset): Add it.
+
+2006-05-06  Nick Roberts  <nickrob@snap.net.nz>
+
+       * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a
+       symbol.
+
+2006-05-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * linux-nat.c (exit_lwp): Fix NULL pointer access.
+       (linux_nat_handle_extended): New parameter STOPPING.
+       (wait_lwp): Call it with STOPPING equals 1.
+       (linux_nat_wait): Call it with STOPPING equals 0.
+
+2006-05-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * linux-nat.c (linux_nat_wait): Do not short-cut reporting
+       of 'uninteresting' signals when single-stepping.
+
+2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Move NEWS to the documentation entry.
+
+2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
+
+       * linux-nat.c (linux_nat_do_thread_registers): Use the
+       regset_from_core_section infrastructure if the target
+       supports it.
+       * Makefile.in: Update dependencies.
+       * linux-thread-db.c (thread_db_store_registers): Use
+       regcache_raw_collect.
+
+2006-05-05:  Paul Gilliam  <pgilliam@us.ibm.com>
+
+       * ppc-linux-nat.c: Clean up types for ptrace.
+       Replace (CORE_ADDR) with  (uintptr_t) to avoid the size difference
+       between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
+
+2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_disconnect): Add TARGET argument.
+       * target.c (debug_to_disconnect): Delete.
+       (update_current_target): Do not inherit to_disconnect.
+       (target_disconnect): Search for a target to implement to_disconnect.
+       (setup_target_debug): Do not reference to_disconnect.
+       * target.h (struct target_ops): Add target argument to
+       to_disconnect.
+
+2006-05-06  Fred Fish  <fnf@specifix.com>
+
+       * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
+       structs or unions independent of ABI register size.
+
+2006-05-06  Fred Fish  <fnf@specifix.com>
+
+       * mips-tdep.c (mips_o64_return_value): Replace stub that always
+       returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
+
+2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * mi/mi-main.c (captured_mi_execute_command): Check the return
+       value of -interpreter-exec.
+
+2006-05-03  Vladimir Prus  <ghost@cs.msu.su>
+
+       * varobj.c (c_value_of_variable): Ignore top-level references.
+       (Committed by Jim Blandy.)
+
+2006-04-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * breakpoint.c (insert_single_step_breakpoint): Make a failure to
+       insert a single-step breakpoint an error instead of a warning.
+
+2006-05-01  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
+       arguments from void * to gdb_byte *.
+
+2006-04-26  Michael Snyder  <msnyder@redhat.com>
+
+       * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
+       command to "delete fork" (no hyphen), compatible with other
+       "delete" commands.
+       (info_forks_command): Accept a fork ID argument, for info
+       on a single fork.  Report if no matching forks.
+
+2006-04-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * breakpoint.c (remove_single_step_breakpoints): Bail out early if
+       no breakpoints are inserted.
+
+       From Masaki MURANAKA <monaka@monami-software.com>:
+       * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
+       type of last argument to `gdb_byte *'
+
 2006-04-25  Jim Blandy  <jimb@codesourcery.com>
 
        Add support for 'target remote |' on MinGW.
        * NEWS: Mention new target.
        * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
 
+2006-04-20  Michael Snyder  <msnyder@redhat.com>
+
+       * remote.c: Fix spelling error in comment.
+
 2006-04-20  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
This page took 0.037156 seconds and 4 git commands to generate.