Commit graph

20994 commits

Author SHA1 Message Date
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
Ian Carmichael
34cf4e9aa6 * Incorporate GPR_SET() macro from mips/sim-main.h 1998-01-22 20:48:22 +00:00
Mark Alexander
6720fa27e3 Add dve.exp. 1998-01-22 18:37:04 +00:00
Mark Alexander
ec151a0075 Fix sanitization errors. 1998-01-22 18:23:43 +00:00
Jeff Law
0186b09421 Add forgotten files. 1998-01-22 17:38:05 +00:00
Ian Lance Taylor
3d80840d8d * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
a relocateable link, set the image base to 0, and don't define the
	various symbols.
	* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
	* scripttempl/pe.sc: Swap the .data and .bss sections so that
	.data comes first.  If doing a relocateable link, use
	RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
	sections at 0, and don't define any symbols.
1998-01-22 05:02:50 +00:00
Ian Lance Taylor
f5e23c73d7 * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't
adjust addend for an output common symbol (from Jimmy Blair
 	<jimmyb@wrs.com>).  If COFF_WITH_PE, adjust addend for PC relative
 	defined symbol to counteract adjustment made in generic relocation
 	code.
1998-01-22 04:58:01 +00:00
Ian Lance Taylor
d9dd8f2b2b * ldlang.c (lang_memory_default): Correct parenthisization of
expression.
1998-01-22 03:27:36 +00:00
Ian Lance Taylor
f66ce2ff1a comment fix 1998-01-22 03:18:51 +00:00
Ian Lance Taylor
a1535f42a8 tipoe 1998-01-22 02:32:28 +00:00
Ian Lance Taylor
08c825f94a tipoes 1998-01-22 02:27:29 +00:00
Ian Lance Taylor
44cb13f7e0 Wed Jan 21 21:24:08 1998 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.d: Fix hexadecimal offsets.
1998-01-22 02:25:14 +00:00
Ian Lance Taylor
1bea23ac1e Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
	here; they are included already via sysdep.h.
1998-01-22 02:22:03 +00:00
Ian Lance Taylor
d73400505b * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. 1998-01-22 02:19:35 +00:00
Ian Lance Taylor
bc01e4a2eb * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name.
(GET_SCNDHR_NLNNO): Likewise.
1998-01-22 02:17:53 +00:00
Richard Henderson
cc746b3ed5 * listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
	(file_info): Don't open the file.
	(buffer_line): Check for the file in the last_open cache, updating
	as necessary.
	(print_source): Don't reference file_info->file.
	(listing_listing): Likewise.
	(listing_print): Close the file in the cache, if any.
1998-01-22 00:50:17 +00:00