Nick Clifton [Thu, 18 Sep 1997 21:09:14 +0000 (21:09 +0000)]
Added code to cope with a constant offset to a ZDA relocation.
David Edelsohn [Thu, 18 Sep 1997 18:25:50 +0000 (18:25 +0000)]
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
David Edelsohn [Thu, 18 Sep 1997 18:23:30 +0000 (18:23 +0000)]
* sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr.
David Edelsohn [Thu, 18 Sep 1997 18:18:22 +0000 (18:18 +0000)]
* gas/sparc/splet.d: Update to new objdump output format.
David Edelsohn [Thu, 18 Sep 1997 18:17:07 +0000 (18:17 +0000)]
Remove arc sanization.
David Edelsohn [Thu, 18 Sep 1997 18:15:14 +0000 (18:15 +0000)]
Remove arc sanitization.
Felix Lee [Thu, 18 Sep 1997 06:03:52 +0000 (06:03 +0000)]
sanitization fixes. typoes, missing fences, "start" instead of "end", etc.
Felix Lee [Thu, 18 Sep 1997 04:56:22 +0000 (04:56 +0000)]
add missing files.
Felix Lee [Thu, 18 Sep 1997 01:33:24 +0000 (01:33 +0000)]
v850 files that weren't being removed if !keep-v850
Nick Clifton [Thu, 18 Sep 1997 00:43:19 +0000 (00:43 +0000)]
Corrected spelling mistake!
Nick Clifton [Wed, 17 Sep 1997 23:55:26 +0000 (23:55 +0000)]
Added support for ctoff() reloc prefix.
Nick Clifton [Wed, 17 Sep 1997 23:50:21 +0000 (23:50 +0000)]
Added support for the call table relocations.
Felix Lee [Wed, 17 Sep 1997 23:46:49 +0000 (23:46 +0000)]
* sim-main.h (kill): macro was missing args.
(SIGTRAP): define for MSVC.
Nick Clifton [Wed, 17 Sep 1997 23:45:41 +0000 (23:45 +0000)]
Added support for the call table data area.
Nick Clifton [Wed, 17 Sep 1997 23:39:04 +0000 (23:39 +0000)]
Added new relocations to handle the call table.
Mark Alexander [Wed, 17 Sep 1997 20:59:27 +0000 (20:59 +0000)]
Fix tx19 sanitization.
Nick Clifton [Wed, 17 Sep 1997 16:52:23 +0000 (16:52 +0000)]
Catch relocations against non-existant symbols.
Andrew Cagney [Wed, 17 Sep 1997 13:46:29 +0000 (13:46 +0000)]
Test US bit of v850eq.
Loop program for testing interrupt delivery.
Andrew Cagney [Wed, 17 Sep 1997 08:14:23 +0000 (08:14 +0000)]
Clean up more tracing.
FIX interrupt delivery - was zapping PSW before it had been saved.
FIX interrupt return, was one instruction out.
Andrew Cagney [Wed, 17 Sep 1997 08:13:07 +0000 (08:13 +0000)]
* sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
trace output.
* sim-core.c (sim_core_signal): When bad access halt simulator
SIGSEGV / SIGBUS instead of aborting.
(signal.h): Include.
* sim-watch.c (sim_watchpoint_install): Handler for watchpoint
options was missing.
Andrew Cagney [Wed, 17 Sep 1997 05:31:00 +0000 (05:31 +0000)]
Fix tracing for: "ctret", "bsw", "hsw"
Fix bugs in: "bsh", "callt", "stsr".
Andrew Cagney [Wed, 17 Sep 1997 05:28:32 +0000 (05:28 +0000)]
Define MOVED macro, move sub-bitfield from XXX to YYY.
Andrew Cagney [Wed, 17 Sep 1997 05:27:56 +0000 (05:27 +0000)]
More v850 simulator tests.
Bob Manson [Wed, 17 Sep 1997 05:24:14 +0000 (05:24 +0000)]
* gdb.base/callfuncs.exp: Fix indentation.
* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
suppress_flag has been set.
(gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
target feature.
Per Bothner [Wed, 17 Sep 1997 04:28:14 +0000 (04:28 +0000)]
* valops.c (search_struct_field): Search basesclasses in
ascending, not descending order. Hack to avoid virtual baseclass
botch for Java interfaces.
Per Bothner [Wed, 17 Sep 1997 03:38:30 +0000 (03:38 +0000)]
* jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.
(push_expression_name): New, to handle expression names.
(push_qualified_expression_name): New, for qualified expression names.
(parse_number): Fix bugs in parsing of non-decimal integers.
* jv-lang.h, jv-lang.c (java_demangle_type_signature): New.
* jv-lang.c (type_from_class): Just use name with java_lookup_class.
(java_link_class_type): Add dummy "class" field.
(java_lookup_type): New.
(evaluate_subexp_java case STRUCTOP_STRUCT): Force to address.
* jv-typeprint.c (java_type_print_base): Don't print "class" field.
Use java_demangle_type_signature to print array class types.
* jv-valprint.c (java_value_print): Preliminary array support.
Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR.
(java_val_print): Move check for object type to java_value_print.
Check for null. Print pointer as @HEXADDR, not 0xHEXADDR.
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.