Ian Carmichael [Wed, 28 Jan 1998 02:04:32 +0000 (02:04 +0000)]
* Very, very early support for vu1 based on sce code.
* Modified Files:
* ChangeLog Makefile.in hardware.c vu1.c vu1.h
* Added Files:
* libvpe.c libvpe.h vpe.h vu.h
Doug Evans [Tue, 27 Jan 1998 22:17:11 +0000 (22:17 +0000)]
* tc-txvu.c (*): Update to use handle new arguments for
parse/insert/extract/print handlers.
({encode,decode}_fixup_reloc_type): New function.
(assemble_pke): Write out insn after parsing it.
Doug Evans [Tue, 27 Jan 1998 22:08:19 +0000 (22:08 +0000)]
* txvu.h (txvu_{opcode,operand}): New typedefs.
(txvu_operand): Add opcode,operand,mods arguments consistently to
each of the parse/insert/extract/print routines.
Ian Lance Taylor [Tue, 27 Jan 1998 18:35:53 +0000 (18:35 +0000)]
Tue Jan 27 13:32:01 1998 Robert Lipe <[email protected]>
* configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
(i386-*-sco3.2v5*coff): New target.
(i386-*-sco3.2*): New target.
* configure: Rebuild.
* listing.c (MAX_BYTES): Use listing variables not constants.
(data_buffer): No longer an array, but a pointer.
(calc_hex): sizeof(data_buffer) -> MAX_BYTES.
(listing_listing): Allocate data_buffer.
Doug Evans [Tue, 27 Jan 1998 00:32:01 +0000 (00:32 +0000)]
* tc-txvu.c: First pass at dma/pke/gpuif support.
(assemble_one_insn): Renamed from assemble_insn.
Initialize errmsg = NULL before calling parse fn.
(fixups,fixup_count): Make static globals.
Doug Evans [Tue, 27 Jan 1998 00:27:54 +0000 (00:27 +0000)]
* txvu-dis.c (print_insn): Extract/print fns take pointer to
insn now and not insn itself.
* txvu-opc.c: insert/extract/print fns take pointer to
insn now and not insn itself. Add initial dma,pke,gpuif support.
Parse fn no longer needs to set errmsg = NULL for success.
Doug Evans [Tue, 27 Jan 1998 00:21:03 +0000 (00:21 +0000)]
* txvu.h (txvu_opcode): insert/extract/print take pointer to
instruction rather than instruction itself. Result of insert is
`void'. Add decls for dma, pke, gpuif support.
Martin Hunt [Sun, 25 Jan 1998 08:56:08 +0000 (08:56 +0000)]
Sat Jan 24 23:52:08 1998 Martin M. Hunt <[email protected]>
* 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.
Martin Hunt [Sun, 25 Jan 1998 08:53:37 +0000 (08:53 +0000)]
Sat Jan 24 23:44:43 1998 Martin M. Hunt <[email protected]>
* 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.
Doug Evans [Sat, 24 Jan 1998 02:47:35 +0000 (02:47 +0000)]
* 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.
Mark Alexander [Sat, 24 Jan 1998 00:52:54 +0000 (00:52 +0000)]
* 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.
Keith Seitz [Fri, 23 Jan 1998 20:54:35 +0000 (20:54 +0000)]
* 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.
Fred Fish [Fri, 23 Jan 1998 15:44:12 +0000 (15:44 +0000)]
* 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.
Doug Evans [Fri, 23 Jan 1998 10:06:43 +0000 (10:06 +0000)]
* 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.
Fred Fish [Thu, 22 Jan 1998 22:13:07 +0000 (22:13 +0000)]
* 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.
Fred Fish [Thu, 22 Jan 1998 21:51:31 +0000 (21:51 +0000)]
* 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.
Ian Lance Taylor [Thu, 22 Jan 1998 05:02:50 +0000 (05:02 +0000)]
* 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.