* dbxread.c, mdebugread.c: Revert my change of 2001-10-23. Moving
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ea6156c002d986a4512e4bedf27d75a04b84237d..3b53382c65204adf9d8911265c1d6c534bcda1af 100644 (file)
@@ -1,3 +1,768 @@
+2002-09-18  Jim Blandy  <jimb@redhat.com>
+
+       * dbxread.c, mdebugread.c: Revert my change of 2001-10-23.  Moving
+       texthigh and textlow to reader-specific structs caused
+       objfile_relocate to miss them.  This is fixable, but the work that
+       the change was supposed to prepare GDB for never got done anyway.
+
+2002-09-18  David Carlton  <carlton@math.stanford.edu>
+
+       * MAINTAINERS: Alphabetize Write After Approval list.
+
+2002-09-18  Daniel Jacobowitz  <drow@mvista.com>
+
+       Fix PR gdb/709
+       * values.c (value_static_field): Call read_var_value.
+
+2002-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * valops.c (hand_function_call): Align the initial stack pointer
+       and STRUCT_ADDR using frame_align.  When STRUCT_RETURN and
+       FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's
+       return value.
+       * mips-tdep.c (mips_frame_align): New function.
+       (mips_gdbarch_init): Set frame_align.
+       * gdbarch.sh (FRAME_ALIGN): New method.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2002-09-18  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-linux-nat.c (x86_64_regmap): Added CS and SS
+       registers.
+
+2002-09-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that MIPS $fp behavior changed.
+       * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete
+       reference to FP_REGNUM.
+       (mipsnbsd_cannot_store_register): Ditto.
+       * mips-linux-nat.c: Update copyright.
+       (mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM.
+       (mips_linux_cannot_store_register): Ditto.
+       * mips-linux-tdep.c (supply_gregset): Ditto.  Update copyright.
+       * config/mips/tm-mips.h: Update copyright.
+       (FP_REGNUM): Delete macro.
+       (MIPS_REGISTER_NAMES): Replace "fp" with "".
+       * config/mips/tm-irix6.h (FP_REGNUM): Delete macro.
+       * mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp.
+       (mips_r3041_reg_names, mips_r3051_reg_names)
+       (mips_r3081_reg_names): Replace "fp" with "".
+       Fix PR gdb/480.
+
+2002-09-17  Theodore A. Roth  <troth@verinet.com>
+
+       * gdb/avr-tdep.c(avr_scan_prologue): Fix bad call to 
+       generic_read_register_dummy() (PR gdb/703).
+       (avr_push_return_address): #if 0 out unused vars.
+       (avr_gdbarch_init): Enable use of avr_push_return_address().
+
+2002-09-17  Michael Snyder  <msnyder@redhat.com>
+
+       * m32r-stub.c (restore_and_return): Postpone restoring of PSW.
+       RTE will take care of it.
+
+2002-09-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is
+       invalid, return SP_REGNUM.
+
+2002-09-17  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (mips_pop_frame): Read saved values of floating
+       point registers without sign extension.
+
+2002-09-17  Andrew Cagney  <cagney@redhat.com>
+
+       * blockframe.c (deprecated_read_register_dummy): Rename
+       generic_read_register_dummy.
+       * frame.c (frame_unwind_signed_register): New function.
+       (frame_unwind_unsigned_register): New function.
+       * frame.h (frame_unwind_signed_register): Declare.
+       (frame_unwind_unsigned_register): Declare.
+       (deprecated_read_register_dummy): Rename
+       generic_read_register_dummy.
+
+       * h8300-tdep.c (h8300_frame_chain): Update.
+       (h8300_frame_saved_pc): Update.
+       * xstormy16-tdep.c (xstormy16_frame_saved_pc): Update.
+       * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
+       * s390-tdep.c (s390_frame_saved_pc_nofix): Update.
+       (s390_frame_chain): Update.
+       * v850-tdep.c (v850_find_callers_reg): Update.
+       (v850_frame_saved_pc): Update.
+       * m32r-tdep.c (m32r_init_extra_frame_info): Update.
+       (m32r_find_callers_reg): Update.
+       (m32r_frame_saved_pc): Update.
+       * sh-tdep.c (sh_find_callers_reg): Update.
+       (sh64_get_saved_pr): Update.
+       (sh_init_extra_frame_info): Update.
+       (sh_init_extra_frame_info): Update.
+       (sh64_init_extra_frame_info): Update.
+       (sh64_init_extra_frame_info): Update.
+       * mcore-tdep.c (mcore_find_callers_reg): Update.
+       (mcore_frame_saved_pc): Update.
+       (mcore_init_extra_frame_info): Update.
+       * i386-tdep.c (i386_frame_saved_pc): Update.
+       * ia64-tdep.c (ia64_frame_saved_pc): Update.
+       (ia64_init_extra_frame_info): Update.
+       (ia64_init_extra_frame_info): Update.
+       * d10v-tdep.c (d10v_frame_saved_pc): Update.
+       * cris-tdep.c (cris_init_extra_frame_info): Update.
+       * avr-tdep.c (avr_frame_chain): Update.
+       (avr_init_extra_frame_info): Update.
+       (avr_frame_saved_pc): Update.
+       * arm-tdep.c (arm_find_callers_reg): Update.
+       (arm_init_extra_frame_info): Update.
+       (arm_frame_saved_pc): Update.
+
+2002-09-17  Tom Tromey  <tromey@redhat.com>
+
+       * c-lang.c (c_emit_char): Don't treat \0 specially unless quoter
+       is "'".
+
+2002-09-17  Corinna Vinschen  <vinschen@redhat.com>
+
+       * MAINTAINERS: Remove "non multi-arched" text from h8300.
+       * h8300-tdep.c (h8300_next_prologue_insn) Renamed from
+       NEXT_PROLOGUE_INSN.
+       (h8300_examine_prologue): Call h8300_next_prologue_insn instead of
+       NEXT_PROLOGUE_INSN.
+
+2002-09-16  Joel Brobecker  <brobecker@gnat.com>
+
+       * osfsolib.c: Remove file, replaced by solib-osf.c.
+       * Makefile.in: Remove compilation rules for osfsolib.c.
+
+2002-09-16  David Carlton  <carlton@math.stanford.edu>
+
+       * cp-valprint.c (cp_print_class_method): Correct args to
+       check_stub_method_group.
+
+2002-09-16  Corinna Vinschen  <vinschen@redhat.com>
+
+       * h8300-tdep.c: Multiarch.  Drop `set machine' command in favor of
+       `set architecture'.  Unify naming convention of functions.
+       (h8300_skip_prologue): Improve prologue analysis.
+       (h8300_push_arguments): Rewritten to more closely match GCC's
+       bizarre argument-passing behavior, along with the comment describing
+       said behavior.
+       * remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
+       * config/h8300/tm-h8300.h: Multiarch.  Just keep stuff needed by
+       sim, remote-e7000.c, remote-hms.c and remote.c
+
+2002-09-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (gdb_print_insn_i386): Removed.
+       (i386_print_insn): New function.
+       (i386_gdbarch_init): Set print_insn to i386_print_insns.
+       (_initialize_i386_tdep): Don't initialize tm_print_insn and
+       tm_print_insn_info.
+
+2002-09-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdbtypes.c (check_stub_method_group): Initialize found_stub to
+       zero.
+
+2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
+
+       * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
+       for IN_SIGTRAMP to here.  Use IN_SIGTRAMP only if it's defined. 
+       Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.
+
+2002-09-13  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (child_create_inferior): Honor 'tty' command.
+
+2002-09-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbtypes.c (check_stub_method): Make static.
+       (check_stub_method_group): New function.
+       * gdbtypes.h: Update prototypes.
+       * cp-support.c: New file.
+       * cp-support.h: New file.
+
+       * stabsread.c: Include "cp-abi.h" and "cp-support.h".
+       (update_method_name_from_physname): New function.
+       (read_member_functions): Correct method names for operators
+       and v3 constructors/destructors.  Separate v2 constructors and
+       destructors.
+       * Makefile.in (stabsread.o): Update dependencies.
+       (SFILES): Add cp-support.c.
+       (COMMON_OBS): Add cp-support.o.
+       (cp_support_h, cp-support.o): Add.
+
+       * cp-valprint.c (cp_print_class_method): Call
+       check_stub_method_group instead of check_stub_method.  Remove
+       extraneous QUITs.
+       * p-valprint.c (pascal_object_print_class_method): Likewise.
+       * valops.c (search_struct_method): Likewise.
+       (find_method_list, value_struct_elt_for_reference): Likewise.
+
+2002-09-13  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2002-09-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.c (find_saved_register): Delete function.
+       * frame.h (find_saved_register): Delete declaration.
+       Fix PR gdb/631.
+
+Fri Sep 13 14:59:55 2002  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (read_next_frame_reg): Re-hack using
+       frame_register_unwind.
+
+Fri Sep 13 07:42:09 2002  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (mips_get_saved_register): Re-hack using
+       frame_register_unwind.
+
+2002-09-12  Joel Brobecker  <brobecker@gnat.com>
+
+       * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
+       vector. Will be useful for Interix.  
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+       * valops.c (value_allocate_space_in_inferior): Replace hard-coded
+       name of the malloc function by NAME_OF_MALLOC.
+
+2002-09-12  Joel Brobecker  <brobecker@gnat.com>
+
+       * value.h (find_function_in_inferior): Add const keyword to
+       one of the parameters. Allows us to invoke this function with
+       a const char *.
+       * valops.c (find_function_in_inferior): Likewise.
+
+2002-09-12  Joel Brobecker  <brobecker@gnat.com>
+
+       * exec.c (xfer_memory): Fix compilation warning with old versions
+       of GCC.
+       * tracepoint.c (trace_find_tracepoint_command): Likewise.
+
+2002-09-12  David Carlton  <carlton@math.stanford.edu>
+
+       * symtab.h: Run through gdb_indent.h.
+       Add 2002 to Copyright year list.
+
+2002-09-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
+       mach constants.
+       * MAINTAINERS: Add myself to write after approval list.
+
+2002-09-11  J. Brobecker  <brobecker@gnat.com>
+
+       * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
+
+2002-09-11  J. Brobecker  <brobecker@gnat.com>
+
+       * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
+       Interix.
+
+2002-06-05  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
+
+       * procfs.c (do_detach): Clear current signal, not just fault.
+       Corrects problem with breakpoint trap signal leaking to detached
+       process on Tru64.
+
+2002-09-10  Michael Snyder  <msnyder@redhat.com>
+
+       * buildsym.c (finish_block): Protect against null pointer.
+
+2002-09-10  Andrew Cagney  <cagney@redhat.com>
+
+       * infcmd.c (default_print_registers_info): Send all output to
+       ``file'' instead of ``gdb_stdout''.
+
+2002-09-10  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (mips_extract_struct_value_address): Make val a
+       LONGEST, and use signed register read (addresses are sign-
+       extended for mips).
+
+2002-09-10  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * event-loop.c (gdb_do_one_event): Make public.
+       * event-loop.h (gdb_do_one_event): Declare.
+
+2002-09-10  Jeff Law  <law@redhat.com>
+
+       * infttrace.c (child_resume): Simplify and rework to avoid
+       TT_PROC_CONTINUE.
+
+2002-09-09  Fred Fish  <fnf@intrinsity.com>
+
+       * printcmd.c (print_scalar_formatted): "len" is the number of
+       target bytes, NOT the number of target bits.
+
+2002-09-09  Elena Zannoni  <ezannoni@redhat.com>
+
+       From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
+       * top.c (init_main): Set rl_terminal_name.
+
+2002-09-08  Aidan Skinner <aidan@velvet.net>
+
+       * ada-lang.c (ada_array_bound, ada_type_match,
+       _initialize_ada_language): Fix K&R definitions.
+       * ada-tasks.c (get_current_task): Fix K&R definitions.
+       * ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
+                       
+2002-09-07  Christopher Faylor  <cgf@redhat.com>
+
+       * MAINTAINERS: Remove CE from list of maintainership responsibilities.
+       Add XP.
+
+2002-09-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_register_virtual_type,
+       i386_register_convertible, i386_register_convert_to_virtual,
+       i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P
+       instead of IS_FP_REGNUM and IS_SSE_REGNUM.
+       (i386_gdbarch_init): Fix comment.  Add comments on calls that set
+       sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum.
+       Don't set push_arguments twice.
+
+       * i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
+       sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
+       * i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
+       sigtramp_end to NULL.
+       * config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
+       defines.
+       (i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
+
+       * i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
+       whitespace.
+
+       * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * blockframe.c (find_pc_sect_partial_function): Convert to use
+       SIGTRAMP_START_P predicate.
+
+2002-09-05  Michael Snyder  <msnyder@redhat.com>
+
+       * arm-tdep.c (arm_init_extra_frame_info): Distinguish between
+       generic_dummy_frame method and old method.  Also distinguish
+       between ARM_FP_REGNUM and THUMB_FP_REGNUM.
+       (arm_extract_return_value): Use new regcache method.
+
+       * mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
+       adjustment that doesn't conform to the ABI.
+       (mips_extract_struct_value_address): Retrieve V0_REGNUM from
+       saved regcache, not from current regcache.
+
+2002-09-05  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Update for 5.3.  Add new section ``Changes since 5.3''.
+       * README: Update.
+
+2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
+       if arm_apcs_32 is false.
+
+2002-09-04  Andrew Cagney  <ac131313@redhat.com>
+
+       GDB 5.3 branch created.
+
+2002-09-03  Theodore A. Roth  <troth@verinet.com>
+
+       * gdb/avr-tdep.c (avr_gdbarch_init): Use
+       generic_unwind_get_saved_register.
+
+2002-09-03  David Carlton  <carlton@math.stanford.edu>
+
+       * dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
+       argument (PR gdb/653).  Update call to smash_to_method_type.
+       (read_structure_scope): Update call to dwarf2_add_member_fn.
+
+2002-09-03  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-linux-tdep.c: Include gdb_string.h
+       * x86-64-linux-nat.c: Ditto.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * ada-exp.y (yyname, yyrule): Remap global variables that appear
+       when YYDEBUG is set to 1.  
+       * c-exp.y: Likewise.
+       * f-exp.y: Likewise.
+       * jv-exp.y: Likewise.
+       * m2-exp.y: Likewise.
+       * p-exp.y: Likewise.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
+       dependency list.
+       * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
+       solib_svr4_fetch_link_map_offsets to
+       nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
+       * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
+       * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
+       * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
+       solib-svr4.o, and solib-legacy.o.
+       * config/i386/tm-nbsd.h: Include solib.h.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.tgt (i[3456]86-*-netbsdelf*): Merge with... 
+       (i[3456]86-*-netbsd*): ...this.  Set gdb_target to nbsd. 
+       (i[3456]86-*-openbsd*): Make this a separate entry.  Add a
+       comment noting that this needs its own target configuration.
+       * config/i386/nbsd.mt: New file.
+       * config/i386/nbsdaout.mt: Remove.
+       * config/i386/nbsdelf.mt: Ditto.
+       * config/i386/tm-nbsdaout.h: Ditto. 
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function. 
+       (i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset. 
+       (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
+       tdep->sigtramp_end.
+       (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove. 
+       * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
+       (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
+       $(i386_tdep_h), and $(nbsd_tdep_h) to dependency list.
+       * i386-tdep.h (i386bsd_init_abi): New prototype.
+       * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
+       function declaration.
+       (_initialize_i386bsd_tdep): Don't register OS ABI handlers
+       for NetBSD-a.out or NetBSD-ELF.
+       (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
+       (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
+       (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
+       * i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
+       and nbsd-tdep.h.
+       (i386nbsd_pc_in_sigtramp): New function.
+       (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
+       i386nbsd_pc_in_sigtramp.
+       (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
+       and i386nbsdelf_init_abi OS ABI handlers.
+       * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
+       * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
+
+2002-09-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
+       registers if the target really has them.
+
+2002-08-31  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
+       than nbsd-tdep.h.
+
+2002-08-31  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
+       list.
+       * alphanbsd-tdep.c (alphanbsd_sigcontext_addr)
+       (alphanbsd_skip_sigtramp_frame): New functions. 
+       (alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to
+       alphanbsd_skip_sigtramp_frame.  Set tdep->sigcontext_addr
+       to alphanbsd_sigcontext_addr. 
+
+2002-08-31  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
+       list.
+       (nbsd-tdep.o): Add $(gdb_string_h) to dependency list. 
+       * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use
+       nbsd_pc_in_sigtramp. 
+       * mipsnbsd-tdep.c: Include nbsd-tdep.h.
+       (mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp.
+       * nbsd-tdep.c: Include gdb_string.h.
+       (nbsd_pc_in_sigtramp): New function. 
+       * nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype. 
+       * ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function.
+       (ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
+       ppcnbsd_pc_in_sigtramp. 
+       * shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function.
+       (shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
+       shnbsd_pc_in_sigtramp. 
+       * sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set
+       gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp. 
+       * config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
+
+2002-08-30  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * breakpoint.c (breakpoint_init_inferior): Reset the val field of
+       watchpoints to NULL.
+       (insert_breakpoints): set val field of watchpoints if NULL.
+
+
+2002-08-29  Jim Blandy  <jimb@redhat.com>
+
+       * symtab.c (lookup_symbol_aux): In the cases where we find a
+       minimal symbol of an appropriate name and use its address to
+       select a symtab to read and search, use `name' (as passed to us)
+       as the demangled name when searching the symtab's global and
+       static blocks, not the minsym's name.
+
+2002-08-29  Keith Seitz  <keiths@redhat.com>
+
+       * stack.c (print_frame_info_base): Always set current_source_symtab
+       and current_source_line.
+
+2002-08-29  Donn Terry  <donnte@microsoft.com>
+
+       * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
+
+2002-08-28  Keith Seitz  <keiths@redhat.com>
+
+       * stack.c (select_frame): Add FIXME concerning selected-frame
+       events.
+       (select_frame_command): Send selected-frame-level-changed
+       event notification, but only if the level actually changed.
+       (up_silently_base): Add selected-frame-level-changed event
+       notification.
+       (down_silently_base): Likewise.
+
+2002-08-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Update dependencies for all gdb/*.c files.
+
+2002-08-27  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
+       ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o):
+       Update dependencies.
+       * i387-tdep.c: Include gdb_string.h.
+       * osabi.c: Likewise.
+       * i386-linux-nat.c: Likewise.
+       * lin-lwp.c: Likewise.
+       * ax-gdb.c: Likewise.
+       * signals/signals.c: Likewise.
+       * jv-valprint.c: Likewise.
+       * p-lang.c: Likewise.
+       * c-valprint.c: Likewise.
+       * cp-abi.c: Likewise.
+
+2002-08-27  Elena Zannoni  <ezannoni@redhat.com>
+
+       * cli/cli-script.h (copy_command_lines): Export.
+       * breakpoint.c: Include cli/cli-script.h.
+       * Makefile.in (breakpoint.o): Update dependencies.
+
+2002-08-26  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (insert_breakpoints): Protect all references
+       to 'process_warning'.  Shorten long lines.
+
+2002-08-26  Joel Brobecker  <brobecker@gnat.com>
+
+       * cli/cli-script.c (copy_command_lines): New function.
+       * defs.h (copy_command_lines): Export.
+       * testsuite/gdb.base/commands.exp: New tests for commands
+       attached to a temporary breakpoint, and for commands that
+       delete the breakpoint they are attached to.
+       
+2002-08-26  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (bpstat_stop_status): Instead of copying the 
+       pointer to the breakpoint commands struct, make a new copy
+       of the struct and point to that.
+       (bpstat_clear): Free the commands struct.
+       (bpstat_clear_actions): Free the commands struct.
+       (bpstat_do_actions): Free the command actions.  Also execute
+       the local cleanups, instead of deleting them.
+       (delete_breakpoint): Leave the commands field of the bpstat
+       chain alone -- it will be freed later.
+
+2002-08-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-tdep.c (altivec_register_p): Restore function inadvertently
+       deleted in 2002-08-20 commit.  This function is still used by
+       ppc-linux-nat.c.
+
+2002-08-26  Keith Seitz  <keiths@redhat.com>
+
+       * gdb-events.sh: Add selected-frame-level-changed event.
+       * gdb-events.c: Regenerated.
+       * gdb-events.h: Regenerated.
+       
+2002-08-26  Stephane Carrez  <stcarrez@nerim.fr>
+
+       Fix PR gdb/393:
+       * inflow.c (terminal_save_ours): New function to save terminal
+       settings.
+       * inferior.h (terminal_save_ours): Declare.
+       * target.c (debug_to_terminal_save_ours): New function.
+       (cleanup_target): Defaults to_terminal_save_ours.
+       (update_current_target): Inherit to_terminal_save_ours.
+       (setup_target_debug): Set to_terminal_save_ours.
+       * target.h (target_terminal_save_ours): New to save terminal settings.
+       (target_ops): New member to_terminal_save_ours.
+       * gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours.
+       * hpux-thread.c (init_hpux_thread_ops): Likewise.
+       * inftarg.c (init_child_ops): Likewise.
+       * m3-nat.c (init_m3_ops): Likewise.
+       * procfs.c (init_procfs_ops): Likewise.
+       * wince.c (init_child_ops): Likewise.
+       * win32-nat.c (init_child_ops): Likewise.
+       * sol-thread.c (init_sol_thread_ops): Likewise.
+
+2002-08-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_store_return_value): Undeprecate.  Convert to
+       use regcache_* functions.
+       (i386_gdbarch_init): Set store_return_value instead of
+       deprecated_store_return_value.
+
+       * regcache.c (regcache_raw_write_signed,
+       regcache_raw_write_unsigned): New functions.
+       * regcache.h (regcache_raw_write_signed,
+       regcache_raw_write_unsigned): New prototypes.
+
+2002-08-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (c-exp.tab.o, jv-exp.tab.o, f-exp.tab.o)
+       (m2-exp.tab.o, p-exp.tab.o, ada-exp.tab.o): Move to before the
+       source file dependencies.  Cleanup corresponding generator rules.
+
+2002-08-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.h (register_offset_hack): Declare.
+       (regcache_cooked_read_using_offset_hack): Declare.
+       (regcache_cooked_write_using_offset_hack): Declare.
+
+       * regcache.c (register_offset_hack): New function.
+       (regcache_cooked_read_using_offset_hack): New function.
+       (regcache_cooked_write_using_offset_hack): New function.
+       (regcache_dump): Check that the registers, according to their
+       offset, are packed hard against each other.
+       (cooked_xfer_using_offset_hack): New function.
+
+2002-08-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (struct regcache_descr): Add field register_type.
+       (init_legacy_regcache_descr): Pass a pre-allocated regcache_descr
+       in as a parameter
+       (init_regcache_descr): Initialize register_type.  Pass the descr
+       to init_legacy_regcache_descr.  Use register_type instead of
+       REGISTER_VIRTUAL_TYPE.
+       (register_type): New function.
+       (regcache_dump): Replace REGISTER_VIRTUAL_TYPE with register_type.
+       * regcache.h (register_type): Declare.
+
+2002-08-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return
+       instead of deprecated_store_return_value.  Fix fallout from
+       2002-08-23 Andrew Cagney <cagney@redhat.com>.
+
+2002-08-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (max_register_size): New function.
+       (init_legacy_regcache_descr): Ensure that max_register_size is
+       large enough for REGISTER_VIRTUAL_SIZE.
+       * regcache.h (max_register_size): Declare.
+
+2002-08-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of
+       store_return_value.
+       (e500_extract_return_value): Change type of valbuf pointer to
+       void.
+
+2002-08-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * PROBLEMS: Clarify problems with FreeBSD's compiler and suggest
+       workaround.
+
+       * valprint.c (print_longest) [CC_HAS_LONG_LONG &&
+       PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned
+       long long) to prevent compiler warning on 64-bit systems.
+
+2002-08-23  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter.
+       (DEPRECATED_STORE_RETURN_VALUE): New method.
+       (EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+       * values.c (set_return_value): Pass current_regcache to
+       STORE_RETURN_VALUE.
+       * arch-utils.h (legacy_store_return_value): Declare.
+       * arch-utils.c (legacy_store_return_value): New function.
+       (legacy_extract_return_value): Update parameters.
+
+       * config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename
+       STORE_RETURN_VALUE.
+       * config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+       * config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
+
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+       * i386-tdep.c (i386_extract_return_value): Update.
+       * arch-utils.c (legacy_extract_return_value): Update.
+       * frv-tdep.c (frv_gdbarch_init): Update.
+       * cris-tdep.c (cris_gdbarch_init): Update.
+       * d10v-tdep.c (d10v_gdbarch_init): Update.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+       * m68k-tdep.c (m68k_gdbarch_init): Update.
+       * mcore-tdep.c (mcore_gdbarch_init): Update.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+       * s390-tdep.c (s390_gdbarch_init): Update.
+       * sparc-tdep.c (sparc_gdbarch_init): Update.
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       * x86-64-tdep.c (x86_64_gdbarch_init): Update.
+       * v850-tdep.c (v850_gdbarch_init): Update.
+       * avr-tdep.c (avr_gdbarch_init): Update.
+       * ia64-tdep.c (ia64_gdbarch_init): Update.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Update.
+       * vax-tdep.c (vax_gdbarch_init): Update.
+       * alpha-tdep.c (alpha_gdbarch_init): Update.
+       * arm-tdep.c (arm_gdbarch_init): Update.
+       * mips-tdep.c (mips_gdbarch_init): Update.
+       * i386-tdep.c (i386_gdbarch_init): Update.
+
+2002-08-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c,
+       bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.
+
+2002-08-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * PROBLEMS: Refer to GDB 5.3 instead of 5.2.  Mention FreeBSD
+       problems.
+
+2002-08-23  Joel Brobecker  <brobecker@gnat.com>
+
+       * infrun.c (handle_inferior_event): Move a comment outside of a
+       function call, in order to avoid indent reformatting this part
+       of the code in an unreadable way.
+
+2002-08-23  Grace Sainsbury  <graces@redhat.com>
+
+       * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
+       when breakpoints fail. Move general breakpoint error messages to
+       insert_breakpoints.  
+       * breakpoint.c (insert_breakpoints): Change warnings when
+       breakpoints are nto inserted to specify the type. Remove call to
+       memory_error when hardware breakpoints can't be inserted. Remove
+       multiple calls to warning so all messages are sent to the user at
+       once.
+       (delete_breakpoints): Make insert error messsages more explicit.
+
+2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ChangeLog: Move gdbserver entries after GDB 5.2 to
+       gdbserver/ChangeLog.
+
 2002-08-23  Mark Kettenis  <kettenis@gnu.org>
 
        * i386-tdep.c: Include "objfiles.h".
        (linux_make_note_section): Initialize thread_args.num_notes, and
        use it to determine whether notes for any threads were created.
 
-2002-08-23  Donn Terry  <dterry@microsoft.com>
+2002-08-23  Donn Terry  <donnte@microsoft.com>
 
        * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
        corresponding macro is not defined. Likewise for PCNICE, PCSHOLD
        PRSABORT and PRSTOP.
        This change will be needed by the Interix port.
 
+2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): use
+       write_register wherever possible instead of manipulating the
+       register bytes directly.
+       Assign VALUE_CONTENTS to a variable and use that.
+       The GPR numbers are now dependent on the architecture.
+       
 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
 
        * rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and
 
        * Makefile.in (LDFLAGS): Allow the configure script to establish a
        default for this.
-       * gdbserver/Makefile.in (LDFLAGS): Same.
 
 2002-08-20  Keith Seitz  <keiths@redhat.com>
 
@@ -1315,7 +2087,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
        * NEWS: Menion that CHILL has been made obsolete.
 
        * gdbtypes.c (chill_varying_type): Make chill references obsolete.
-       * gdbserver/Makefile.in: Ditto.
        * stabsread.c (read_range_type): Ditto.
        * gdbtypes.h: Ditto.
        * language.c (binop_type_check): Ditto.
@@ -1662,12 +2433,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
        * defs.h (extract_unsigned_integer): Update.
        (extract_signed_integer): Update.
 
-2002-07-24  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
-       * gdbserver/configure: Regenerate.
-       * gdbserver/config.in: Regenerate.
-
 2002-07-24  Andrew Cagney  <cagney@redhat.com>
 
        * regcache.c (regcache_raw_write): Change buf parameter to a
@@ -2192,11 +2957,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
        * config/m68k/tm-m68k.h: Remove macros wrapped in 
        #if !GDB_MULTI_ARCH. 
 
-2002-07-09  David O'Brien  <obrien@FreeBSD.org>
-
-       * gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
-       (perror_with_name, remote_close, remote_open, expect, play): Static.
-
 2002-07-08  Andrew Cagney  <ac131313@redhat.com>
 
        * config.in, configure: Regenerate.
@@ -2316,12 +3076,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
        i386_push_return_address and set frame_chain_valid to
        generic_file_frame_chain_valid.
 
-2002-07-04  Michal Ludvig  <mludvig@suse.cz>
-
-       * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of 
-       byte offsets instead of an array of indexes.
-       (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.
-
 2002-07-03  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbarch.sh (struct regcache): Add opaque declaration.
@@ -3642,10 +4396,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
 
        * MAINTAINERS: Mention NEWS.
 
-2002-06-13  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/regcache.c: Add comment.
-
 2002-06-13  Daniel Jacobowitz  <drow@mvista.com>
 
        * mips-tdep.c (PROC_SYMBOL): Add warning comment.
@@ -3701,158 +4451,6 @@ Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
        * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM,
        MIPS_LAST_FP_ARG_REGNUM): Remove.
 
-2002-06-11  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/thread-db.c: New file.
-       * gdbserver/proc-service.c: New file.
-       * gdbserver/acinclude.m4: New file.
-       * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h,
-       proc-service.o, and thread-db.o.
-       (linux-low.o): Add USE_THREAD_DB.
-       * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T,
-       HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN.
-       * gdbserver/aclocal.m4: Regenerated.
-       * gdbserver/config.in: Regenerated.
-       * gdbserver/configure: Regenerated.
-       * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h,
-       thread_db.h, and linux/elf.h headrs.
-       Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and
-       PRFPREGSET_T_BROKEN.  Introduce srv_thread_depfiles and USE_THREAD_DB.
-       Check for -lthread_db and thread support.
-       * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS,
-       PowerPC, and SuperH.
-       * gdbserver/i387-fp.c: Constify arguments.
-       * gdbserver/i387-fp.h: Likewise.
-       * gdbserver/inferiors.c: (struct thread_info): Renamed from
-       `struct inferior_info'.  Remove PID member.  Use generic inferior
-       list header.  All uses updated.
-       (inferiors, signal_pid): Removed.
-       (all_threads): New variable.
-       (get_thread): Define.
-       (add_inferior_to_list): New function.
-       (for_each_inferior): New function.
-       (change_inferior_id): New function.
-       (add_inferior): Removed.
-       (remove_inferior): New function.
-       (add_thread): New function.
-       (free_one_thread): New function.
-       (remove_thread): New function.
-       (clear_inferiors): Use for_each_inferior and free_one_thread.
-       (find_inferior): New function.
-       (find_inferior_id): New function.
-       (inferior_target_data): Update argument type.
-       (set_inferior_target_data): Likewise.
-       (inferior_regcache_data): Likewise.
-       (set_inferior_regcache_data): Likewise.
-       * gdbserver/linux-low.c (linux_bp_reinsert): Remove.
-       (all_processes, stopping_threads, using_thrads)
-       (struct pending_signals, debug_threads, pid_of): New.
-       (inferior_pid): Replace with macro.
-       (struct inferior_linux_data): Remove.
-       (get_stop_pc, add_process): New functions.
-       (linux_create_inferior): Restore SIGRTMIN+1 before calling exec.
-       Use add_process and add_thread.
-       (linux_attach_lwp): New function, based on old linux_attach.  Use
-       add_process and add_thread.  Set stop_expected for new threads.
-       (linux_attach): New function.
-       (linux_kill_one_process): New function.
-       (linux_kill): Kill all LWPs.
-       (linux_thread_alive): Use find_inferior_id.
-       (check_removed_breakpoints, status_pending_p): New functions.
-       (linux_wait_for_process): Renamed from linux_wait_for_one_inferior.
-       Update.  Use WNOHANG.  Wait for cloned processes also.  Update process
-       struct for the found process.
-       (linux_wait_for_event): New function.
-       (linux_wait): Use it.  Support LWPs.
-       (send_sigstop, wait_for_sigstop, stop_all_processes)
-       (linux_resume_one_process, linux_continue_one_process): New functions.
-       (linux_resume): Support LWPs.
-       (REGISTER_RAW_SIZE): Remove.
-       (fetch_register): Use register_size instead.  Call supply_register.
-       (usr_store_inferior_registers): Likewise.  Call collect_register.
-       Fix recursive case.
-       (regsets_fetch_inferior_registers): Improve error message.
-       (regsets_store_inferior_registers): Add debugging.
-       (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB.
-       (unstopped_p, linux_signal_pid): New functions.
-       (linux_target_ops): Add linux_signal_pid.
-       (linux_init_signals): New function.
-       (initialize_low): Call it.  Initialize using_threads.
-       * gdbserver/regcache.c (inferior_regcache_data): Add valid
-       flag.
-       (get_regcache): Fetch registers lazily.  Add fetch argument
-       and update all callers.
-       (regcache_invalidate_one, regcache_invalidate): New
-       functions.
-       (new_register_cache): Renamed from create_register_cache.
-       Return the new regcache.
-       (free_register_cache): Change argument to a void *.
-       (registers_to_string, registers_from_string): Call get_regcache
-       with fetch flag set.
-       (register_data): Make static.  Pass fetch flag to get_regcache.
-       (supply_register): Call get_regcache with fetch flag clear.
-       (collect_register): Call get_regcache with fetch flag set.
-       (collect_register_as_string): New function.
-       * gdbserver/regcache.h: Update.
-       * gdbserver/remote-utils.c (putpkt): Flush after debug output and use
-       stderr.
-       Handle input interrupts while waiting for an ACK.
-       (input_interrupt): Use signal_pid method.
-       (getpkt): Flush after debug output and use stderr.
-       (outreg): Use collect_register_as_string.
-       (new_thread_notify, dead_thread_notify): New functions.
-       (prepare_resume_reply): Check using_threads.  Set thread_from_wait
-       and general_thread.
-       (look_up_one_symbol): Flush after debug output.
-       * gdbserver/server.c (step_thread, server_waiting): New variables.
-       (start_inferior): Don't use signal_pid.  Update call to mywait.
-       (attach_inferior): Update call to mywait.
-       (handle_query): Handle qfThreadInfo and qsThreadInfo.
-       (main): Don't fetch/store registers explicitly.  Use
-       set_desired_inferior.  Support proposed ``Hs'' packet.  Update
-       calls to mywait.
-       * gdbserver/server.h: Update.
-       (struct inferior_list, struct_inferior_list_entry): New.
-       * gdbserver/target.c (set_desired_inferior): New.
-       (write_inferior_memory): Constify.
-       (mywait): New function.
-       * gdbserver/target.h: Update.
-       (struct target_ops): New signal_pid method.
-       (mywait): Removed macro, added prototype.
-
-       * gdbserver/linux-low.h (regset_func): Removed.
-       (regset_fill_func, regset_store_func): New.
-       (enum regset_type): New.
-       (struct regset_info): Add type field.  Use new operation types.
-       (struct linux_target_ops): stop_pc renamed to get_pc.
-       Add decr_pc_after_break and breakpoint_at.
-       (get_process, get_thread_proess, get_process_thread)
-       (strut process_info, all_processes, linux_attach_lwp)
-       (thread_db_init): New.
-
-       * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc,
-       arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New.
-       (the_low_target): Add new members.
-       * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset)
-       (i386_store_fpxregset): Constify.
-       (target_regsets): Add new kind identifier.
-       (i386_get_pc): Renamed from i386_stop_pc.  Simplify.
-       (i386_set_pc): Add debugging.
-       (i386_breakpoint_at): New function.
-       (the_low_target): Add new members.
-       * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc)
-       (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr)
-       (mips_breakpoint_at): New.
-       (the_low_target): Add new members.
-       * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc)
-       (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New.
-       (the_low_target): Add new members.
-       * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc)
-       (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New.
-       (the_low_target): Add new members.
-       * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind
-       identifier.
-
 2002-06-11  Michal Ludvig  <mludvig@suse.cz>
 
        * dwarf2cfi.c (unwind_tmp_obstack_init): New.
@@ -4861,12 +5459,6 @@ Fri May 17 14:26:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * hpread.c (hpread_read_struct_type): Remove assignments to args.
        (fixup_class_method_type): Likewise.
 
-2002-05-15  Daniel Jacobowitz  <drow@mvista.com>
-
-       From Martin Pool <mbp@samba.org>:
-       * gdbserver/server.c (gdbserver_usage): New function.
-       (main): Call it.
-
 2002-05-15  Jim Blandy  <jimb@redhat.com>
 
        Add macro structures to GDB's symbol tables.  Nobody puts anything
@@ -4905,11 +5497,6 @@ Fri May 17 14:26:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC.
        (ARM_LINUX_JB_ELEMENT_SIZE): Likewise.
 
-2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo
-       stop_at -> stop_pc.
-
 2002-05-14  Andrew Cagney  <ac131313@redhat.com>
 
        * regcache.c (register_valid): Revise comments refering to "Not
@@ -5764,7 +6351,6 @@ Fri May 17 14:26:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * remote-eb.c: Delete.
        * remote-adapt.c: Delete.
        * Makefile.in: Remove obsolete code.
-       * gdbserver/Makefile.in: Ditto.
        * config/s390/s390x.mt: Ditto.
        * config/s390/s390.mt: Ditto.
        * config/sparc/sparclynx.mh: Ditto.
@@ -6279,13 +6865,6 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <cagney@redhat.com>
        * i386-linux-tdep.c: Update comments.
        * breakpoint.c (bpstat_what): Update comment.
 
-2002-04-24  Michal Ludvig  <mludvig@suse.cz>
-
-       * gdbserver/linux-low.c (regsets_fetch_inferior_registers),
-       (regsets_store_inferior_registers): Removed cast to int from
-       ptrace() calls.
-       * gdbserver/regcache.h: Added declaration of struct inferior_info.
-
 2002-04-24  David S. Miller  <davem@redhat.com>
 
        * i960-tdep.c (register_in_window_p): New function.
@@ -6632,55 +7211,6 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <cagney@redhat.com>
        sorted in most most-recent-used order.  Document.
        * gdbarch.h, gdbarch.c: Regenerate.
 
-2002-04-20  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
-       (add_inferior): Call create_register_cache.
-       (clear_inferiors): Call free_register_cache.
-       (inferior_regcache_data, set_inferior_regcache_data): New functions.
-       * gdbserver/regcache.c (struct inferior_regcache_data): New.
-       (registers): Remove.
-       (get_regcache): New function.
-       (create_register_cache, free_register_cache): New functions.
-       (set_register_cache): Don't initialize the register cache here.
-       (registers_to_string, registers_from_string, register_data): Call
-       get_regcache.
-       * gdbserver/regcache.h: Add prototypes.
-       * gdbserver/server.h: Likewise.
-
-2002-04-20  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/mem-break.c: New file.
-       * gdbserver/mem-break.h: New file.
-       * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
-       dependencies.
-       * gdbserver/inferiors.c (struct inferior_info): Add target_data
-       member.
-       (clear_inferiors): Free target_data member if set.
-       (inferior_target_data, set_inferior_target_data): New functions.
-       * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
-       (i386_stop_pc, i386_set_pc): New.  Add to the_low_target.
-       * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
-       (struct inferior_linux_data): New.
-       (linux_create_inferior): Use set_inferior_target_data.
-       (linux_attach): Likewise.  Call add_inferior.
-       (linux_wait_for_one_inferior): New function.
-       (linux_wait): Call it.
-       (linux_write_memory): Add const.
-       (initialize_low): Call set_breakpoint_data.
-       * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
-       handling members.
-       * gdbserver/server.c (attach_inferior): Remove extra add_inferior
-       call.
-       * gdbserver/server.h: Include mem-break.h.  Update inferior.c
-       prototypes.
-       * gdbserver/target.c (read_inferior_memory)
-       (write_inferior_memory): New functions.
-       * gdbserver/target.h (read_inferior_memory)
-       (write_inferior_memory): Change macros to prototypes.
-       (struct target_ops): Update comments.  Add const to write_memory
-       definition.
-
 2002-04-19  Andrew Cagney  <ac131313@redhat.com>
 
        * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
@@ -6882,11 +7412,6 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <cagney@redhat.com>
 
 2002-04-11  Daniel Jacobowitz  <drow@mvista.com>
 
-       * gdbserver/linux-low.c (usr_store_inferior_registers): Support
-       registers which are allowed to fail to store.
-       * gdbserver/linux-low.h (linux_target_ops): Likewise.
-       * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
-       (ppc_cannot_store_register): FPSCR may not be storable.
        * regformats/reg-ppc.dat: Support FPSCR.
 
 2002-04-11  Kevin Buettner  <kevinb@redhat.com>
@@ -6962,88 +7487,6 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <cagney@redhat.com>
        * server.h (look_up_one_symbol): Add prototype.
        * target.h (struct target_ops): Add look_up_symbols hook.
 
-2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
-       * ChangeLog: Correct paths in last ChangeLog entry.
-
-2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/linux-low.h: Remove obsolete prototypes.
-       (struct linux_target_ops): New.
-       (extern the_low_target): New.
-       * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
-       (register_addr): Use the_low_target explicitly.
-       (fetch_register): Likewise.
-       (usr_fetch_inferior_registers): Likewise.
-       (usr_store_inferior_registers): Likewise.
-       * gdbserver/linux-arm-low.c (num_regs): Remove.
-       (arm_num_regs): Define.
-       (arm_regmap): Renamed from regmap, made static.
-       (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (arm_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-i386-low.c (num_regs): Remove.
-       (i386_num_regs): Define.
-       (i386_regmap): Renamed from regmap, made static.
-       (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (i386_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-ia64-low.c (num_regs): Remove.
-       (ia64_num_regs): Define.
-       (ia64_regmap): Renamed from regmap, made static.
-       (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (ia64_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-m68k-low.c (num_regs): Remove.
-       (m68k_num_regs): Define.
-       (m68k_regmap): Renamed from regmap, made static.
-       (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (m68k_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-mips-low.c (num_regs): Remove.
-       (mips_num_regs): Define.
-       (mips_regmap): Renamed from regmap, made static.
-       (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (mips_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-ppc-low.c (num_regs): Remove.
-       (ppc_num_regs): Define.
-       (ppc_regmap): Renamed from regmap, made static.
-       (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (ppc_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-s390-low.c (num_regs): Remove.
-       (s390_num_regs): Define.
-       (s390_regmap): Renamed from regmap, made static.
-       (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (s390_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-sh-low.c (num_regs): Remove.
-       (sh_num_regs): Define.
-       (sh_regmap): Renamed from regmap, made static.
-       (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
-       made static.
-       (sh_cannot_store_register): Renamed from cannot_store_register,
-       made static.
-       (the_low_target): New.
-       * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
-       (the_low_target): New.
-
 2002-04-09  Andrew Cagney  <ac131313@redhat.com>
 
        * frame.c (read_relative_register_raw_bytes_for_frame): Do not
@@ -7055,71 +7498,6 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <cagney@redhat.com>
        declarations.  Update copyright.
        Fix PR gdb/251.
 
-2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/Makefile.in: Add stamp-h target.
-       * gdbserver/configure.in: Create stamp-h.
-       * gdbserver/configure: Regenerated.
-
-2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/inferiors.c: New file.
-       * gdbserver/target.c: New file.
-       * gdbserver/target.h: New file.
-       * gdbserver/Makefile.in:  Add target.o and inferiors.o.  Update
-       dependencies.
-       * gdbserver/linux-low.c (inferior_pid): New static variable,
-       moved from server.c.
-       (linux_create_inferior): Renamed from create_inferior.
-       Call add_inferior.  Return 0 on success instead of a PID.
-       (linux_attach): Renamed from myattach.
-       (linux_kill): Renamed from kill_inferior.  Call clear_inferiors ().
-       (linux_thread_alive): Renamed from mythread_alive.
-       (linux_wait): Renamed from mywait.  Call clear_inferiors () if the
-       child dies.
-       (linux_resume): Renamed from myresume.  Add missing ``return 0''.
-       (regsets_store_inferior_registers): Correct error message.
-       Add missing ``return 0''.
-       (linux_fetch_registers): Renamed from fetch_inferior_registers.
-       (linux_store_registers): Renamed from store_inferior_registers.
-       (linux_read_memory): Renamed from read_inferior_memory.
-       (linux_write_memory): Renamed from write_inferior_memory.
-       (linux_target_ops): New structure.
-       (initialize_low): Call set_target_ops ().
-       * gdbserver/remote-utils.c (unhexify): New function.
-       (hexify): New function.
-       (input_interrupt): Send signals to ``signal_pid''.
-       * gdbserver/server.c (inferior_pid): Remove.
-       (start_inferior): Update create_inferior call.
-       (attach_inferior): Call add_inferior.
-       (handle_query): New function.
-       (main): Call handle_query for `q' packets.
-       * gdbserver/server.h: Include "target.h".  Remove obsolete prototypes.
-       Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
-
-2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
-
-       * gdbserver/Makefile.in: Add WARN_CFLAGS.  Update configury
-       dependencies.
-       * gdbserver/configure.in: Check for <string.h>
-       * gdbserver/configure: Regenerate.
-       * gdbserver/config.in: Regenerate.
-       * gdbserver/gdbreplay.c: Include needed system headers.
-       (remote_open): Remove strchr prototype.
-       * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
-       * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
-       (supply_register_by_name): Likewise.
-       (collect_register): Change buf argument to void *.
-       (collect_register_by_name): Likewise.
-       * gdbserver/regcache.h: Add missing prototypes.
-       * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
-       * gdbserver/server.c (handle_query): New function.
-       (attached): New static variable, moved out of main.
-       (main): Quiet longjmp clobber warnings.
-       * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT.  Update prototypes.
-       * gdbserver/utils.c (error): Remove NORETURN.
-       (fatal): Likewise.
-
 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
 
        * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
This page took 0.038136 seconds and 4 git commands to generate.