2002-07-29 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 96e274fafb11fc2af70638005f5f20436d36f06b..326ba48f7d6e0c579fd8e75142bce4e7f6ac6008 100644 (file)
@@ -1,3 +1,784 @@
+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...
+       * solib-irix.c: ...to here.  Revised substantially to work with
+       generic solib framework.
+
+       * osabi.h (gdb_osabi): Add new enum constant GDB_OSABI_IRIX.
+       * 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
+       disabled (via ``#if 0'') includes.
+
+2002-07-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
+       (fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64)
+       (fill_sprs32, store_regs_user_thread, store_regs_kernel_thread):
+       Add support for the fpscr register.
+       * rs6000-nat.c (regmap, fetch_inferior_registers)
+       (store_inferior_registers, fetch_core_registers): Likewise.
+
+2002-07-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-nat.c (language.h): Include.
+       (special_regs): Delete this array.
+       (regmap): New function.
+       (fetch_register, store_register):  Use regmap() to map gdb
+       register numbers to ptrace register numbers.  Also, use
+       outputs from regmap() to make decisions regarding type of
+       ptrace() call to make.  In particular, don't compare against
+       FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM.
+       (fetch_inferior_registers, store_inferior_registers): Where
+       possible, obtain register numbers from tdep struct.  Don't
+       refer to FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM.
+       * config/rs6000/tm-rs6000.h (FIRST_UISA_SP_REGNUM)
+       (LAST_UISA_SP_REGNUM): Delete.
+       
+2002-07-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-nat.c (ppc-tdep.h): Include.
+       (fetch_registers, store_register, fetch_core_registers): Don't
+       access registers[] directly.  Instead, use supply_register() or
+       regcache_collect() as appropriate.
+       (find_toc_address): Format hex address with local_hex_string().
+
+2002-07-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
+       bfd/elf32-frv.c.
+
+2002-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * jv-exp.y: Marked all strings with _().
+       (ClassInstanceCreationExpression, ArrayCreationExpression): Use
+       internal_error.
+       (MethodInvocation, CastExpression, parse_number, yyerror,
+       java_type_from_name, push_expression_name, yylex): Typo fixes.
+
+2002-07-24  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
+       (tee_file_flush, tee_file_write, tee_file_fputs)
+       (tee_file_isatty): New.
+       * ui-file.h (tee_file_new): Add prototype.
+
+2002-07-24  Aidan Skinner <aidan@velvet.net>
+
+       * ada-lang.c: Change k&r style function definitions to prototyped
+       form.
+       * ada-typeprint.c: Change k&r style function definitions to prototyped
+       form.
+       * ada-valprint.c: Change k&r style function definitions to prototyped
+       form.
+       
+2002-07-24  Andrew Cagney  <cagney@redhat.com>
+
+       * README: Remove reference to remote-bug.
+       * Makefile.in (ALLDEPFILES): Remove m88k-nat.c, m88k-tdep.c and
+       remote-bug.c.
+       (m88k-nat.o): Delete rule.
+       (m88k-tdep.o): Delete rule.
+       (remote-bug.o): Delete rule.
+       * MAINTAINERS: Mark as obsolete.
+       * elfread.c (elf_symtab_read): Mention that m88k is obsolete.
+       * m88k-tdep.c: Make file obsolete.
+       * config/m88k/m88k.mh: Ditto.
+       * config/m88k/delta88v4.mh: Ditto.
+       * config/m88k/delta88v4.mt: Ditto.
+       * config/m88k/delta88.mt: Ditto.
+       * config/m88k/delta88.mh: Ditto.
+       * remote-bug.c: Ditto.
+       * config/m88k/tm-delta88.h: Ditto.
+       * config/m88k/nm-delta88v4.h: Ditto.
+       * config/m88k/xm-delta88.h: Ditto.
+       * config/m88k/xm-dgux.h: Ditto.
+       * config/m88k/tm-m88k.h: Ditto.
+       * config/m88k/nm-m88k.h: Ditto.
+       * config/m88k/tm-delta88v4.h: Ditto.
+       * m88k-nat.c: Ditto.
+       * cxux-nat.c: Ditto.
+       * configure.host: Make m88*-motorola-sysv4*, m88*-motorola-sysv*
+       and m88*-*-* obsolete.
+       * configure.tgt: Make m88*-motorola-sysv4*, m88*-motorola-* and
+       m88*-*-* obsolete.
+
+2002-07-24  Andrew Cagney  <cagney@redhat.com>
+
+       * findvar.c (extract_unsigned_integer): Make `addr' parameter
+       constant.  Same for local pointer variables.
+       (extract_signed_integer): Ditto.
+       * 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
+       constant void pointer.
+       (regcache_raw_read): Change buf parameter to a void pointer.
+       (legacy_write_register_gen): Change myaddr parameter a constant
+       void pointer.
+       (supply_register): Change val parameter to a const void pointer.
+       * regcache.h (regcache_raw_write): Update declaration.
+       (regcache_raw_read): Update declaration.
+       (supply_register): Update declaration.
+
+2002-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * defs.h (gdb_readline_wrapper): Declare.
+       * utils.c (prompt_for_continue): Use gdb_readline_wrapper.
+       * tracepoint.c (read_actions): Use gdb_readline_wrapper.
+       * top.c (gdb_readline_wrapper): New function.
+       (command_line_input): Use it.
+
+2002-07-24  Andrew Cagney  <cagney@redhat.com>
+
+       * regcache.h (regcache_raw_read, regcache_raw_write): Replace
+       regcache_read and regcache_write.
+       (regcache_raw_read_as_address): Replace regcache_read_as_address.
+       * regcache.c: Update.
+       * sh-tdep.c (sh64_push_arguments): Update comment.
+       (sh_pseudo_register_read): Update.
+       (sh_pseudo_register_write): Update.
+       (sh4_register_read): Update.
+       (sh4_register_write): Update.
+       (sh64_pseudo_register_read): Update.
+       (sh64_pseudo_register_write): Update.
+       (sh64_register_read): Update.
+       (sh64_register_write): Update.
+       * i386-tdep.c (i386_extract_return_value): Update.
+       (i386_extract_struct_value_address): Update.
+       (i386_extract_return_value): Update.
+       * blockframe.c (generic_read_register_dummy): Update.
+       (generic_call_dummy_register_unwind): Update
+       * infrun.c (write_inferior_status_register): Update.
+
+2002-07-23  Jim Blandy  <jimb@redhat.com>
+
+       * parser-defs.h (expression_context_pc): Make this extern.
+       (Thanks to Michael Snyder.)
+
+2002-07-23  Andrew Cagney  <ac131313@redhat.com>
+
+       GDB 5.2.1 released from 5.2 branch.
+       * NEWS: Mention changes in 5.2.1 including addition of AVR target.
+       * README: Update to mention 5.2.1.
+
+2002-07-23  Mark Salter  <msalter@redhat.com>
+
+       * remote.c (remote_read_bytes): Fix check for error.
+
+2002-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (language.h): Include.
+       (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
+       (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc):
+       Print newlines at end of debug messages.
+       (pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data)
+       (pdc_write_data): Use local_hex_string() instead of %llx formats.
+
+2002-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (ppc-tdep.h): Include.
+       (special_register_p): New function.
+       (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32)
+       (store_regs_user_thread): Use register number information from
+       gdbarch_tdep struct instead of hardcoded offsets relative to
+       FIRST_UISA_SP_REGNUM.
+       (fetch_regs_kernel_thread, store_regs_kernel_thread):  Call
+       special_register_p() instead of using FPLAST_REGNUM and
+       LAST_UISA_SP_REGNUM as lower and upper bounds on the special
+       register numbers.  Also, don't assume that LAST_UISA_SP_REGNUM
+       will be MQ's register number.
+
+2002-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * aix-thread.c (ops): Rename to aix_thread_ops.
+       (base_ops): Rename to base_target.
+       (ops_attach): Rename to aix_thread_attach.
+       (ops_detach): Rename to aix_thread_detach.
+       (ops_resume): Rename to aix_thread_detach.
+       (ops_wait):   Rename to aix_thread_wait.
+       (ops_kill):   Rename to aix_thread_kill.
+       (init_ops):   Rename to init_aix_thread_ops.
+       (ops_fetch_register): Rename to aix_thread_fetch_register.
+       (ops_store_register): Rename to aix_thread_store_register.
+       (ops_mourn_inferior): Rename to aix_thread_mourn_inferior.
+       (ops_thread_alive):   Rename to aix_thread_thread_alive.
+       (ops_extra_thread_info: Rename to aix_thread_extra_thread_info.
+       (ops_pid_to_str):  Rename to aix_thread_pid_to_str.
+       (ops_xfer_memory): Rename to aix_thread_xfer_memory.
+       (fetch_regs_lib):  Rename to fetch_regs_user_thread.
+       (fetch_regs_kern): Rename to fetch_regs_kernel_thread.
+       (store_regs_lib):  Rename to store_regs_user_thread.
+       (store_regs_kern): Rename to store_regs_kernel_thread.
+
+2002-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * aix-thread.c (ops_prepare_to_store): Eliminate.
+       (init_ops): Don't initialize ops.prepare_to_store.
+       (store_regs_kern): Pre-fetch register buffers from child, 
+       because some registers may not be in the cache.  Copy
+       regs from register cache only if they are cached.
+       (store_regs_lib): Copy regs from register cache only
+       if they are cached.
+       (fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32,
+       fill_gprs64): Ditto.
+
+2002-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (gdb_assert.h): Include.
+       (fill_sprs64, fill_sprs32): Add selected asserts to make sure that
+       register sizes (from register cache) match size of buffer holding
+       register data.
+       (fill_sprs32): Change parameter types to match those in the ptrace()
+       buffer.
+       (store_regs_lib): Likewise, but for 32-bit temporary variables.
+       (ops_prepare_to_store): Rename loop variable ``i'' to ``regno''.
+
+2002-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * aix-thread.c (supply_sprs64): Cosmetic change.
+       (supply_sprs32): Cosmetic change.
+       (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs.
+       (fill_sprs64): Use regcache_collect instead of read_register.
+       (store_regs_lib): Use regcache_collect instead of 
+       read_register.  Use fill_sprs32 instead of fill_sprs64,
+       if debugging a 32-bit architecture.
+       (store_regs_kern): Use fill_gprs64 etc. to pull the values
+       out of the register cache, instead of passing a pointer into
+       the register cache directly to ptrace.  Use regcache_collect
+       insteaad of read_register.
+       (ops_prepare_to_store): Use target_read_registers instead
+       of read_register_bytes.
+
+2002-07-20  Aidan Skinner <aidan@velvet.net>
+
+       * MAINTAINERS: Add self under write after approval. 
+               
+2002-07-20  Aidan Skinner <aidan@velvet.net>
+
+       * ada-tasks.c: Change k&r style function definitions to prototyped
+       form.
+               
+2002-07-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
+       * x86-64-tdep.c: Include "objfiles.h".
+       (x86_64_gdbarch_init): Set in_solib_call_trampoline to
+       in_plt_section.  From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.
+
+2002-07-17  Michal Ludvig  <michal@suse.cz>
+
+       * dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
+       (update_context): Initialise cfa variable.
+
+2002-07-17  Michael Snyder  <msnyder@redhat.com>
+
+       * aix-thread.c: Shorten some long lines.  
+       Bring comments into line with code spec.
+
+2002-07-18  Joel Brobecker  <brobecker@gnat.com>
+
+       * infrun.c: Re-indent using gdb_indent.sh.
+
+2002-07-18  Joel Brobecker  <brobecker@gnat.com>
+
+       * infrun.c (handle_inferior_event): Remove unneeded extra brace.
+       Leave the indentation temporarily untouched, to minimize the diffs.
+
+2002-07-18  Elena Zannoni  <ezannoni@redhat.com>
+
+       * stabsread.c: Make os9k sections of the code obsolete,
+       for real this time.
+       * stabsread.h: Make os9k sections of the code obsolete.
+
+2002-07-18  Michal Ludvig <mludvig@suse.cz>
+
+       * linux-low.c (regsets_store_inferior_registers): Add free()
+       at the end of a loop to prevent memory leak.
+       * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers.
+       (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.
+       * config/sparc/tm-sp64linux.h: Make the rest of #endif
+       line a comment.
+       * Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h
+
+2002-07-17  Jim Blandy  <jimb@redhat.com>
+
+       * macrocmd.c (info_macro_command): Remove newline from error
+       message.
+
+2002-07-17  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh-tdep.c (sh_dsp_register_sim_regno): New function.
+       (sh_gdbarch_init): Use it for sh-dsp.
+
+2002-07-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2read.c (read_initial_length): Handle older, non-standard,
+       64-bit DWARF2 format.
+
+2002-07-16  Joel Brobecker  <brobecker@gnat.com>
+
+       * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
+       <sys/proc.h> when not available.
+
+2002-07-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that the i[34]86-*-os9k has been made obsolete.
+       * stabsread.c: Make os9k sections of the code obsolete.
+       * configure.tgt: Make i[3456]86-*-os9k target obsolete.
+       * config/i386/i386os9k.mt: Make file obsolete.
+       * Makefile.in (ALLDEPFILES): Remove remote-os9k.c.
+       (COMMON_OBS): Remove os9kread.o
+       (SFILES): Remove os9kread.c.
+       (os9kread.o, remote-os9k.o): Make target obsolete.
+       * remote-os9k.c: Make file obsolete.
+       * os9kread.c: Make file obsolete.
+       * Makefile.in
+
+2002-07-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that the FR30 has been made obsolete.
+       * fr30-tdep.c: Make file obsolete.
+       * config/fr30/tm-fr30.h: Ditto.
+       * config/fr30/fr30.mt: Ditto.
+       * configure.tgt: Make fr30-*-elf obsolete.
+       * MAINTAINERS: Make fr30-elf obsolete.
+
+2002-07-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * blockframe.c (get_pc_function_start): return 0 if the minimal symbol
+       found is not inside a section.
+
+2002-07-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (ptrace_check): Use safe_strerror() instead of
+       strerror().
+       (pdc_realloc): Use xrealloc() instead of realloc().
+
+2002-07-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (PD_ERROR, CALL_BASE): Delete.
+       (ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
+       (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
+       macros.
+
+2002-07-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (ptrace_check): Eliminate goto.
+       (sync_threadlists): Eliminate gotos.  Also, fix array overrun
+       problem.
+
+2002-07-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * aix-thread.c (gdbcmd.h): Include.
+       (DEBUG, DBG, DBG2, dbg): Eliminate.
+       (debug_aix_thread): New static global.
+       (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
+       (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
+       (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
+       invocations to DBG and DBG2 macros to test against
+       ``debug_aix_thread'' and call fprintf_unfiltered().
+       (_initialize_aix_thread): Add new command "set debug aix-thread".
+
+2002-07-15  Andrew Cagney  <ac131313@redhat.com>
+
+       From Gerhard Tonn <TON@de.ibm.com>:
+       * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
+       instead of supply_register.
+
+2002-07-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * dwarf2cfi.c: Include "gdb_assert.h".
+       (frame_state_for): Use gdb_assert to check that fde->cie_ptr is
+       non-NULL.
+       (update_context): Do not use __func__.  Add missing ``break''.
+       (update_context): Do not use __func__.
+
+2002-07-15  Elena Zannoni  <ezannoni@redhat.com>
+
+        * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
+        and its setting.  Set gdbarch instruction printing functions
+        directly.  For non-rs6000 case use new function
+        gdb_print_insn_powerpc.
+        (gdb_print_insn_powerpc): New function.
+
+2002-07-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that the d30v has been marked obsolete.
+       * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete.
+       * configure.tgt: Mark d30v-*-* as obsolete.
+       * d30v-tdep.c: Mark file as obsolete.
+       * config/d30v/d30v.mt: Ditto.
+       * config/d30v/tm-d30v.h: Ditto.
+
+2002-07-13  Aidan Skinner <aidan@velvet.net>
+
+       * ada-tasks.c (add_task_entry): replace calls to
+       malloc() with xmalloc
+       * ada-tasks.c (init_task_list): replace calls to free with xfree()
+       
+       * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
+       ada_finish_decode_line_1, all_sals_for_line
+       ada_breakpoint_rewrite): replace calls to free() with xfree()
+               
+2002-07-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Nicholas Duffek (with minor changes by Martin Hunt, 
+       Louis Hamilton, and Kevin Buettner):
+       * aix-thread.c: New file.
+
+2002-07-12  Petr Sorfa <petrs@caldera.com>
+
+        *  dwarf2read.c (dwarf2_invalid_attrib_class): New
+        complaint for invalid attribute class or form.
+        (read_func_scope): DW_AT_frame_base
+        better handling of DW_AT_block*.
+        (dwarf2_add_member_fn): DW_AT_vtable_elem_location
+        better handling of DW_AT_block*.
+        (read_common_block): DW_AT_location
+        better handling of DW_AT_block*.
+        (read_partial_die): DW_AT_location better handling
+        of DW_AT_block*.
+        (new_symbol): DW_AT_external better handling of
+        DW_AT_block*. Proper initialization of variable
+        "addr".
+        (attr_form_is_block): New function that returns true
+        if the attribute's form is of DW_FORM_block*.
+
+2002-07-12  Peter Schauer  <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
+
+       * valops.c (find_method_list): Remove comment about
+       removed STATIC_MEMFUNCP argument.
+       (value_find_oload_method_list): Likewise.
+
+2002-07-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Nicholas Duffek:
+       * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
+       target_new_objfile_hook.
+
+2002-07-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Nicholas Duffek:
+       * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
+       csect.
+
+2002-07-12  Andrew Cagney  <cagney@redhat.com>
+
+       * MAINTAINERS: Mention --enable-sim-build-warnings.
+       (m68hc11-elf): Disable sim build warnings.
+       (m32r-elf): Mark as broken obsolete candidate.
+       (x86_64-linux-gnu): Mark as buildable with -Werror.
+       (arm-elf): Change -w to ``,'' which enables warnings but not
+       -Werror.
+
+2002-07-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * bcache.h: Update copyright.
+       (struct bstring, struct bcache): Move definition to "bcache.c".
+       Replaced by opaque declaration.
+       (bcache_xfree): Replace free_bcache.
+       (bcache_xmalloc, bcache_memory_used): Declare.
+       
+       * bcache.c: Update copyright.
+       (struct bstring, struct bcache): Moved to here from "bcache.h".
+       Update comments.
+       (bcache_xmalloc, bcache_memory_used): New functions.
+       (bcache_xfree): Replace function free_bcache.
+       
+       * Makefile.in (objfiles.o): Add $(bcache_h).
+       (objfiles_h): Remove $(bcache_h).
+       (symfile.o): Add $(bcache_h).
+
+       * symmisc.c: Update copyright.
+       (print_symbol_bcache_statistics): Pass psymbol_cache by value.
+       (print_objfile_statistics): Use bcache_memory_used.
+
+       * symfile.c: Include "bcache.h".
+       (reread_symbols): Use bcache_xfree.
+       (reread_symbols): Use bcache_xmalloc and bcache_xfree.
+       (add_psymbol_to_list): Pass psymbol_cache by value.
+       (add_psymbol_with_dem_name_to_list): Ditto.
+
+       * objfiles.h: Update copyright.
+       (struct bcache): Declare opaque.  Do not include "bcache.h".
+       (struct objfile): Change psymbol_cache and macro_cache to ``struct
+       bcache'' pointers.
+       * dwarf2read.c (macro_start_file): Pass macro_cache by value.
+
+       * objfiles.c: Include "bcache.h".  Update copyright.
+       (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
+       macro_cache.
+       (free_objfile): Use bcache_xfree.
+
+2002-07-11  Grace Sainsbury  <graces@redhat.com>
+
+       * monitor.c (monitor_fetch_register): Make name a constant.
+       (monitor_store_register): Same.
+
+2002-07-11  Daniel Jacobowitz  <drow@mvista.com>
+
+       Based on patch from Daniel Berlin <dberlin@dberlin.org>.
+       * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
+       (finish_block) For non-function blocks, hash the symbol table.  For
+       function blocks, mark the symbol table as unhashed.
+       * minsyms.c (msymbol_hash): Return hash value without taking modulus.
+       (msymbol_hash_iw): Likewise.
+       (add_minsym_to_hash_table): Take modulus of msymbol_hash's return
+       value.
+       (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
+       (lookup_minimal_symbol): Likewise for both.
+       * symtab.h (struct block): Add `hashtable' flag.  Comment the
+       hashtable.
+       (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
+       (ALL_BLOCK_SYMBOLS): Update.
+       (BLOCK_SHOULD_SORT): Do not sort hashed blocks.
+       (struct symbol): Add `hash_next' pointer.
+       * symtab.c (lookup_block_symbol): Search using the hash table when
+       possible.
+       (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
+       (search_symbols, find_addr_symbol): Likewise.
+
+       * dstread.c (process_dst_block): Clear hashtable bit for new block.
+       (read_dst_symtab): Likewise.
+       * jv-lang.c (get_java_class_symtab): Likewise.
+       * mdebugread.c: Include "gdb_assert.h".
+       (shrink_block): Assert that the block being modified is not hashed.
+       * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
+       * symmisc.c (free_symtab_block): Walk the hash table when freeing
+       symbols.
+       (dump_symtab): Recognize hashed blocks.
+       * printcmd.c (print_frame_args):  Assert that function blocks do not
+       have hashed symbol tables.
+       * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
+       (fill_in_ada_prototype, debug_print_block): Likewise.
+       (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS.  Handle hash tables.
+
+2002-07-11  Corinna Vinschen  <vinschen@redhat.com>
+
+       * stack.c (print_frame): Use result of frame_address_in_block()
+       instead of fi->pc when evaluating symbols.
+       (backtrace_command_1): Ditto.
+
+2002-07-11  Andrew Cagney  <cagney@redhat.com>
+
+       * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
+       Make static.
+
+       * arm-tdep.c (arm_register_name): Make return type constant.
+
+2002-07-10  Andrew Cagney  <ac131313@redhat.com>
+
+       * win32-nat.c (has_detach_ability): Convert to strict ISO C
+       prototype.
+       * top.c (gdb_rl_operate_and_get_next_completion): Ditto.
+       * s390-tdep.c (s390_fp_regnum): Ditto.
+       (s390_read_fp): Ditto.
+       (s390_pop_frame): Ditto.
+       (_initialize_s390_tdep): Ditto.
+       * remote.c (get_remote_state): Ditto.
+       * procfs.c (mappingflags): Ditto.
+       * memattr.c (_initialize_mem): Ditto.
+       * mcore-tdep.c (mcore_pop_frame): Ditto.
+       * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto.
+       * m68k-tdep.c (m68k_register_bytes_ok): Ditto.
+       * language.c (set_case_str): Ditto.
+       * gnu-v3-abi.c (vtable_address_point_offset): Ditto.
+       * frv-tdep.c (new_variant): Ditto.
+       (frv_stopped_data_address): Ditto.
+       * dwarf2cfi.c (fde_chunks_need_space): Ditto.
+       (context_alloc): Ditto.
+       (frame_state_alloc): Ditto.
+       (unwind_tmp_obstack_init): Ditto.
+       (unwind_tmp_obstack_free): Ditto.
+       (cfi_read_fp): Ditto.
+       * cris-tdep.c (cris_saved_pc_after_call): Ditto.
+       (cris_pop_frame): Ditto.
+       * c-lang.c (scanning_macro_expansion): Ditto.
+       (finished_macro_expansion): Ditto.
+       (c_preprocess_and_parse): Ditto.
+       * gdbarch.sh: Ditto.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * config/mn10200/tm-mn10200.h: Adjust indentation.
+       * target.c: Adjust indentation.
+       * symtab.h: Adjust indentation.
+       * stabsread.h: Adjust indentation.
+       * remote-es.c: Adjust indentation.
+       * os9kread.c: Adjust indentation.
+
+2002-07-10  Andrew Cagney  <ac131313@redhat.com>
+       
+       * wince.c (_initialize_wince): Rename _initialize_inftarg.
+       * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
+
+2002-07-10  Grace Sainsbury  <graces@redhat.com>
+       
+       * NEWS: Mention m68k, mcore multi-arching.  
+       * MAINTAINERS: Change status of m68k, mcore to reflect
+       multi-arching.
+
+2002-07-10  Daniel Jacobowitz  <drow@mvista.com>
+
+       * valops.c (find_overload_match): Free oload_syms.
+
+2002-07-09  Joel Brobecker  <brobecker@gnat.com>
+
+       Define HAVE_SYS_PROC_H if sys/proc.h exists
+       * configure.in: Add check for sys/proc.h
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2002-07-09  Grace Sainsbury  <graces@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.
+
+2002-07-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2cfi.c: Include "gcore.h".
+       (execute_stack_op): Fix implementation of the
+       DW_OP_deref and DW_OP_deref_size operators by letting do their
+       lookup in the target.
+
+2002-07-07  Mark Kettenis  <kettenis@gnu.org>
+
+       From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
+       * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
+       tdep->sc_sp_offset.
+
+2002-07-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       Fix PR gdb/595, gdb/602
+       * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
+       Don't call value_cast, just read the vtable pointer; update comments
+       to match.
+
+2002-07-05  Grace Sainsbury  <graces@redhat.com>
+
+       * config/mcore/tm-mcore.h: Remove file.
+       * config/mcore/mcore.mt: Remove definition of TM_FILE
+       * configure.tgt: Set gdb_multi_arch to yes for the mcore target.
+
+2002-07-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-tdep.c: Include "gdb_string.h".
+
+2002-07-04  Grace Sainsbury  <graces@redhat.com>
+
+       * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
+       (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
+       mcore-tdep.
+       (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
+       (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
+       * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
+       (RETVAL_REGNUM): Move macros from tm-mcore.h
+       (mcore_reg_struct_has_addr): New function.
+       (mcore_gdbarch_init): Added initializations for the macros removed
+       from tm-mcore.h.
+
 2002-07-04  Mark Kettenis  <kettenis@gnu.org>
 
        * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
@@ -3701,7 +4482,7 @@ Fri May 17 14:26:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
 2002-04-24  Pierre Muller  <ics.u-strasbg.fr>
 
        * hpread.c (hpread_psymtab_to_symtab_1,
-       hpread_psymtab_to_symtab): Replace fprintf (stderr,...)
+       hpread_psymtab_to_symtab): Replace fprintf tab_to_s...)
        with fprintf_unfiltered (gdb_stderr,...).
 
 2002-04-24  Pierre Muller  <ics.u-strasbg.fr>
This page took 0.03112 seconds and 4 git commands to generate.