binutils-gdb.git
26 years agoTue Apr 14 16:31:35 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Tue, 14 Apr 1998 23:36:19 +0000 (23:36 +0000)]
Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>

* sim-memopt.c (parse_addr): Sunos 4.5 does not hane strtol
  declared so we need this cast to prevent long long addresses
from being misconfigures. Results in access to unmapped memory.

26 years ago * gdbcfgxref (xref_menu): Call new regex and wild card searches
John Metzler [Tue, 14 Apr 1998 23:16:48 +0000 (23:16 +0000)]
* gdbcfgxref (xref_menu): Call new regex and wild card searches
Now you can type in a specific triple like mips64-vr4320-elf or
somthing like mips*.h
(triple_search) wildcardsearch): The new functions

26 years agoTue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Tue, 14 Apr 1998 23:09:06 +0000 (23:09 +0000)]
Tue Apr 14 15:43:49 1998  John Metzler  <jmetzler@cygnus.com>

* configure.tgt: Switch over to use tm-4320.h. Since I switched to
  MIPS EABI the fixes are no longer backward compatible with 4300.
* tm-vr4320.h: Added
* vr4320.mt:   Added

26 years ago * configure.in: Don't set PICFLAG on ix86-cygwin32.
Ian Lance Taylor [Tue, 14 Apr 1998 22:03:31 +0000 (22:03 +0000)]
* configure.in: Don't set PICFLAG on ix86-cygwin32.

26 years ago * sim/m32r/maclh1.cgs: Fix testcase.
Doug Evans [Tue, 14 Apr 1998 21:09:35 +0000 (21:09 +0000)]
* sim/m32r/maclh1.cgs: Fix testcase.
* sim/m32r/maclh1-2.cgs: New testcase.

26 years ago * semx.c: Regenerate.
Doug Evans [Tue, 14 Apr 1998 21:07:45 +0000 (21:07 +0000)]
* semx.c: Regenerate.
PR 15693.

26 years ago * Make-common.in (RUNTESTFLAGS): Define.
Doug Evans [Tue, 14 Apr 1998 20:22:07 +0000 (20:22 +0000)]
* Make-common.in (RUNTESTFLAGS): Define.
(check): Pass RUNTESTFLAGS to recursive make.

26 years ago* Added interactive debugging for vector units, and a bunch of minor
Ian Carmichael [Tue, 14 Apr 1998 19:58:36 +0000 (19:58 +0000)]
* Added interactive debugging for vector units, and a bunch of minor
* things.  See ChangeLog.sky for details.
*
* Modified Files:
*    .Sanitize ChangeLog.sky Makefile.in sky-libvpe.c sky-vu.c
*    sky-vu.h sky-vudis.c sky-vudis.h
* Added Files:
*    sky-indebug.c sky-indebug.h sky-interact.c sky-interact.h
*    sky-console.c sky-console.h

26 years agoTue Apr 14 12:24:45 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Tue, 14 Apr 1998 19:28:22 +0000 (19:28 +0000)]
Tue Apr 14 12:24:45 1998  J. Kean Johnston  <jkj@sco.com>

        * configure.in: Recognise i[3456]96-*-sysv5* as a valid host, and
        use mh-sysv5 if specified.  Support gprof on SCO Open Server.

26 years agoSat Apr 11 22:43:17 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Tue, 14 Apr 1998 19:14:45 +0000 (19:14 +0000)]
Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>

        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.

26 years agoc_gen.pl: Change to use data type "int" instead of "long int" in
Jillian Ye [Tue, 14 Apr 1998 16:25:44 +0000 (16:25 +0000)]
c_gen.pl:  Change to use data type "int" instead of "long int" in
           function perform_test_read_only.

26 years agoImplement 32 bit MIPS16 instructions listed in m16.igen.
Andrew Cagney [Tue, 14 Apr 1998 14:34:48 +0000 (14:34 +0000)]
Implement 32 bit MIPS16 instructions listed in m16.igen.

26 years ago* sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.
Andrew Cagney [Tue, 14 Apr 1998 05:16:31 +0000 (05:16 +0000)]
* sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.

26 years ago* mn10300_sim.h: Declare all functions in op_utils.c using INLINE_SIM_MAIN.
Andrew Cagney [Tue, 14 Apr 1998 04:26:04 +0000 (04:26 +0000)]
* mn10300_sim.h: Declare all functions in op_utils.c using INLINE_SIM_MAIN.
* op_utils.c: Ditto.
* sim-main.c: New file.  Include op_utils.c.

26 years agoBroke parsing of !<val>!<val> when adding support for =<field>. Fix.
Andrew Cagney [Tue, 14 Apr 1998 04:24:47 +0000 (04:24 +0000)]
Broke parsing of !<val>!<val> when adding support for =<field>.  Fix.
Add support for the -S<suffix> option.

26 years ago* Changed one line in one C++ test case to hopefully
Frank Ch. Eigler [Tue, 14 Apr 1998 02:39:44 +0000 (02:39 +0000)]
* Changed one line in one C++ test case to hopefully
  zap one group of persistent gdb testomat failures.

Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>

* gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
more rigorous EGCS C++ error checking.

26 years agoo Use new `!<field>' and `=<field>' operators in spec of
Andrew Cagney [Tue, 14 Apr 1998 00:59:30 +0000 (00:59 +0000)]
o Use new `!<field>' and `=<field>' operators in spec of
MOV and CMP instructions.
o Enable basic inlining.  Diable use of SIM_MAIN_INLINE.

26 years agoAdd "_all" extension to 'C' operator.
Nick Clifton [Tue, 14 Apr 1998 00:01:20 +0000 (00:01 +0000)]
Add "_all" extension to 'C' operator.

26 years agoAdd support for instruction word conditionals of the form `XXX!YYY'
Andrew Cagney [Tue, 14 Apr 1998 00:00:15 +0000 (00:00 +0000)]
Add support for instruction word conditionals of the form `XXX!YYY'
and XXX=YYY'.  See mn10300 for examples.

26 years agoAdded support for undocumented variant of 'msr <psrf>, #<n>' instruction.
Nick Clifton [Mon, 13 Apr 1998 23:55:09 +0000 (23:55 +0000)]
Added support for undocumented variant of 'msr <psrf>, #<n>' instruction.

26 years agoMon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 13 Apr 1998 23:18:21 +0000 (23:18 +0000)]
Mon Apr 13 16:17:52 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdb_loadfile): Change fstat() call to stat().
Needed because you can't convert a FILE* to an fd.

26 years agoMon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 13 Apr 1998 21:54:22 +0000 (21:54 +0000)]
Mon Apr 13 16:28:07 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * utils.c: (warning) added call to warning_hook

        * source.c: (find_source_lines) modified to call warning in case
        of source vs. executable time stamp mismatch. Simplified object
        file check. Initialized mtime to 0.

        * defs.h: added warning_hook prototype

        * top.c: added warning_hook prototype.

        * gdbtk.c: (perror_with_name_wrapper) new function to call
        perror_with_name safely.
        (gdb_loadfile) added source vs. executable time stamp check.
        (gdbtk_warning) new function to pass a warning message to the gui.
        (gdbtk_ignorable_warning) new function to pass a warning
        to the gui. Used only for the src. vs. exec check.
        (gdbtk_init) added warning_hook
        added include <sys/stat.h>

26 years ago> * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".
Fred Fish [Mon, 13 Apr 1998 21:47:38 +0000 (21:47 +0000)]
>       * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".

26 years ago* COP2 testing changes.
Frank Ch. Eigler [Mon, 13 Apr 1998 20:55:26 +0000 (20:55 +0000)]
* COP2 testing changes.

[ChangeLog]

Mon Apr 13 16:51:00 1998  Frank Ch. Eigler  <fche@cygnus.com>

* Makefile.in (*): Added .vuout/.vuexpect/.vuok test targets
for confirming VU instruction trace.
(t-cop2): Test COP2 sim using above facility.

* t-cop2.vuexpect: New file.

26 years ago * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
Ian Lance Taylor [Mon, 13 Apr 1998 20:52:01 +0000 (20:52 +0000)]
* Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
(libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@.
* configure.in: Define and substitute WIN32LDFLAGS and
WIN32LIBADD.
* aclocal.m4: Rebuild with new libtool.
* configure, Makefile.in: Rebuild.

26 years ago * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.
Ian Lance Taylor [Mon, 13 Apr 1998 20:49:22 +0000 (20:49 +0000)]
* Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.
(libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@.
* configure.in: Define and substitute WIN32LDFLAGS and
WIN32LIBADD.
* aclocal.m4: Rebuild with new libtool.
* configure, Makefile.in: Rebuild.

26 years ago * ltconfig: Add cygwin32 support.
Ian Lance Taylor [Mon, 13 Apr 1998 20:45:43 +0000 (20:45 +0000)]
* ltconfig: Add cygwin32 support.

26 years ago* Fixed a one-character typo in COP2 instruction synthesis.
Frank Ch. Eigler [Mon, 13 Apr 1998 20:31:29 +0000 (20:31 +0000)]
* Fixed a one-character typo in COP2 instruction synthesis.

[ChangeLog]
Mon Apr 13 16:28:52 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (decode_coproc): Add proper 1000000 bit-string at top
of VU lower instruction.

26 years ago* Corrected a one-character typo. All instructions tested in gas/.../vu0.s
Frank Ch. Eigler [Mon, 13 Apr 1998 20:25:24 +0000 (20:25 +0000)]
* Corrected a one-character typo.  All instructions tested in gas/.../vu0.s
  now correctly disassemble during runs under the sky VU0 simulator.

[ChangeLog]

Mon Apr 13 16:02:02 1998  Frank Ch. Eigler  <fche@cygnus.com>

* vu0.h: Corrected bit pattern for VMAXI opcode.

26 years ago * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
Keith Seitz [Mon, 13 Apr 1998 20:05:15 +0000 (20:05 +0000)]
    * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
        timer interval a little.
        (gdbtk_stop_timer): Include on all platforms.
        (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
        GUI alive.
        (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
        on all platforms.

26 years ago * Makefile.in, configure.in: Add libtool as a native only directory
Ian Lance Taylor [Mon, 13 Apr 1998 19:38:02 +0000 (19:38 +0000)]
* Makefile.in, configure.in: Add libtool as a native only directory
  to configure and build.

26 years ago * config/tc-dvp.c (md_apply_fix3): Mark fixup for mpg loaded vu
Doug Evans [Mon, 13 Apr 1998 19:22:26 +0000 (19:22 +0000)]
* config/tc-dvp.c (md_apply_fix3): Mark fixup for mpg loaded vu
branch error as being done so we don't try to emit a reloc.

26 years ago * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
Keith Seitz [Mon, 13 Apr 1998 16:55:05 +0000 (16:55 +0000)]
    * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
        definition.

26 years agoFri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Sat, 11 Apr 1998 05:43:33 +0000 (05:43 +0000)]
Fri Apr 10 22:36:28 1998  Peter Schauer (pes@regent.e-technik.tu-muenchen.de)

        Update support for x86 Solaris 2.
        * config/i386/tm-i386sol2.h, nm-i386sol2.h:  New configuration
        files for x86 Solaris 2.
        * config/i386/i386sol2.mt, i386sol2.mh:  Use them.
        * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY):  New macro, extract
        carry flag from a given regset.
        (IS_STATIC_TRANSFORM_NAME):  New macro, check if a symbol name
        is a SunPro transformed name.
        * i386-tdep.c (sunpro_static_transform_name):  New function to
        extract the source name from a SunPro transformed name.
        * inferior.h (procfs_first_available, procfs_get_pid_fd):
        Add prototypes.
        * infrun.c (wait_for_inferior):  Handle breakpoint hit in
        signal handler without intervening stop in sigtramp.
        * procfs.c (procfs_lwp_creation_handler):  Use PROCFS_GET_CARRY
        instead of direct access to the status register.
        (procfs_get_pid_fd):  New function, returns procfs fd for a given pid.
        * sol-thread.c (ps_lgetLDT):  New function, returns LDT for a given
        lwpid.
        (sol_find_new_threads):  Handle failed libthread_db initialization
        gracefully.
        * stabsread.c (define_symbol):  Use IS_STATIC_TRANSFORM_NAME
        to check for a SunPro transformed symbol name.

26 years agoFri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Sat, 11 Apr 1998 05:42:30 +0000 (05:42 +0000)]
Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * gdb.base/help.exp:  Clean up `help set args' and `help show args'
        tests.
        * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
        function when asleep.
        * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
        for i*86 Linux and SVR4 signal handling problems.
        Remove linux xfail for `next to handler in signals_tests_1', fixed
        by recent infrun.c change.
        Limit backtrace to 10 frames to avoid timeout problems with infinite
        stack backtraces.
        Adjust expect pattern in `handle all print' test to match Apr 28 1997
        target.[ch] change.

26 years ago * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
Doug Evans [Sat, 11 Apr 1998 01:26:47 +0000 (01:26 +0000)]
* cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
* cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate.
Main change is to remove ordinal from format names.

26 years ago * m32r-opc.c: Regenerate.
Doug Evans [Sat, 11 Apr 1998 01:18:23 +0000 (01:18 +0000)]
* m32r-opc.c: Regenerate.

26 years agoFri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Fri, 10 Apr 1998 22:49:13 +0000 (22:49 +0000)]
Fri Apr 10 15:48:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.

Harumph, my change got lost in the foundry->devo merge.

26 years agotweak comment regarding state transitions
Doug Evans [Fri, 10 Apr 1998 18:34:49 +0000 (18:34 +0000)]
tweak comment regarding state transitions

26 years ago * utils.c (fmthex): A formatting function for hexdumps
John Metzler [Fri, 10 Apr 1998 17:59:12 +0000 (17:59 +0000)]
* utils.c (fmthex): A formatting function for hexdumps

26 years ago * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
Ian Lance Taylor [Fri, 10 Apr 1998 17:45:18 +0000 (17:45 +0000)]
* coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
before any other symbols in the same section.
Required by Visual C++ linker, and specified in PE documentation.

26 years agoFri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Fri, 10 Apr 1998 17:42:12 +0000 (17:42 +0000)]
Fri Apr 10 10:35:35 1998  John Metzler  <jmetzler@cygnus.com>

*  mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
  bit pattern interpretations. mips_fetch_instruction does not work
  for 16 bit instructions. Some confusion remains about sign
  extension in backward branches.
(mips32_relative_offset): Sign extension
(mips32_next_pc): Major debugging, bit pattern interpretation
(print_unpack): debugging printf
(fetch_mips_16): new funtion, key on PC low bit, not symbol table
(mips16_next_16): Initial major debugging of this function. Lots
  of bit pattern mistakes.
(mips_next_pc): key on low bit of PC, not symbol table.
* symfile.c(generic_load) : Added a download verification which
  reads back the loade code. Download chunk size is now a defined
  macro. Fixed a bug in which downloading slips into loading one
  byte at a time. Lower level functions in monitor.c can load long
  sequences of bytes and make use of these fixups.  Referencing
  bfd-start_address directly was incorrectly getting zero for start.

26 years ago * config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
Doug Evans [Fri, 10 Apr 1998 01:37:00 +0000 (01:37 +0000)]
* config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
(compute_mpgloc): New function.
(eval_expr): New arg `cpu'.  All callers updated.
(non_vu_insn_seen_p): New static global.
(RELAX_{MPG,DIRECT,VU,ENCODE,GROWTH,DONE_}): New macros.
(struct dvp_fixup): New member `cpu'.
(assemble_one_insn): New args init_fixup_count, fixup_offset.
All callers updated.
(md_assemble): Set non_vu_insn_seen_p as appropriate.
(assemble_vif): Set `cpu' field of fixup.
Clean up calls to frag_var.  Recorded mpgloc is now in bytes.
(assemble_vu_insn): Delete, contents moved into ...
(assemble_vu): ... here.  Don't record fixups until after parsing
both upper and lower insns.  If branch insn inside mpg, properly
compute target address.
(dvp_frob_label): Create copies of vu labels inside mpg's.
(dvp_relax_frag): Clean up.
(md_convert_frag): Ditto.
(md_apply_fix3): Signal error if mpg embedded vu code has branch
to undefined label (not currently supported).
(eval_expr): New arg `cpu'.  All callers updated.
(insert_operand_final): Convert mpgloc from bytes to dwords.
(s_endmpg): Use compute_mpgloc to update $.mpgloc.
(s_state): If switching to vu state, initialize $.mpgloc.

26 years ago * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
Ian Lance Taylor [Thu, 9 Apr 1998 23:21:14 +0000 (23:21 +0000)]
* mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
with dynamic size.

26 years agoThu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 9 Apr 1998 22:03:19 +0000 (22:03 +0000)]
Thu Apr  9 14:20:59 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_init): Remove redundant variable "IDE".

26 years ago* Backed out week-old attempt at enabling quadword memory access on
Frank Ch. Eigler [Thu, 9 Apr 1998 20:56:00 +0000 (20:56 +0000)]
* Backed out week-old attempt at enabling quadword memory access on
  MIPS sim; added PKE sim code fixes.  No COP2 testing progress today.

[ChangeLog]

Thu Apr  9 16:38:23 1998  Frank Ch. Eigler  <fche@cygnus.com>

* r5900.igen (LQC,SQC): Adapted code to DOUBLEWORD accesses
instead of QUADWORD.

* sim-main.h: Removed attempt at allowing 128-bit access.

[ChangeLog.sky]

Thu Apr  9 16:42:54 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-pke.c (read_pke_pc): Corrected PKE PC calculation
to word granularity.

26 years ago* Added one PKE test after finding unexpected #### for a block of
Frank Ch. Eigler [Thu, 9 Apr 1998 20:31:18 +0000 (20:31 +0000)]
* Added one PKE test after finding unexpected #### for a block of
  code in gcov output.

26 years agoThu Apr 9 11:59:38 1998 Ian Dall (<Ian.Dall@dsto.defence.gov.au>
Jason Molenda [Thu, 9 Apr 1998 19:01:30 +0000 (19:01 +0000)]
Thu Apr  9 11:59:38 1998  Ian Dall (<Ian.Dall@dsto.defence.gov.au>

        * configure.in (host==netbsd): Include config/mh-bsd44.
        * config/mh-bsd44: New file.

26 years ago * expr.h (expr_build_dot): Declare.
Doug Evans [Thu, 9 Apr 1998 17:43:37 +0000 (17:43 +0000)]
* expr.h (expr_build_dot): Declare.
* expr.c (expr_build_dot): New function.

26 years ago * symbols.c (max_indent_level): New global.
Doug Evans [Thu, 9 Apr 1998 17:32:27 +0000 (17:32 +0000)]
* symbols.c (max_indent_level): New global.
(print_symbol_value_1): Use it.

26 years agoc_gen.pl : Added handling for data from GIF path1/2/3 FIFO.
Jillian Ye [Thu, 9 Apr 1998 17:06:19 +0000 (17:06 +0000)]
c_gen.pl : Added handling for data from GIF path1/2/3 FIFO.

26 years ago* Fixed testcase. 1,$ s/ITOP 412/ITOP 421/
Ian Carmichael [Thu, 9 Apr 1998 03:57:20 +0000 (03:57 +0000)]
* Fixed testcase.  1,$ s/ITOP 412/ITOP 421/

26 years ago* Fixed up blank lines in file.
Ian Carmichael [Thu, 9 Apr 1998 03:24:13 +0000 (03:24 +0000)]
* Fixed up blank lines in file.

26 years ago* Temporarily change LOADDRMASK in sky build.
Ian Carmichael [Thu, 9 Apr 1998 03:17:43 +0000 (03:17 +0000)]
* Temporarily change LOADDRMASK in sky build.

26 years ago * erc32.c (sim_stop): Handle SIGINT gracefully.
Mark Alexander [Thu, 9 Apr 1998 02:40:31 +0000 (02:40 +0000)]
* erc32.c (sim_stop): Handle SIGINT gracefully.
* interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.

26 years agoWed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 9 Apr 1998 02:22:27 +0000 (02:22 +0000)]
Wed Apr  8 19:21:42 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * top.c (print_gdb_version): Print 1998 now.

26 years agoWed Apr 8 19:14:11 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 9 Apr 1998 02:15:55 +0000 (02:15 +0000)]
Wed Apr  8 19:14:11 1998  John Metzler  <jmetzler@cygnus.com>

* .Sanitize (Things-to-lose): gdbcfgxref
* gdbcfgxref: Corelates target triples, mk, mt files, target dependent headers
and sources.

26 years ago * exec.c (dispatch_instruction): Change how carry out is calculated
Mark Alexander [Thu, 9 Apr 1998 01:42:44 +0000 (01:42 +0000)]
* exec.c (dispatch_instruction): Change how carry out is calculated
in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.

26 years ago * gas/testsuite/all/gas.exp: No longer expect failures for
Jeff Law [Thu, 9 Apr 1998 00:46:37 +0000 (00:46 +0000)]
    * gas/testsuite/all/gas.exp: No longer expect failures for
        difference of undefined symbols on mn10x00 targets.

26 years agoAck, forgot to update copyright to 1998.
Jason Molenda [Wed, 8 Apr 1998 23:58:35 +0000 (23:58 +0000)]
Ack, forgot to update copyright to 1998.

26 years agoWed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Wed, 8 Apr 1998 23:58:10 +0000 (23:58 +0000)]
Wed Apr  8 16:57:22 1998  Philippe De Muyter  <phdm@macqel.be>

        * source.c: Remove obsolete decl of strstr().

26 years agoWed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 8 Apr 1998 23:49:14 +0000 (23:49 +0000)]
Wed Apr  8 16:47:33 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's
        patch of March 23 1998.
        * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's
        patch of March 23 1998.

26 years ago * symbols.c (print_binary): New function.
Doug Evans [Wed, 8 Apr 1998 23:18:54 +0000 (23:18 +0000)]
* symbols.c (print_binary): New function.
(print_expr_1): Call it.

26 years ago * gas/dvp/br-2.[sd]: New testcase.
Doug Evans [Wed, 8 Apr 1998 22:53:37 +0000 (22:53 +0000)]
* gas/dvp/br-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run them.

26 years ago* R5900 sky COP2 testing continuing. Today only small
Frank Ch. Eigler [Wed, 8 Apr 1998 22:22:58 +0000 (22:22 +0000)]
* R5900 sky COP2 testing continuing.  Today only small
  VCALLMS-related were found/fixed.

[ChangeLog.sky]

* sky-vu.c ({read,write}_vu_special_reg): Add CMSAR[01] as special
  registers for a VU.  Behavior not as mandated.
({read,write}_vu_{misc,special}_reg): Create sim_io_error upon
access to unknown register.  Behavior not as mandated.

* sky-vu.h (anonymous register numbering enum): Add CMSAR[01].

* sky-libvpe.c (indebug): Cache $ENV{'SKY_DEBUG'}.

[ChangeLog]

* Makefile.in (SIM_SKY_OBJS): Added sky-vudis.o.

* interp.c (decode_coproc): Refer to VU CIA as a "special"
register, not as a "misc" register.  Aha.  Add activity
assertions after VCALLMS* instructions.

26 years ago* COP2 test case update.
Frank Ch. Eigler [Wed, 8 Apr 1998 22:10:38 +0000 (22:10 +0000)]
* COP2 test case update.

26 years agoc_gen.pl: Added subroutine perform_test_read_only
Jillian Ye [Wed, 8 Apr 1998 20:57:28 +0000 (20:57 +0000)]
c_gen.pl: Added subroutine perform_test_read_only

26 years ago* Add sky-vudis.h, sky-vudis.c.
Ian Carmichael [Wed, 8 Apr 1998 20:14:44 +0000 (20:14 +0000)]
* Add sky-vudis.h, sky-vudis.c.

26 years agosce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR
Jillian Ye [Wed, 8 Apr 1998 19:46:08 +0000 (19:46 +0000)]
sce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR

26 years agoUpdate testcase to use the correct include files.
Jillian Ye [Wed, 8 Apr 1998 19:01:01 +0000 (19:01 +0000)]
Update testcase to use the correct include files.
: ----------------------------------------------------------------------

26 years agoDo not add PowerPC NT support by default to PowerPC ELF systems
Michael Meissner [Wed, 8 Apr 1998 18:57:42 +0000 (18:57 +0000)]
Do not add PowerPC NT support by default to PowerPC ELF systems

26 years ago*** empty log message ***
Jillian Ye [Wed, 8 Apr 1998 18:07:54 +0000 (18:07 +0000)]
*** empty log message ***

26 years ago Take out sce_testcase from "make check" until they can run more stably.
Jillian Ye [Wed, 8 Apr 1998 18:03:03 +0000 (18:03 +0000)]
 Take out sce_testcase from "make check" until they can run more stably.
 Added "check_sce" target for driving the Sce_testcases.

26 years agoUpdate testcase to compile with the lastest DVP AS
Jillian Ye [Wed, 8 Apr 1998 17:27:47 +0000 (17:27 +0000)]
Update testcase to compile with the lastest DVP AS

26 years agoWed Apr 8 13:18:56 1998 Philippe De Muyter <phdm@macqel.be>
Ian Lance Taylor [Wed, 8 Apr 1998 17:19:42 +0000 (17:19 +0000)]
Wed Apr  8 13:18:56 1998  Philippe De Muyter  <phdm@macqel.be>

* Makefile.in (EXTRA_GCC_FLAGS): XFOO lines shortened.

26 years agoUpdate testcase to compile with latest DVP-AS
Jillian Ye [Wed, 8 Apr 1998 17:15:24 +0000 (17:15 +0000)]
Update testcase to compile with latest DVP-AS
: ----------------------------------------------------------------------

26 years agoKeep sim-main.c and tx.igen
Andrew Cagney [Tue, 7 Apr 1998 23:15:53 +0000 (23:15 +0000)]
Keep sim-main.c and tx.igen

26 years agoKeep sky-gs.[ch] if sky.
Doug Evans [Tue, 7 Apr 1998 22:54:10 +0000 (22:54 +0000)]
Keep sky-gs.[ch] if sky.

26 years ago* Oops, keep new file.
Frank Ch. Eigler [Tue, 7 Apr 1998 22:50:02 +0000 (22:50 +0000)]
* Oops, keep new file.

26 years ago* R5900 COP2 sim testing in progress. The majority of instructions actually
Frank Ch. Eigler [Tue, 7 Apr 1998 22:47:53 +0000 (22:47 +0000)]
* R5900 COP2 sim testing in progress.  The majority of instructions actually
  work!

[ChangeLog.sky]

* sky-vu.h (vu_device): Represent "macro instruction just stuffed
  into fetch buffer" condition with new "m" bit.  Rename old "m" to
  "l".

* sky-libvpe.c (indebug): Save snapshot of environment value;
  workaround for suspected memory corruption.
(fetch_inst): Respect new "m" macro-instruction flag for reporting
  successful fetch to caller.
(exec_inst): Disassemble instruction here instead of fetch time.
   Renamed old "m" -> "l" flag in VU state to track interlock
  release.
(vpecallms_cycle): Call exec_inst only if fetch_inst did some
  work.

* sky-vu.c (vu_attach, vu[01]_device): Revamped initialization to
  ensure complete clear of tail part of struct at attach time.
(vu0_busy): Fix thinko.
(vu0_macro_issue): Adapt to new "l" flag.
(vu0_micro_interlock_released): Ditto.
  (write_vu_special_reg): Ditto.
(read_vu_special_reg): Compute VBS0/VBS1 bits more explicitly.
   The other VU status bits are not yet computed.

[ChangeLog]

* interp.c (decode_coproc): Do not apply superfluous E (end) flag
  to upper code of generated VU instruction.

26 years ago* COP2 testing in progress.
Frank Ch. Eigler [Tue, 7 Apr 1998 22:45:56 +0000 (22:45 +0000)]
* COP2 testing in progress.

Tue Apr  7 18:31:47 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-cop2.s: New test for COP2 function.

* Makefile.in: Added rule to assemble self-contained R5900 asm tests.

26 years agoUpdate.
Doug Evans [Tue, 7 Apr 1998 22:44:49 +0000 (22:44 +0000)]
Update.

26 years agoend of an era
Stan Shebs [Tue, 7 Apr 1998 22:17:30 +0000 (22:17 +0000)]
end of an era

26 years ago * mdebugread.c (parse_partial_symbols): If this is an .mdebug
Dawn Perchik [Tue, 7 Apr 1998 21:12:23 +0000 (21:12 +0000)]
    * mdebugread.c (parse_partial_symbols): If this is an .mdebug
        section in an ELF file, override a symbol's ECOFF section with its
        ELF section.  Also, fix stabs continuation where a stabs string
        continues for more than one continuation.

26 years agoUpdate Makefile.in to use dvp-el-as for SKY testcases.
Jillian Ye [Tue, 7 Apr 1998 21:10:30 +0000 (21:10 +0000)]
Update Makefile.in to use dvp-el-as for SKY testcases.
: ----------------------------------------------------------------------

26 years ago * dwarf2.c (comp_unit): Move it earlier in the source. Add
Gavin Romig-Koch [Tue, 7 Apr 1998 20:29:26 +0000 (20:29 +0000)]
* dwarf2.c (comp_unit): Move it earlier in the source. Add
addr_size.
(read_address): Replace 'bdf*' argument with 'comp_unit*' argument.
        Use addr_size for address size, rather than sizeof(bfd_vma).
(read_attribute): Replace bdf* argument with 'comp_unit*' argument.
Fix call to read_address.
(decode_line_info): Replace bdf* argument with 'comp_unit*' argument.
Scrap other unneeded arguments.  Fix call to read_address.
(scan_unit_for_functions): Fix call to read_attribute.
(parse_comp_unit): We now handle more values for addr_size.
Set addr_size in unit.  Fix call to read_attribute and
decode_line_info.

26 years ago* Added missing ITOP instructions to test40,41,42,43.
Ian Carmichael [Tue, 7 Apr 1998 20:20:34 +0000 (20:20 +0000)]
* Added missing ITOP instructions to test40,41,42,43.

26 years ago * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
Keith Seitz [Tue, 7 Apr 1998 20:05:02 +0000 (20:05 +0000)]
    * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.

26 years ago * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null.
Gavin Romig-Koch [Tue, 7 Apr 1998 19:56:50 +0000 (19:56 +0000)]
* dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null.

26 years ago * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
Ian Lance Taylor [Tue, 7 Apr 1998 19:41:52 +0000 (19:41 +0000)]
* Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
rcparse.h, and rcparse.c
* Makefile.in: Rebuild.

26 years ago * config/tc-dvp.c (md_convert_frag): Fix thinko.
Doug Evans [Tue, 7 Apr 1998 19:26:40 +0000 (19:26 +0000)]
* config/tc-dvp.c (md_convert_frag): Fix thinko.

26 years agoTue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Tue, 7 Apr 1998 17:37:33 +0000 (17:37 +0000)]
Tue Apr  7 13:35:29 1998  H.J. Lu  <hjl@gnu.org>

* configure.in (TESTBFDLIB): New.  Defined and substituted.
* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
* configure, Makefile.in: Rebuild.

26 years ago From hjl@lucon.org <H.J. Lu>:
Ian Lance Taylor [Tue, 7 Apr 1998 16:44:30 +0000 (16:44 +0000)]
From hjl@lucon.org <H.J. Lu>:
* Makefile.am (diststuff): New target.
* Makefile.in: Rebuild.

26 years ago * archures.c (bfd_default_scan): Add m68k cases back to default
Ian Lance Taylor [Tue, 7 Apr 1998 16:36:34 +0000 (16:36 +0000)]
* archures.c (bfd_default_scan): Add m68k cases back to default
switch, reverting patch of March 25, since IEEE support depends
upon them.

26 years agosce_main.c : Added "return 0;" to the end of main.
Jillian Ye [Tue, 7 Apr 1998 16:34:29 +0000 (16:34 +0000)]
sce_main.c : Added "return 0;" to the end of main.

: ----------------------------------------------------------------------

26 years agosce* : files added for the SCE (feb28) testsuite (modified).
Jillian Ye [Tue, 7 Apr 1998 16:23:41 +0000 (16:23 +0000)]
sce* : files added for the SCE (feb28) testsuite (modified).
       sce*_testN.* corresponds to the original testN/test.*
       *.vuasm    : MICRO code
       *.dvpasm   : DMAtag and VIF code description
       *.out_gif.dat : GIF output values for the corresponding testcase.
sce_main.c : driver file for the SCE testcases
sce_macro.s : SCE provided macro file needed by the SCE (feb28) testcases
refresh.s   : Needed by sce_main.c
Makefile.in : Updated to run make and run the SCE testsuite.

: ----------------------------------------------------------------------

26 years ago * gas/dvp/vif-4.[sd]: New testcase.
Doug Evans [Tue, 7 Apr 1998 03:25:32 +0000 (03:25 +0000)]
* gas/dvp/vif-4.[sd]: New testcase.

26 years ago * config/tc-dvp.c (assemble_vif): 0 is a valid length value (= max+1).
Doug Evans [Tue, 7 Apr 1998 03:22:22 +0000 (03:22 +0000)]
* config/tc-dvp.c (assemble_vif): 0 is a valid length value (= max+1).
(install_vif_length): 0 is a valid length value (= max+1).

26 years ago * dvp-opc.c (vif_macros): Tweak unpackloc operand.
Doug Evans [Tue, 7 Apr 1998 03:20:26 +0000 (03:20 +0000)]
* dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
(insert_vif_datalen): Record value with max+1 -> 0 conversion.
(vif_unpack_len): Perform 0 -> max+1 conversion on `wl' value.

26 years ago * dvp.h (dvp_expand_macro): Declare.
Doug Evans [Tue, 7 Apr 1998 00:36:15 +0000 (00:36 +0000)]
* dvp.h (dvp_expand_macro): Declare.
(vif_macros,vif_macro_count): Declare.