platform/upstream/binutils.git
21 years ago2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 28 Aug 2003 18:01:50 +0000 (18:01 +0000)]
2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.base/dump.exp: Skip for ia64.

21 years agoIndex: common/ChangeLog
Andrew Cagney [Thu, 28 Aug 2003 17:02:00 +0000 (17:02 +0000)]
Index: common/ChangeLog
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
* sim-options.c (print_help): Cast the format with specifier to
"int".

Index: mn10300/ChangeLog
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
"long".
(read_status_reg): Cast "serial_reg" to "long".
* dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
"long".
(do_counter6_event, write_mode_reg, write_tm6md): Ditto.

21 years ago * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested
Daniel Jacobowitz [Thu, 28 Aug 2003 14:44:14 +0000 (14:44 +0000)]
* config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET.  Suggested
by Nathan J. Williams.

21 years ago * lin-lwp.c (wait_lwp): New function, copied from
Daniel Jacobowitz [Thu, 28 Aug 2003 14:20:03 +0000 (14:20 +0000)]
* lin-lwp.c (wait_lwp): New function, copied from
stop_wait_callback.  Clean up.
(stop_wait_callback): Use wait_lwp.

21 years ago2003-08-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 04:34:19 +0000 (04:34 +0000)]
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (gdb_print_insn_mips): Set the disassembler's
flavour and disassembler options.
(_initialize_mips_tdep): Do not set deprecated_tm_print_insn.
(mips_gdbarch_init): Set "print_insn".  Delete initialization of
deprecated_tm_print_insn_info.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 03:39:20 +0000 (03:39 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* s390-tdep.c (s390_readinstruction): Delete "info" parameter.
Use target_read_memory.
(s390_get_frame_info): Update.  Do not reference
deprecated_tm_print_insn_info.
(s390_check_function_end, s390_is_sigreturn): Ditto.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 03:03:44 +0000 (03:03 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (cris-tdep.o): Update dependencies.
* cris-tdep.c: Include "gdb_assert.h".
(cris_gdbarch_init): Set print_insn.
(_initialize_cris_tdep): Do not set deprecated_tm_print_insn.
(cris_delayed_get_disassembler): Simplify, directly call the
disassembler returned by cris_get_disassembler.
* hppa-tdep.c (hppa_gdbarch_init): Set print_insn.
(_initialize_hppa_tdep): Do not set deprecated_tm_print_insn.
* ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn.
(_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn.
* mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn.
(_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn.
* mcore-tdep.c (mcore_gdbarch_init): Set print_insn.
(_initialize_mcore_tdep): Do not set deprecated_tm_print_insn.
* frv-tdep.c (frv_gdbarch_init): Set print_insn.
(_initialize_frv_tdep): Do not set deprecated_tm_print_insn.
* sparc-tdep.c (sparc_gdbarch_init): Set print_insn.
(gdb_print_insn_sparc): Delete function.
(_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or
deprecated_tm_print_insn_info.
* v850-tdep.c (v850_gdbarch_init): Set print_insn.
(_initialize_v850_tdep): Do not set deprecated_tm_print_insn.
(v850_gdbarch_init): Do not set deprecated_tm_print_insn_info.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn.
(_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn.
* s390-tdep.c (gdb_print_insn_s390): Delete function.
(_initialize_s390_tdep): Do not set deprecated_tm_print_insn.
(s390_gdbarch_init): Set print_insn.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 02:53:08 +0000 (02:53 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function.
(ppc_linux_init_abi): For PPC64, do not set call_dummy_address.
* infcall.c (call_function_by_hand): Convert the entry point
address into a code address.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 00:49:31 +0000 (00:49 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* dsrec.c: Include "gdb_string.h".
* Makefile.in (dsrec.o): Update dependencies.

21 years ago*** empty log message ***
gdbadmin [Thu, 28 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 28 Aug 2003 00:00:16 +0000 (00:00 +0000)]
daily update

21 years ago * configure.in: Set RAW_CXX_FOR_TARGET if unset.
Daniel Jacobowitz [Wed, 27 Aug 2003 21:17:54 +0000 (21:17 +0000)]
* configure.in: Set RAW_CXX_FOR_TARGET if unset.
* configure: Regenerated.

21 years ago * aclocal.m4: Include acx.m4 and no-executables.m4.
Daniel Jacobowitz [Wed, 27 Aug 2003 21:15:13 +0000 (21:15 +0000)]
* aclocal.m4: Include acx.m4 and no-executables.m4.
(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
(LIB_AC_PROG_CC): Remove.
* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
performing link tests.
* configure: Regenerated.

21 years ago2003-08-27 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 27 Aug 2003 19:25:58 +0000 (19:25 +0000)]
2003-08-27  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.

21 years ago * config/no-executables.m4: New file.
Daniel Jacobowitz [Wed, 27 Aug 2003 19:14:47 +0000 (19:14 +0000)]
* config/no-executables.m4: New file.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 27 Aug 2003 19:02:03 +0000 (19:02 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function.
(alpha_osf1_init_abi): Do not set call_dummy_address.

21 years ago * configure.in: Check for strtoull.
Ian Lance Taylor [Wed, 27 Aug 2003 17:57:33 +0000 (17:57 +0000)]
* configure.in: Check for strtoull.
* bfd.c (bfd_scan_vma): Use strtoull when available.
* configure, config.in: Regenerate.

21 years ago * configure.in: Define and substitute BFD_HOST_LONG_LONG.
Ian Lance Taylor [Wed, 27 Aug 2003 17:43:39 +0000 (17:43 +0000)]
* configure.in: Define and substitute BFD_HOST_LONG_LONG.
* bfd-in.h: Define BFD_HOST_LONG_LONG.  Test it rather than
__GNUC__ when deciding whether to use long long for
BFD_HOST_64_BIT.
* configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.

21 years ago2003-08-27 David Carlton <carlton@kealia.com>
David Carlton [Wed, 27 Aug 2003 15:41:41 +0000 (15:41 +0000)]
2003-08-27  David Carlton  <carlton@kealia.com>

From Randolph Chung  <tausq@debian.org>:
* linux-proc.c (linux_info_proc_cmd): rework the code so that it
compiles with -Wformat-nonliteral -Werror.

21 years ago2003-08-27 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 27 Aug 2003 13:28:42 +0000 (13:28 +0000)]
2003-08-27  Christian Groessler  <chris@groessler.org>

* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
i860_howto_splitn_reloc, i860_howto_highadj_reloc): New
functions.
(elf32_i860_howto_table): Insert the new functions as
'special_function's in the proper reloc type entries.

21 years ago * elf32-frv.c (elf32_frv_relocate_section): Use
Richard Sandiford [Wed, 27 Aug 2003 09:21:15 +0000 (09:21 +0000)]
* elf32-frv.c (elf32_frv_relocate_section): Use
_bfd_elf_rela_local_sym.

21 years agoMerge bugfix from GCC:
Nathanael Nerode [Wed, 27 Aug 2003 03:05:51 +0000 (03:05 +0000)]
Merge bugfix from GCC:

2003-08-23  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Use newline instead of semicolon when assuming
shell arguments in a for loop.
* configure:  Regenerated.

21 years ago*** empty log message ***
gdbadmin [Wed, 27 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 27 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
Jim Blandy [Tue, 26 Aug 2003 23:35:19 +0000 (23:35 +0000)]
* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
bfd_lookup_symbol, since we only want symbols in code sections.
(look_for_base): Pass zero as the SECT_FLAGS argument to
bfd_lookup_symbol, since we're not concerned about which section
the symbol is in.

21 years ago2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 26 Aug 2003 22:24:40 +0000 (22:24 +0000)]
2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (examine_prologue): Only stop at predicated insns if
        we are frameless or the return address register is already known.

21 years ago2003-08-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 26 Aug 2003 19:34:53 +0000 (19:34 +0000)]
2003-08-26  Andrew Cagney  <cagney@redhat.com>

* i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
in size.  Add comments.

21 years ago2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 26 Aug 2003 17:33:22 +0000 (17:33 +0000)]
2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_convert_from_func_addr): New function.
        (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().

21 years agoAdd German translation
Nick Clifton [Tue, 26 Aug 2003 17:19:20 +0000 (17:19 +0000)]
Add German translation

21 years ago2003-08-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 26 Aug 2003 17:13:18 +0000 (17:13 +0000)]
2003-08-26  Michael Snyder  <msnyder@redhat.com>

        * cpu-frv.c: Remove unused enum.

21 years ago * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
Jason Merrill [Tue, 26 Aug 2003 05:28:38 +0000 (05:28 +0000)]
    * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
        case out of #ifdef MIPS block.

21 years agoswitch to changelog mode
Jason Merrill [Tue, 26 Aug 2003 05:18:23 +0000 (05:18 +0000)]
switch to changelog mode

21 years ago * PROBLEMS: Remove description of java/1322.
Daniel Jacobowitz [Tue, 26 Aug 2003 03:08:32 +0000 (03:08 +0000)]
* PROBLEMS: Remove description of java/1322.

21 years ago PR java/1322
Daniel Jacobowitz [Tue, 26 Aug 2003 03:07:29 +0000 (03:07 +0000)]
PR java/1322
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
available before calling SECT_OFF_TEXT.

21 years ago2003-08-25 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Tue, 26 Aug 2003 02:40:43 +0000 (02:40 +0000)]
2003-08-25  Jason Eckhardt  <jle@rice.edu>

* doc/c-i860.texi: Update text about relocatable address expansions.

21 years agodaily update
Alan Modra [Tue, 26 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 26 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 25 Aug 2003 23:43:40 +0000 (23:43 +0000)]
2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.asm/asm-source.exp: Add ia64 support.
        * gdb.asm/ia64.inc: New file.

21 years ago2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 25 Aug 2003 23:27:48 +0000 (23:27 +0000)]
2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
        bof, and nat0-nat127 as pseudo-registers.
        (ia64_frame_cache): New struct used to cache frame info.
        (ia64_register_reggroup_p): New routine used to override default
        register grouping so registers without names are still saved and
        restored.
        (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their
        pseudo values.
        (ia64_pseudo_register_read): New routine to read pseudo-registers.
        (ia64_pseudo_register_write): New routine to write pseudo-registers.
        (ia64_alloc_frame_cache): New routine to create a new
        ia64_frame_cache.
        (examine_prologue): Change prototype to add next_frame pointer.
        Assume frameless until otherwise proven.  Verify that the cfm for
        current frame matches the cfm that should occur for the prologues
        alloc insn and if equal, mark as not frameless.  At end of routine,
        if not frameless, calculate registers for the previous frame and store
        in the cache, if a cache is provided.
        (ia64_skip_prologue):  Use new prototype when calling examine_prologue
        and pass 0 for next_frame.
        (ia64_store_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_raw().
        (ia64_extract_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_virtual().
        (ia64_frame_cache): New routine to support new frame model.
        (ia64_frame_this_id, ia64_frame_prev_register): Ditto.
        (ia64_frame_sniffer): Ditto.
        (ia64_sigtramp_frame_init_saved_regs): Ditto.
        (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto.
        (ia64_sigtramp_frame_prev_register): Ditto.
        (ia64_sigtramp_frame_sniffer): Ditto.
        (ia64_frame_base_address): Ditto.
        (ia64_extract_struct_value_address): Change to issue error message.
        (ia64_frame_align): New routine to align sp.
        (ia64_push_dummy_call): New routine based on ia64_push_arguments().
        (ia64_push_arguments): Removed.  Logic moved to
        ia64_push_dummy_call().
        (ia64_push_return_address): Ditto.
        (ia64_unwind_dummy_id): New function.
        (ia64_unwind_pc): Ditto.
        (ia64_convert_register_p): Ditto.
        (ia64_register_to_value): Ditto.
        (ia64_value_to_register): Ditto.
        (ia64_pop_frame, ia64_pop_frame_regular): Removed.
        (ia64_register_byte, ia64_register_raw_size): Ditto.
        (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto.
        (ia64_saved_pc_after_call): Ditto.
        (ia64_frame_chain, ia64_frame_saved_pc): Ditto.
        (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto.
        (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto.
        (ia64_register_convert_to_raw): Ditto.
        (ia64_store_struct_return, ia64_call_dummy_words): Ditto.
        (ia64_init_extra_frame_info): Ditto.
        (ia64_frame_args_address, ia64_frame_locals_address): Ditto.
        (ia64_gdbarch_init): Remove registering of deprecated functions that
        are no longer used.  Add registration of new gdbarch functions.
        Remove registering deprecated_write_sp.  Replace
        set_gdbarch_register_virtual_type() with set_gdbarch_register_type().
        Delete set_gdbarch_deprecated_register_convertible(),
        set_gdbarch_deprecated_register_convert_to_virtual(), and
        set_gdbarch_deprecated_register_convert_to_raw() calls.  Remove
        set_gdbarch_deprecated_register_size(),
        set_gdbarch_deprecated_register_bytes(),
        set_gdbarch_pcregnum(),
        set_gdbarch_deprecated_register_byte(),
        set_gdbarch_deprecated_register_raw_size(),
        set_gdbarch_deprecated_max_register_raw_size(),
        set_gdbarch_deprecated_register_virtual_size(),
        and set_gdbarch_deprecated_max_register_virtual_size() calls.
        Replace set_gdbarch_deprecated_extract_return_value() with
        set_gdbarch_extract_return_value().  Remove calls to:
        set_gdbarch_deprecated_saved_pc_after_call();
        set_gdbarch_deprecated_frame_chain(),
        set_gdbarch_deprecated_frame_saved_pc(),
        set_gdbarch_deprecated_frame_init_saved_regs(),
        set_gdbarch_deprecated_get_saved_register(),
        set_gdbarch_deprecated_call_dummy_words(),
        set_gdbarch_deprecated_sizeof_call_dummy_words(),
        set_gdbarch_deprecated_init_extra_frame_info(),
        set_gdbarch_deprecated_frame_args_address(),
        set_gdbarch_deprecated_frame_locals_address(),
        and set_gdbarch_deprecated_dummy_write_sp().
        Add set_gdbarch_convert_register_p(),
        set_gdbarch_register_to_value(),
        set_gdbarch_value_to_register(),
        set_gdbarch_push_dummy_call(),
        set_gdbarch_frame_align(),
        set_gdbarch_unwind_dummy_id(),
        set_gdbarch_unwind_pc(),
        frame_unwind_append_sniffer(),
        frame_unwind_append_sniffer(),
        and frame_base_set_default().

21 years ago2003-08-25 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 25 Aug 2003 22:56:09 +0000 (22:56 +0000)]
2003-08-25  Chris Demetriou  <cgd@broadcom.com>

        * configure.tgt: Document need for special "mipsisa64" handling.
        (mipsisa64*-*-linux64): Handle as target linux64.
        (mipsisa64*-*-*): Handle as target embed64.

21 years ago2003-08-18 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 25 Aug 2003 18:16:19 +0000 (18:16 +0000)]
2003-08-18  Michael Chastain  <mec@shout.net>

* PROBLEMS: Document pr gdb/1322, the Java anonymous
objfile bug.

21 years ago2003-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Maciej W. Rozycki [Mon, 25 Aug 2003 12:39:14 +0000 (12:39 +0000)]
2003-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* reloc.c: Fix documentation for MIPS ELF relocations.
libbfd.h: Regenerate.
bfd-in2.h: Regenerate.

21 years ago2003-08-24 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Mon, 25 Aug 2003 02:48:14 +0000 (02:48 +0000)]
2003-08-24  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (md_assemble): Use isrc2 from the original
        instruction when expanding E_ADDR.

21 years ago*** empty log message ***
gdbadmin [Mon, 25 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 25 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * NEWS: Mention fork tracing.
Daniel Jacobowitz [Sun, 24 Aug 2003 21:21:11 +0000 (21:21 +0000)]
* NEWS: Mention fork tracing.

21 years ago2003-08-24 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sun, 24 Aug 2003 20:54:05 +0000 (20:54 +0000)]
2003-08-24  Jason Eckhardt  <jle@rice.edu>

* coff-i860.c (CALC_ADDEND): Define to be a no-op.

21 years ago2003-08-24 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sun, 24 Aug 2003 18:16:46 +0000 (18:16 +0000)]
2003-08-24  Jason Eckhardt  <jle@rice.edu>

* elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and
shift by 2 before storing the relocated value.

21 years ago* i387-tdep.h: Update copyright date.
Mark Kettenis [Sun, 24 Aug 2003 13:55:48 +0000 (13:55 +0000)]
* i387-tdep.h: Update copyright date.
(I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.

21 years ago* linux-proc.c (linux_proc_xfer_memory): Remove comment about
Mark Kettenis [Sun, 24 Aug 2003 13:34:01 +0000 (13:34 +0000)]
* linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.

21 years ago2003-08-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 24 Aug 2003 11:47:18 +0000 (11:47 +0000)]
2003-08-24  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (_initialize_arm_tdep): Simplify by assuming
GDB_MULTI_ARCH is always non-zero.
* osabi.c (_initialize_gdb_osabi): Ditto.
(gdbarch_init_osabi): Ditto.
* sparc-tdep.c: Ditto for #if code.

21 years agodaily update
Alan Modra [Sun, 24 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 24 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-23 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sat, 23 Aug 2003 23:00:09 +0000 (23:00 +0000)]
2003-08-23  Jason Eckhardt  <jle@rice.edu>

[bfd/ChangeLog]
        * coff-i860.c (coff_i860_reloc_nyi): New function.
(howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
LOWn, SPLITn, and BRADDR.
(RTYPE2HOWTO): Check that the r_type is within the howto_table
before trying to access the entry.
(coff_i860_rtype_to_howto): Likewise.
(coff_i860_reloc_type_lookup): New function.
(i860_reloc_processing): New function.
(coff_bfd_reloc_type_lookup): Define macro.
(RELOC_PROCESSING): Define macro.
Minor formatting adjustments.

[include/coff/ChangeLog]
* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0,
COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ,
COFF860_R_BRADDR): Define new relocation constants and document.
Minor formatting adjustments.

21 years ago* x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Mark Kettenis [Sat, 23 Aug 2003 13:58:18 +0000 (13:58 +0000)]
* x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments.
* x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype.  Update
comments.
* x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
x86_64_supply_fxsave.
* x86-64-linux-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
* amd64fbsd-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.

21 years ago2003-08-23 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sat, 23 Aug 2003 12:21:14 +0000 (12:21 +0000)]
2003-08-23  Andreas Jaeger  <aj@suse.de>

        * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
        i387_supply_fxsave.

21 years ago* go32-nat.c (fetch_register): Call i387_supply_fsave instead of
Mark Kettenis [Sat, 23 Aug 2003 08:56:45 +0000 (08:56 +0000)]
* go32-nat.c (fetch_register): Call i387_supply_fsave instead of
i387_supply_register.
(go32_fetch_registers): Adjust call to i387_supply_fsave.
* i386nbsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
(fetch_elfcore_registers): Adjust call to i387_supply_fsave and
i387_supply_fxsave.
* i386obsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
* i386bsd-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(fetch_inferior_registers): Remove extraneous whitespace.  Adjust
call to i387_supply_fxsave.  Call i387_supply_fsave instead of
supply_fpregset.
(store_inferior_registers): Remove extraneous whitespace.  Call
i387_fill_fsave instead of fill_fpregset.
* i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave.
(supply_fpregset): Likewise.
* i386v4-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-interix-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-linux-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(supply_fpxregset): Adjust call to i387_adjust_fxsave.
* i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to
i387supply_fsave and i387_supply_fxsave.
* i387-tdep.c (i387_supply_fsave): Add `regnum' argument.
Incorporate code from `i387_supply_register.
(i387_supply_register): Remove.
(i387_supply_fxsave): Add `regnum' argument.
Update comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust
prototype.
(i387_supply_register): remove prototype.
Update comments.

21 years agoRevise DejaGnu patch submission guidelines.
Ben Elliston [Sat, 23 Aug 2003 08:51:04 +0000 (08:51 +0000)]
Revise DejaGnu patch submission guidelines.

21 years ago * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.
Alan Modra [Sat, 23 Aug 2003 04:10:34 +0000 (04:10 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.

21 years ago2003-08-22 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 23 Aug 2003 03:59:43 +0000 (03:59 +0000)]
2003-08-22  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
Add lines for files in gdb/testsuite/gdb.cp/* that are
still not 8.3 unique.

21 years ago2003-08-22 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 23 Aug 2003 03:55:59 +0000 (03:55 +0000)]
2003-08-22  Michael Chastain  <mec@shout.net>

* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in:  Ditto.
* configure: Regnerate.

21 years ago*** empty log message ***
gdbadmin [Sat, 23 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 23 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-08-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 22 Aug 2003 23:35:59 +0000 (23:35 +0000)]
2003-08-22  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
.got section at 8 bytes.

21 years ago * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
Daniel Jacobowitz [Fri, 22 Aug 2003 20:45:55 +0000 (20:45 +0000)]
* gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
TYPE_VPTR_FIELDNO is valid.

21 years ago* utils.c (set_width_command): Remove prototypes.
Mark Kettenis [Fri, 22 Aug 2003 20:23:15 +0000 (20:23 +0000)]
* utils.c (set_width_command): Remove prototypes.
(set_screen_size): New prototype.
(init_page_info): Simplify by fetching the screen size from
Readline.  Call set_screen_size.
(set_screen_size): New function.
(set_width): Add missing whitespace in comment.
(set_width_command): Call set_screen_size.
(set_height_command): New function.
(initialize_utils): Fix formatting.  Make "set height" command
call set_height_command.  Remove redundant code that turns off
pagination if output isn't a terminal.  Remove redundant call to
set_width_command.

21 years ago* sparc64-tdep.h (sparc64_regnum): Fix comment.
Mark Kettenis [Fri, 22 Aug 2003 18:52:50 +0000 (18:52 +0000)]
* sparc64-tdep.h (sparc64_regnum): Fix comment.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes.
(sparc_supply_rwindow, sparc_fill_rwindow): New prototypes.
* sparc64-tdep.c (sparc64_pseudo_register_read): Add missing
`case' keyword.
(sparc64_register_info): Give the reister with number
SPARC64_STATE_REGNUM a name.
(sparc64_pseudo_register_write): Add support for %cwp, %pstate,
%asi and %ccr.
(sparc64_push_dummy_call): Take BIAS into account when checking
stcak alignment.
(sparc_software_single_step): Remove assertions that check whether
NPC and NNPC were zero.
(sparc_supply_rwindow): Make public.  Merge functionality with
sparc64_supply_rwindow.
(sparc_fill_rwindow): Make public.  Merge functionality with
sparc64_fill_rwindow.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove.
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set
SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p.
* sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call
sparc_supply_rwindow instead of sparc64_supply_rwindow.

21 years agoIndex: ChangeLog
Geoffrey Keating [Fri, 22 Aug 2003 17:05:58 +0000 (17:05 +0000)]
Index: ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.

Index: gcc/ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.

21 years ago* reggroups.c: Add whitespace after declarations of local
Mark Kettenis [Fri, 22 Aug 2003 09:49:01 +0000 (09:49 +0000)]
* reggroups.c: Add whitespace after declarations of local
variables in functions.

21 years ago2003-08-21 Michael Chastain <mec@shout.net>
Michael Chastain [Fri, 22 Aug 2003 05:05:56 +0000 (05:05 +0000)]
2003-08-21  Michael Chastain  <mec@shout.net>

* gdbtypes.h: Change array bound type from an int to enum.

21 years ago2003-08-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 22 Aug 2003 00:35:32 +0000 (00:35 +0000)]
2003-08-21  Andrew Cagney  <cagney@redhat.com>

* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code.
* config/sparc/tm-sparc.h: Ditto.
* config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH
unconditionally.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.

21 years ago*** empty log message ***
gdbadmin [Fri, 22 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 22 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
Mark Kettenis [Thu, 21 Aug 2003 22:35:33 +0000 (22:35 +0000)]
* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
(register_objfile_data, set_objfile_data, objfile_data): New
prototypes.
* objfiles.c (objfile_alloc_data, objfile_free_data): New
prototypes.
(allocate_objfile): Call objfile_alloc_data.
(free_objfile): Call objfile_free_data.
(struct objfile_data): New.
(struct objfile_data_registration): New.
(struct objfile_data_registry): New.
(objfile_data_registry): New variable.
(register_objfile_data): New function.
(objfile_alloc_data, objfile_free_data): New functions.
(set_objfile_data, objfile_data): New functions.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
(_initialize_dwarf2_frame): New function and prototype.

21 years ago2003-08-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 21 Aug 2003 20:43:10 +0000 (20:43 +0000)]
2003-08-21  Andrew Cagney  <cagney@redhat.com>

* sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select
a specific architecture.
* arch-utils.h (set_architecture_from_arch_mach): Delete
declaration.
(target_architecture_hook): Delete declaration.
* arch-utils.c: Delete non GDB_MULTI_ARCH includes.
(default_float_format): Assume GDB_MULTI_ARCH.
(default_double_format): Assume GDB_MULTI_ARCH.
(set_endian_from_file): Delete function.
(arch_ok): Delete function.
(set_arch): Delete function.
(set_architecture_from_arch_mach): Delete function.
(set_architecture_from_file): Delete function.
(set_architecture): Assume GDB_MULTI_ARCH.
(set_gdbarch_from_file): Assume GDB_MULTI_ARCH.

21 years agoRewrite FreeBSD/sparc64 native configuration.
Mark Kettenis [Thu, 21 Aug 2003 20:38:46 +0000 (20:38 +0000)]
Rewrite FreeBSD/sparc64 native configuration.
* sparcbsd-nat.c, sparcbsd-nat.h: New files.
* sparc64fbsd-nat.c: New file.
* sparc64fbsd-tdep.c: New file.
* sparc64-tdep.c sparc64-tdep.h: New files.
* Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o,
sparc64fbsd-tdep.o): New dependencies.
(SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c
and sparc64fbsd-tdep.c.
(sparc64_tdep_h, sparcbsd_nat_h): New variables.
* config/sparc/fbsd.mh: Remove copyright notice.
(NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and
sparcbsd-nat.o.
* config/sparc/fbsd.mt: Remove copyright notice.
(TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o,
solib-legacy.o.  Add sparc64-tdep.o and sparc64fbsd-tdep.o.
* config/sparc/nm-fbsd.h: Don't include "elf/common.h".
(SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS,
PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T,
regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu,
fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines.
* config/sparc/tm-fbsd.h: Don't include "solib.h" and
"sparc/tm-sp64.h".
(SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines.
(GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.

21 years ago2003-08-21 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 21 Aug 2003 19:55:32 +0000 (19:55 +0000)]
2003-08-21  Michael Chastain  <mec@shout.net>

* symtab.h: Add doco on the space critical structures and
some measurements of space usage.

21 years ago2003-08-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 21 Aug 2003 18:09:54 +0000 (18:09 +0000)]
2003-08-21  Michael Snyder  <msnyder@redhat.com>

        * tracepoint.c (trace_dump_command): Trace break address
is subject to DECR_PC_AFTER_BREAK.
        (set_traceframe_context): Make "trace_line" an int.
        Fixes suggested by Mark Newman  <mark.newman@lmco.com>

21 years agoFix spelling typo.
Nick Clifton [Thu, 21 Aug 2003 16:26:20 +0000 (16:26 +0000)]
Fix spelling typo.

21 years agoConvert to ISO C90. Tidy up formatting.
Nick Clifton [Thu, 21 Aug 2003 16:20:39 +0000 (16:20 +0000)]
Convert to ISO C90.  Tidy up formatting.

21 years agoAdd PGI extensions
Nick Clifton [Thu, 21 Aug 2003 14:03:23 +0000 (14:03 +0000)]
Add PGI extensions

21 years agoFor elf32-hppa-linux, objects can have OSABI=Linux or OSABI=SysV; check for
Nick Clifton [Thu, 21 Aug 2003 14:00:06 +0000 (14:00 +0000)]
For elf32-hppa-linux, objects can have OSABI=Linux or OSABI=SysV; check for
both.

21 years agoUpdated translations
Nick Clifton [Thu, 21 Aug 2003 13:52:58 +0000 (13:52 +0000)]
Updated translations

21 years ago(mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
Nick Clifton [Thu, 21 Aug 2003 13:37:01 +0000 (13:37 +0000)]
(mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
with output parameter.
(cmbtoh): Add profiling hack.

21 years agoMerge configure.in, configure with GCC.
Geoffrey Keating [Thu, 21 Aug 2003 02:21:21 +0000 (02:21 +0000)]
Merge configure.in, configure with GCC.

21 years ago2003-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 21 Aug 2003 00:01:31 +0000 (00:01 +0000)]
2003-08-20  Michael Snyder  <msnyder@redhat.com>

        * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
        * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set
        FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for
        argument passing.
        (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New
        functions, replace sh_push_dummy_call.
        (sh_gdbarch_init): Set push_dummy_call to one of new methods.

21 years ago*** empty log message ***
gdbadmin [Thu, 21 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 21 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-08-20 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 20 Aug 2003 23:00:06 +0000 (23:00 +0000)]
2003-08-20  Michael Chastain  <mec@shout.net>

* gdbtypes.h (struct main_type): Rearrange to save space.

21 years ago2003-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 20 Aug 2003 22:30:17 +0000 (22:30 +0000)]
2003-08-20  Michael Snyder  <msnyder@redhat.com>

        * trad-frame.c: Comment typo fix.

21 years ago * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.
Kevin Buettner [Wed, 20 Aug 2003 20:22:41 +0000 (20:22 +0000)]
* frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.
(frv_frame_init_saved_regs): Add declaration.
(frame_extra_info): Add new field ``saved_regs''.
(frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue)
(frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular):
Update frame related code.
(frv_extract_struct_value_address): Adjust formatting.
* Makefile.in (frv-tdep.o): Update dependencies.
* config/frv/tm-frv.h (target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Delete these macros.
(remote_insert_watchpoint, remote_remove_watchpoint)
(remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove
these declarations.

21 years ago2003-08-20 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 20 Aug 2003 17:39:18 +0000 (17:39 +0000)]
2003-08-20  Michael Chastain  <mec@shout.net>

* defs.h (ENUM_BITFIELD): New macro.
* symtab.h (ENUM_BITFIELD): Use it.
(BYTE_BITFIELD): Remove old macro, which was already disabled.

21 years agoFix spelling typo.
Nick Clifton [Wed, 20 Aug 2003 15:40:02 +0000 (15:40 +0000)]
Fix spelling typo.

21 years ago * elf64-mips.c (elf_backend_copy_indirect_symbol): Define.
Richard Sandiford [Wed, 20 Aug 2003 13:53:42 +0000 (13:53 +0000)]
* elf64-mips.c (elf_backend_copy_indirect_symbol): Define.

21 years agoBetter handking for unresolved symbols
Nick Clifton [Wed, 20 Aug 2003 08:37:19 +0000 (08:37 +0000)]
Better handking for unresolved symbols

21 years ago * configure.in: Disable libgcj for darwin not on powerpc.
Geoffrey Keating [Wed, 20 Aug 2003 00:51:25 +0000 (00:51 +0000)]
* configure.in: Disable libgcj for darwin not on powerpc.
* configure: Rebuild.

21 years agodaily update
Alan Modra [Wed, 20 Aug 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 20 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
Alan Modra [Tue, 19 Aug 2003 15:48:53 +0000 (15:48 +0000)]
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.

21 years agoAdd support for unindexed form of Addressing Mode 5
Nick Clifton [Tue, 19 Aug 2003 13:05:42 +0000 (13:05 +0000)]
Add support for unindexed form of Addressing Mode 5