2003-11-09 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 67bfb476a19ad9b8f092b417ac09ef7f60bc3a57..192d8309fc47018a8d91a1a1274cf4c8fa736237 100644 (file)
@@ -1,3 +1,205 @@
+2003-11-09  Andrew Cagney  <cagney@redhat.com>
+
+       * arch-utils.c (gdbarch_update_p): New function.
+       * gdbarch.sh (gdbarch_update_p): Delete function.
+       (find_arch_by_info, gdbarch_find_by_info): New functions.
+       (deprecated_current_gdbarch_set_hack): New function.
+       * gdbarch.c: Re-generate.
+
+       * gdbarch.sh (clear_gdbarch_swap): Delete function.
+       (swapout_gdbarch_swap): Delete function.
+       (swapin_gdbarch_swap): Delete function.
+       (init_gdbarch_swap): Delete function.
+       (initialize_non_multiarch): Delete function.
+       (current_gdbarch_swap_in_hack): New function.
+       (current_gdbarch_swap_out_hack): New function.
+       (current_gdbarch_swap_init_hack): New function.
+       * gdbarch.c: Re-generate.
+
+       * gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch"
+       parameter to "current_gdbarch".  Add comment explaining why.
+       (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format.
+       (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto.
+       * gdbarch.c: Re-generate.
+       
+       * config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros.
+       * config/s390/nm-linux.h (KERNEL_U_ADDR): Define.
+       * config/s390/xm-linux.h: Delete file.
+       * config/m88k/xm-delta88v4.h: Delete stray.
+
+       * Makefile.in (arch-utils.o): Update dependencies.
+       * arch-utils.c: Include "osabi.h".
+       (gdbarch_info_fill): New function.
+       * arch-utils.h (gdbarch_info_fill): Declare.
+       * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill".
+       * gdbarch.c: Re-generate.
+
+2003-11-09  Mark Kettenis  <kettenis@gnu.org>
+            David S. Miller  <davem@redhat.com>
+
+       * glibc-tdep.c, glibc-tdep.h: New files.
+       * config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o
+       * config/i386/linux.mt (TDEPFILES): Likewise.
+       * i386-linux-tdep.c (glibc-tdep.h): Include.
+       (find_minsym_and_objfile, skip_hurd_resolver): Delete.
+       (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
+       * arm-linux-tdep.c (glibc-tdep.h): Include.
+       (find_minsym_and_objfile, skip_hurd_resolver): Delete.
+       (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
+       * Makefile.in (ALLDEPFILES): Add glibc-tdep.c
+       (glibc_tdep_h): Define.
+       (glibc-tdep.o): Add dependencies.
+       (arm-linux-tdep.o): Update dependencies.
+       (i386-linux-tdep.o): Likewise.
+
+2003-11-09  Andrew Cagney  <cagney@redhat.com>
+
+       * config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h".
+       * config/mips/nm-irix6.h: Delete file.
+       * config/mips/nm-linux.h: Update copyright.
+       (MIPS_GNULINUX_TARGET): Delete macro.
+       * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h".
+       * config/mips/xm-irix6.h: Delete file.
+       * config/mips/linux.mh (XM_FILE): Delete definition.
+       * config/mips/xm-linux.h: Delete file.
+
+2003-11-09  Andrew Cagney  <cagney@redhat.com>
+
+       * d10v-tdep.c (d10v_return_value): New function.
+       (d10v_use_struct_convention): Delete function.
+       (d10v_store_return_value): Delete function.
+       (d10v_extract_struct_value_address): Delete function.
+       (d10v_gdbarch_init): Set "return_value" instead of
+       "extract_return_value", "store_return_value",
+       "extract_struct_value_address", and "use_struct_convention".
+       (RET1_REGNUM): Delete const.
+
+2003-11-09  Mark Kettenis  <kettenis@gnu.org>
+
+       From David S. Miller  <davem@redhat.com>:
+       * gdbarch.sh (SKIP_SOLIB_RESOLVER): New method.
+       * gdbarch.c, gdbarch.h: Regenerated.
+       * arch-utils.c (generic_skip_solib_resolver): New function.
+       * arch-utils.h (generic_skip_solib_resolver): New prototype.
+       * infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
+
+2003-11-07  Andrew Cagney  <cagney@redhat.com>
+
+       * top.c (print_gdb_version): Replace STREQ with strcmp.
+       * valops.c (value_struct_elt_for_reference): Ditto.
+       (value_struct_elt_for_reference): Ditto.
+       * symtab.c (gdb_mangle_name): Ditto.
+       (find_line_symtab): Ditto.
+       * symmisc.c (maintenance_print_symbols): Ditto.
+       * symfile.c (symbol_file_command): Ditto.
+       * stabsread.c (define_symbol, read_type): Ditto.
+       (cleanup_undefined_types, scan_file_globals): Ditto.
+       * solib.c (solib_map_sections): Ditto.
+       * solib-svr4.c (bfd_lookup_symbol): Ditto.
+       * rs6000-tdep.c (skip_prologue): Ditto.
+       * p-valprint.c (pascal_value_print): Ditto.
+       (pascal_object_is_vtbl_ptr_type): Ditto.
+       * objfiles.c (in_plt_section): Ditto.
+       * minsyms.c (lookup_minimal_symbol): Ditto.
+       (compact_minimal_symbols): Ditto.
+       (find_solib_trampoline_target): Ditto.
+       * mdebugread.c (parse_type): Ditto.
+       * language.c (set_language_command): Ditto.
+       (set_type_command, set_range_command): Ditto.
+       * f-lang.c (add_common_block): Ditto.
+       (add_common_block): Ditto.
+       (find_first_common_named): Ditto.
+       (patch_all_commons_by_name): Ditto.
+       * elfread.c (elf_locate_sections): Ditto.
+       (elf_locate_sections): Ditto.
+       (elfstab_offset_sections): Ditto.
+       * dwarf2read.c (dwarf2_locate_sections): Ditto.
+       * dbxread.c (add_old_header_file): Ditto.
+       (find_corresponding_bincl_psymtab): Ditto.
+       (read_dbx_symtab, process_one_symbol): Ditto.
+       * coffread.c (patch_opaque_types): Ditto.
+       * cli/cli-decode.c (delete_cmd): Ditto.
+       * cli/cli-cmds.c (pwd_command, list_command): Ditto.
+       * c-typeprint.c (c_type_print_base): Ditto.
+       * breakpoint.c (bpstat_stop_status): Ditto.
+       (clear_command, breakpoint_re_set_one): Ditto.
+
+2003-11-07  Andrew Cagney  <cagney@redhat.com>
+
+       * bcache.h: Update copyright.  Add comments on bcache VS hashtab.
+       * bcache.c (struct bstring): Make "length" an unsigned short, add
+       "half_hash".
+       (struct bcache): Add "half_hash_error_count".
+       (bcache): Compute and save the "half_hash".  Compare the
+       "half_hash" before comparing the length.  Update
+       half_hash_error_count.
+
+2003-11-07  Andrew Cagney  <cagney@redhat.com>
+
+       * inftarg.c (child_xfer_partial): New function
+       (init_child_ops): Set "to_xfer_partial".
+
+2003-11-07  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux,
+       set "return_value" instead of "use_struct_convention".
+       (ppc_linux_use_struct_convention): Delete function.
+       (ppc_linux_return_value): New function.
+       * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function.
+       (ppc_sysv_abi_broken_return_value): New function.
+       (do_ppc_sysv_return_value): Add "gdbarch" parameter.
+       (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop
+       static.
+       (ppc_sysv_abi_extract_return_value): Delete function.
+       (ppc_sysv_abi_broken_extract_return_value): Delete function.
+       (ppc_sysv_abi_store_return_value): Delete function.
+       (ppc_sysv_abi_broken_store_return_value): Delete function.
+       (ppc_sysv_abi_use_struct_convention): Delete function.
+       (ppc64_sysv_abi_use_struct_convention): Delete function.
+       (ppc64_sysv_abi_extract_return_value): Delete function.
+       (ppc64_sysv_abi_store_return_value): Delete function.
+       * ppcnbsd-tdep.c (ppcnbsd_return_value): New function.
+       (ppcnbsd_init_abi): Set "return_value", instead of
+       "use_struct_convention", "extract_return_value", and
+       "store_return_value".
+       (ppcnbsd_use_struct_convention): Delete function.
+       * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare.
+       (ppc_sysv_abi_return_value): Declare.
+       (ppc_sysv_abi_broken_return_value): Declare.
+       (ppc_sysv_abi_use_struct_convention): Delete.
+       (ppc_sysv_abi_store_return_value): Delete.
+       (ppc_sysv_abi_extract_return_value): Delete.
+       (ppc_sysv_abi_broken_store_return_value): Delete.
+       (ppc_sysv_abi_broken_extract_return_value): Delete.
+       (ppc64_sysv_abi_use_struct_convention): Delete.
+       (ppc64_sysv_abi_extract_return_value): Delete.
+       (ppc64_sysv_abi_store_return_value): Delete.
+       * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV,
+       set "return_value" instead of "extract_return_value",
+       "store_return_value", and "use_struct_convention".
+
+2003-11-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.
+
+       * fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
+       fscanf.
+
+2003-11-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * fbsd-proc.c: Fix formatting.
+
+2003-11-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * frv-tdep.c (first_pseudo_regnum, iacc0_regnum, frv_num_pseudo_regs):
+       Define.
+       (new_variant): Set name for iacc0_regnum.
+       (frv_register_name): Accommodate pseudo-registers.
+       (frv_register_type): Add case for iacc0_regnum.
+       (frv_pseudo_register_read, frv_pseudo_register_write): New functions.
+       (frv_gdbarch_init): Set number of pseudo registers.  Establish
+       pseudo-register read/write methods.
+
 2003-11-06  Andrew Cagney  <cagney@redhat.com>
 
        * valops.c (destructor_name_p): Replace STREQN with strncmp.
This page took 0.034894 seconds and 4 git commands to generate.