* gdb/remote.c (remote_open_1): Do preopen tasks before
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 96e66e71bca2064ef8f76a6da7ac2be4b9483fd3..928f9a6b9da48591a8390794ecbcd1c8fc4d1b38 100644 (file)
@@ -1,3 +1,733 @@
+2006-06-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gdb/remote.c (remote_open_1): Do preopen tasks before
+       irreversably destroying state.
+
+2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * (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.
+       * ser-mingw.c (struct pipe_state): New structure.
+       (make_pipe_state, free_pipe_state, cleanup_pipe_state)
+       (pipe_windows_open, pipe_windows_close, pipe_windows_read)
+       (pipe_windows_write, pipe_wait_handle): New functions.
+       (_initialize_ser_windows): Register a "pipe" interface based on
+       them.
+
+2006-04-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ser-mingw.c: Include <conio.h>.
+       (struct ser_console_state, struct net_windows_state): Add exit_select,
+       have_stopped, thread.
+       (pipe_select_thread, console_select_thread)
+       (net_windows_select_thread): Don't create a local state copy or
+       close stop_select.  Exit on exit_select instead of stop_select.  Set
+       have_stopped.
+       (console_select_thread): Don't report control keypresses as pending
+       input.
+       (pipe_select_thread): Allow stop_select to interrupt sleeping.
+       (set_console_wait_handle): Create exit_select and have_stopped.
+       Save the thread handle.  Check _kbhit before starting a thread.
+       (ser_console_done_wait_handle): New.
+       (ser_console_close): Close new handles.  Wait for the thread to
+       exit.
+       (new_windows_select_thread): Assert that an event occurred.
+       (net_windows_wait_handle): Check for pending input before starting
+       a thread.
+       (net_windows_done_wait_handle): New.
+       (net_windows_open): Create exit_select and have_stopped.
+       Save the thread handle.
+       (net_windows_close): Close new handles.  Wait for the thread to
+       exit.
+       (_intiialize_ser_windows): Register done_wait_handle methods.
+
+       * serial.c [USE_WIN32API] (serial_done_wait_handle): New.
+       * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
+       [USE_WIN32API] (serial_done_wait_handle): New prototype.
+       * mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
+
+2006-04-23  Andreas Schwab  <schwab@suse.de>
+
+       * rs6000-tdep.c: Include "reggroups.h" only once.
+       * Makefile.in (rs6000-tdep.o): Update dependencies.
+
+2006-04-21  Frederic Riss  <frederic.riss@st.com>
+
+       * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
+       compilation directory as last argument. 
+       Always pass comp_dir as second argument to start_subfile and prepend
+       dirname to the filename when necessary. 
+       Remove now superfluous search for pre-existing subfile.
+       (dwarf_decode_lines): Pass the compilation directory to
+       dwarf2_start_subfile.
+
+2006-04-20  Michael Snyder  <msnyder@redhat.com>
+
+       * 2006-03-22  Jim Blandy  <jimb@redhat.com>
+       Add support for the Renesas M32C and M16C.
+
+       * configure.tgt (m32c-*-*): New entry.
+       * config/m32c/m32c.mt: New file.
+       * m32c-tdep.c: New file.
+       * Makefile.in (elf_m32c_h): New variable.
+       (m32c-tdep.o): New rule.
+       * 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):
+       Correct type of VALUEP.  Reported by Jean-Rene Peulve
+       <jr.peulve@wanadoo.fr>.
+
+2006-04-19  Masaki Muranaka  <monaka@monami-software.com>
+
+       * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
+       netdb.h, netinet/in.h.
+       (m32r_upload_command); Add calls WSAStartup().
+       * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
+       netinet/in.h.
+
+2006-04-18  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * breakpoint.c (deprecated_read_memory_nobpt): Update to use
+       shadow_len.
+       (insert_bp_location, reattach_breakpoints, remove_breakpoint)
+       (delete_breakpoint): Update calls to changed methods.
+       (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
+       (single_step_breakpoints, insert_single_step_breakpoint)
+       (remove_single_step_breakpoints): New.
+       * breakpoint.h (struct bp_target_info): New.
+       (struct bp_location): Replace shadow_contents with
+       target_info and overlay_target_info.
+       (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
+       (insert_single_step_breakpoint, remove_single_step_breakpoints): New
+       prototypes.
+       * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
+       (memory_insert_breakpoint, memory_remove_breakpoint): Update second
+       argument.
+       * mem-break.c (default_memory_insert_breakpoint): Update.  Set
+       placed_address, placed_size, and shadow_len.
+       (default_memory_remove_breakpoint): Update.  Don't use
+       BREAKPOINT_FROM_PC.
+       (memory_insert_breakpoint, memory_remove_breakpoint): Update.
+       * target.c (update_current_target): Update prototypes for changed
+       functions.
+       (debug_to_insert_breakpoint, debug_to_remove_breakpoint)
+       (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
+       Update.
+       * target.h: Forward declare struct bp_target_info.
+       (struct target_ops): Use a bp_target_info argument for
+       to_insert_breakpoint, to_remove_breakpoint,
+       to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
+       (target_insert_breakpoint, target_remove_breakpoint)
+       (target_insert_hw_breakpoint, target_remove_hw_breakpoint)
+       (memory_insert_breakpoint, memory_remove_breakpoint)
+       (default_memory_insert_breakpoint, default_memory_remove_breakpoint):
+       Update.
+       * config/i386/nm-i386.h: Forward declare struct bp_target_info.
+       (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
+       (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
+
+       * gdbarch.c, gdbarch.h: Regenerated.
+
+       * alpha-tdep.c (alpha_software_single_step): Use
+       insert_single_step_breakpoint and remove_single_step_breakpoints.
+       Remove unused statics.
+       * arm-tdep.c (arm_software_single_step): Likewise.  Add a note.
+       * 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.
+       * wince.c (struct thread_info_struct): Remove step_prev.
+       (undoSStep): Use remove_single_step_breakpoints.
+       (wince_software_single_step): Use insert_single_step_breakpoint.
+
+       * corelow.c (ignore): Remove unneeded prototype.  Update arguments.
+       * exec.c (ignore): Likewise.
+       * sol-thread.c (ignore): Likewise.
+
+       * procfs.c (dbx_link_shadow_contents): Delete.
+       (dbx_link_bpt): New.
+       (procfs_mourn_inferior): Remove it if necessary.
+       (remove_dbx_link_breakpoint): Use it.
+       (insert_dbx_link_bpt_in_file): Set it.
+       (procfs_init_inferior): Don't update dbx_link_bpt_addr.
+       * rs6000-nat.c (exec_one_dummy_insn): Use
+       deprecated_insert_raw_breakpoint and
+       deprecated_remove_raw_breakpoint.
+       * solib-irix.c (shadow_contents, breakpoint_addr): Delete.
+       (base_breakpoint): New.
+       (disable_break): Use it.
+       (enable_break): Set it.
+
+       * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
+       Update.
+       * ia64-tdep.c (ia64_memory_insert_breakpoint)
+       (ia64_memory_remove_breakpoint): Likewise.
+       * m32r-tdep.c (m32r_memory_insert_breakpoint)
+       (m32r_memory_remove_breakpoint): Likewise.
+       * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
+       Likewise.  Remove unnecessary prototypes.  Use placed_address
+       and placed_size.  Removed useless read from memory.
+       * nto-procfs.c (procfs_insert_breakpoint)
+       (procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
+       (procfs_remove_hw_breakpoint): Update.
+       * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
+       * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
+       * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
+       * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
+       * remote-e7000.c (e7000_insert_breakpoint)
+       (e7000_remove_breakpoint): Likewise.
+       * remote-m32r-sdi.c (m32r_insert_breakpoint)
+       (m32r_remove_breakpoint): Likewise.
+       * remote-mips.c (mips_insert_breakpoint)
+       (mips_remove_breakpoint): Likewise.
+       * remote-rdp.c (remote_rdp_insert_breakpoint)
+       (remote_rdp_remove_breakpoint): Likewise.
+       (rdp_step): Use deprecated_insert_raw_breakpoint and
+       deprecated_remove_raw_breakpoint.
+       * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
+       Update.
+       * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
+       Delete.
+       (init_gdbsim_ops): Use memory_insert_breakpoint and
+       memory_remove_breakpoint.
+       * remote-st.c (st2000_insert_breakpoint)
+       (st2000_remove_breakpoint): Update.  Remove unused
+       BREAKPOINT_FROM_PC.
+       * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
+       Update.  Use placed_address and placed_size.
+       (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
+
+2006-04-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (extended_remote_restart): Pass the correct length
+       to getpkt.
+
+2006-04-11  Jim Blandy  <jimb@codesourcery.com>
+
+       * serial.c (serial_open): Check for special cases at the front of
+       the "device" name before scanning for the ':' that would indicate
+       an IP-based connection.
+
+2006-04-10  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (open_symbol_file_object): New function.
+       (in_dynsym_resolve_code): Ditto.
+       (init_win32_ops): Fill in fields which ought not to be NULL.
+
+2006-04-10  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
+       with saved context if __COPY_CONTEXT_SIZE is not defined.
+       (handle_output_debug_string): Ditto.
+
+2006-04-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
+
+2006-04-09  David S. Miller  <davem@sunset.davemloft.net>
+
+       * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
+       frame sniffer.
+       * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
+       dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
+       that the latter can override.
+       * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
+
+2006-04-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
+       (s390_store): Call pv_area_store to track stack slots.
+       (s390_load): Call pv_area_fetch to track stack slots.
+       (s390_check_for_saved): New function.
+       (s390_analyze_prologue): Call pv_area_scan.  Allocate and free stack.
+
+2006-04-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
+       * s390-tdep.c: Include "prologue-value.h".
+       (struct prologue_value): Remove.
+       (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
+       pv_constant_last, pv_add, pv_add_constant, pv_subtract,
+       pv_logical_and, pv_is_identical, pv_is_register): Remove.
+       (compute_x_addr): Remove, replace by ...
+       (s390_addr): ... this new function.
+       (struct s390_prologue_data): Use pv_t instead of prologue_value.
+       (s390_store, s390_load): Likewise.
+       (s390_prologue_frame_unwind_cache): Likewise.
+       (s390_analyze_prologue): Likewise.  Also, simplify and combine
+       several conditional statements.
+
+2006-04-08  Jim Blandy  <jimb@codesourcery.com>
+
+       * Makefile.in (COMMON_OBS): List prologue-value.o.  (Omitted from
+       last patch.)
+
+2006-04-08  David S. Miller  <davem@sunset.davemloft.net>
+
+       * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
+       (sparc32_linux_init_abi): Hook it into tdep->step_trap.
+       (sparc32_linux_core_gregset,
+       sparc32_linux_supply_core_gregset,
+       sparc32_linux_collect_core_gregset,
+       sparc32_linux_supply_core_fpregset,
+       sparc32_linux_collect_core_fpregset): New.
+       (sparc32_linux_init_abi): Register them with generic sparc
+       core regset infrastructure.
+       * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
+       (sparc64_linux_init_abi): Hook it into tdep->step_trap.
+       (sparc64_linux_core_gregset,
+       sparc64_linux_supply_core_gregset,
+       sparc64_linux_collect_core_gregset,
+       sparc64_linux_supply_core_fpregset,
+       sparc64_linux_collect_core_fpregset): New.
+       (sparc64_linux_init_abi): Register them with generic sparc
+       core regset infrastructure.     
+       * Makefile.in: Update dependencies.
+
+2006-04-07  David S. Miller  <davem@sunset.davemloft.net>
+
+       * linux-nat.c (linux_nat_thread_alive): Handle targets that
+       do not implement PTRACE_PEEKUSER.
+
+2006-04-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_wait): Convert warning to error before
+       parsing corrupt packets.
+
+2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * cli/cli-script.c (struct user_args): Add command field.
+       (arg_cleanup): Free command string.
+       (setup_user_args): Copy the command line before relying on it.
+
+2006-04-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
+       of the "delete" command.
+
+2006-04-06  Randolph Chung  <tausq@debian.org>
+
+       * MAINTAINERS (Patch champions): Add myself.
+
 2006-04-05  Andreas Schwab  <schwab@suse.de>
 
        * Makefile.in: Update dependencies.
This page took 0.02876 seconds and 4 git commands to generate.