binutils-gdb.git
26 years ago* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
Andrew Cagney [Wed, 18 Mar 1998 02:07:56 +0000 (02:07 +0000)]
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
sim_dv_src in Makefile. Take list of devices as parameter to m4
macro..
* configure: Regenerated to track ../common/aclocal.m4 changes.

26 years agoTue Mar 17 17:02:00 PST 1998 Syd Polk <spolk@cygnus.com>
Syd Polk [Wed, 18 Mar 1998 01:05:50 +0000 (01:05 +0000)]
Tue Mar 17 17:02:00 PST 1998 Syd Polk <spolk@cygnus.com>

* configure.in Makefile.in
Changed "sn" to "snavigator"

26 years ago* Added --with-sim-gpu2=<path> option for linking SCEI's GPU2 library with
Frank Ch. Eigler [Wed, 18 Mar 1998 00:20:40 +0000 (00:20 +0000)]
* Added --with-sim-gpu2=<path> option for linking SCEI's GPU2 library with
  the stand-alone executable.

[in ChangeLog.sky:]

* sky-gpuif.c (call_gs): Call properly into GPU2 library if
  configured --with-sim-gpu2.  Use SKY_GPU2_REFRESH symbol as
  placeholder for future GPU2-refresh policy.

[in ChangeLog:]

* Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
  configurable settings for stand-alone simulator.

start-sanitize-sky
* configure.in: Added --with-sim-gpu2 option to specify path of
  sky GPU2 library.  Triggers -DSKY_GPU2 for sky-gpuif.c, and
  links/compiles stand-alone simulator with this library.

* interp.c (MEM_SIZE): Increased default sky memory size to 16MB.
end-sanitize-sky

* configure.in: Added X11 search, just in case.

* configure: Regenerated.

26 years ago * config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
Doug Evans [Tue, 17 Mar 1998 22:19:12 +0000 (22:19 +0000)]
* config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
byte boundary.

26 years ago * config/tc-dvp.h (TC_START_LABEL): Define.
Doug Evans [Tue, 17 Mar 1998 22:10:10 +0000 (22:10 +0000)]
* config/tc-dvp.h (TC_START_LABEL): Define.
* config/tc-dvp.c (force_mach_label): New function.
(md_begin,create_colon_label,s_dmadata): Use it.

26 years ago * gas/dvp/dma-[12].[sd]: New testcases.
Doug Evans [Tue, 17 Mar 1998 22:04:22 +0000 (22:04 +0000)]
* gas/dvp/dma-[12].[sd]: New testcases.
* gas/dvp/dvp.exp: Run them.

26 years ago* itbl-lex.l (yywrap): Don't define if already defined as a macro.
Ken Raeburn [Tue, 17 Mar 1998 22:01:10 +0000 (22:01 +0000)]
* itbl-lex.l (yywrap): Don't define if already defined as a macro.

26 years ago * dvp-dis.c (print_dma): Change length from 16 to 8.
Doug Evans [Tue, 17 Mar 1998 21:28:32 +0000 (21:28 +0000)]
* dvp-dis.c (print_dma): Change length from 16 to 8.

26 years ago* Added "t-pke4" test case that I forgot to check in when it was created.
Frank Ch. Eigler [Tue, 17 Mar 1998 20:49:50 +0000 (20:49 +0000)]
* Added "t-pke4" test case that I forgot to check in when it was created.

26 years ago* Added the "c_gen.pl" perl script into this directory, so the current
Frank Ch. Eigler [Tue, 17 Mar 1998 20:47:03 +0000 (20:47 +0000)]
* Added the "c_gen.pl" perl script into this directory, so the current
  bunch of tests may be run on non-Toronto hosts.

26 years ago * config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
Doug Evans [Tue, 17 Mar 1998 18:51:57 +0000 (18:51 +0000)]
* config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
(assemble_dma): Only output 8 bytes for actual dma insn if dma/vif
packing is enabled.  Emit VIF cpu marker after dma insn.

26 years agoalways keep SH4 support now (& remove an unused variable decl)
Stan Shebs [Tue, 17 Mar 1998 01:09:27 +0000 (01:09 +0000)]
always keep SH4 support now (& remove an unused variable decl)

26 years ago* Some changes in PKE tests, as per SCEI e-mail. t-pke1 still fails, but
Frank Ch. Eigler [Tue, 17 Mar 1998 00:07:19 +0000 (00:07 +0000)]
* Some changes in PKE tests, as per SCEI e-mail.  t-pke1 still fails, but
  will ignore this until next SCEI clarification.

* tsv308_1.trc: Fixed test case as per SCEI email.
* tsv316_1.trc: Ditto.
* tsv408_1.trc: Same.
* tsv416_1.trc: Again.
* t-pke3.trc: Added more padding to one VU test to widen timing race.

26 years agoimport rth alphapca56, alphaev6 fix from egcs
Ken Raeburn [Mon, 16 Mar 1998 21:30:04 +0000 (21:30 +0000)]
import rth alphapca56, alphaev6 fix from egcs

26 years agoMust have copied the wrong message when creating this file...
Jeff Law [Mon, 16 Mar 1998 19:07:02 +0000 (19:07 +0000)]
Must have copied the wrong message when creating this file...

26 years ago * config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.
Doug Evans [Mon, 16 Mar 1998 18:22:18 +0000 (18:22 +0000)]
* config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.

26 years agoPass sim_cia cia into trace_prefix()
Andrew Cagney [Mon, 16 Mar 1998 03:44:33 +0000 (03:44 +0000)]
Pass sim_cia cia into trace_prefix()

26 years agom32r-opc.h: Regenerate.
Doug Evans [Sun, 15 Mar 1998 09:19:59 +0000 (09:19 +0000)]
m32r-opc.h: Regenerate.

26 years ago * config.in (HAVE_FCNTL_H): Add.
Doug Evans [Sun, 15 Mar 1998 05:15:18 +0000 (05:15 +0000)]
* config.in (HAVE_FCNTL_H): Add.
* configure: Regenerate.
* Makefile.in (SIM_OBJS): Add devices.o.
* m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device.
(UART_*): Define m32r serial port parameters.
(M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define.
* m32r.c (device_io_{read,write}_buffer,device_error): Move from here,
* devices.c: To here.
* sim-if.c: Don't include signal.h,sim-core.h.
(sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call.
(sim_resume): Call sim_module_{resume,suspend}.
* m32r.c (m32r_h_cr_{get,set}): Use register number enums.

* tconfig.in (SIM_HANDLES_LMA): Define.

* sim-if.c (do_trap): Result is new pc.
Handle --environment=operating.
* sem-switch.c,sem.c: Regenerate.
start-sanitize-m32rx
* semx.c: Regenerate.
end-sanitize-m32rx

26 years ago * dv-sockser.c, dv-sockser.h: New files.
Doug Evans [Sun, 15 Mar 1998 02:43:00 +0000 (02:43 +0000)]
* dv-sockser.c, dv-sockser.h: New files.
* Make-common.in (dv-sockser.o): Add rule for.
* aclocal.m4: Check for fcntl.h.
* config.h: Add HAVE_FCNTL_H.

* sim-break.c (remove_breakpoint): Fix thinko.

* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.

26 years ago* Added "test0" test bucket from SCEI. Due to changes in the behavior specs
Frank Ch. Eigler [Sat, 14 Mar 1998 01:51:03 +0000 (01:51 +0000)]
* Added "test0" test bucket from SCEI.  Due to changes in the behavior specs
  of PKE, some old test cases had to be modified.  There are suspected bugs
  in the SCEI test cases too, so "make check" does not run cleanly at present.

* tss*.trc: New files, generated by perl script from
SCEI "test0" bucket.

* tsv*.trc: New files, generated by perl script from SCEI "test0"
  bucket.  Note that tsv432_0 may obsolete t-pke1.

* Makefile.in (TESTS): Run new scripts.
(check): Bulldoze through failing test cases with "make -k" until
  SCEI fixes some of them.
(.run.ok): Increased run-time limit since some test runs can take
  several seconds.

26 years ago* PKE testing was driven by SCEI "test0" bucket; code coverage remains
Frank Ch. Eigler [Sat, 14 Mar 1998 01:47:06 +0000 (01:47 +0000)]
* PKE testing was driven by SCEI "test0" bucket; code coverage remains
  effectively full.  The code is believed to be functionally complete now.
  Some code cleanup is included at no extra charge in this version.

Fri Mar 13 20:21:57 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-vu1.c: (dump_mem): Commented out function to satiate
  warning-ful compilation.

* sky-pke.c: (pke_reset): New function, called explicitly at
  initialization and at FBRST.
(pke_fifo_flush): New function to flush (skip over) existing
  quadwords in FIFO.
(pke_fifo_fit): New function to add space for new quadword in
  FIFO.
(pke_fifo_access): New function to absolute-index into FIFO.
(pke_fifo_old): New function to remove old quadwords from FIFO.
(pke_begin_interrupt_stall): New function to abstract
  interrupt-caused stalls.
(pke_*): Access PKE FIFO only thorugh pke_fifo functions.
(pke_pcrel_*): Renamed pke_pc_* functions.
(pke_code_unpack): Numerous logic tweaks for latest UNPACK
  behavior changes & clarifications from SCEI.

* sky-pke.h (struct pke_fifo): New explicit FIFO representation.
(struct pke_device): Use struct above.
(PKE_DEBUG): Removed macro as misnomer.

* sky-hardware.c: Moved *_cmd_install declarations out.

* sky-hardware.h: Moved *_cmd_install declarations in.

26 years agoMerged recent change from rembrandt branch
Tom Tromey [Sat, 14 Mar 1998 00:27:43 +0000 (00:27 +0000)]
Merged recent change from rembrandt branch

* depend.c (quote_string_for_make): New function.
(wrap_output): Use it.

26 years agoFri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Fri, 13 Mar 1998 23:45:51 +0000 (23:45 +0000)]
Fri Mar 13 15:43:53 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * config/mips/xm-mips.h (CC_HAS_LONG_LONG):  Undefine for Ultrix
        when compiling with native cc, the compiler has broken long long
        support.

26 years agoFri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Fri, 13 Mar 1998 23:43:05 +0000 (23:43 +0000)]
Fri Mar 13 15:37:02 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * config/m68k/xm-sun3os4.h:  Remove malloc declarations, they
        are handled via autoconf now.
        * remote.c (remote_ops, extended_remote_ops):  Replace static
        forward declaration by moving the static definition to the top of
        the file, for old K&R compilers.
        * tracepoint.c (collect_symbol, trace_start_command):
        Replace ANSI string concatenation with K&R compatible simple string.

26 years ago * gdb.asm/{Makefile.in,configure.in,configure}: New files.
Doug Evans [Fri, 13 Mar 1998 22:43:18 +0000 (22:43 +0000)]
* gdb.asm/{Makefile.in,configure.in,configure}: New files.
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.

26 years ago * sim-base.h (struct sim_state_base): Add prog_syms and
Fred Fish [Fri, 13 Mar 1998 20:39:00 +0000 (20:39 +0000)]
* sim-base.h (struct sim_state_base): Add prog_syms and
define macro STATE_PROG_SYMS.
* sim-trace.c (trace_one_insn): Add variables abfd, symsize,
symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
and bfd_canonicalize_symtab, to get symbol table on first use
and preserve it via STATE_PROG_SYMS for future calls to
bfd_find_nearest_line.

26 years agomassive sanitization fixes
Angela Marie Thomas [Fri, 13 Mar 1998 13:09:32 +0000 (13:09 +0000)]
massive sanitization fixes

26 years agonew .Sanitize files
Angela Marie Thomas [Fri, 13 Mar 1998 11:03:37 +0000 (11:03 +0000)]
new .Sanitize files

26 years agosnapshot
Doug Evans [Fri, 13 Mar 1998 01:36:59 +0000 (01:36 +0000)]
snapshot

26 years agoregenerate
Doug Evans [Fri, 13 Mar 1998 00:36:03 +0000 (00:36 +0000)]
regenerate

26 years agoconfigure script for gdb.asm, initial source debugging test.
Doug Evans [Fri, 13 Mar 1998 00:35:09 +0000 (00:35 +0000)]
configure script for gdb.asm, initial source debugging test.

26 years agoMakefile.in for gdb.asm.
Doug Evans [Fri, 13 Mar 1998 00:28:30 +0000 (00:28 +0000)]
Makefile.in for gdb.asm.

26 years ago * gdb.asm: New directory.
Doug Evans [Fri, 13 Mar 1998 00:25:36 +0000 (00:25 +0000)]
* gdb.asm: New directory.
* configure.in: Configure it.
* configure: Regenerate.

26 years agokeep gdb.asm
Doug Evans [Fri, 13 Mar 1998 00:22:00 +0000 (00:22 +0000)]
keep gdb.asm

26 years ago * config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
Doug Evans [Fri, 13 Mar 1998 00:17:35 +0000 (00:17 +0000)]
* config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
* config/tc-dvp.c (compute_nloop,check_nloop): New functions.
(gif_insn_frag_loc): New static global.
(assemble_gif): Record frag and location frag of insn.
(md_apply_fix3): Validate user specified nloop if we couldn't do
it earlier.
(s_endgif): Queue fixup to install nloop if we can't compute it here.

26 years ago * dvp-opc.c (print_dest1): Print dest spec again.
Doug Evans [Thu, 12 Mar 1998 17:23:22 +0000 (17:23 +0000)]
* dvp-opc.c (print_dest1): Print dest spec again.
(print_vfreg,print_accdest): Likewise.

26 years agoSanity for 4320
Gavin Romig-Koch [Wed, 11 Mar 1998 17:05:20 +0000 (17:05 +0000)]
Sanity for 4320

26 years agoAllow more than just read, write and exec memory spaces in the core
Andrew Cagney [Wed, 11 Mar 1998 12:18:39 +0000 (12:18 +0000)]
Allow more than just read, write and exec memory spaces in the core
module.

26 years ago* sky-gdb.c (vu_option_handler): Delete unused local unit.
Andrew Cagney [Wed, 11 Mar 1998 11:57:55 +0000 (11:57 +0000)]
* sky-gdb.c (vu_option_handler): Delete unused local unit.
(log_option_handler): Delete extra arg from printf, twice.
* sky-pke.c (config.h): Include.
(string.h, strings.h): Include.
(pke_issue): Delete unused locals imm, num
* sky-libvpe.c: Pacify GCC.
* sky-gpuif.c (gif_io_write_buffer): Pacify GCC.
* sky-dma.c (config.h): Include.
(string.h, strings.h): Include.
(dma_io_read_buffer): Pacify GCC.
(dma_io_write_buffer): Pacify GCC.  Initialize pmem before first use.
(do_dma_transfer): Delete unused local variables qwbuf and local.

26 years ago * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:21:20 +0000 (21:21 +0000)]
* configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.

26 years ago * mips-opc.c ("clz","dclz"): Added the 4320 versions.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:01:43 +0000 (21:01 +0000)]
* mips-opc.c ("clz","dclz"): Added the 4320 versions.

26 years ago * vr4320.igen (clz,dclz) : Added.
Gavin Romig-Koch [Tue, 10 Mar 1998 15:37:24 +0000 (15:37 +0000)]
* vr4320.igen (clz,dclz) : Added.
(dmac): Replaced 99, with LO.

26 years agoDelete function sim_stop.
Andrew Cagney [Tue, 10 Mar 1998 05:05:44 +0000 (05:05 +0000)]
Delete function sim_stop.

26 years agoremove whitespace triggering Sanitize bug
Ken Raeburn [Mon, 9 Mar 1998 21:51:09 +0000 (21:51 +0000)]
remove whitespace triggering Sanitize bug

26 years ago * sim-base.h (sim_state_base): New member environment.
Doug Evans [Mon, 9 Mar 1998 21:04:28 +0000 (21:04 +0000)]
* sim-base.h (sim_state_base): New member environment.
(STATE_ENVIRONMENT): New macro.
* sim-config.c (current_environment): Delete.
(sim_config_default): New function.
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
(sim_config_default): Add prototype.
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
Set STATE_ENVIRONMENT, not current_environment.

26 years ago * mips-opc.c ("macc*","mul*"): Added the 4320 versions
Gavin Romig-Koch [Mon, 9 Mar 1998 20:26:37 +0000 (20:26 +0000)]
* mips-opc.c ("macc*","mul*"): Added the 4320 versions
of these.

26 years ago * mips/vr4320.igen: Mark the insn in here as vr4320 only.
Gavin Romig-Koch [Mon, 9 Mar 1998 20:22:45 +0000 (20:22 +0000)]
* mips/vr4320.igen: Mark the insn in here as vr4320 only.
Reorder the insns.

26 years agoPatch to fix irix6-x-mips64-elf simulator failures.
Jim Wilson [Mon, 9 Mar 1998 19:59:52 +0000 (19:59 +0000)]
Patch to fix irix6-x-mips64-elf simulator failures.
* sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.

26 years ago (insert_mpg_marker): New function.
Doug Evans [Sat, 7 Mar 1998 03:22:18 +0000 (03:22 +0000)]
(insert_mpg_marker): New function.
(insert_file): New args insert_marker, size.  All callers updated.
(assemble_vif): Rewrite varlen insn handling.
(assemble_vu): Call insert_mpg_marker when 256th insn reached.
(s_enddirect,s_endunpack): Rename arg to internal_p.

26 years ago (install_vif_length): Second pass at unpack len calcs.
Doug Evans [Sat, 7 Mar 1998 01:43:32 +0000 (01:43 +0000)]
(install_vif_length): Second pass at unpack len calcs.
(s_endunpack): Round data up to word boundary.

26 years ago* dvp-dis.c (print_insn): Print unsigned values in hex.
Doug Evans [Sat, 7 Mar 1998 01:41:44 +0000 (01:41 +0000)]
* dvp-dis.c (print_insn): Print unsigned values in hex.
* dvp-opc.c (insert_vif_wlcl,extract_vif_wlcl): New functions.
(vif_operands): Use them for wl,cl fields.
(state_vif_wl,state_vif_cl): New static locals.
(parse_vif_mode): Handle numeric args.
(vif_unpack_len_value,vif_unpack_len): New functions.
(vif_insn_len): Call vif_unpack_len.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:56:05 +0000 (00:56 +0000)]
Remove SH4 sanitation.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:41:39 +0000 (00:41 +0000)]
Remove SH4 sanitation.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:31:19 +0000 (00:31 +0000)]
Remove SH4 sanitation.

26 years ago* Numerous changes & small bug fixes in PKE sim code and test suite.
Frank Ch. Eigler [Fri, 6 Mar 1998 22:46:40 +0000 (22:46 +0000)]
* Numerous changes & small bug fixes in PKE sim code and test suite.

  for sim/testsuite/sky:

* t-pke4.run: Removed test, since it succeeds yet returns a
  non-zero exit code.

* Makefile.in (RUNOPTS): Removed --memory-size flag, made
  unnecessary by sim/mips/interp.c changes.
(TESTS): Removed t-pke4.ok target.

* t-pke3.trc: Classified tests with [---] indicators, to match
  items up with entries documented in testplan.sgml.  Added numerous
  additional tests.  They assert behavior that assumes certain
  favorable answers to PKE question set #6 to SCEI.

* t-pke1.trc: Added some [---] indicators.

  for sim/mips:

* sky-pke.c (pke_issue): Revamped interrupt & stall code.  Assume
  that ER1/ER0/PIS bits are only set if not masked by ERR bits.
   Signal PIS only if unmasked.
(pke_code_error): Signal ER1 only if unmasked.
(pke_pc_fifo): Signal ER0 only if unmasked.
(pke_code_unpack): Round up num_operands for last operand's
  partial-word.  Factor out "R" bit handling for better coverage
  analysis.  Fill upper words of a quadword with zeroes for Vn_m
  UNPACK with n < 4.

* sky-device.c (device_error): Made function accept varargs.

* sky-device.h (device_error): Changed declaration to match.

* interp.c (sim_open): Made 0x0000 area memory be an alias of
the K0/K1 segments.  Sanitized code.

26 years agoScrap the un-needed vr4111 stuff.
Gavin Romig-Koch [Fri, 6 Mar 1998 21:22:59 +0000 (21:22 +0000)]
Scrap the un-needed vr4111 stuff.

26 years ago * gas/dvp/vif-2.[sd]: New testcases.
Doug Evans [Fri, 6 Mar 1998 20:54:22 +0000 (20:54 +0000)]
* gas/dvp/vif-2.[sd]: New testcases.

26 years agoPR 15068
Fred Fish [Fri, 6 Mar 1998 20:38:45 +0000 (20:38 +0000)]
PR 15068
* utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
  SERIAL_FLUSH_OUTPUT.
* serial.h (struct serial_ops): Add drain_output, pointer to
  function that waits for output to drain.
(SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
* ser-unix.c (hardwire_drain_output): New function and prototype.

* ser-unix.c (hardwire_ops): Add entry for drain_output function.
* ser-tcp.c (tcp_ops): Ditto.
* ser-ocd.c (ocd_ops): Ditto.
* ser-mac.c (mac_ops): Ditto.
* ser-go32.c (dos_ops): Ditto.
* ser-e7kpc.c (e7000pc_ops): Ditto.

26 years ago * config/tc-dvp.c (s_endgif): Fix nloop calc and test. Warn if
Doug Evans [Fri, 6 Mar 1998 19:40:53 +0000 (19:40 +0000)]
* config/tc-dvp.c (s_endgif): Fix nloop calc and test.  Warn if
insufficient data present.  Fix insertion of computed nloop value.

26 years ago * dvp-dis.c (print_gif): Fix length calcs for gifimage.
Doug Evans [Fri, 6 Mar 1998 19:37:35 +0000 (19:37 +0000)]
* dvp-dis.c (print_gif): Fix length calcs for gifimage.
(print_insn): Do mask comparison on proper opcode word.
* dvp-opc.c (u_parse_sdest): Return -1 if dest missing.
(parse_bc): Catch missing dest.
(parse_vfreg): Replace atoi call with strtol.
(parse_{bcftreg,ffstreg,freg,ireg,vi01,gif_prim,gif_nloop}): Likewise.
(parse_bcftreg,parse_ffstreg): Handle missing dest.
(extract_gif_eop): New function.
(gif_operands): Update eop entry.
(VGIFOP,VGIFNREGS): Fix calcs.
(extract_gif_prim): Set *pinvalid to 1 if prim not used.
(gif_regs): Add entry for unused 11 case.
(print_gif_regs): Print empty list instead of nothing.
(extract_gif_nloop): Fix value calc.
(print_gif_nloop): Always print value, even if 0.

26 years ago * gas/dvp/upper-2.d (loi): Fix expected output.
Doug Evans [Fri, 6 Mar 1998 19:27:21 +0000 (19:27 +0000)]
* gas/dvp/upper-2.d (loi): Fix expected output.
* gas/dvp/vif-1.[sd]: Add more tests.
* gas/dvp/gif{packed,reglist,image}-1.[sd]: New testcases.
* gas/dvp/dvp.exp: Run them.  Pass -I${srcdir}/${subdir} to gas.

26 years agoThu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Fri, 6 Mar 1998 00:09:31 +0000 (00:09 +0000)]
Thu Mar  5 16:07:41 1998  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * sparcl-tdep.c: fix #endif comments

26 years agoThu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 5 Mar 1998 23:11:20 +0000 (23:11 +0000)]
Thu Mar  5 15:10:35 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.

26 years ago * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
Keith Seitz [Thu, 5 Mar 1998 22:41:56 +0000 (22:41 +0000)]
    * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
        error () so that we abort out of bdm_ppc_open.

26 years agoFix opcode fields in SHFL.*
Andrew Cagney [Thu, 5 Mar 1998 21:32:31 +0000 (21:32 +0000)]
Fix opcode fields in SHFL.*

26 years ago* Fixed a double-buffering bug in PKE, due to naive use of
Frank Ch. Eigler [Thu, 5 Mar 1998 20:23:59 +0000 (20:23 +0000)]
* Fixed a double-buffering bug in PKE, due to naive use of
  complex macros with side-effects.  Gripes.

26 years agoWed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 5 Mar 1998 01:04:13 +0000 (01:04 +0000)]
Wed Mar  4 16:53:52 1998  Martin M. Hunt  <hunt@cygnus.com>

* serial.c (_initialize_serial): Add a description of
"set remotelogbase".

* command.c (do_setshow_command): If no arguments are supplied,
don't dump core, instead print out an error message.

26 years agoWed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 5 Mar 1998 00:51:00 +0000 (00:51 +0000)]
Wed Mar  4 16:50:18 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Fix thinko in last change.

26 years agoWed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 4 Mar 1998 23:35:30 +0000 (23:35 +0000)]
Wed Mar  4 15:34:49 1998  Jason Molenda  (crash@bugshack.cygnus.com)

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

26 years ago * interp.c (sim_open): Map 4M of memory at zero for SKY sim only.
James Lemke [Wed, 4 Mar 1998 23:33:36 +0000 (23:33 +0000)]
* interp.c (sim_open): Map 4M of memory at zero for SKY sim only.

26 years agotype in feb 19
John Metzler [Wed, 4 Mar 1998 21:52:56 +0000 (21:52 +0000)]
type in feb 19

26 years ago * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
Doug Evans [Wed, 4 Mar 1998 21:22:09 +0000 (21:22 +0000)]
* Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
(arch.o): Delete cpu-opc.h dependency.
(decode.o,model.o): Likewise.
(decodex.o,modelx.o): Likewise.

26 years agoFix 4320 sanitization.
Doug Evans [Wed, 4 Mar 1998 21:14:50 +0000 (21:14 +0000)]
Fix 4320 sanitization.

26 years agoFix vr4320 sanitization.
Doug Evans [Wed, 4 Mar 1998 21:03:29 +0000 (21:03 +0000)]
Fix vr4320 sanitization.

26 years ago * cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
Doug Evans [Wed, 4 Mar 1998 20:14:51 +0000 (20:14 +0000)]
* cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.

26 years ago * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
Doug Evans [Wed, 4 Mar 1998 20:10:36 +0000 (20:10 +0000)]
* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.

26 years agoCleanup entry for feb 19
John Metzler [Wed, 4 Mar 1998 19:26:03 +0000 (19:26 +0000)]
Cleanup entry for feb 19

26 years ago* Merely eliminated silly duplicated code, to raise test coverage.
Frank Ch. Eigler [Wed, 4 Mar 1998 19:14:03 +0000 (19:14 +0000)]
* Merely eliminated silly duplicated code, to raise test coverage.

* sky-pke.c (pke_issue): Move interrupt-handling into decode logic.
(pke_code_*): Remove duplicated interrupt-handling code.

26 years agosim-main.h: track SKY register number changes from gdb
Ron Unrau [Wed, 4 Mar 1998 08:47:31 +0000 (08:47 +0000)]
sim-main.h: track SKY register number changes from gdb
interp.c: ditto

26 years agoelfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIAL
Ron Unrau [Wed, 4 Mar 1998 08:45:55 +0000 (08:45 +0000)]
elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIAL
config/mips/tm-mips.h: ditto
symtab.h: update comments re minimal_symbol->info
mips-tdep.c: globalize gdb_print_insn_mips
txvu-tdep.c: disassemble support
config/mips/tm-txvu.h: add vu_pc, use MAKE_MSYMBOL_SPECIAL, track updates
from tm-r5900.h

26 years ago * cgen-asm.in: Move insertion of generated routines to top of file.
Doug Evans [Wed, 4 Mar 1998 02:54:57 +0000 (02:54 +0000)]
* cgen-asm.in: Move insertion of generated routines to top of file.
  (insert_normal): Add prototype.  Delete `shift' arg.
* cgen-dis.in: Move insertion of generated routines to top of file.
(extract_normal): Add prototype.  Delete `shift' arg.
(print_normal): Add prototype.  Call CGEN_PRINT_NORMAL if defined.
(print_keyword): Add prototype.  Fix type of `attrs' arg.

26 years ago * sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
Doug Evans [Wed, 4 Mar 1998 02:05:06 +0000 (02:05 +0000)]
* sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
Use 0xa5 as initial value.
(sim_core_map_detach): Use free instead of zfree.
Back out this change.

26 years agovr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failures
John Metzler [Wed, 4 Mar 1998 01:28:53 +0000 (01:28 +0000)]
vr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failures

26 years agoPreviously, the size of pointers was taken from the hosts pointer size. Now, it is...
John Metzler [Wed, 4 Mar 1998 01:12:43 +0000 (01:12 +0000)]
Previously, the size of pointers was taken from the hosts pointer size. Now, it is a function of TARGET_PTR_BITS.

26 years agoTarget triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.h
John Metzler [Wed, 4 Mar 1998 00:28:41 +0000 (00:28 +0000)]
Target triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.h

26 years agoSupports mips64vr4111-*-elf
John Metzler [Wed, 4 Mar 1998 00:08:00 +0000 (00:08 +0000)]
Supports mips64vr4111-*-elf
See tm-vrxxx.h

26 years agoDefines a mips configuration which entails
John Metzler [Wed, 4 Mar 1998 00:05:05 +0000 (00:05 +0000)]
Defines a mips configuration which entails
   Configuration triple mips64vr4111-*-elf
   64 bit architecture
   16 bit sub core
   32 bit ints and floats
   No floating point unit
   MIPS EABI interface
   Dwarf2 debugging format

26 years agoTue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Tue, 3 Mar 1998 22:38:38 +0000 (22:38 +0000)]
Tue Mar  3 14:37:02 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * alpha-nat.c (fetch_osf_core_registers):  Renamed from
        fetch_aout_core_registers.
        (alpha_osf_core_fns):  Renamed from alpha_aout_core_fns, change
        flavour to bfd_target_unknown_flavour for OSF core files.

26 years ago * vr4320.igen: New file.
Gavin Romig-Koch [Tue, 3 Mar 1998 17:03:57 +0000 (17:03 +0000)]
* vr4320.igen: New file.
* Makefile.in (vr4320.igen) : Added.
* configure.in (mips64vr4320-*-*): Added.
* configure : Rebuilt.
* mips.igen : Correct the bfd-names in the mips-ISA model entries.
Add the vr4320 model entry and mark the vr4320 insn as necessary.

26 years ago * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:53:41 +0000 (16:53 +0000)]
* mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.

26 years ago * mips.h (INSN_4320) : Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:48:34 +0000 (16:48 +0000)]
* mips.h (INSN_4320) : Added.

26 years ago * config/tc-mips.c : Added vr4320 similar to vr4300.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:45:13 +0000 (16:45 +0000)]
* config/tc-mips.c : Added vr4320 similar to vr4300.

26 years ago * mips-cpu.c: Reorganize sanitization.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:31:21 +0000 (16:31 +0000)]
* mips-cpu.c: Reorganize sanitization.

* archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320.

26 years ago * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:20:17 +0000 (16:20 +0000)]
* configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.

26 years ago * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
Gavin Romig-Koch [Tue, 3 Mar 1998 16:16:57 +0000 (16:16 +0000)]
* configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
Added.

26 years ago * gas/mips/mips.exp (ilocks) : Added mips64vr4320*-*-*.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:12:56 +0000 (16:12 +0000)]
* gas/mips/mips.exp (ilocks) : Added mips64vr4320*-*-*.

26 years ago * config.sub (mips64vr4320-unknown-elf) : Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:05:41 +0000 (16:05 +0000)]
* config.sub (mips64vr4320-unknown-elf) : Added.

26 years agoFix DIV, DIV1 (wrong check for overflow) and DIVU1 (shouldn't check
Andrew Cagney [Tue, 3 Mar 1998 05:39:49 +0000 (05:39 +0000)]
Fix DIV, DIV1 (wrong check for overflow) and DIVU1 (shouldn't check
for overflow).
Pacify GCC.

26 years ago * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
Andrew Cagney [Tue, 3 Mar 1998 05:34:31 +0000 (05:34 +0000)]
* sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
* sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.