Commit graph

20253 commits

Author SHA1 Message Date
Andrew Cagney
a276b6f057 Clean up tracing for Bcond & jmp insns.
Fix computation of disp16 and disp22.
Clean up tracing of sld* insns.
1997-09-19 06:39:21 +00:00
Andrew Cagney
4410c4b925 Correctly locate `_' in generated names. 1997-09-19 04:41:01 +00:00
Andrew Cagney
bd4c35cc6d Fix cmov immed. 1997-09-19 02:20:02 +00:00
Andrew Cagney
1379884be1 Correct ordering of args for cmov insn. 1997-09-19 02:16:41 +00:00
David Edelsohn
945229abcd Update sparc -A/-xarch docs. 1997-09-19 01:06:57 +00:00
David Edelsohn
2b09622a0d * config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
(default_arch,default_init_p,sparc_arch_table): New static locals.
	(sparc_arch_size): New static local.
	(max_architecture): Initialize in init_default_arch.
	(md_parse_options): Call init_default_arch if necessary.
	Rewrite -xarch/-A processing.
	(md_show_usage): Print -A values from sparc_arch_table.
	(md_begin): Call init_default_arch if necessary.
	(sparc_md_end): Handle both 32 and 64 bit environments.
	* config/tc-sparc.h (TARGET_FORMAT): Likewise.
	* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
	(DEFAULT_ARCH): Add.
	* config.in: Regenerate.
	* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
	(SPARC_V9,SPARC_ARCH64): Delete.
	* configure: Regenerate.
	* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
1997-09-19 00:57:16 +00:00
Andrew Cagney
6a4c8f1e29 Change semantic function name to semantic_<INSN>_<FMT> instead of
semantic_<FMT>_<INSN>.
1997-09-19 00:50:24 +00:00
Andrew Cagney
60fe0e06a8 Fix cmov insn. 1997-09-19 00:50:19 +00:00
Nick Clifton
46ad7d6ccb Reset processor mask if specified by command line switch 1997-09-19 00:43:54 +00:00
David Edelsohn
4a56e55061 * gas/sparc/splet.d: Update to new objdump output format.
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise.
	* gas/sparc/set64.[ds]: New testcase.
	* gas/sparc/splet-2.[ds]: New testcase.
	* gas/sparc/sparc.exp: Run them.
1997-09-18 23:45:12 +00:00
David Edelsohn
33472d2c4d * gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Update to new
objdump output format.
	* gas/sparc/set64.[ds]: New testcase.
	* gas/sparc/splet-2.[ds]: New testcase.
	* gas/sparc/sparc.exp: Run them.
1997-09-18 23:44:43 +00:00
Nick Clifton
2b36e4c294 Oops - fixed typos in previous delta. 1997-09-18 23:15:05 +00:00
Andrew Cagney
2d292cc8f7 Allow tk, tcl, itcl et.al. to be built with a canadian cross. 1997-09-18 22:50:58 +00:00
Nick Clifton
6df3c45f79 Proced error messages when special data are relocations are used on
instructions which do not support them.
1997-09-18 22:16:18 +00:00
Nick Clifton
55e6f0bf32 Improved error message to include symbol's name. 1997-09-18 22:02:06 +00:00
David Edelsohn
af6f39b4c4 * config/tc-sparc.c: Reorganize file.
(SPECIAL_CASE_NONE): New macro.
	(md_assemble): Use it.
1997-09-18 21:12:06 +00:00
Nick Clifton
920b87c437 Added code to cope with a constant offset to a ZDA relocation. 1997-09-18 21:09:14 +00:00
David Edelsohn
90a579fafd * config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names. 1997-09-18 18:25:50 +00:00
David Edelsohn
6d70d47fb7 * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr. 1997-09-18 18:23:30 +00:00
David Edelsohn
71bb7df45d * gas/sparc/splet.d: Update to new objdump output format. 1997-09-18 18:18:22 +00:00
David Edelsohn
01dae9e24c Remove arc sanization. 1997-09-18 18:17:07 +00:00
David Edelsohn
bdb836d160 Remove arc sanitization. 1997-09-18 18:15:14 +00:00
Felix Lee
3e906c081a sanitization fixes. typoes, missing fences, "start" instead of "end", etc. 1997-09-18 06:03:52 +00:00
Felix Lee
88770c1c90 add missing files. 1997-09-18 04:56:22 +00:00
Felix Lee
e1625ed217 v850 files that weren't being removed if !keep-v850 1997-09-18 01:33:24 +00:00
Nick Clifton
00fd8294ca Corrected spelling mistake! 1997-09-18 00:43:19 +00:00
Nick Clifton
936a8f5549 Added support for ctoff() reloc prefix. 1997-09-17 23:55:26 +00:00
Nick Clifton
9420c20ac4 Added support for the call table relocations. 1997-09-17 23:50:21 +00:00
Felix Lee
2001e533ff * sim-main.h (kill): macro was missing args.
(SIGTRAP): define for MSVC.
1997-09-17 23:46:49 +00:00
Nick Clifton
2e6fa283b4 Added support for the call table data area. 1997-09-17 23:45:41 +00:00
Nick Clifton
03d5329244 Added new relocations to handle the call table. 1997-09-17 23:39:04 +00:00
Mark Alexander
2a3b391bbe Fix tx19 sanitization. 1997-09-17 20:59:27 +00:00
Nick Clifton
db1fa6ab26 Catch relocations against non-existant symbols. 1997-09-17 16:52:23 +00:00
Andrew Cagney
8bd89725a7 Test US bit of v850eq.
Loop program for testing interrupt delivery.
1997-09-17 13:46:29 +00:00
Andrew Cagney
a72f8fb439 Clean up more tracing.
FIX interrupt delivery - was zapping PSW before it had been saved.
FIX interrupt return, was one instruction out.
1997-09-17 08:14:23 +00:00
Andrew Cagney
175c6fd375 * 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.
1997-09-17 08:13:07 +00:00
Andrew Cagney
6aead89a5f Fix tracing for: "ctret", "bsw", "hsw"
Fix bugs in: "bsh", "callt", "stsr".
1997-09-17 05:31:00 +00:00
Andrew Cagney
dfa5c0ca02 Define MOVED macro, move sub-bitfield from XXX to YYY. 1997-09-17 05:28:32 +00:00
Andrew Cagney
fc07e279aa More v850 simulator tests. 1997-09-17 05:27:56 +00:00
Bob Manson
f33e31a61a * 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.
1997-09-17 05:24:14 +00:00
Per Bothner
a183753d92 * valops.c (search_struct_field): Search basesclasses in
ascending, not descending order.  Hack to avoid virtual baseclass
	botch for Java interfaces.
1997-09-17 04:28:14 +00:00
Per Bothner
fc655dc202 * 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.
1997-09-17 03:38:30 +00:00
Andrew Cagney
1a6eb36b62 More v850 simulator tests. 1997-09-17 03:31:09 +00:00
Andrew Cagney
b52e58c24f Add/test 8bit bit manipuation macros.
Test LS and MS versions of SEXT macro.
Simplify/test macro returning a single bit.
1997-09-17 03:25:54 +00:00
Per Bothner
e49b476e24 * 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.
1997-09-17 02:57:39 +00:00
Stan Shebs
c77bcbc2f7 * 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.
1997-09-16 23:58:01 +00:00
Andrew Cagney
8603b0f0ff Generic rules for building simple simulator test programs. 1997-09-16 23:57:57 +00:00
Stan Shebs
665ff287fb * 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.
1997-09-16 23:01:29 +00:00
Nick Clifton
714229c39a Further rearrangements of the opcodes. 1997-09-16 22:15:48 +00:00
Ken Raeburn
e9fa596ff2 * d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. (PR 13051) 1997-09-16 21:31:03 +00:00