Commit Graph

21009 Commits

Author SHA1 Message Date
Michael Meissner
629cfff05f Exit status is in r0, not r2 1998-01-26 03:23:55 +00:00
Doug Evans
23e32a7ec6 fix ilw,ilwr,isw,iswr 1998-01-25 23:38:32 +00:00
Doug Evans
17893656c1 checkpoint 1998-01-25 23:34:09 +00:00
Martin Hunt
0776b0b0da Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c: Merge from Foundry branch.
	(TclDebug): New debugging function.
	(gdb_loc): For frames, find address of calling function
	instead of whatever is on the stack (usually the next
	instruction).
	(gdb_listfiles): Takes an optional pathname argument and
	returns an alphabetized list of basenames of files in the
	path.
1998-01-25 08:56:08 +00:00
Martin Hunt
f03cdc5ef4 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
* breakpoint.c (enable_breakpoint): Preserve breakpoint
	disposition when enabling a breakpoint.
	* symtab.c (find_pc_sect_line): If no symbol information
	is found, return correct pc anyway.
1998-01-25 08:53:37 +00:00
Michael Meissner
88f7d309fd If DEBUG has 0x20 set, turn traps into batch debugging 1998-01-25 00:13:19 +00:00
Jeff Law
f2064d2185 * configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
        to the comment.
1998-01-24 08:58:46 +00:00
Doug Evans
42e6567657 * txvu-opc.c:
(parse_dest1,insert_luimm12up6): New functions.
	(txvu_operands): New operands LUIMM12UP6, LDEST1.
	(txvu_lower_opcodes): Clean up pass over table.
	(parse_dotdest1): Fix dest calculation.
	(_parse_sdest): Fix typo.
1998-01-24 02:47:35 +00:00
Doug Evans
70d7bd21d1 * config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
1998-01-24 02:44:02 +00:00
Doug Evans
5032511dce new txvu testcase lower-1 1998-01-24 02:41:41 +00:00
Doug Evans
71e4ba5086 new testcase lower-1 1998-01-24 02:40:00 +00:00
Stan Shebs
9a2e2aba8c * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
ns32k-*-mach3*): Fix file names.
	(i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
	recognition, no source files for these.
	* configure.tgt (powerpc-*-aix4*): Remove config, now identical
	to powerpc-*-aix*.
	* config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
	no longer needed.
1998-01-24 01:34:00 +00:00
Mark Alexander
1a31a33a93 * monitor.c (monitor_write, monitor_readchar): New functions.
* monitor.h (monitor_write, monitor_readchar): Declare.
	* dve3900-rom.c: Add support for fast loading on ethernet connections.
1998-01-24 00:52:54 +00:00
Doug Evans
f62a42d0dc * config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
1998-01-24 00:44:53 +00:00
Doug Evans
fbe2ad4648 * config/tc-txvu.c (assemble_insn): Delete test for !isalpha
after parsing mnemonic.  ASCII operand chars are case insensitive.
1998-01-24 00:44:52 +00:00
Doug Evans
ea32bce773 sanitize m32rx piece of _sim_cpu 1998-01-23 23:03:29 +00:00
Doug Evans
84af43e37d add m32rx sanitization to tconfig.in 1998-01-23 23:01:06 +00:00
Doug Evans
ed6f14718b * Make-common.in (stamp-tvals): New rule.
(targ-vals.h,targ-map.c): Depend on it.
	(clean): Remove stamp-tvals.
1998-01-23 22:22:23 +00:00
Keith Seitz
11f91b2bbc * symfile.c: Define two new hooks for symbol reading: "pre_add_symbol_hook"
and "post_add_symbol_hook". These hooks are called before we begin reading
        symbols, and after we finish.
        (generic_load): Use new symbol reading hooks and get rid of compiler warning.
        * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
        (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
        (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
        (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
        into here to allow its use by others.
        (gdb_loc): Use find_file_in_dir to return the real path to the file
        (or "N/A" if we can't find it).
        * configure.in (TIX_LIB_EXT): Define new variable for those special cases
        when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
        * configure: Regenerate.
1998-01-23 20:54:35 +00:00
Nick Clifton
67f3b91e8b Updated to match latest disassembly results. 1998-01-23 18:32:40 +00:00
Michael Meissner
8831cb01b0 First round of d10v ABI changes 1998-01-23 16:30:08 +00:00
Fred Fish
77636dea0a * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
	(TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
	(d10v_write_fp, d10v_read_fp): Add prototypes.
	* symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
	* symfile.c (simple_overlay_update, simple_overlay_update_1):
	Ignore the size of overlay sections.  This check is redundant anyway.
	* printcmd.c (print_frame_args): Ditto.
	* valops.c (value_fetch_lazy): Ditto.
	* values.c (unpack_long): Ditto.
	* d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
	d10v_init_extra_frame_info): Fix some minor bugs so the finish command
 	works properly.
	(show_regs): Change num1 and num2 types from "long long" to "LONGEST".
	(d10v_read_fp, d10v_write_fp): New functions.
	(d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
	(d10v_push_arguments): Fix for pointers and structs.
	(d10v_extract_return_value): Fix for pointers and chars.
1998-01-23 15:44:12 +00:00
Fred Fish
b7c05d37e2 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
1998-01-23 15:36:12 +00:00
Doug Evans
d1128f738f * txvu-opc.c (txvu_operands, UBC): Add extract entry.
(txvu_operands, UACCDEST): Not a fake operand.
	(txvu_operands, UXYZ): Move parse entry to insert entry.
	(txvu_operands, LVI01): Not a fake operand.
	(txvu_upper_opcodes): Fix spelling of minii instruction.
	(printf_vfreg): Print register number with "%02ld".
	(print_bcftreg): Likewise.
	(print_accdest): Pass `dest' to _print_dest.
	(insert_xyz): Renamed from parse_xyz.
1998-01-23 10:06:43 +00:00
Doug Evans
4b40868e0f add comment. 1998-01-23 10:04:16 +00:00
Doug Evans
904dafb0d3 new br-1 and upper-1 testcases 1998-01-23 09:58:28 +00:00
Doug Evans
012d2cf92e new txvu testcases 1998-01-23 09:54:38 +00:00
Jeff Law
1925ba4949 * config.guess: Add support for Linux/ARM. 1998-01-23 07:29:19 +00:00
Doug Evans
5ff98e006b * config/tc-txvu.c (assemble_insn): Commas moved to opcode table. 1998-01-23 06:01:23 +00:00
Doug Evans
23ded74859 * config/tc-txvu.c (assemble_insn): Commas moved to opcode table. 1998-01-23 05:36:20 +00:00
Richard Henderson
f3da143925 * bfd.c (bfd_get_error_handler): Add orthogonal function.
* bfd-in2.h: Regenerate.
1998-01-23 05:27:42 +00:00
Richard Henderson
31af3ca9f6 * tekhex.c (tekhex_write_object_contents): Check for no symbols.
PR 14422
1998-01-23 05:14:12 +00:00
Doug Evans
ecdf852881 update, lower insn has lower address 1998-01-23 03:15:26 +00:00
Fred Fish
ffeec95486 * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
disassembly function there is a reloc on this line.
1998-01-23 02:37:34 +00:00
Fred Fish
fcd533e09e * d10v-dis.c (PC_MASK): Correct value.
(print_operand): If there's a reloc, don't calculate the
 	address because they could be in different sections.
1998-01-23 02:36:05 +00:00
Fred Fish
962ac80464 * dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly
function there is a reloc on this line.
1998-01-23 02:34:56 +00:00
Nick Clifton
a0f40e47f9 Oopps - forgot to save cgen.h before commiting previous delta. 1998-01-23 01:58:25 +00:00
Nick Clifton
810d9833fb Add prototypes for fixup swapping functions.
Change prototype of cgen_asm_finish_insn to return a char *
1998-01-23 01:57:11 +00:00
Nick Clifton
f7124cf258 Add support for swapping the fixups when insn are swapped. 1998-01-23 01:54:39 +00:00
Nick Clifton
78e95c8c0d Added tests of automatic parallelisation. 1998-01-23 01:45:06 +00:00
Frank Ch. Eigler
d1a18c2f83 - added first batch of PKE code
- PKE memory region registration
- basic R/W operations
- combined pke[01] -> pke
1998-01-23 00:38:10 +00:00
Doug Evans
3b7029b185 * cgen.sh: Rewrite to be like simulator's version.
* Makefile.am (cgen): Update call to cgen.sh.
	* Makefile.in: Regenerate
1998-01-23 00:22:56 +00:00
Mark Alexander
549cf35bf6 Fix sanitization. 1998-01-23 00:19:49 +00:00
Richard Henderson
1361ffbd6b * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
pattern could match.
1998-01-23 00:18:50 +00:00
Ron Unrau
64708c01f5 Add sanitize-sky for txvu stuff. 1998-01-22 23:25:18 +00:00
Ron Unrau
ea4d289e43 Recognize txvu-elf as a target. 1998-01-22 23:22:22 +00:00
Ron Unrau
53cf880935 Allow gdb to recognize txvu-elf as a valid configuration. 1998-01-22 23:19:14 +00:00
Fred Fish
1476759b9c * .cvsignore: Remove *-info and *-install since they match
release-info and mpw-install, which we don't want to just ignore.
1998-01-22 22:48:02 +00:00
Fred Fish
34fddd75fa * gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
	* lib/gdb.exp (gdb_suppress_tests): Disable this function
	pending review of whether it is useful or not.
1998-01-22 22:13:07 +00:00
Fred Fish
cee687386d * interp.c (UMEM_SEGMENTS): New define, set to 128.
(sim_size): Use UMEM_SEGMENTS rather than hardwired constant.
	(sim_close): Reset prog_bfd to NULL after closing it.  Also
	reset prog_bfd_was_opened_p after closing prog_bfd.
	(sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd.
	(sim_create_inferior): Get start address from abfd not prog_bfd.
	(xfer_mem): Do bounds checking on addresses and return zero length
	read/write on bad addresses, rather than aborting.  Prepare to
	be able to handle xfers that cross segment boundaries, but not
	yet implemented.  Only emit debug message when d10v_debug is
	set as well as DEBUG being defined.
1998-01-22 21:51:31 +00:00