OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
24 years ago * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
Jeff Law [Sun, 23 Jul 2000 16:05:33 +0000 (16:05 +0000)]
* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
* configure, config.in: Regenerate.
* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.

24 years ago * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
Jeff Law [Sun, 23 Jul 2000 15:58:11 +0000 (15:58 +0000)]
    * cp-demangle.c, mkstemps.c: #include <sys/types.h>.

24 years agomerge with gcc
Jason Merrill [Sat, 22 Jul 2000 08:20:10 +0000 (08:20 +0000)]
merge with gcc

24 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Sat, 22 Jul 2000 00:15:30 +0000 (00:15 +0000)]
2000-07-21  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * thread.c (thread_apply_all_command): Update thread list first.

24 years agooops - omitted from previous delta
Nick Clifton [Fri, 21 Jul 2000 23:40:12 +0000 (23:40 +0000)]
oops - omitted from previous delta

24 years agoApplied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.
Nick Clifton [Fri, 21 Jul 2000 23:31:53 +0000 (23:31 +0000)]
Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.

24 years ago2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 21 Jul 2000 22:25:52 +0000 (22:25 +0000)]
2000-07-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * regcache.c (read_register, read_register_bytes): Fix typos.

24 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 21 Jul 2000 20:52:27 +0000 (20:52 +0000)]
2000-07-21  Michael Snyder  <msnyder@cleaver.cygnus.com>

      * config/i386/tm-i386.h: treat PC and FP as unsigned.
      (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
      (FRAME_SAVED_PC): Ditto.
      (FRAME_CHAIN): Ditto.

24 years ago2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 21 Jul 2000 20:03:08 +0000 (20:03 +0000)]
2000-07-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

      * valarith.c (value_sub): Call check_typedef.

24 years agoDetect and report corrupt relocs
Nick Clifton [Fri, 21 Jul 2000 19:56:19 +0000 (19:56 +0000)]
Detect and report corrupt relocs

24 years agomerge with gcc
Jason Merrill [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 21 Jul 2000 03:58:32 +0000 (03:58 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
info->new_dtags when setting DT_FLAGS_1. It will only be set
by the new linker options. It shouldn't break anything.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 21 Jul 2000 02:16:31 +0000 (02:16 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
only if info->new_dtags is true.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:19:33 +0000 (21:19 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_info): Add new_dtags.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:16:58 +0000 (21:16 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.

24 years ago * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
Jeff Law [Thu, 20 Jul 2000 20:22:28 +0000 (20:22 +0000)]
    * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
        and print it with %u.

24 years agomerge with gcc
Jason Merrill [Thu, 20 Jul 2000 18:56:16 +0000 (18:56 +0000)]
merge with gcc

24 years ago * config.sub: Update to subversions version 2000-07-06.
Hans-Peter Nilsson [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.

24 years agoRevert spurious unrelated changes from last commit. Oops.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:56:18 +0000 (16:56 +0000)]
Revert spurious unrelated changes from last commit.  Oops.

24 years ago * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:46:28 +0000 (16:46 +0000)]
* Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
(ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
(cris-dis.lo, cris-opc.lo): New rules.
* Makefile.in: Rebuild.
* configure.in (bfd_cris_arch): New target.
* configure: Rebuild.
* disassemble.c (ARCH_cris): Define.
(disassembler): Support ARCH_cris.
* cris-dis.c, cris-opc.c: New files.
* po/POTFILES.in, po/opcodes.pot: Regenerate.

24 years agoFix typo in CRIS entry
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:35:18 +0000 (16:35 +0000)]
Fix typo in CRIS entry

24 years ago * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:21:07 +0000 (16:21 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
(ALL_MACHINES_CFILES): Add cpu-cris.c.
(BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
(BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
(cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild.
* aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
* archures.c (enum bfd_architecture): Add bfd_arch_cris.
(bfd_cris_arch): Declare.
(bfd_archures_list): Add bfd_cris_arch.
* bfd-in2.h: Rebuild.
* config.bfd: (cris-*-*): New target.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
* configure: Rebuild.
* elf.c (prep_headers): Add bfd_arch_cris.
* libbfd.h: Rebuild.
* libaout.h (enum machine_type): Add M_CRIS.
* reloc.c: Add CRIS relocations.
* targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec):
Declare.
(bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
* cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
* po/POTFILES.in, po/bfd.pot: Regenerate.

24 years ago common.h (EM_CRIS): New machine number.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:44:56 +0000 (15:44 +0000)]
common.h (EM_CRIS): New machine number.
cris.h: New file.

24 years ago cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.

24 years ago * dis-asm.h (print_insn_cris): Declare.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.

24 years ago2000-07-19 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 20 Jul 2000 03:23:03 +0000 (03:23 +0000)]
2000-07-19  H.J. Lu  (hjl@gnu.org)

* bfdlink.h (bfd_link_info): Add flags and flags_1.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 03:21:59 +0000 (03:21 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
DF_TEXTREL if DT_TEXTREL is set.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
* elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
* elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.

* bfd/elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
DT_RPATH is set.
Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 03:16:18 +0000 (03:16 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_elf_set_dt_needed_soname): New.
* bfd-in2.h: Rebuild.

* elf-bfd.h (elf_obj_tdata): Add dt_soname.
(elf_dt_soname): New.

* elf.c (bfd_elf_set_dt_needed_soname): New.

* elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
entry if the shared object loaded by DT_NEEDED is used to
resolve the reference in a regular object.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 02:19:23 +0000 (02:19 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
DT_DEPAUDIT and DT_AUDIT as strings.

24 years agoFix formatting
Nick Clifton [Thu, 20 Jul 2000 00:31:39 +0000 (00:31 +0000)]
Fix formatting

24 years ago* m16.igen (break): Call SignalException not sim_engine_halt.
Andrew Cagney [Thu, 20 Jul 2000 00:02:22 +0000 (00:02 +0000)]
* m16.igen (break): Call SignalException not sim_engine_halt.

24 years ago * thread.c (free_thread): New function.
Nicholas Duffek [Wed, 19 Jul 2000 21:03:06 +0000 (21:03 +0000)]
* thread.c (free_thread): New function.
(init_thread_list): Always zero highest_thread_num.  Call
free_thread() instead of free().
(delete_thread): Move thread cleanup code to free_thread().

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:43:35 +0000 (18:43 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:26:38 +0000 (18:26 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:22:41 +0000 (18:22 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
(DTF_1_CONFEXP): It is 0x00000002 as suspected.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:02:31 +0000 (18:02 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FEATURE): Renamed from DT_FEATURE_1.
(DT_CONFIG): New. From Solaris 8.
(DT_DEPAUDIT): Likewise.
(DT_AUDIT): Likewise.
(DT_PLTPAD): Likewise.
(DT_MOVETAB): Likewise.
(DF_1_NODEPLIB): Likewise.
(DF_1_NODUMP): Likewise.
(DF_1_CONLFAT): Likewise.
(DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8.
(DTF_1_CONFEXP): Likewise.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:02:13 +0000 (18:02 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
DT_FLAGS_1, DT_USED and DT_CHECKSUM.

24 years ago2000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 19 Jul 2000 14:11:42 +0000 (14:11 +0000)]
2000-07-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        Multiarch the sh target.
* sh-tdep.c:
(sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
  sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
  Remove.
(XMALLOC): Define.
(struct frame_extra_info): Define.
(sh_register_raw_size, sh_register_virtual_size,
  sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
  sh_frame_saved_pc, sh_skip_prologue,
  sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
  sh_extract_struct_value_address, sh_use_struct_convention,
  sh_store_struct_return, sh_push_arguments, sh_push_return_address,
  sh_saved_pc_after_call, sh_generic_register_name,
  sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
  sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
  sh_frame_args_address, sh_frame_locals_address,
  sh_coerce_float_to_double, sh_default_store_return_value,
  sh3e_sh4_store_return_value, sh_generic_show_regs,
  sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
  sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
  sh_register_virtual_size, sh_sh3e_register_virtual_type,
  sh_default_register_virtual_type, sh_gdbarch_init): New functions.
(sh_target_architecture_hook, sh_frame_find_saved_regs,
  sh_show_regs): Delete functions.
(sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
  sh_pop_frame, sh_extract_return_value): Update

* config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
(struct gdbarch_tdep): Define.
Remove all unnecessary defines.

* remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
  for h8300 case.
(want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
  consistent.
(e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
  runtime check instead.
(e7000_wait): Ditto.

* sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
  and SPC register numbers.
(sh3_regnames, sh3e_regnames): Don't specify a size.

* config/h8300/tm-h8300.h: Add comment.

24 years ago* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
Andrew Cagney [Wed, 19 Jul 2000 02:55:55 +0000 (02:55 +0000)]
* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
bfd_elf_get_arch_size to bfd_get_arch_size.

24 years agoFix typo.
Christopher Faylor [Wed, 19 Jul 2000 02:14:19 +0000 (02:14 +0000)]
Fix typo.

24 years ago2000-07-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 00:33:45 +0000 (00:33 +0000)]
2000-07-18  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.

24 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size
Nick Clifton [Tue, 18 Jul 2000 19:20:13 +0000 (19:20 +0000)]
Rename bfd_elf_get_arch_size  to bfd_get_arch_size
Rename bfd_elf_get_sign_extend_vma  to  bfd_get_sign_extend_vma

24 years ago2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Tue, 18 Jul 2000 09:45:26 +0000 (09:45 +0000)]
2000-07-18  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
paranthesis in if statement.

24 years agoFrom Richard Henderson <rth@cygnus.com>:
Andrew Cagney [Tue, 18 Jul 2000 07:47:02 +0000 (07:47 +0000)]
From Richard Henderson <rth@cygnus.com>:
* dwarf2read.c (dwarf2_empty_hash_tables): Renamed from
dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well.
Update all callers.

24 years agomodify error message
Daniel Berlin [Mon, 17 Jul 2000 19:41:10 +0000 (19:41 +0000)]
modify error message

24 years ago2000-07-17 Koundinya K <kk@ddeorg.soft.net>
Ulf Carlsson [Mon, 17 Jul 2000 19:39:40 +0000 (19:39 +0000)]
2000-07-17  Koundinya K  <kk@ddeorg.soft.net>

Enable the support for Traditional MIPS.
* elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
return ict_none appropriately for traditional mips targets.
(STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
(STUB_MOVE): Conditionalize for traditonal mips.
(STUB_LI16): Likewise.
(_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
room for RTPROC header.
(_bfd_mips_elf_modify_segment_map): For a normal mips executable set
the permission for the PT_DYNAMIC as read, write and execute.
(mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
in case of traditonal mips.
(_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
entry is required. For a function if PLT is not required then set the
corresponding hash table entry to 0.
(_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for
traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a
shared object set the value to 0.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
for traditonal mips.

24 years ago2000-07-17 matthew green <mrg@redhat.com>
J.T. Conklin [Mon, 17 Jul 2000 18:11:56 +0000 (18:11 +0000)]
2000-07-17  matthew green  <mrg@redhat.com>

        * config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.

24 years ago * testsuite/regress-demangle (failed test): Show result and
Hans-Peter Nilsson [Mon, 17 Jul 2000 10:45:54 +0000 (10:45 +0000)]
* testsuite/regress-demangle (failed test): Show result and
expected output.
(From GCC.)

24 years agoCast integers into pointers before converting them into canonical
Andrew Cagney [Mon, 17 Jul 2000 03:39:34 +0000 (03:39 +0000)]
Cast integers into pointers before converting them into canonical
addresses.

24 years ago* gdb.base/exprs.exp: Test casts to a pointer including over and
Andrew Cagney [Mon, 17 Jul 2000 02:56:12 +0000 (02:56 +0000)]
* gdb.base/exprs.exp: Test casts to a pointer including over and
underflow.

24 years ago2000-07-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 15 Jul 2000 18:42:01 +0000 (18:42 +0000)]
2000-07-15  H.J. Lu  <hjl@gnu.org>

* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.

24 years agoProperly handle references
Daniel Berlin [Sat, 15 Jul 2000 17:40:30 +0000 (17:40 +0000)]
Properly handle references

24 years ago * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
Nicholas Duffek [Fri, 14 Jul 2000 22:17:33 +0000 (22:17 +0000)]
* ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
* rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h.
(rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of
rs6000_pc_in_call_dummy.
* config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from
rs6000-tdep.c.
* config/powerpc/tm-ppc-eabi.h: Remove various definitions
handled by multi-arched rs6000-tdep.c.

24 years ago2000-07-14 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 14 Jul 2000 21:27:15 +0000 (21:27 +0000)]
2000-07-14  Fernando Nasser <fnasser@cygnus.com>

        * wrapper.c (sim_create_inferior): Fix typo in the previous patch.

24 years agoFix definition of SKIP_PROLOGUE macro.
Nick Clifton [Fri, 14 Jul 2000 20:55:41 +0000 (20:55 +0000)]
Fix definition of SKIP_PROLOGUE macro.

24 years ago2000-07-14 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 14 Jul 2000 16:49:46 +0000 (16:49 +0000)]
2000-07-14  Fernando Nasser <fnasser@cygnus.com>

        * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
        new inferior.

24 years ago2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 13 Jul 2000 17:54:35 +0000 (17:54 +0000)]
2000-07-13  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * parse.c: Include inferior.h.

24 years agoOops, one to many ChangeLog entries.
Andrew Cagney [Thu, 13 Jul 2000 07:57:34 +0000 (07:57 +0000)]
Oops, one to many ChangeLog entries.

24 years agoCheck that GDB and the C compiler agree about the sizeof a few basic C
Andrew Cagney [Thu, 13 Jul 2000 05:07:54 +0000 (05:07 +0000)]
Check that GDB and the C compiler agree about the sizeof a few basic C
types.

24 years ago * parse.c (target_map_name_to_register): Include pseudo-regs.
Michael Snyder [Wed, 12 Jul 2000 23:16:45 +0000 (23:16 +0000)]
    * parse.c (target_map_name_to_register): Include pseudo-regs.

24 years ago2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 12 Jul 2000 22:01:17 +0000 (22:01 +0000)]
2000-07-12  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (registers_changed, registers_fetched): Use
        ARCH_NUM_REGS directly, eliminating an unnecessary variable.

        This change adds pseudo-register capability to GDB.
        Pseudo-registers are handled like registers, but they
        don't come from or live on the target.  They may be
        aliases for an existing register, or they may be computed.
        * defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
        (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
        (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
        # regcache.c (registers_changed): Mark pseudo-registers
        invalid, as well as real registers.
        (registers_fetched): Do not mark pseudo-registers as fetched
        at the same time as other (real) registers.
        (read_register_bytes): Fetch pseudo-registers (if any) from
        the target architecture module instead of from the target.
        (read_register_gen): Ditto.
        (read_register): Ditto.
        (write_register_bytes): Store pseudo-registers (if any) to
        the target architecture module instead of to the target.
        (write_register_gen): Ditto.
        (write_register): Ditto.
        (build_regcache): Allocate enough register_valid space for
        pseudo-registers as well as normal (real) ones.

24 years ago* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
DJ Delorie [Wed, 12 Jul 2000 18:29:55 +0000 (18:29 +0000)]
* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
out a structure that is BFD_IN_MEMORY.

24 years agoUpdate comment.
Alan Modra [Wed, 12 Jul 2000 11:54:35 +0000 (11:54 +0000)]
Update comment.

24 years ago* valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
Andrew Cagney [Wed, 12 Jul 2000 08:31:49 +0000 (08:31 +0000)]
* valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
POINTER.

24 years agoUse section id in get_dyn_name.
Alan Modra [Wed, 12 Jul 2000 05:03:01 +0000 (05:03 +0000)]
Use section id in get_dyn_name.

24 years ago * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Jakub Jelinek [Tue, 11 Jul 2000 18:44:12 +0000 (18:44 +0000)]
* sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Reported by Bill Clarke <llib@computer.org>.

24 years ago2000-07-11 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Tue, 11 Jul 2000 14:00:42 +0000 (14:00 +0000)]
2000-07-11  Scott Bambrough <scottb@netwinder.org>

* command.c (do_setshow_command): Fix typo in var_auto_boolean
case.

24 years ago* mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
Andrew Cagney [Tue, 11 Jul 2000 11:02:11 +0000 (11:02 +0000)]
* mips-tdep.c: General cleanup.  Delete all #if 0 code.  Convert
all old style K&R function definitions to ISO-C.
(struct gdbarch_tdep): Add mips_abi_string.
(mips_gdbarch_init): Initialize.
(mips_dump_tdep): Print mips_abi_string and other values.
(mips_push_arguments): Add more detailed tracing.

24 years agoForce MIPS to sign-extend any addresses read from registers.
Andrew Cagney [Tue, 11 Jul 2000 10:24:25 +0000 (10:24 +0000)]
Force MIPS to sign-extend any addresses read from registers.

24 years agoMove the ``set mask-address'' command to remote-mips.c. Disable
Andrew Cagney [Tue, 11 Jul 2000 09:25:22 +0000 (09:25 +0000)]
Move the ``set mask-address'' command to remote-mips.c.  Disable
address masking in mips-tdep.c.

24 years ago* printcmd.c (print_scalar_formatted): Move masking of 'a' address
Andrew Cagney [Tue, 11 Jul 2000 08:51:59 +0000 (08:51 +0000)]
* printcmd.c (print_scalar_formatted): Move masking of 'a' address
from here.
(print_address_numeric): To here.
* TODO: Update.

24 years ago* symtab.c: Use paddr_nz() to print addresses.
Andrew Cagney [Tue, 11 Jul 2000 07:56:23 +0000 (07:56 +0000)]
* symtab.c: Use paddr_nz() to print addresses.

24 years agoAdd function bfd_elf_get_sign_extend_vma.
Andrew Cagney [Tue, 11 Jul 2000 07:28:25 +0000 (07:28 +0000)]
Add function bfd_elf_get_sign_extend_vma.

24 years agoThe MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
Andrew Cagney [Tue, 11 Jul 2000 06:37:34 +0000 (06:37 +0000)]
The MIPS thinks that addresses are signed.  Sign extend MIPS ECOFF
addresses.

24 years ago* elfcode.h (elf_object_p): Use bfd_set_start_address and not
Andrew Cagney [Tue, 11 Jul 2000 06:08:19 +0000 (06:08 +0000)]
* elfcode.h (elf_object_p): Use bfd_set_start_address and not
bfd_get_start_address.
(elf_swap_ehdr_in): Sign extend e_entry when applicable.
(elf_swap_ehdr_out): Ditto.

24 years agoAdd read_signed_register{,_pid}(). Change return type of
Andrew Cagney [Tue, 11 Jul 2000 05:42:25 +0000 (05:42 +0000)]
Add read_signed_register{,_pid}().  Change return type of
read_register{,_pid}() to ULONGEST.

24 years agoPARAMS elimination.
Kevin Buettner [Tue, 11 Jul 2000 03:13:26 +0000 (03:13 +0000)]
PARAMS elimination.

24 years agoAdd set of bfd_mach_ cases for compatibility with older binutils
Nick Clifton [Mon, 10 Jul 2000 18:29:39 +0000 (18:29 +0000)]
Add set of bfd_mach_ cases for compatibility with older binutils

24 years agoFix a date.
Alan Modra [Mon, 10 Jul 2000 18:07:44 +0000 (18:07 +0000)]
Fix a date.

24 years agoComment the relocs.
Alan Modra [Mon, 10 Jul 2000 15:34:31 +0000 (15:34 +0000)]
Comment the relocs.

24 years agoA few tweaks required to use Readline as part of the DJGPP port of GDB.
Eli Zaretskii [Mon, 10 Jul 2000 15:22:16 +0000 (15:22 +0000)]
A few tweaks required to use Readline as part of the DJGPP port of GDB.

24 years ago* mips-tdep.c (mips_push_arguments): Always align struct_addr on a
Andrew Cagney [Mon, 10 Jul 2000 15:09:23 +0000 (15:09 +0000)]
* mips-tdep.c (mips_push_arguments): Always align struct_addr on a
16 byte boundary. Align allocated argument space using
MIPS_STACK_ARGSIZE.  Reserve space on stack for the struct return
and floating-point registers.  Use fp_register_arg_p to determine
if float_argreg should be aligned.

24 years ago2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 10 Jul 2000 14:43:37 +0000 (14:43 +0000)]
2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
  sh_store_return_value().
* sh-tdep.c (sh_store_return_value): New function. Store the
  value returned by a function into the appropriate register.

2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * sh-tdep.c (sh_skip_prologue): Before looking at the actual
  instructions, try to see if the symbol table can be of help, by
  calling after_prologue(). If this doesn't work, call
  skip_prologue_hard_way().
(skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
  more instruction pattern matching for pushing of arguments, and
  manipulation of r14.
(after_prologue): New function. Use symbol table info to determine
  the end of the prologue, if possible.

24 years ago2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 10 Jul 2000 06:16:51 +0000 (06:16 +0000)]
2000-07-07  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
        generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
        generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
        generic_target_write_pc, generic_target_read_pc, write_pc_pid,
        read_pc_pid, supply_register, write_register_pid, write_register,
        read_register_pid, read_register, write_register_bytes,
        read_register_bytes, write_register_gen, read_register_gen,
        registers_fetched, registers_changed, find_saved_register,
        read_relative_register_raw_bytes, default_get_saved_register,
        read_relative_register_raw_bytes_for_frame, get_saved_register):
        Move from this file into new file regcache.c.
        (register_valid, registers_pid, registers): Ditto.
        * regcache.c: New file to hold the register cache.
        (register_cached): New function to read register_valid array.
        * value.h (register_cached): Declare.
        * defs.h (default_get_saved_register): Delete decl of static function.
        * Makefile.in: Add regcache module.

24 years agoDummy commit for diff purposes.
Michael Snyder [Mon, 10 Jul 2000 06:14:40 +0000 (06:14 +0000)]
Dummy commit for diff purposes.

24 years agoRyan Bradetich's warning fixes.
Alan Modra [Mon, 10 Jul 2000 05:14:13 +0000 (05:14 +0000)]
Ryan Bradetich's warning fixes.

24 years agoFrom Pierre Muller <muller@ics.u-strasbg.fr>:
Andrew Cagney [Mon, 10 Jul 2000 05:09:51 +0000 (05:09 +0000)]
From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.

24 years agoAvoid negative section sequence ids.
Alan Modra [Mon, 10 Jul 2000 02:05:40 +0000 (02:05 +0000)]
Avoid negative section sequence ids.

24 years ago* ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Geoffrey Keating [Sun, 9 Jul 2000 20:28:51 +0000 (20:28 +0000)]
* ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.

24 years ago2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Sun, 9 Jul 2000 19:11:44 +0000 (19:11 +0000)]
2000-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * TODO: Remove readline 4.1 import item.

24 years agoreadline:
Elena Zannoni [Sun, 9 Jul 2000 17:20:00 +0000 (17:20 +0000)]
readline:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Locally modified files: Makefile.in, configure.in, configure
        (regenerated), config.h.in (regenerated), readline.h, rltty.c,
  shell.c signals.c.

        Locally added files: acconfig.h, config/*, config.h.bot,
        cross-build/*, doc/inc-hit.texinfo.

        New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        New files: excallback.c, rlfe.c.
doc:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
        inclusion in the gdb manual.

        New file: rluserman.texinfo

24 years agoImport of readline 4.1
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
Import of readline 4.1

24 years agoInitial revision
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
Initial revision

24 years ago2000-07-09 Koundinya K <kk@ddeorg.soft.net>
Ulf Carlsson [Sun, 9 Jul 2000 13:48:21 +0000 (13:48 +0000)]
2000-07-09  Koundinya K  <kk@ddeorg.soft.net>

        * elf32-mips.c (sort_dynamic_relocs): New Function.
        (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
via qsort to sort the dynamic relocations in increasing r_symndx
value.

24 years agoAdd some prototypes, and fix a few warnings.
Alan Modra [Sun, 9 Jul 2000 07:29:39 +0000 (07:29 +0000)]
Add some prototypes, and fix a few warnings.

24 years agoRestore hppa-elf32 to working order.
Alan Modra [Sun, 9 Jul 2000 07:23:07 +0000 (07:23 +0000)]
Restore hppa-elf32 to working order.

24 years ago * Makefile.in (install-info): Find files to install in either the build
Eli Zaretskii [Sun, 9 Jul 2000 05:41:21 +0000 (05:41 +0000)]
* Makefile.in (install-info): Find files to install in either the build
or source directories (adapted from Makefile.am).
(From Chris Faylor.)

24 years ago * gdb.c++/misc.cc (class ClassParam, class_param): Define.
Nicholas Duffek [Sun, 9 Jul 2000 05:16:11 +0000 (05:16 +0000)]
* gdb.c++/misc.cc (class ClassParam, class_param): Define.
(use_methods): New function.
(main): Call use_methods().
* gdb.c++/classes.exp (test_method_param_class): New procedure.
(do_tests): Call test_method_param_class.

24 years ago * gdbtypes.c (is_ancestor): Infer type equivalence from name
Nicholas Duffek [Sun, 9 Jul 2000 05:15:50 +0000 (05:15 +0000)]
* gdbtypes.c (is_ancestor): Infer type equivalence from name
equivalence.
(rank_one_type): Use strcmp instead of == to compare type names.
Don't swap parm with arg when checking TYPE_CODE_REF types.
* valops.c (find_overload_match): Fix indentation.  Compare
parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
and 100.

24 years ago * gdb.c++/classes.exp (test_nonexistant_members): Fix name
Nicholas Duffek [Sun, 9 Jul 2000 05:10:13 +0000 (05:10 +0000)]
* gdb.c++/classes.exp (test_nonexistant_members): Fix name
spelling.
(test_enums): New procedure.  Move enum tests from end of script
to here.  Set breakpoint on function name instead of line number.
* gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
(enums2): New marker function.
(enums1): New function.
(main): Call enums1().  Move enum tests to enums1().