Andrew Cagney [Wed, 17 Sep 1997 03:31:09 +0000 (03:31 +0000)]
More v850 simulator tests.
Andrew Cagney [Wed, 17 Sep 1997 03:25:54 +0000 (03:25 +0000)]
Add/test 8bit bit manipuation macros.
Test LS and MS versions of SEXT macro.
Simplify/test macro returning a single bit.
Per Bothner [Wed, 17 Sep 1997 02:57:39 +0000 (02:57 +0000)]
* util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):
New cleanup clean for cleanups to be run when at each 'run' command.
* infcmd.c (run_command): Call do_run_cleanups.
* solib.c (find_solib): Register cleanup to call clear_solib
on a new 'run' command.
(symbol_add_stub): First look for existing objfile with same name.
Stan Shebs [Tue, 16 Sep 1997 23:58:01 +0000 (23:58 +0000)]
* monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.
* monitor.c (monitor_wait_srec_ack): Add DINK32-specific ack code.
* dsrec.c (load_srec): Always write a header S-record.
* dink32-rom.c (dink32_regnames): Fix the names of float registers.
(dink32_cmds): Set to use S-record downloading with acks.
* remote-est.c (est_cmds): Add MO_SREC_ACK_PLUS flag.
Andrew Cagney [Tue, 16 Sep 1997 23:57:57 +0000 (23:57 +0000)]
Generic rules for building simple simulator test programs.
Stan Shebs [Tue, 16 Sep 1997 23:01:29 +0000 (23:01 +0000)]
* remote-sds.c (sds_load): New function.
(sds_ops): Use it.
(sds_open): Don't set inferior_pid yet.
(sds_kill): Remove contents.
(sds_create_inferior): Rewrite to work more like monitor
interfaces.
(sds_restart): Remove, no longer used.
Nick Clifton [Tue, 16 Sep 1997 22:15:48 +0000 (22:15 +0000)]
Further rearrangements of the opcodes.
Ken Raeburn [Tue, 16 Sep 1997 21:31:03 +0000 (21:31 +0000)]
* d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. (PR 13051)
Nick Clifton [Tue, 16 Sep 1997 21:21:30 +0000 (21:21 +0000)]
Add support for a 16 bit reloc against the TDA pointer!
Nick Clifton [Tue, 16 Sep 1997 21:16:15 +0000 (21:16 +0000)]
Add support for a 16 bit relocation against the TDA register!
Nick Clifton [Tue, 16 Sep 1997 21:13:48 +0000 (21:13 +0000)]
Add new reloc, R_V850_TDA_16_16_OFFSET.
Gavin Romig-Koch [Tue, 16 Sep 1997 20:01:00 +0000 (20:01 +0000)]
* sim/mips/gencode.c (build_instruction): Don't need to subtract 4 for
JALR, just 2.
Ken Raeburn [Tue, 16 Sep 1997 19:28:44 +0000 (19:28 +0000)]
merge from d30v-970225-branch, plus bugfixes for 64-bit host
Jeff Law [Tue, 16 Sep 1997 18:01:15 +0000 (18:01 +0000)]
Uli's libio/libstdc++ changes.
Nick Clifton [Tue, 16 Sep 1997 16:47:05 +0000 (16:47 +0000)]
Entries in v850_opcodes reordered to put same named entries adjacent to each other.
Gavin Romig-Koch [Tue, 16 Sep 1997 15:36:18 +0000 (15:36 +0000)]
* sim/mips/interp.c: Correct some HASFPU problems.
Gavin Romig-Koch [Tue, 16 Sep 1997 14:07:50 +0000 (14:07 +0000)]
* mips-opc.c: Added tx39 insns sdbbp, rfe, and deret.
* mips16-opc.c: Added mips16 sdbbp.
Andrew Cagney [Tue, 16 Sep 1997 14:00:15 +0000 (14:00 +0000)]
Smooth some of ALU tracing's rough edges.
Fix switch insn.
Andrew Cagney [Tue, 16 Sep 1997 13:58:44 +0000 (13:58 +0000)]
More sim-bits testing.
Andrew Cagney [Tue, 16 Sep 1997 07:04:46 +0000 (07:04 +0000)]
Add {LS,MS}SEXT and {LS,MS}INSERTED macros. Eliminates bug in SEXT.
Andrew Cagney [Tue, 16 Sep 1997 07:03:41 +0000 (07:03 +0000)]
Use trace_one_insn in trace functions. Buffer up trace data so that
it is displayed in a single block.
Andrew Cagney [Tue, 16 Sep 1997 07:01:57 +0000 (07:01 +0000)]
v850eq simulator tests.
Andrew Cagney [Tue, 16 Sep 1997 04:49:24 +0000 (04:49 +0000)]
Restrict ldsr (load system register) to modifying just non-reserved PSW bits.
For v850eq, include PSW[US] in bits that can be modified.
Jeff Law [Tue, 16 Sep 1997 03:26:12 +0000 (03:26 +0000)]
* config/tc-hppa.c (fix_new_hppa): Make declaration match
definition.
Net bug.
Stan Shebs [Tue, 16 Sep 1997 02:31:06 +0000 (02:31 +0000)]
remove one more arc dreg
Stan Shebs [Tue, 16 Sep 1997 02:27:10 +0000 (02:27 +0000)]
Remove/retain old ARC stuff as appropriate
Andrew Cagney [Tue, 16 Sep 1997 02:19:56 +0000 (02:19 +0000)]
Add v850e version of breakpoint. Make v850 breakpoint unique.
Andrew Cagney [Tue, 16 Sep 1997 02:15:55 +0000 (02:15 +0000)]
Add v850e version of breakpoint instruction.
Andrew Cagney [Tue, 16 Sep 1997 02:14:18 +0000 (02:14 +0000)]
Differentiate between a non-zero string and a constant zero field.
Andrew Cagney [Tue, 16 Sep 1997 02:13:45 +0000 (02:13 +0000)]
Install tcl before itcl - stops itcl giving warning about bad tcl
installation.
Jim Wilson [Tue, 16 Sep 1997 01:45:23 +0000 (01:45 +0000)]
* simops.c (Multiply64): Don't store into register zero.
Nick Clifton [Tue, 16 Sep 1997 01:34:03 +0000 (01:34 +0000)]
Added checking of instructions against target cpu.
Nick Clifton [Tue, 16 Sep 1997 01:29:02 +0000 (01:29 +0000)]
Add initialisation of the processors field of the v850_opcode structure.
Nick Clifton [Tue, 16 Sep 1997 01:27:48 +0000 (01:27 +0000)]
Added new field to v850_opcode structure.
Bob Manson [Tue, 16 Sep 1997 00:46:12 +0000 (00:46 +0000)]
* gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
the testcase.
Andrew Cagney [Mon, 15 Sep 1997 23:09:26 +0000 (23:09 +0000)]
For instructions moved into v850.igen was computing (wrong) NIA when
this wasn't needed.
Andrew Cagney [Mon, 15 Sep 1997 22:40:14 +0000 (22:40 +0000)]
* igen.c (gen_run_c): Handle non-multi-sim case.
Gavin Romig-Koch [Mon, 15 Sep 1997 21:45:20 +0000 (21:45 +0000)]
* gas/config/tc-mips.c (mips_1900): Replace with mips_3900 and
mips16.
* gas/testsuite/gas/mips/mips.exp: Handle r3900 and r1900.
* gas/testsuite/gas/mips/ld-ilocks: New file.
* gcc/config/mips/mips.h, gcc/config/mips/r1900.h: Implement r1900
as r3900 with mips16.
Mark Alexander [Mon, 15 Sep 1997 21:06:16 +0000 (21:06 +0000)]
* dbxread.c (MSYMBOL_SIZE): New macro.
(end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol.
* elfread.c (elf_symtab_read): If ELF symbol is "special",
such as a MIPS16 function, mark minimal symbol as special too.
* mips-tdep.c (pc_is_mips16): New function to check whether
a function is MIPS16 by looking at the minimal symbol. Use
pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro.
* config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL,
MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing
"special" MIPS16 bit in ELF and minimal symbols.
* mdebugread.c (parse_partial_symbols): Don't construct a partial
symbol table for a file that already has one.
start-sanitize-tx19
* configure.tgt: Support TX19.
* config/mips/tm-tx19.h, config/mips/tm-tx19l.h, config/mips/tx19.mt,
config/mips/tx19l.mt: New files for TX19.
end-sanitize-tx19
Ken Raeburn [Mon, 15 Sep 1997 18:43:44 +0000 (18:43 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 18:26:17 +0000 (18:26 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 16:43:43 +0000 (16:43 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 16:38:29 +0000 (16:38 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 16:27:23 +0000 (16:27 +0000)]
merge from d30v-970225-branch
Andrew Cagney [Mon, 15 Sep 1997 14:42:51 +0000 (14:42 +0000)]
Fix sanitization for v850 V v850e V v850eq
Andrew Cagney [Mon, 15 Sep 1997 08:25:04 +0000 (08:25 +0000)]
Update to reflect change to sim/common/aclocal.m4 (allow sim/common
directory to specify its own unqiue config.h file).
Andrew Cagney [Mon, 15 Sep 1997 08:21:04 +0000 (08:21 +0000)]
Fix sanitization.
Andrew Cagney [Mon, 15 Sep 1997 08:18:20 +0000 (08:18 +0000)]
For v850eq start up with US bit set.
Let sim_analyze_program determine the architecture.
Fix various sanitizations.
Andrew Cagney [Mon, 15 Sep 1997 08:14:11 +0000 (08:14 +0000)]
Fix v850 sanitization.
Andrew Cagney [Mon, 15 Sep 1997 08:11:50 +0000 (08:11 +0000)]
Determine ARCHITECTURE from program if possible.
Rename common's generated config.h to cconfig.h.
Andrew Cagney [Mon, 15 Sep 1997 08:02:23 +0000 (08:02 +0000)]
* callback.c (os_write): divert stdout and stderr to their
respective hooks.
Geoffrey Noer [Mon, 15 Sep 1997 03:55:59 +0000 (03:55 +0000)]
Sun Sep 14 20:53:42 1997 Geoffrey Noer <noer@cygnus.com>
* config/mh-cygwin32: ok to build split texinfo files
Peter Schauer [Sat, 13 Sep 1997 15:34:44 +0000 (15:34 +0000)]
* mdebugread.c (parse_symbol, handle_psymbol_enumerators): Handle
yet another variant of enumerator debugging info, used by DU 4.0
native cc.
Peter Schauer [Sat, 13 Sep 1997 15:02:36 +0000 (15:02 +0000)]
* ChangeLog: Fix misspelled `end-sanitize-r5900' for Jun 26
ChangeLog entry.
Peter Schauer [Sat, 13 Sep 1997 14:46:36 +0000 (14:46 +0000)]
* ChangeLog: Fix duplicate `start-sanitize-r5900' around
Jul 28 ChangeLog entry.
Bob Manson [Sat, 13 Sep 1997 00:08:05 +0000 (00:08 +0000)]
* lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
exists, reload the executable and do a "continue" instead of
doing a jump.
(runto_main): Use gdb_step_for_stub.
* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
tests to have unique names.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
similar tests.
* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
* gdb.c++/cplusfuncs.cc: Ditto.
* gdb.c++/virtfunc.cc: Ditto.
* config/monitor.exp: Keep track of the last file we saw, rather
than trying to get the info from gdb.
* gdb.fortran/types.exp: Move comment to previous line.
Fixes for TCL8 miscellaneous problems, plus other changes.
Bob Manson [Sat, 13 Sep 1997 00:07:21 +0000 (00:07 +0000)]
* lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
exists, reload the executable and do a "continue" instead of
doing a jump.
(runto_main): Use gdb_step_for_stub.
* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
tests to have unique names.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
similar tests.
* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
* gdb.c++/cplusfuncs.cc: Ditto.
* gdb.c++/virtfunc.cc: Ditto.
* config/monitor.exp: Keep track of the last file we saw, rather
than trying to get the info from gdb.
* gdb.fortran/types.exp: Move comment to previous line.
Fixes for TCL8 miscellaneous problems.
Geoffrey Noer [Fri, 12 Sep 1997 23:21:33 +0000 (23:21 +0000)]
Fri Sep 12 16:19:20 1997 Geoffrey Noer <noer@cygnus.com>
* configure.in: remove bison from noconfigdirs for Cygwin32 host
Nick Clifton [Fri, 12 Sep 1997 18:41:26 +0000 (18:41 +0000)]
Improved display of register lists.
Andrew Cagney [Fri, 12 Sep 1997 05:56:38 +0000 (05:56 +0000)]
Check reserved bits before executing instructions.
Make v850[eq] the the default simulator.
Report illegal instructions.
Include v850e instructions in v850eq.
Andrew Cagney [Fri, 12 Sep 1997 03:13:27 +0000 (03:13 +0000)]
v850eq wasn't building igen directory.
Andrew Cagney [Fri, 12 Sep 1997 02:44:03 +0000 (02:44 +0000)]
Add profiling support to v850*.
Andrew Cagney [Fri, 12 Sep 1997 02:29:04 +0000 (02:29 +0000)]
Short form of sample-size option had wrong value.
Andrew Cagney [Fri, 12 Sep 1997 02:27:22 +0000 (02:27 +0000)]
v850* wants igen
Andrew Cagney [Fri, 12 Sep 1997 02:26:31 +0000 (02:26 +0000)]
Generate instruction profile call with each instruction.
David Edelsohn [Fri, 12 Sep 1997 00:41:47 +0000 (00:41 +0000)]
* sparc-opc.c (sparc_opcodes): Fix assembler args to
fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s,
fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s,
fandnot1s, fandnot2s.
Martin Hunt [Thu, 11 Sep 1997 05:32:23 +0000 (05:32 +0000)]
Wed Sep 10 22:30:24 1997 Martin M. Hunt <hunt@cygnus.com>
* interp.c (sim_resume): Increment PC at end of rep
loop.
* simops.c (OP_4201): Fix rachi instruction.
Andrew Cagney [Wed, 10 Sep 1997 23:50:32 +0000 (23:50 +0000)]
mips/sim_info was just returning?????
Andrew Cagney [Wed, 10 Sep 1997 22:47:12 +0000 (22:47 +0000)]
o Wordwrap usage messages from sim-options
o Clarify how to use alias options
o use in sim-watch (better usage message)
o Don't pass something on the stack into the
watch-point interrupt hander.
Nick Clifton [Wed, 10 Sep 1997 22:15:31 +0000 (22:15 +0000)]
Removed spurious error return.
Andrew Cagney [Wed, 10 Sep 1997 22:07:06 +0000 (22:07 +0000)]
(gen_itable_h): Output an enum defining the max size of the itable
string members.
Bob Manson [Wed, 10 Sep 1997 22:02:40 +0000 (22:02 +0000)]
* *.exp: The end-all be-all of quoting fixes. Ha.
At least I hope so.
Nick Clifton [Wed, 10 Sep 1997 21:00:03 +0000 (21:00 +0000)]
Fixed sanitization
Nick Clifton [Wed, 10 Sep 1997 17:05:00 +0000 (17:05 +0000)]
Added v850 emulation.
Ian Lance Taylor [Wed, 10 Sep 1997 15:25:25 +0000 (15:25 +0000)]
remove mentions of ARC
Andrew Cagney [Wed, 10 Sep 1997 05:55:15 +0000 (05:55 +0000)]
New function: bfd_arch_list cf bfd_target_list.
Make bfd_default_scan (arch) more flexable in its match of name to arch,
remove some of the dead code.
Andrew Cagney [Wed, 10 Sep 1997 05:40:04 +0000 (05:40 +0000)]
Have trace_input, trace_output use sim-trace for IO.
Felix Lee [Wed, 10 Sep 1997 05:20:37 +0000 (05:20 +0000)]
* inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
with sim/common.
* configure.in: check for sys/param.h
* compile.c: #ifdef HAVE_SYS_PARAM_H.
#define SIGTRAP for wingdb.
(sim_resume): poll keyboard at least once per call.
(sim_resume): use host_callback instead of printf for syscall
output.
Andrew Cagney [Wed, 10 Sep 1997 05:16:34 +0000 (05:16 +0000)]
Add option architecture-info to list supported architectures.
Gavin Romig-Koch [Wed, 10 Sep 1997 04:53:18 +0000 (04:53 +0000)]
Support tx19 sanitation.
Felix Lee [Wed, 10 Sep 1997 04:46:37 +0000 (04:46 +0000)]
* sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
illegal zero-sized array.
* sim-core.c (sim_core_xor_read_buffer): same.
Felix Lee [Wed, 10 Sep 1997 03:52:48 +0000 (03:52 +0000)]
* interp.c (sim_resume): poll_quit() at least once per call;
otherwise gdb can loop sim_resume() uninterruptably.
Felix Lee [Wed, 10 Sep 1997 03:48:37 +0000 (03:48 +0000)]
* config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a.
otherwise link command line is too long.
David Edelsohn [Wed, 10 Sep 1997 00:30:45 +0000 (00:30 +0000)]
arc port no longer sanitized
David Edelsohn [Wed, 10 Sep 1997 00:30:05 +0000 (00:30 +0000)]
arc port no longer sanitized.
David Edelsohn [Wed, 10 Sep 1997 00:25:16 +0000 (00:25 +0000)]
Remove arc sanitization.
David Edelsohn [Wed, 10 Sep 1997 00:24:09 +0000 (00:24 +0000)]
ARC port no longer sanitized.
David Edelsohn [Wed, 10 Sep 1997 00:16:08 +0000 (00:16 +0000)]
* Makefile.am (CPU_TYPES): Add arc.
(TARGET_CPU_CFILES): Add tc-arc.c.
(TARGET_CPU_HFILES): Add tc-arc.h.
(dependencies): Rebuild.
* Makefile.in: Rebuild.
David Edelsohn [Wed, 10 Sep 1997 00:00:04 +0000 (00:00 +0000)]
Remove arc sanitization.
Nick Clifton [Tue, 9 Sep 1997 23:54:40 +0000 (23:54 +0000)]
Correcte dscription of hi() reloc prefix. Added description of hi0() reloc prefix.
Jeff Law [Tue, 9 Sep 1997 23:53:37 +0000 (23:53 +0000)]
* symtab.c, dbxread.c, stabsread.c: Fix up ANSI-C isms. Fix
some formatting problems.
Nick Clifton [Tue, 9 Sep 1997 23:52:39 +0000 (23:52 +0000)]
Do not complain if an R_V850_LO16 reloc has bit 15 set.
David Edelsohn [Tue, 9 Sep 1997 23:49:45 +0000 (23:49 +0000)]
Remove arc sanitization.
David Edelsohn [Tue, 9 Sep 1997 23:47:12 +0000 (23:47 +0000)]
Misc. changes I had lying around.
Jeff Law [Tue, 9 Sep 1997 23:40:44 +0000 (23:40 +0000)]
* symtab.c (lookup_block_symbol): Add missing PARAMS for
function scoped prototype.
Nick Clifton [Tue, 9 Sep 1997 23:13:26 +0000 (23:13 +0000)]
Added documentation if hilo() reloc prefix.
Nick Clifton [Tue, 9 Sep 1997 23:12:59 +0000 (23:12 +0000)]
Add new holio() reloc prefix.
David Edelsohn [Tue, 9 Sep 1997 18:20:57 +0000 (18:20 +0000)]
* nltvals.def: Regenerate.
Nick Clifton [Tue, 9 Sep 1997 17:41:55 +0000 (17:41 +0000)]
Added documentation for new command line options and pseudo ops.
Nick Clifton [Tue, 9 Sep 1997 17:20:41 +0000 (17:20 +0000)]
Fixed buglet displaying machine architecture.