binutils-gdb.git
26 years ago Handle missing shared libraries during the examination of a core
Peter Schauer [Wed, 22 Apr 1998 20:17:44 +0000 (20:17 +0000)]
Handle missing shared libraries during the examination of a core
dump gracefully.
* solib.c (find_solib):  Use catch_errors around call to
solib_map_sections. Use warning instead of error if reading of
the shared library name fails.
(solib_map_sections):  Change return and argument types to make
it callable from catch_errors.
(symbol_add_stub):  Avoid GDB core dump if solib->abfd is NULL.
* irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections,
symbol_add_stub):  Ditto.

26 years ago * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
Ian Lance Taylor [Wed, 22 Apr 1998 20:03:56 +0000 (20:03 +0000)]
* Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
invoking runtest.
* Makefile.in: Rebuild.

26 years ago * lexsup.c (parse_args): Change -l options into --library options
Ian Lance Taylor [Wed, 22 Apr 1998 20:03:00 +0000 (20:03 +0000)]
* lexsup.c (parse_args): Change -l options into --library options
to avoid confusion between -li and -library.

26 years ago * Makefile.in (GCC_FOR_TARGET): Add options to find newlib and
Doug Evans [Wed, 22 Apr 1998 19:33:56 +0000 (19:33 +0000)]
* Makefile.in (GCC_FOR_TARGET): Add options to find newlib and
libgloss.  Add comment that we should be using dejagnu.

26 years agoEliminate extra blank line
Michael Meissner [Wed, 22 Apr 1998 19:33:54 +0000 (19:33 +0000)]
Eliminate extra blank line

26 years ago * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
Doug Evans [Wed, 22 Apr 1998 19:29:27 +0000 (19:29 +0000)]
* Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.

26 years agoFix typo
Michael Meissner [Wed, 22 Apr 1998 19:18:38 +0000 (19:18 +0000)]
Fix typo

26 years ago * libbfd-in.h: Use `gettext' and not `dgettext' for now.
Tom Tromey [Wed, 22 Apr 1998 19:14:03 +0000 (19:14 +0000)]
* libbfd-in.h: Use `gettext' and not `dgettext' for now.

26 years agotipo
Ian Lance Taylor [Wed, 22 Apr 1998 19:06:34 +0000 (19:06 +0000)]
tipo

26 years ago * config/tc-i386.c (md_assemble): Print operand number rather than
Ian Lance Taylor [Wed, 22 Apr 1998 18:54:39 +0000 (18:54 +0000)]
* config/tc-i386.c (md_assemble): Print operand number rather than
using ordinal_names.
(i386_operand): Likewise.

26 years agoAdd intl library
Michael Meissner [Wed, 22 Apr 1998 18:36:50 +0000 (18:36 +0000)]
Add intl library

26 years agoRegenerate configure
Michael Meissner [Wed, 22 Apr 1998 18:29:57 +0000 (18:29 +0000)]
Regenerate configure

26 years agoAdd intl support
Michael Meissner [Wed, 22 Apr 1998 18:19:01 +0000 (18:19 +0000)]
Add intl support

26 years ago * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl.
Ian Lance Taylor [Wed, 22 Apr 1998 17:39:16 +0000 (17:39 +0000)]
* Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl.
* Makefile.in: Rebuild.

26 years agoremove duplicate libtool
Ian Lance Taylor [Wed, 22 Apr 1998 17:08:48 +0000 (17:08 +0000)]
remove duplicate libtool

26 years ago * bfd-in2.h: Rebuild for Nick's changes.
Ian Lance Taylor [Wed, 22 Apr 1998 16:54:08 +0000 (16:54 +0000)]
* bfd-in2.h: Rebuild for Nick's changes.

26 years agoadd mt-ospace
Ian Lance Taylor [Wed, 22 Apr 1998 16:46:19 +0000 (16:46 +0000)]
add mt-ospace

26 years agofix gettext merge error on ld.info and ld.dvi
Ian Lance Taylor [Wed, 22 Apr 1998 16:42:34 +0000 (16:42 +0000)]
fix gettext merge error on ld.info and ld.dvi

26 years ago * ld.texinfo (MEMORY): Clarify use of >REGION.
Ian Lance Taylor [Wed, 22 Apr 1998 16:41:28 +0000 (16:41 +0000)]
* ld.texinfo (MEMORY): Clarify use of >REGION.

26 years agoAdd support for --enable-target-optspace to compile with -Os instead of -O2, and...
Michael Meissner [Wed, 22 Apr 1998 16:32:24 +0000 (16:32 +0000)]
Add support for --enable-target-optspace to compile with -Os instead of -O2, and default d30v, d10v, m32r to use it

26 years agoNew config file to support compiling libraries with -Os.
Michael Meissner [Wed, 22 Apr 1998 16:25:11 +0000 (16:25 +0000)]
New config file to support compiling libraries with -Os.

26 years agofix sanitization for gettext changes
Ian Lance Taylor [Wed, 22 Apr 1998 16:18:07 +0000 (16:18 +0000)]
fix sanitization for gettext changes

26 years agoremove obsolete sanitization
Ian Lance Taylor [Wed, 22 Apr 1998 16:12:09 +0000 (16:12 +0000)]
remove obsolete sanitization

26 years agofix indentation in comment
Ian Lance Taylor [Wed, 22 Apr 1998 16:05:56 +0000 (16:05 +0000)]
fix indentation in comment

26 years agofix sanitization for gettext changes
Ian Lance Taylor [Wed, 22 Apr 1998 16:00:14 +0000 (16:00 +0000)]
fix sanitization for gettext changes

26 years agokeep intl
Ian Lance Taylor [Wed, 22 Apr 1998 15:55:36 +0000 (15:55 +0000)]
keep intl

26 years ago * Makefile.am (INCLUDES): Search intl dirs for headers; define
Tom Tromey [Wed, 22 Apr 1998 07:58:44 +0000 (07:58 +0000)]
* Makefile.am (INCLUDES): Search intl dirs for headers; define
LOCALEDIR.
* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.

26 years ago * gprof.h: Added includes and defines for gettext.
Tom Tromey [Wed, 22 Apr 1998 07:33:42 +0000 (07:33 +0000)]
* gprof.h: Added includes and defines for gettext.
* configure.in (ALL_LINGUAS): New macro.
Call CY_GNU_GETTEXT.  Create po/Makefile.in and po/Makefile.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* gprof.c (main): Call setlocale, bindtextdomain, textdomain.
* Makefile.am (SUBDIRS): New macro.
(INCLUDES): Look in intl dirs for headers.  Define LOCALEDIR.
(gprof_DEPENDENCIES): Added INTLDEPS.
(gprof_LDADD): Added INTLLLIBS.
(POTFILES): New macro.
(po/POTFILES.in): New target.
* Many files: Wrap user-visible strings with gettext invocation.

26 years ago * Makefile.am (INTLLIBS): Define to work around apparent automake
Tom Tromey [Wed, 22 Apr 1998 07:01:27 +0000 (07:01 +0000)]
* Makefile.am (INTLLIBS): Define to work around apparent automake
bug.
All Makefiles: Regenerated.

26 years ago * Many files: Added gettext invocations around user-visible
Tom Tromey [Wed, 22 Apr 1998 06:58:37 +0000 (06:58 +0000)]
* Many files: Added gettext invocations around user-visible
strings.
* ld.h: Added gettext-related includes and defines.
* ldmain.c: Call setlocale, bindtextdomain, textdomain.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
po/Makefile.  Use AM_PROG_LEX.
(TDIRS): AC_SUBST early on, to avoid having value split when it
happens to cross line 90 of the generated sed script.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(ld_new_LDADD): Added INTLLIBS.
(ld_new_DEPENDENCIES): Added INTLDEPS.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.

26 years ago* archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last
Richard Henderson [Wed, 22 Apr 1998 06:13:38 +0000 (06:13 +0000)]
* archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last
change wrt length == max_namelen.

26 years ago * Many files: Added gettext invocations around user-visible
Tom Tromey [Wed, 22 Apr 1998 06:10:03 +0000 (06:10 +0000)]
* Many files: Added gettext invocations around user-visible
strings.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* dep-in.sed: Added asintl.h.
* po/Make-in: New file.
* gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
Include "asintl.h".
* read.c (Z_): Renamed from `_'.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): new macro.
(po/POTFILES.in): New target.
($(OBJS)): Added asintl.h.
(HFILES): Likewise.
(INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
(as_new_LDADD): Added $(INTLLIBS).
(as_new_DEPENDENCIES): Added $(INTLDEPS).
(gasp_new_LDADD): Added $(INTLLIBS).
(gasp_new_DEPENDENCIES): New macro.
* configure, aclocal.m4: Rebuilt.
* configure.in: Call CY_GNU_GETTEXT.  Generate po/Makefile.in and
po/Makefile.
(ALL_LINGUAS): Define.
* macro.c: Include "asintl.h".
* as.c (main): Call setlocale, bindtextdomain, and textdomain.
* as.h: Include "asintl.h".
* config/tc-i386.c (ordinal_names): Removed.
(md_assemble): Changed error text to avoid ordinal_names.
(i386_operand): Likewise.
(reloc): Added as_bad to avoid i18n problems.
(tc_gen_reloc): Likewise.
* config/tc-arm.c (bad_args): Now a #define.
(bad_pc): Likewise.
* config/obj-vms.c (VMS_stab_parse): Changed type of
`long_const_msg'.
(global_symbol_directory): Unified strings to avoid i18n
problems.
* config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
avoid i18n problems.
* config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
* config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
i18n problems.
* config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
problems.
start-sanitize-v850
* config/tc-v850.c (md_assemble): Changed C++ comment into C
comment.
end-sanitize-v850
* config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
problems.
* as.c (print_version_id): Added an fprintf to avoid i18n
problems.
* cond.c (cond_finish_check): Added as_bad call to avoid i18n
problems.
* expr.c (expr): Added as_warn call to avoid i18n problems.
* messages.c (as_assert): Changed code to avoid i18n problems.
(as_abort): Likewise.
* read.c (pseudo_set): Added as_bad call to avoid i18n problems.
(s_space): Likewise.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.

26 years ago * Many files: Added gettext invocations around user-visible
Tom Tromey [Wed, 22 Apr 1998 05:32:22 +0000 (05:32 +0000)]
* Many files: Added gettext invocations around user-visible
strings.
* bucomm.h: Added gettext-related includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
po/Makefile.  Use AM_PROG_LEX.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(LDADD): Added INTLLIBS.
(objdump_LDADD): Likewise.
(c__filt_LDADD): Likewise.
(ar_LDADD): Likewise.
(ranlib_LDADD): Likewise.
(dlltool_LDADD): Likewise.
(windres_LDADD): Likewise.
* po/Make-in, po/POTFILES.in, po/binutils.pot: New files.

26 years ago * Many files: Added gettext invocations around user-visible
Tom Tromey [Wed, 22 Apr 1998 05:13:54 +0000 (05:13 +0000)]
* Many files: Added gettext invocations around user-visible
strings.
* libbfd-in.h: Added gettext includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
po/Makefile.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): New macro.
(po/POTFILES.in): New target.
(SOURCE_HFILES): New macro.
(HFILES): Use it.
* po/Make-in, po/POTFILES.in, po/bfd.pot: New files.

26 years ago * Makefile.in (all-bfd): Depend on all-intl.
Tom Tromey [Wed, 22 Apr 1998 05:11:08 +0000 (05:11 +0000)]
    * Makefile.in (all-bfd): Depend on all-intl.
        (all-binutils): Likewise.
        (all-gas): Likewise.
        (all-gprof): Likewise.
        (all-ld): Likewise.

26 years ago * ld.texinfo (Simple Example): Rewrite a few things as suggested
Ian Lance Taylor [Wed, 22 Apr 1998 03:55:41 +0000 (03:55 +0000)]
* ld.texinfo (Simple Example): Rewrite a few things as suggested
by Nick Clifton <nickc@cygnus.com>.
(PROVIDE): Likewise.

26 years agoHumoring RMS by saying "GNU/Linux" instead of just "Linux"
Stan Shebs [Wed, 22 Apr 1998 01:44:38 +0000 (01:44 +0000)]
Humoring RMS by saying "GNU/Linux" instead of just "Linux"

26 years ago * gdb.texinfo (EDITION, DATE): Update and change to use ordinals
Stan Shebs [Wed, 22 Apr 1998 01:14:08 +0000 (01:14 +0000)]
* gdb.texinfo (EDITION, DATE): Update and change to use ordinals
for the edition instead of confusing GDB-version-like numbers.

26 years agoFixing typos.
Jillian Ye [Tue, 21 Apr 1998 22:16:12 +0000 (22:16 +0000)]
Fixing typos.

26 years agoMakefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.
Jillian Ye [Tue, 21 Apr 1998 21:53:05 +0000 (21:53 +0000)]
Makefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.

26 years agor5900.igen, sim-main.h, sky-libvpe.c: Add run-time option --float-type
James Lemke [Tue, 21 Apr 1998 21:33:44 +0000 (21:33 +0000)]
r5900.igen, sim-main.h, sky-libvpe.c: Add run-time option --float-type

26 years agoconfigure.in, interp.c: Add configure option --with-sim-funit.
James Lemke [Tue, 21 Apr 1998 21:24:24 +0000 (21:24 +0000)]
configure.in, interp.c: Add configure option --with-sim-funit.

26 years agosim-base.h: Add configure option --with-sim-funit.
James Lemke [Tue, 21 Apr 1998 21:19:45 +0000 (21:19 +0000)]
sim-base.h: Add configure option --with-sim-funit.

26 years agoAdd configure option --with-sim-funit for sim & gdb.
James Lemke [Tue, 21 Apr 1998 21:14:09 +0000 (21:14 +0000)]
Add configure option --with-sim-funit for sim & gdb.

26 years agoTue Apr 21 17:11:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 21 Apr 1998 21:12:49 +0000 (21:12 +0000)]
Tue Apr 21 17:11:32 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Change iclrKludge and imulKludge to
regKludge.  Add operands types for string instructions.

26 years agoTue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 21 Apr 1998 21:08:39 +0000 (21:08 +0000)]
Tue Apr 21 17:01:22 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (check_prefix): New static function, split out
from md_assemble.
(struct _i386_insn): Add wait_prefix field.
(md_assemble): Remove wait_prefix local variable.  Use
check_prefix when adding a prefix.

* config/tc-i386.c (current_templates): New static variable.
(md_assemble): Remove current_templates local variable.
(md_assemble, i386_operand): Improve error and warning messages in
many places.  Add RESTORE_END_STRING in many places before error
return.  Clarify some comments.

* config/tc-i386.c (struct _i386_insn): Change seg field to a two
element array.
(md_assemble): Parse string instruction operands, looking for
segment override prefixes.  Check for invalid segment prefixes on
string instruction.
(i386_operand): i.seg[] and max mem_operand changes for string
insns.
* config/tc-i386.h (EsSeg): Define.

* config/tc-i386.h (regKludge): Define.
(iclrKludge, imulKludge): Don't define.
* config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
code.  Move ReverseRegRegmem fudges into Modrm case.  Reorder
opcode_modifier checks to look for more common cases first.  Add
default_seg for IsString case.

26 years ago * elfcore.h (bfd_prstatus): Copy core_prstatus from the first
Peter Schauer [Tue, 21 Apr 1998 20:39:52 +0000 (20:39 +0000)]
* elfcore.h (bfd_prstatus):  Copy core_prstatus from the first
NT_PRSTATUS note section encountered, it contains the status of
the currently executing thread when the core file was written.

26 years ago * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
Ian Lance Taylor [Tue, 21 Apr 1998 20:27:16 +0000 (20:27 +0000)]
* configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
AC_DECL_YYTEXT.
* configure: Rebuild with new automake and libtool.
* aclocal.m4, Makefile.in: Likewise.

* doc/Makefile.am (as.dvi): New target.
* doc/Makefile.in: Rebuild.

26 years agoTue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
Ian Lance Taylor [Tue, 21 Apr 1998 20:08:36 +0000 (20:08 +0000)]
Tue Apr 21 16:07:18 1998  Stanislav Brabec  <utx@k332.feld.cvut.cz>

* objcopy.c (preserve_dates): New file static variable.
(smart_rename): If preserve_dates, call set_times when copying.
(strip_main): Remove preserve_dates local variable.
(copy_main): Likewise.

26 years ago * cgen-ops.h (ADDCFSI): Fix.
Doug Evans [Tue, 21 Apr 1998 19:52:02 +0000 (19:52 +0000)]
* cgen-ops.h (ADDCFSI): Fix.
(SUBCFSI): Tweak.
PR 15741.

26 years ago * cgen-types.h (GETHIDI,MAKEDI): Tweak.
Doug Evans [Tue, 21 Apr 1998 19:49:42 +0000 (19:49 +0000)]
* cgen-types.h (GETHIDI,MAKEDI): Tweak.

26 years agoAdd a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt are
Jason Molenda [Tue, 21 Apr 1998 19:23:31 +0000 (19:23 +0000)]
Add a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt are
removed by default.

26 years ago * Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
Tom Tromey [Tue, 21 Apr 1998 17:55:37 +0000 (17:55 +0000)]
* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
(CONFIGURE_TARGET_MODULES): Likewise.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(all-target-libjava): New target.
(all-target-boehm-gc): Likewise.
* configure.in (target_libs): Added libjava, boehm-gc.

26 years agoFix sanitize tag. The proper keyword is "start-sanitize-*", not
Jason Molenda [Tue, 21 Apr 1998 17:55:06 +0000 (17:55 +0000)]
Fix sanitize tag.  The proper keyword is "start-sanitize-*", not
"begin-sanitize-*".

26 years ago * sim/m32r/addx.cgs: Test (-1)+(-1)+1.
Doug Evans [Tue, 21 Apr 1998 17:54:03 +0000 (17:54 +0000)]
* sim/m32r/addx.cgs: Test (-1)+(-1)+1.

26 years ago * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
Doug Evans [Tue, 21 Apr 1998 17:52:16 +0000 (17:52 +0000)]
* lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
try all machs.

26 years agoAdd sim-main.c to things to keep.
Jason Molenda [Tue, 21 Apr 1998 17:45:28 +0000 (17:45 +0000)]
Add sim-main.c to things to keep.

26 years agoAdd ns32knbsd-nat.c to things-to-keep.
Jason Molenda [Tue, 21 Apr 1998 17:08:22 +0000 (17:08 +0000)]
Add ns32knbsd-nat.c to things-to-keep.

26 years agoArm specific code changed to conform to BFD coding conventions.
Nick Clifton [Tue, 21 Apr 1998 17:07:25 +0000 (17:07 +0000)]
Arm specific code changed to conform to BFD coding conventions.

26 years agoChanges to conform to BFD coding conventions.
Nick Clifton [Tue, 21 Apr 1998 16:59:22 +0000 (16:59 +0000)]
Changes to conform to BFD coding conventions.

26 years agoAdd branches.c.
Jason Molenda [Tue, 21 Apr 1998 16:52:56 +0000 (16:52 +0000)]
Add branches.c.

26 years agoKeep cygmon.exp.
Jason Molenda [Tue, 21 Apr 1998 16:52:05 +0000 (16:52 +0000)]
Keep cygmon.exp.

26 years agoadd i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.h
Jason Molenda [Tue, 21 Apr 1998 16:51:20 +0000 (16:51 +0000)]
add i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.h

26 years ago* MIPS CPU-specific dissasembly extensions. Now TM_PRINT_INSN_MACH from tm.h
Frank Ch. Eigler [Tue, 21 Apr 1998 15:38:13 +0000 (15:38 +0000)]
* MIPS CPU-specific dissasembly extensions.  Now TM_PRINT_INSN_MACH from tm.h
  sets a default mach for disassembly, just like sparc port.  c.f. PR 15371.

Tue Apr 21 11:20:54 1998  Frank Ch. Eigler  <fche@cygnus.com>

* mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
  with subtarget-specific `mach', rather than fixed default.
* config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
disassembly `mach'.
start-sanitize-r5900
* config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-r5900
start-sanitize-sky
* config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-sky

26 years ago* Bit mask pattern fix for R5900 madd.s instruction; PR 15371.
Frank Ch. Eigler [Tue, 21 Apr 1998 14:32:53 +0000 (14:32 +0000)]
* Bit mask pattern fix for R5900 madd.s instruction; PR 15371.

26 years ago* elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
Richard Henderson [Tue, 21 Apr 1998 07:15:57 +0000 (07:15 +0000)]
* elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
elf64_alpha_relax_find_reloc_ofs.  Changed all callers.
(elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss.
(elf64_alpha_size_got_sections): Don't merge .got sections twice.

26 years ago* archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.
Richard Henderson [Tue, 21 Apr 1998 07:15:33 +0000 (07:15 +0000)]
* archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.

26 years agoEntry about changing sim_open missing from changelog.
Andrew Cagney [Tue, 21 Apr 1998 05:25:56 +0000 (05:25 +0000)]
Entry about changing sim_open missing from changelog.

26 years agoImplement ERET instruction.
Andrew Cagney [Tue, 21 Apr 1998 04:30:27 +0000 (04:30 +0000)]
Implement ERET instruction.
Add {signed,unsigned}_address type.

26 years agoFor new IGEN simulators, rewrite checks validating correct use of the
Andrew Cagney [Tue, 21 Apr 1998 01:17:58 +0000 (01:17 +0000)]
For new IGEN simulators, rewrite checks validating correct use of the
HI/LO registers.  For old gencode simulator, delete all checks.

26 years ago* gen-icache.c (print_icache_extraction): When generating #define
Andrew Cagney [Tue, 21 Apr 1998 00:11:40 +0000 (00:11 +0000)]
* gen-icache.c (print_icache_extraction): When generating #define
force the expression to the correct type.

26 years ago * cpu.c,sem.c,sem-switch.c: Regenerate. From
Doug Evans [Mon, 20 Apr 1998 23:20:22 +0000 (23:20 +0000)]
* cpu.c,sem.c,sem-switch.c: Regenerate.  From
- cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
* m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h.
* cpux.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h.  Delete inclusion of several unnecessary headers.
(m32r_h_accums_get): Sign extend top 8 bits.

26 years ago* Added one new R5900 COP2 test.
Frank Ch. Eigler [Mon, 20 Apr 1998 22:59:16 +0000 (22:59 +0000)]
* Added one new R5900 COP2 test.

Mon Apr 20 18:36:50 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-cop2b.c (test01): Additional COP2 tests (QMFC2/QMTC2/LQ/SQ).
Don't use $1 ($at) register in inline assembly.

26 years agoMon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Mon, 20 Apr 1998 22:36:00 +0000 (22:36 +0000)]
Mon Apr 20 15:35:03 1998  Philippe De Muyter  <phdm@macqel.be>

        * coffread.c (decode_base_type): Treat a long field with size greater
        than TARGET_LONG_BIT as long long.
        * values.c (value_from_longest): Print code value in error message.

26 years agoMon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
Jason Molenda [Mon, 20 Apr 1998 22:33:52 +0000 (22:33 +0000)]
Mon Apr 20 15:32:21 1998   Mark Kettenis  <kettenis@phys.uva.nl>

        * gdb/gdb_string.h (strdup): Declare only if not defined as a
        macro.

Mark glibc development versions are defining strdup as a macro and the
prototype hosees it.  Either way, this patch shouldn't cause problems.

26 years agot-pke2.trc t-pke2.vif1expect: Update the testcase to use the
Jillian Ye [Mon, 20 Apr 1998 21:56:01 +0000 (21:56 +0000)]
t-pke2.trc t-pke2.vif1expect: Update the testcase to use the
      correct registers permitted by gpus.

26 years agoMon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Mon, 20 Apr 1998 21:25:40 +0000 (21:25 +0000)]
Mon Apr 20 14:18:45 1998  J. Kean Johnston  <jkj@sco.com>

        * procfs.c: Added replacement macros for LWP stuff.  Fixed support
        for UnixWare / SVR4.2MP targets and any targets which use
        multi-file /proc entries.  Fixed support for hardware watchpoints.
        * solib.c: SCO needs some of the same code as SunOS. Change
        preprocessor conditionals.

        * config/i386/i386sco5.mt: New file.
        * config/i386/tm-i386sco5.h: New file.
        * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
        * config/i386/nm-i386v42mp.h
        (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
        Add other macros for hardware assisted watchpoints.
        * config/i386/nm-i386sco5.h: Correct attributions.
        (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
        * config/i386/nm-linux.h (target_remote_watchpoint): Pass
        'type' through to i386_insert_watchpoint.

Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)

        * infrun.c (wait_for_inferior): Don't add signalled processes
        as new threads.
        * procfs.c (wait_fd): Note if LWP has exited.
        (procfs_wait): use GETPID to get process ID.

NOTE:  I didn't commit Kean's changes to configure.host/configure.tgt
yet because they are kind of bogus and I'm punting back to him to let
him figure out what he's trying to do.  So configuring for UnixWare
may not work just yet.

26 years ago * aclocal.m4, configure: Rebuilt.
Tom Tromey [Mon, 20 Apr 1998 01:30:46 +0000 (01:30 +0000)]
* aclocal.m4, configure: Rebuilt.
* configure.in: Call AC_LINK_FILES so that <libintl.h> will
always exist.

26 years ago * configure.in (host_tools): Fix typo, lbtool -> libtool.
Brendan Kehoe [Sun, 19 Apr 1998 20:01:35 +0000 (20:01 +0000)]
* configure.in (host_tools): Fix typo, lbtool -> libtool.

26 years ago * i386.h (Z_): Renamed from `_' to avoid clash with common alias
Tom Tromey [Sun, 19 Apr 1998 19:59:21 +0000 (19:59 +0000)]
* i386.h (Z_): Renamed from `_' to avoid clash with common alias
for `gettext'.

26 years ago * ldlang.c (lang_one_common): Manipulate the section's cooked size
Richard Henderson [Sun, 19 Apr 1998 01:41:34 +0000 (01:41 +0000)]
* ldlang.c (lang_one_common): Manipulate the section's cooked size
        rather than its raw size.

pr 15650

26 years agoAdded sparc86x support.
Stan Cox [Sat, 18 Apr 1998 22:45:37 +0000 (22:45 +0000)]
Added sparc86x support.

26 years agoAdded sparc86x support.
Stan Cox [Sat, 18 Apr 1998 18:12:20 +0000 (18:12 +0000)]
Added sparc86x support.

26 years ago * config/tc-mips.c (mips_ip): Note when we use get match on
Jeff Law [Sat, 18 Apr 1998 07:20:01 +0000 (07:20 +0000)]
    * config/tc-mips.c (mips_ip): Note when we use get match on
        the full instruction name.
        (mips_ip): For '&' DEST completer handling, if we got a full match
        then the DEST completer is implicitly .wxyz.

26 years ago * vu0.h (vlqd, vlqi): Update per revised specs.
Jeff Law [Sat, 18 Apr 1998 06:30:57 +0000 (06:30 +0000)]
    * vu0.h (vlqd, vlqi): Update per revised specs.

26 years ago * elf32-mips.c (mips_elf_relocate_section): Do not complain about
Jeff Law [Sat, 18 Apr 1998 04:30:09 +0000 (04:30 +0000)]
    * elf32-mips.c (mips_elf_relocate_section): Do not complain about
        an out of range pc-relative jump/call to an undefined weak symbol.

26 years ago * Makefile.in (ULIMIT): New variable.
Doug Evans [Fri, 17 Apr 1998 21:21:12 +0000 (21:21 +0000)]
* Makefile.in (ULIMIT): New variable.
(sce%.ok): Use it.
(.run.ok,.run.ko): Ditto.

26 years ago * Makefile.in (all-bfd): Depend upon all-libiberty.
Ian Lance Taylor [Fri, 17 Apr 1998 20:22:54 +0000 (20:22 +0000)]
* Makefile.in (all-bfd): Depend upon all-libiberty.

26 years ago * ltconfig, ltmain.sh: Bring in newer cygwin32 support.
Ian Lance Taylor [Fri, 17 Apr 1998 20:21:13 +0000 (20:21 +0000)]
* ltconfig, ltmain.sh: Bring in newer cygwin32 support.

26 years ago * Makefile.in: Add libstub.
Bob Manson [Fri, 17 Apr 1998 19:25:20 +0000 (19:25 +0000)]
* Makefile.in: Add libstub.

* configure.in: Ditto. Build libstub for targets that have cygmon
support.

26 years ago* Fixed data mangling problems in R5900 COP2 LQC2/SQC2 instructions.
Frank Ch. Eigler [Fri, 17 Apr 1998 19:04:53 +0000 (19:04 +0000)]
* Fixed data mangling problems in R5900 COP2 LQC2/SQC2 instructions.

26 years ago* New R5900 COP2 test case.
Frank Ch. Eigler [Fri, 17 Apr 1998 19:04:41 +0000 (19:04 +0000)]
* New R5900 COP2 test case.

26 years ago * archive.c (bfd_generic_archive_p): If a slurp subroutine returns
Ian Lance Taylor [Thu, 16 Apr 1998 22:37:40 +0000 (22:37 +0000)]
* archive.c (bfd_generic_archive_p): If a slurp subroutine returns
  an error other than bfd_error_system_call, set the error to
  bfd_error_wrong_format.

26 years ago * config/tc-dvp.c
Doug Evans [Thu, 16 Apr 1998 22:07:22 +0000 (22:07 +0000)]
* config/tc-dvp.c
(vif_insn_type): New function.
(md_apply_fix3): Don't validate user specified length if unpack insn
and wl > cl.

26 years ago (vif_insn_type): New function.
Doug Evans [Thu, 16 Apr 1998 22:07:02 +0000 (22:07 +0000)]
(vif_insn_type): New function.
(md_apply_fix3): Don't validate user specified length if unpack insn
and wl > cl.

26 years ago (vif_unpack_len_value): Avoid divide by zero.
Doug Evans [Thu, 16 Apr 1998 21:34:38 +0000 (21:34 +0000)]
(vif_unpack_len_value): Avoid divide by zero.

26 years ago* elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
Richard Henderson [Thu, 16 Apr 1998 21:06:36 +0000 (21:06 +0000)]
* elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
comparisons signed.

26 years agoThu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 16 Apr 1998 20:14:51 +0000 (20:14 +0000)]
Thu Apr 16 13:13:24 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
        error string if in an ANSI C-ish environment.

26 years ago* Adapted R5900 COP2 interface code to clarified micro-mode interlock
Frank Ch. Eigler [Thu, 16 Apr 1998 19:27:55 +0000 (19:27 +0000)]
* Adapted R5900 COP2 interface code to clarified micro-mode interlock
  behavior.

26 years agoUpdate the testcase to work with gpu2 lib.
Jillian Ye [Thu, 16 Apr 1998 19:07:57 +0000 (19:07 +0000)]
Update the testcase to work with gpu2 lib.