* remote.c (remote_wait, remote_async_wait): Change
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3b38e6f5c7b320f835f6f2eaa40b3d5a3b493103..e10d7d13c6f6f265ee13100002dd66d36f434171 100644 (file)
@@ -1,3 +1,473 @@
+2002-08-08  Grace Sainsbury  <graces@redhat.com>
+
+       * remote.c (remote_wait, remote_async_wait): Change thread_num
+       ULONGEST.
+       * (unpack_varlen_hex): Change result prameter to ULONGEST *.
+
+2002-08-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
+       powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
+       powerpc*-*-*.
+       * MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
+
+2002-08-08  Andrew Cagney  <cagney@redhat.com>
+
+       * gcore.c (override_derive_stack_segment): Delete variable.
+       (preempt_derive_stack_segment): Delete function.
+       (derive_stack_segment): Delete function.
+       (default_derive_stack_segment): Renamed to derive_stack_segment.
+       (override_derive_heap_segment): Delete variable.
+       (preempt_derive_heap_segment): Delete function.
+       (derive_heap_segment): Delete function.
+       (default_derive_heap_segment): Rename to derive_heap_segment.
+
+2002-08-06  Michael Snyder  <msnyder@redhat.com>
+
+       * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
+       * mips-tdep.c (mips_EABI_use_struct_convention, 
+       mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
+       New functions.  (mips_use_struct_convention): Delete.
+       (mips_gdbarch_init): set use_gdbarch_convention.
+
+2002-08-06  Michael Snyder  <msnyder@redhat.com>
+
+       *  mips-tdep.c: gdbarch-ify reg_struct_has_addr.
+       (mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr, 
+       mips_o32_reg_struct_has_addr): New functions.
+       (mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
+
+2002-08-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (pseudo_register): Delete function.
+       (fetch_register): Delete function.
+       (store_register): Delete function.
+       (regcache_raw_read, legacy_read_register_gen): Use
+       target_fetch_registers instead of fetch_register.
+       (legacy_write_register_gen, regcache_raw_write): Use
+       target_store_register instead of store_register.
+       (write_register_bytes): Ditto.
+
+       * gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
+       (STORE_PSEUDO_REGISTER): Delete.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2002-08-06  Corinna Vinschen  <vinschen@redhat.com>
+
+       * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
+       write dump file binary.
+
+2002-08-05  Michael Snyder  <msnyder@redhat.com>
+
+       *  mips-tdep.c (mips_find_saved_regs): Adjust stack according
+       to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64.  Enhance comment.
+       (mips_gdbarch_init): Set N32 target to be mips64.
+
+2002-08-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * frame.c (find_saved_register): Break out of loop once saved
+       register address is found.  Don't mention sparc in loop comment
+       anymore.
+
+2002-08-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set
+       mips_default_saved_regsize to 8.
+
+2002-08-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * gcore.c: Do not include <sys/procfs.h>.
+       * Makefile.in (gcore.o): Update dependencies.
+
+2002-08-06  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.tgt: Make arc-*-* obsolete.
+       * NEWS: Mention that arc-*-* has been identifed as obsolete.
+       * MAINTAINERS: Make arc-elf obsolete.
+       * arc-tdep.c: Make file obsolete.
+       * config/arc/arc.mt: Ditto.
+       * config/arc/tm-arc.h: Ditto.
+
+2002-08-05  Theodore A. Roth  <troth@verinet.com>
+
+       * gdb/avr-tdep.c(avr_skip_prologue): Fix to return the correct pc.
+
+2002-08-05  Andrew Cagney  <ac131313@redhat.com>
+
+       * mcore-tdep.c (mcore_gdbarch_init): Use
+       generic_unwind_get_saved_register instead of
+       generic_get_saved_register.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * frv-tdep.c (frv_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+       * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto.
+       * config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto.
+
+2002-08-05  Joel Brobecker  <brobecker@gnat.com>
+
+       * objfiles.h: Add missing #include "symfile.h"
+
+       * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.
+
+2002-08-04  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-08-01 david carlton <carlton@math.stanford.edu>:
+       * hpread.c (hpread_read_struct_type): Deleted superfluous setting
+       of FIELD_BITSIZE.
+
+2002-08-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * NEWS: Cleanup and nitpick.
+
+2002-08-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Cleanup.  Use *-linux*-gnu*.  Only use `*' for headings.
+
+2002-08-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (gdbtk-bp.o): Update dependencies.
+       (gdbtk-register.o): Ditto.
+       (gdbtk-varobj.o): Ditto.
+
+2002-08-03  Andrew Cagney  <cagney@redhat.com>
+
+       * m68hc11-tdep.c (m68hc11_pseudo_register_read): Replace
+       m68hc11_fetch_pseudo_register.
+       (m68hc11_pseudo_register_write): Replace
+       m68hc11_store_pseudo_register.
+       (m68hc11_gdbarch_init): Update.
+
+Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh: Include "gdb_string.h".
+       * gdbarch.c: Regenerate.
+
+       * regcache.c: Include "gdb_string.h".
+       * ax-general.c: Ditto.
+       * varobj.c: Ditto.
+       * std-regs.c: Ditto.
+       * fbsd-proc.c: Ditto.
+       * thread.c: Ditto.
+
+       * Makefile.in (regcache.o): Update dependencies.
+       (thread.o, gdbarch.o): Ditto.
+       (ax-general.o, gdbarch.o): Ditto.
+       (varobj.o, std-regs.o): Ditto.
+       (fbsd-proc.o): Specify dependencies.
+
+2002-08-02  Andrew Cagney  <cagney@redhat.com>
+
+       * regcache.c (regcache_cooked_read): Rename rawnum parameter to
+       regnum.
+       (regcache_cooked_write): Ditto.
+
+2002-08-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (regcache_cooked_read): New function.
+       (regcache_cooked_write): New function.
+       (read_register_gen): Rewrite using regcache_cooked_read.
+       (write_register_gen): Rewrite using regcache_cooked_write.
+
+       * regcache.h (regcache_cooked_read, regcache_cooked_write):
+       Declare.
+
+2002-08-02  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (pseudo_register_read, pseudo_register_write):
+       Replace the architecture methods register_read and register_write.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * regcache.c (init_regcache_descr): Update.
+       (read_register_gen): Update.
+       (write_register_gen): Update.
+       (supply_register): Update comment.
+
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       (sh_pseudo_register_read, sh64_pseudo_register_read): Add
+       `regcache' and `gdbarch' parameters.  Make `buffer' a void
+       pointer.  Update code.
+       (sh_pseudo_register_write, sh64_pseudo_register_write): Add
+       `regcache' and `gdbarch' parameters.  Make `buffer' a constant
+       void pointer.  Update code.
+       (sh64_register_write): Delete.
+       (sh4_register_read): Delete.
+       (sh64_register_read): Delete.
+       (sh4_register_write): Delete.
+       (sh_sh4_register_convert_to_raw): Make `from' parameter a constant
+       void pointer, `to' parameter a void pointer.
+       (sh_sh64_register_convert_to_raw): Ditto.
+
+2002-08-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_register_virtual_type): Use architecture
+       invariant return values.
+
+2002-08-01  Andrew Cagney  <cagney@redhat.com>
+
+       * linux-proc.c: Include "gdb_string.h".
+       * Makefile.in (linux-proc.o): Update dependency list.
+
+2002-08-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Add comments.  Fix typo in
+       comment.
+
+2002-08-01  Grace Sainsbury  <graces@redhat.com>
+
+       * target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint,
+       to_insert_watchpoint, to_remove_watchpoint,
+       to_stopped_by_watchpoint, to_stopped_data_address,
+       to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint to
+       target vecctor. Define their corresponding macros so they call
+       them.
+       
+       * target.c: Add default and debug versions of for
+       to_insert_hw_breakpoint, to_remove_hw_breakpoint,
+       to_insert_watchpoint, to_remove_watchpoint,
+       to_stopped_by_watchpoint, to_stopped_data_address,
+       to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint.
+
+2002-08-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_register_virtual_type): New function.
+       (mips_gdbarch_init): Register mips_register_virtual_type()
+       with gdbarch machinery.
+       * config/mips/tm-irix6.h (mips/tm-bigmips64.h): Include
+       this file instead of tm-bigmips.h.
+       (MIPS_REGSIZE): Delete this macro.
+       (REGISTER_VIRTUAL_TYPE): Delete macro.  Undef macro so that
+       multiarch version in mips-tdep.c will be found.
+
+2002-08-01  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.
+       (binop_result_type): Ditto.
+       (integral_type): Ditto.
+       (character_type): Ditto.
+       (string_type): Ditto.
+       (boolean_type): Ditto.
+       (structured_type): Ditto.
+       (lang_bool_type): Ditto.
+       (binop_type_check): Ditto.
+       * language.h (_LANG_chill): Ditto.
+       * dwarfread.c (set_cu_language): Ditto.
+       * dwarfread.c (CHILL_PRODUCER): Ditto.
+       * dwarfread.c (handle_producer): Ditto.
+       * expression.h (enum exp_opcode): Ditto.
+       * eval.c: Ditto for comments.
+       * typeprint.c (typedef_print) [_LANG_chill]: Ditto.
+       * expprint.c (print_subexp): Ditto.
+       (print_subexp): Ditto.
+       * valops.c (value_cast): Ditto.
+       (search_struct_field): Ditto.
+       * value.h (COERCE_VARYING_ARRAY): Ditto.
+       * symfile.c (init_filename_language_table): Ditto.
+       (add_psymbol_with_dem_name_to_list): Ditto.
+       * valarith.c (value_binop): Ditto.
+       (value_neg): Ditto.
+       * valops.c (value_slice): Ditto.
+       * symtab.h (union language_specific): Ditto.
+       (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
+       (SYMBOL_DEMANGLED_NAME): Ditto.
+       (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
+       * defs.h (enum language): Ditto.
+       * symtab.c (got_symtab): Ditto.
+       * utils.c (fprintf_symbol_filtered): Ditto.
+
+       * ch-typeprint.c: Make file obsolete.
+       * ch-valprint.c: Make file obsolete.
+       * ch-lang.h: Make file obsolete.
+       * ch-exp.c: Make file obsolete.
+       * ch-lang.c: Make file obsolete.
+
+       * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
+       CHILL_LIB.
+       (TARGET_FLAGS_TO_PASS): Ditto.
+       (CHILLFLAGS): Obsolete.
+       (CHILL): Obsolete.
+       (CHILL_FOR_TARGET): Obsolete.
+       (CHILL_LIB): Obsolete.
+       (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
+       ch-valprint.c.
+       (HFILES_NO_SRCDIR): Remove ch-lang.h.
+       (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
+       ch-lang.o.
+       (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
+       targets.
+
+2002-07-31  Joel Brobecker  <brobecker@gnat.com>
+
+       * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
+       This does not change anything at the moment, but will be helpful
+       later when full Ada support is integrated.
+
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
+       help message.
+
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
+       and save it in a local variable.  Use variable in later test.
+
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
+       test.  (Thanks to Daniel Jacobowitz.)
+       
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
+       (mips_abi_strings): Add "n64".
+       (mips_gdbarch_init): Add test for n64 abi.  Add MIPS_ABI_N64 case.
+
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
+       (REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
+
+2002-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * utils.c (host_pointer_to_address, address_to_host_pointer):
+       Use gdb_assert() instead of explicit call to internal_error().
+
+2002-07-30  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (rs6000-nat.o): Update dependencies.
+
+       From Nicholas Duffek:
+       * Makefile.in (ALLDEPFILES): Add aix-thread.c.
+       (aix-thread.o): New rule.
+       * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+.
+       * config/powerpc/aix432.mh: New file.
+
+2002-07-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
+       (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
+       (fetch_core_registers, ppc_linux_supply_gregset)
+       (ppc_linux_supply_fpregset): New functions.
+       (ppc_linux_regset_core_fns): New.
+       (_initialize_ppc_linux_tdep): Call add_core_fns.
+       * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
+       and ppc_linux_supply_gregset.
+       * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
+       (supply_fpregset): Call ppc_linux_supply_fpregset.
+       * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
+       corelow.o.
+       * config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
+
+2002-07-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symtab.c (lookup_symbol): Demangle before lowercasing.
+
+2002-07-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * symtab.h: Replace #include "gdb_obstack.h" with opaque
+       declaration.
+       * cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
+       * gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
+       * avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
+       * arch-utils.c, cli/cli-setshow.c: Unconditionally include
+       "gdb_string.h".
+       * Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
+       (gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
+       (cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
+       (avr-tdep.o, mon960-rom.o): Ditto.
+       (aout_stabs_gnu_h): Define.
+       (symtab_h): Remove $(gdb_obstack_h).
+
+2002-07-30  Jim Blandy  <jimb@redhat.com>
+
+       Patch from David Carlton <carlton@math.stanford.edu>:
+       * gdbinit.in: Move the `dir' commands that add GDB's own source
+       directory to the search path to the end, so that the `gdb' source
+       directory will be searched first.
+
+2002-07-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb_obstack.h: New file.
+       * symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
+       (obstack_chunk_alloc, obstack_chunk_free): Delete macros.
+       * objfiles.h: Include "gdb_obstack.h".
+       * Makefile.in (gdb_obstack_h): Define.
+       (symtab_h): Add $(gdb_obstack_h).
+       (objfiles_h): Add $(gdb_obstack_h).
+       
+       * objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
+       * macrotab.c, cp-valprint.c, dbxread.c: Ditto.
+       * ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
+       * macroexp.c, p-typeprint.c, stabsread.c: Ditto.
+       * symtab.c, f-typeprint.c, mdebugread.c: Ditto.
+       * p-valprint.c, symmisc.c, typeprint.c: Ditto.
+       * symfile.c, coffread.c, c-typeprint.c: Ditto.
+       * buildsym.c, bcache.c, ada-typeprint.c: Ditto.
+
+       * Makefile.in (bcache.o): Update dependencies.
+       (buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
+       (ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
+       (dbxread.o, dstread.o, f-typeprint.o): Ditto.
+       (objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
+       (stabsread.o, symfile.o, symmisc.o): Ditto.
+       (symtab.o, typeprint.o, macroexp.o): Ditto.
+       (macrotab.o, mdebugread.o): Ditto.
+       (f_lang_h, coff_sym_h, coff_symconst_h): Define.
+       (coff_ecoff_h, aout_aout64_h): Define.
+       (aout_stabs_gnu_h, libaout_h): Define.
+
+2002-07-29  Andrew Cagney  <cagney@redhat.com>
+
+       * regcache.c (struct regcache_descr): Rename nr_registers to
+       nr_cooked_registers.  Revise comments describing the structure
+       member fields.
+       (init_regcache_descr): Update.
+       (init_legacy_regcache_descr): Update.
+       (read_register_gen, write_register_gen): When a cooked register in
+       the raw register range, directly access the value from the raw
+       register cache.
+
+2002-07-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * z8k-tdep.c: Do not include "obstack.h".
+       * h8300-tdep.c, h8500-tdep.c: Ditto.
+       * m68hc11-tdep.c, sh-tdep.c: Ditto.
+       * valprint.c, v850-tdep.c: Ditto.
+       * d10v-tdep.c, mn10300-tdep.c: Ditto.
+       * mn10200-tdep.c: Ditto.
+
+       * Makefile.in (z8k-tdep.o): Update dependencies.
+       (m68hc11-tdep.o, valprint.o): Ditto.
+       (v850-tdep.o, d10v-tdep.o): Ditto.
+       (mn10300-tdep.o, sparc-tdep.o): Ditto.
+       (sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
+       (m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
+       (sh_opc_h, gdb_sim_sh_h): Define.
+       (elf_sh_h, elf_bfd_h): Define.
+       (opcode_m68hc11_h): Define.
+       (OPCODES_SRC, OPCODES_DIR): define.
+       (OPCODES): Use $(OPCODES_DIR).
+       (gdb_sim_d10v_h): Rename sim_d10v_h.
+       (gdb_sim_arm_h): Rename sim_arm_h.
+
+2002-07-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * utils.c (host_pointer_to_address, address_to_host_pointer):
+       Change internal_error() message to indicate function responsible
+       for the error.
+
+2002-07-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
+       calls to local_hex_string_custom().
+
 2002-07-26  Kevin Buettner  <kevinb@redhat.com>
 
        * irix5-nat.c: Move IRIX shared library support from here...
        * osabi.c (gdb_osabi_names): Add corresponding string for Irix.
        * mips-irix-tdep.c: New file.
 
+       * Makefile.in (ALLDEPFILES): Add mips-irix-tdep.c and solib-irix.c.
+       (mips-irix-tdep.o, solib-irix.o): New rules.
+       * config/mips/irix5.mt (TDEPFILES): Add mips-irix-tdep.o, solib.o,
+       solib-irix.o.
+       * config/mips/irix6.mt (TDEPFILES): Likewise.
+       * config/mips/irix6.mh (NATDEPFILES): Remove solib.o.
+
 2002-07-26  Kevin Buettner  <kevinb@redhat.com>
 
        * aix-thread.c (coff/internal.h, bfd/libcoff.h, pthread.h): Remove
This page took 0.030735 seconds and 4 git commands to generate.