Jeff Law [Mon, 23 Mar 1998 18:30:16 +0000 (18:30 +0000)]
* ltconfig: Update after libtool/ltconfig.in change for
hpux11.
Doug Evans [Mon, 23 Mar 1998 18:03:15 +0000 (18:03 +0000)]
* dvp.h (vif_operand_datalen_special): Declare.
Doug Evans [Mon, 23 Mar 1998 18:01:04 +0000 (18:01 +0000)]
* dvp-opc.c (vif_operand_datalen_special): New global.
Frank Ch. Eigler [Mon, 23 Mar 1998 16:04:22 +0000 (16:04 +0000)]
* Backing out non-dvp changes from 1998-03-20; ".section text" is not
understood to be the same as ".text" on all ports. The DVP assembler
will resume failing these two tests.
Jeff Law [Mon, 23 Mar 1998 07:46:11 +0000 (07:46 +0000)]
* config/tc-mips.c (validate_mips_insn): Handle r5900 operands.
Elena Zannoni [Sun, 22 Mar 1998 23:02:10 +0000 (23:02 +0000)]
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
merged changes from Foundry (list follows by file/author):
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* ser-unix.c
- Keith Seitz <keiths@onions.cygnus.com>
(wait_for): Don't reset the timeout_remaining for CYGWIN32,
since we now effectively poll the serial port.
Don't reset the current_timeout, either, since this member is used
by hardwire_readchar to track the timeout and call the ui_loop_hook.
(hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
second, update the UI, and loop around doing this until we have hit the real
timeout or we get data or an error. This will allow the UI to stay active
while gdb is "blocked" talking to the target.
- Martin M. Hunt <hunt@cygnus.com>
(wait_for): Do reset current_timeout
because it is only used to keep track of what the
current timeout for the scb is.
* top.c
- Martin M. Hunt <hunt@cygnus.com>
(quit_confirm): Change exit message again
for GUI.
(pc_changed_hook): Add prototype.
- Tom Tromey <tromey@cygnus.com>
(quit_confirm): Added missing `else'.
(quit_confirm): Special-case message if init_ui_hook is
set.
* symtab.c
- Martin M. Hunt <hunt@cygnus.com>
(find_pc_sect_line): If no symbol information
is found, return correct pc anyway.
(find_methods): Comment out an apparently
bogus error message because it messes up Foundry.
* serial.c
- Martin M. Hunt <hunt@cygnus.com>
(_initialize_serial): Add a description of
"set remotelogbase".
* findvar.c
- Martin M. Hunt <hunt@cygnus.com>
(write_register_gen): Add call to
pc_changed_hook if the PC is being changed.
* defs.h
- Martin M. Hunt <hunt@cygnus.com>
(pc_changed_hook): Define.
* command.c
- Martin M. Hunt <hunt@cygnus.com>
(do_setshow_command): If no arguments are supplied,
don't dump core, instead print out an error message.
* breakpoint.c
- Martin M. Hunt <hunt@cygnus.com>
Make set_raw_breakpoint, set_breakpoint_count,
and breakpoint_count non-static so they are accessible from
gdbtk.c.
(enable_breakpoint): Enable breakpoint
with same disposition instead of changing all breakpoints
to donttouch.
* annotate.h
- Keith Seitz <keiths@onions.cygnus.com>
Add declarations for annotation hooks.
* annotate.c
- Keith Seitz <keiths@onions.cygnus.com>
Add hooks: annotate_starting_hook, annotate_stopped_hook,
annotate_signalled_hook, annotate_exited_hook.
(annotate_starting): If hook exists, call it instead.
(annotate_stopped): If hook exists, call it instead.
(annotate_exited): If hook exists, call it instead.
(annotate_signalled): If hook exists, call it instead.
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Merged changes from Foundry: list follows by author:
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
(gdbtk_cleanup): Call ide_interface_deregister_all.
(gdbtk_init): Pass event handle to cleanup.
(TclDebug): Use Tcl_Merge to construct command.
(gdbtk_init): Call ide_create_cygwin_path_command.
- Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdb_set_bp): Set addr_string for bp.
(gdb_get_breakpoint_info): Demangle function
names in breakpoint info.
Include "demangle.h".
(gdb_loc, gdb_listfuncs): Demangle C++
function names.
(gdb_set_bp): Properly quote filename to fix
problems with spaces. Send pc back as a hex string.
(gdb_listfuncs): Remove debugging line.
Turn off some debugging lines.
(breakpoint_notify): Return correct line number.
(gdb_get_breakpoint_info): Return correct line number.
(gdb_set_bp): New function to provide a better way to
set breakpoints.
(gdbtk_readline, gdbtk_readline_begin): Memory
allocated by tcl needs to be freed by Tcl_Free().
(find_file_in_dir): Deleted.
(gdb_find_file_command): Call full_lookup_symtab().
(gdb_listfuncs): Call full_lookup_symtab().
(full_lookup_symtab): New function. Like lookup_symtab
except handles multiple files with the same basename,
full pathnames, and always sets symtab->fullname.
(gdb_loadfile): Call full_lookup_symtab(). Clear
realloc'd memory.
(gdb_loadfile): Don't tag lines without source.
Tag source lines with source_tag.
(gdb_find_file_command, find_file_in_dir):
Rewrite. Now searches symtabs and psymtabs for a match
on the partial or full filename. Returns the full pathname.
(gdb_loadfile): Realloc additional memory
if someone loads in a file with more than 160,000
lines. I don't know if this really works because
I don't have enough memory to test it.
(gdb_sourcelines): Deleted.
(gdb_loadfile): New function. Takes a text widget
and loads it with the contents of a file. Marks
and tags source lines.
(pc_changed): New function.
(get_pc_register): Returns the value of
the PC to GDB.
(gdb_loc): If looking on the stack, return
real pc along with calling source line.
(gdb_loc): Return "" instead of "N/A" if
filename is not found.
(gdb_get_breakpoint_info): Same.
(get_register): For Natural mode, set format to 0.
Minor bugfixes from keiths.
(TclDebug): New function for debugging use.
(gdb_loc): Return correct PC for frames
that are not the innermost frame.
(gdb_listfiles): Rewritten to use object
API. Now takes an optional dirname which will cause
only files in that directory or its subdirectories
to be returned. Now returns basenames instead of
full pathnames.
(gdb_cmd): Set/reset load_in_progress flag.
(call_wrapper): Don't pop up dialog for errors in
downloads; just abort download.
(gdbtk_load_hash): Set return value correctly.
- Keith Seitz <keiths@onions.cygnus.com>
* gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
called by routines which might block, allowing us to update the GUI.
(gdbtk_wait): Move timer calls to annotation hooks.
(gdbtk_init): Define the annotation hooks.
(gdbtk_annotate_starting): New function for cygwin32 hosts.
(gdbtk_annotate_stopped): New function for cygwin32 hosts.
(gdbtk_annotate_exited): New function for cygwin32 hosts.
(gdbtk_annotate_signalled): New function. for cygwin32 hosts.
(gdbtk_init): Use gdbtk_print_frame_info hook.
(gdbtk_print_frame_info): New function which sets current_source_symtab
based on the given symtab and line info.
(gdb_immediate_command): New function which does
not buffer any
output. (Contrast to gdb_cmd.)
(gdb_prompt_command): New function to return gdb's prompt.
(find_file_in_dir): New functon which searches source paths
for a given filename.
(gdb_find_file): New function which returns path to given file -- uses
find_file_in_dir.
(gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
"gdb_prompt"
commands into interpreter.
- Ian Lance Taylor <ian@cygnus.com>
* gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
variable.
(gdb_cmd): If __CYGWIN32__, if executing the load command, call
gdbtk_start_timer and gdbtk_stop_timer.
(call_wrapper): If __CYGWIN32__, if the timer is going, turn it
off. Clear load_in_progress.
(x_event): If load_in_progress, quit if download_cancel_ok.
(gdbtk_start_timer): Set gdbtk_timer_going.
(gdbtk_stop_timer): Clear gdbtk_timer_going.
(gdbtk_wait): Call x_event.
(gdbtk_init): Call ide_create_win_grab_command if
__CYGIN32__.
(gdb_clear_file): Clear stop_pc.
Andrew Cagney [Sun, 22 Mar 1998 22:33:34 +0000 (22:33 +0000)]
New function hw_strdup() - use memory tied to hw device.
Tidy up hw-properties error messages.
New device dv-glue.c (copied from ../ppc/hw_glue.)
Only attach a port after a devices initialization has finished.
Jeff Law [Sun, 22 Mar 1998 20:17:34 +0000 (20:17 +0000)]
* config/tc-mips.c (append_insn): Handle BFD_RELOC_MIPS16_S3.
(mips_ip): Handle 'O' operand.
(md_apply_fix): Handle BFD_RELOC_MIPS16_S3.
Jeff Law [Sun, 22 Mar 1998 20:01:56 +0000 (20:01 +0000)]
* elf32-mips.c (R_MIPS15_S3): New relocation type.
(elf_mips_howto_table): Add R_MIPS15_S3.
(mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3.
* reloc.c (BFD_RELOC_MIPS15_S3): New relocation type.
* bfd-in2.h, libbfd.h: Rebuilt.
Jeff Law [Sun, 22 Mar 1998 19:56:37 +0000 (19:56 +0000)]
* vu0.h (vcallms): Use 'O' for call target operand.
* mips-dis.c (print_insn_arg): Handle 'O'.
Andrew Cagney [Sun, 22 Mar 1998 05:51:57 +0000 (05:51 +0000)]
Fix typos: Setting trace in wrong function, ME vs HW.
Andrew Cagney [Sun, 22 Mar 1998 05:49:30 +0000 (05:49 +0000)]
Copy function ../ppc/device_table.c:generic_device_init_address() to
hw-base.c:do_hw_attach_regs(). Use in dv-pal.
Add hw_tree_delete to hw-tree.c.
Andrew Cagney [Sun, 22 Mar 1998 05:33:41 +0000 (05:33 +0000)]
Add function hw_trace() and macro HW_TRACE - provides trace support
for HW devices.
Andrew Cagney [Sun, 22 Mar 1998 05:06:27 +0000 (05:06 +0000)]
Add hw_{malloc,zalloc,free} functions to hw_device. Any memory
allocated using these functions is reclaimed when the corresponding
device is deleted.
Andrew Cagney [Sun, 22 Mar 1998 04:18:52 +0000 (04:18 +0000)]
Replace *attach_address() arguments SPACEMASK:ADDR with SPACE:ADDR.
Add notes to hw-device.h that discuss the interpretation of SPACE:ADDR
on a BUS.
Frank Ch. Eigler [Sat, 21 Mar 1998 00:29:55 +0000 (00:29 +0000)]
* Updated DVP test case to match new alignment code that was checked in two
nights ago. Patched other two test cases to explicitly specify the ".text"
segment for tests since the DVP assembler defaults to ".vutext".
Ian Lance Taylor [Sat, 21 Mar 1998 00:27:12 +0000 (00:27 +0000)]
* Makefile.in: Rebuild with automake 1.2e.
* aclocal.m4, configure: Rebuild with libtool 1.2.
Ian Lance Taylor [Sat, 21 Mar 1998 00:16:42 +0000 (00:16 +0000)]
* aclocal.m4, configure: Rebuild with libtool 1.2.
Ian Lance Taylor [Fri, 20 Mar 1998 23:55:49 +0000 (23:55 +0000)]
* configure.in: Use AM_DISABLE_SHARED.
* aclocal.m4, configure: Rebuild with libtool 1.2.
Ian Lance Taylor [Fri, 20 Mar 1998 23:48:23 +0000 (23:48 +0000)]
* configure.in: Use AM_DISABLE_SHARED.
* aclocal.m4, configure: Rebuild with libtool 1.2.
Michael Snyder [Fri, 20 Mar 1998 23:33:28 +0000 (23:33 +0000)]
Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdbserver/Makefile.in: add dependency on XM_CLIBS.
* gdbserver/low-sim.c (registers) force into alignment.
(create_inferior): Fix typo on new_argv; add abfd arg to
sim_open, sim_create_inferior. Add reg_size arg to
sim_fetch_register, sim_store_register. Make simulator
take a single-step to get into a known running state.
* gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
* gdbserver/server.c: Add remote_debug variable to control
debug output.
* gdbserver/server.h: Add prototypes for enable/disable_async_io.
* gdbserver/remote-utils.c: add verbose debugging output controlled
by "remote_debug" variable. Add call to "disable_async_io()"
to avoid being killed by async SIGIO signals.
* config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
so that gdbserver can be built with the m32r simulator.
Jeff Law [Fri, 20 Mar 1998 22:56:01 +0000 (22:56 +0000)]
Sanitize away vu0 stuff unless --keep-r5900.
James Lemke [Fri, 20 Mar 1998 22:51:39 +0000 (22:51 +0000)]
Added DMAC unit test cases.
Frank Ch. Eigler [Fri, 20 Mar 1998 22:12:06 +0000 (22:12 +0000)]
* Monster bug fixes & improvements from the last two days' demo-testing work.
* sky-pke.h (pke_fifo*): Exported these formerly private functions.
(pke_device): Added FIFO cache fields.
* sky-pke.c (pke_fifo_reset): New function for GPUIF client -
clear FIFO contents.
(pke_pcrel_fifo): Added caching facility to prevent O(n^2) cost for
searching for consecutive operand words.
* sky-libvpe.c (MEM, uMEM): New/changed macros that perform modulo
calculations to handle out-of-range VU memory addresses.
(*): Replaced many previous uses of MEM[] and state->uMEM[] with
calls to above macros.
* sky-vu.h (struct VectorUnitState): Added qw/dw size fields for
MEM/uMEM buffers, for overflow prevention. Renamed MEM/uMEM fields
to catch all their prior users.
* sky-vu0.c (vu0_attach): Manually align MEM0/MEM1 buffers to force
16-byte alignment. (zalloc is not enough.)
* sky-vu1.c (vu1_attach): Ditto.
(init_vu): Store buffer sizes from allocation into VectorUnitState.
* sky-gpuif.h (GifPath): Use a pke_fifo strucf instead of
temporary fixed-size array for flexible FIFO sizing.
* sky-gpuif.c (SKY_GPU2_REFRESH): This is now an integer value to be
used as a modulus for periodic refresh.
(refresh): New function to send GPU2 refresh code periodically.
(*): Use pke_fifo calls to en/dequeue GPUIF tags & operands.
* sky-pke.h (struct pke_device): Added fields to allow caching of
results from recent FIFO searches.
Nick Clifton [Fri, 20 Mar 1998 19:28:48 +0000 (19:28 +0000)]
Fixes for PR15358 and 15373
Jeff Law [Fri, 20 Mar 1998 16:04:15 +0000 (16:04 +0000)]
* config/tc-mips.c: Change '%' to '#' in r5900 code to avoid conflict
with vr5400 support.
Jeff Law [Fri, 20 Mar 1998 16:01:43 +0000 (16:01 +0000)]
* mips-dis.c: Change '%' to '#' to avoid conflict with vr5400
support.
* vu0.h: Likewise.
Richard Henderson [Fri, 20 Mar 1998 10:28:55 +0000 (10:28 +0000)]
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert
part of Feb 22 change controling when to override the existing
symbol with the .plt entry.
Andrew Cagney [Fri, 20 Mar 1998 07:50:33 +0000 (07:50 +0000)]
Add builtin explicitly sized 8, 16, 32, 64 and 128 bit int and
unsigned types.
Specify size of r5900 FSR using 32 bit unsigned type.
Correctly format mips registers when some are not 64 bits in size
Check that REGISTER_{RAW,VIRTUAL}_SIZE are consistent when the target
specifies that no conversion is needed when moving from one to the
other.
Nick Clifton [Fri, 20 Mar 1998 00:09:24 +0000 (00:09 +0000)]
Fix for PR15358 (out of range PC relative branches not being caught)
submitted by Jonathan Walton, c/o Tony Thompson at ARM.
Nick Clifton [Thu, 19 Mar 1998 23:51:18 +0000 (23:51 +0000)]
Patches for PR15356 courtesy of Tony Thompson at ARM.
Geoffrey Noer [Thu, 19 Mar 1998 23:04:54 +0000 (23:04 +0000)]
Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
* scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
section to avoid copying certain data on fork. The linker used to
include this between __data_start__ and __data_end__, but that
breaks building the cygwin32 dll. The fix is to rename the
section ".data_cygwin_nocopy" and explictly include it after
__data_end__.
Jeff Law [Thu, 19 Mar 1998 21:28:24 +0000 (21:28 +0000)]
* config/tc-mips.c (mips_ip): Handle opcodes which have the form
"name.completer" where only the name is actually in the opcode
table. Allow various operands for base register in load/store
instructions. Handle various new argument characters for the
cop2/vu0 co-processor.
Jeff Law [Thu, 19 Mar 1998 21:16:39 +0000 (21:16 +0000)]
* gas/mips/vu0.s, gas/mips/vu0.d: New testfiles.
* gas/mips/mips.exp: Run vu0 tests.
Jeff Law [Thu, 19 Mar 1998 21:05:23 +0000 (21:05 +0000)]
* vu0.h: New file with cop2/vu0 instructions.
* mips-opc.c: Include vu0.h.
* mips-dis.c (print_insn_arg): Handle new args 0-9, +, -, %, K, &,
J, Q, X, and U.
(print_insn_mips): Do not emit a tab after an instruction if the
first arg is an instruction completer (&). If the next arg is an
escape character (%), then print the next arg verbatim.
* Makefile.am (mips-opc.lo): Depend on vu0.h
Michael Snyder [Thu, 19 Mar 1998 19:35:18 +0000 (19:35 +0000)]
Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* minsyms.c (compare_minimal_symbols): If addresses are identical,
then compare on names. Sorted list should have symbols with
identical addresses AND names adjacent, so dups can be discarded.
Doug Evans [Thu, 19 Mar 1998 18:51:46 +0000 (18:51 +0000)]
* dvp-opc.c (vif_opcodes): Add stcycl.
Doug Evans [Thu, 19 Mar 1998 18:51:19 +0000 (18:51 +0000)]
* gas/dvp/vif-1.[sd]: stcycle -> stcycl.
Jeff Law [Thu, 19 Mar 1998 04:47:59 +0000 (04:47 +0000)]
* stabsread.c (define_symbol): Don't look for ',' as a LRS
indicator.
Frank Ch. Eigler [Wed, 18 Mar 1998 19:33:33 +0000 (19:33 +0000)]
* Changes today consist just of some code hardening.
Frank Ch. Eigler [Wed, 18 Mar 1998 19:02:00 +0000 (19:02 +0000)]
* Added forced 16-byte alignment to a sky-only (tc-dvp) assembler
pseudo-op: `.dmadata'.
Nick Clifton [Wed, 18 Mar 1998 18:36:48 +0000 (18:36 +0000)]
Change type of sys_errlist[] to match definition in /usr/include/errno.h
Nick Clifton [Wed, 18 Mar 1998 17:42:51 +0000 (17:42 +0000)]
Add thumb-pe target.
Nick Clifton [Wed, 18 Mar 1998 17:31:54 +0000 (17:31 +0000)]
Add thumb-pe target.
Nick Clifton [Wed, 18 Mar 1998 17:28:50 +0000 (17:28 +0000)]
Add thumb-pe support
Nick Clifton [Wed, 18 Mar 1998 17:25:57 +0000 (17:25 +0000)]
Add thumb-pe target.
Andrew Cagney [Wed, 18 Mar 1998 04:08:21 +0000 (04:08 +0000)]
Prototype common device framework. Plenty more work to go.
Andrew Cagney [Wed, 18 Mar 1998 02:07:56 +0000 (02:07 +0000)]
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
sim_dv_src in Makefile. Take list of devices as parameter to m4
macro..
* configure: Regenerated to track ../common/aclocal.m4 changes.
Syd Polk [Wed, 18 Mar 1998 01:05:50 +0000 (01:05 +0000)]
Tue Mar 17 17:02:00 PST 1998 Syd Polk <spolk@cygnus.com>
* configure.in Makefile.in
Changed "sn" to "snavigator"
Frank Ch. Eigler [Wed, 18 Mar 1998 00:20:40 +0000 (00:20 +0000)]
* Added --with-sim-gpu2=<path> option for linking SCEI's GPU2 library with
the stand-alone executable.
[in ChangeLog.sky:]
* sky-gpuif.c (call_gs): Call properly into GPU2 library if
configured --with-sim-gpu2. Use SKY_GPU2_REFRESH symbol as
placeholder for future GPU2-refresh policy.
[in ChangeLog:]
* Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
configurable settings for stand-alone simulator.
start-sanitize-sky
* configure.in: Added --with-sim-gpu2 option to specify path of
sky GPU2 library. Triggers -DSKY_GPU2 for sky-gpuif.c, and
links/compiles stand-alone simulator with this library.
* interp.c (MEM_SIZE): Increased default sky memory size to 16MB.
end-sanitize-sky
* configure.in: Added X11 search, just in case.
* configure: Regenerated.
Doug Evans [Tue, 17 Mar 1998 22:19:12 +0000 (22:19 +0000)]
* config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
byte boundary.
Doug Evans [Tue, 17 Mar 1998 22:10:10 +0000 (22:10 +0000)]
* config/tc-dvp.h (TC_START_LABEL): Define.
* config/tc-dvp.c (force_mach_label): New function.
(md_begin,create_colon_label,s_dmadata): Use it.
Doug Evans [Tue, 17 Mar 1998 22:04:22 +0000 (22:04 +0000)]
* gas/dvp/dma-[12].[sd]: New testcases.
* gas/dvp/dvp.exp: Run them.
Ken Raeburn [Tue, 17 Mar 1998 22:01:10 +0000 (22:01 +0000)]
* itbl-lex.l (yywrap): Don't define if already defined as a macro.
Doug Evans [Tue, 17 Mar 1998 21:28:32 +0000 (21:28 +0000)]
* dvp-dis.c (print_dma): Change length from 16 to 8.
Frank Ch. Eigler [Tue, 17 Mar 1998 20:49:50 +0000 (20:49 +0000)]
* Added "t-pke4" test case that I forgot to check in when it was created.
Frank Ch. Eigler [Tue, 17 Mar 1998 20:47:03 +0000 (20:47 +0000)]
* Added the "c_gen.pl" perl script into this directory, so the current
bunch of tests may be run on non-Toronto hosts.
Doug Evans [Tue, 17 Mar 1998 18:51:57 +0000 (18:51 +0000)]
* config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
(assemble_dma): Only output 8 bytes for actual dma insn if dma/vif
packing is enabled. Emit VIF cpu marker after dma insn.
Stan Shebs [Tue, 17 Mar 1998 01:09:27 +0000 (01:09 +0000)]
always keep SH4 support now (& remove an unused variable decl)
Frank Ch. Eigler [Tue, 17 Mar 1998 00:07:19 +0000 (00:07 +0000)]
* Some changes in PKE tests, as per SCEI e-mail. t-pke1 still fails, but
will ignore this until next SCEI clarification.
* tsv308_1.trc: Fixed test case as per SCEI email.
* tsv316_1.trc: Ditto.
* tsv408_1.trc: Same.
* tsv416_1.trc: Again.
* t-pke3.trc: Added more padding to one VU test to widen timing race.
Ken Raeburn [Mon, 16 Mar 1998 21:30:04 +0000 (21:30 +0000)]
import rth alphapca56, alphaev6 fix from egcs
Jeff Law [Mon, 16 Mar 1998 19:07:02 +0000 (19:07 +0000)]
Must have copied the wrong message when creating this file...
Doug Evans [Mon, 16 Mar 1998 18:22:18 +0000 (18:22 +0000)]
* config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.
Andrew Cagney [Mon, 16 Mar 1998 03:44:33 +0000 (03:44 +0000)]
Pass sim_cia cia into trace_prefix()
Doug Evans [Sun, 15 Mar 1998 09:19:59 +0000 (09:19 +0000)]
m32r-opc.h: Regenerate.
Doug Evans [Sun, 15 Mar 1998 05:15:18 +0000 (05:15 +0000)]
* config.in (HAVE_FCNTL_H): Add.
* configure: Regenerate.
* Makefile.in (SIM_OBJS): Add devices.o.
* m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device.
(UART_*): Define m32r serial port parameters.
(M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define.
* m32r.c (device_io_{read,write}_buffer,device_error): Move from here,
* devices.c: To here.
* sim-if.c: Don't include signal.h,sim-core.h.
(sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call.
(sim_resume): Call sim_module_{resume,suspend}.
* m32r.c (m32r_h_cr_{get,set}): Use register number enums.
* tconfig.in (SIM_HANDLES_LMA): Define.
* sim-if.c (do_trap): Result is new pc.
Handle --environment=operating.
* sem-switch.c,sem.c: Regenerate.
start-sanitize-m32rx
* semx.c: Regenerate.
end-sanitize-m32rx
Doug Evans [Sun, 15 Mar 1998 02:43:00 +0000 (02:43 +0000)]
* dv-sockser.c, dv-sockser.h: New files.
* Make-common.in (dv-sockser.o): Add rule for.
* aclocal.m4: Check for fcntl.h.
* config.h: Add HAVE_FCNTL_H.
* sim-break.c (remove_breakpoint): Fix thinko.
* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
Frank Ch. Eigler [Sat, 14 Mar 1998 01:51:03 +0000 (01:51 +0000)]
* Added "test0" test bucket from SCEI. Due to changes in the behavior specs
of PKE, some old test cases had to be modified. There are suspected bugs
in the SCEI test cases too, so "make check" does not run cleanly at present.
* tss*.trc: New files, generated by perl script from
SCEI "test0" bucket.
* tsv*.trc: New files, generated by perl script from SCEI "test0"
bucket. Note that tsv432_0 may obsolete t-pke1.
* Makefile.in (TESTS): Run new scripts.
(check): Bulldoze through failing test cases with "make -k" until
SCEI fixes some of them.
(.run.ok): Increased run-time limit since some test runs can take
several seconds.
Frank Ch. Eigler [Sat, 14 Mar 1998 01:47:06 +0000 (01:47 +0000)]
* PKE testing was driven by SCEI "test0" bucket; code coverage remains
effectively full. The code is believed to be functionally complete now.
Some code cleanup is included at no extra charge in this version.
Fri Mar 13 20:21:57 1998 Frank Ch. Eigler <fche@cygnus.com>
* sky-vu1.c: (dump_mem): Commented out function to satiate
warning-ful compilation.
* sky-pke.c: (pke_reset): New function, called explicitly at
initialization and at FBRST.
(pke_fifo_flush): New function to flush (skip over) existing
quadwords in FIFO.
(pke_fifo_fit): New function to add space for new quadword in
FIFO.
(pke_fifo_access): New function to absolute-index into FIFO.
(pke_fifo_old): New function to remove old quadwords from FIFO.
(pke_begin_interrupt_stall): New function to abstract
interrupt-caused stalls.
(pke_*): Access PKE FIFO only thorugh pke_fifo functions.
(pke_pcrel_*): Renamed pke_pc_* functions.
(pke_code_unpack): Numerous logic tweaks for latest UNPACK
behavior changes & clarifications from SCEI.
* sky-pke.h (struct pke_fifo): New explicit FIFO representation.
(struct pke_device): Use struct above.
(PKE_DEBUG): Removed macro as misnomer.
* sky-hardware.c: Moved *_cmd_install declarations out.
* sky-hardware.h: Moved *_cmd_install declarations in.
Tom Tromey [Sat, 14 Mar 1998 00:27:43 +0000 (00:27 +0000)]
Merged recent change from rembrandt branch
* depend.c (quote_string_for_make): New function.
(wrap_output): Use it.
Jason Molenda [Fri, 13 Mar 1998 23:45:51 +0000 (23:45 +0000)]
Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
when compiling with native cc, the compiler has broken long long
support.
Jason Molenda [Fri, 13 Mar 1998 23:43:05 +0000 (23:43 +0000)]
Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/m68k/xm-sun3os4.h: Remove malloc declarations, they
are handled via autoconf now.
* remote.c (remote_ops, extended_remote_ops): Replace static
forward declaration by moving the static definition to the top of
the file, for old K&R compilers.
* tracepoint.c (collect_symbol, trace_start_command):
Replace ANSI string concatenation with K&R compatible simple string.
Doug Evans [Fri, 13 Mar 1998 22:43:18 +0000 (22:43 +0000)]
* gdb.asm/{Makefile.in,configure.in,configure}: New files.
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
Fred Fish [Fri, 13 Mar 1998 20:39:00 +0000 (20:39 +0000)]
* sim-base.h (struct sim_state_base): Add prog_syms and
define macro STATE_PROG_SYMS.
* sim-trace.c (trace_one_insn): Add variables abfd, symsize,
symbol_count, and asymbols. Call bfd_get_symtab_upper_bound
and bfd_canonicalize_symtab, to get symbol table on first use
and preserve it via STATE_PROG_SYMS for future calls to
bfd_find_nearest_line.
Angela Marie Thomas [Fri, 13 Mar 1998 13:09:32 +0000 (13:09 +0000)]
massive sanitization fixes
Angela Marie Thomas [Fri, 13 Mar 1998 11:03:37 +0000 (11:03 +0000)]
new .Sanitize files
Doug Evans [Fri, 13 Mar 1998 01:36:59 +0000 (01:36 +0000)]
snapshot
Doug Evans [Fri, 13 Mar 1998 00:36:03 +0000 (00:36 +0000)]
regenerate
Doug Evans [Fri, 13 Mar 1998 00:35:09 +0000 (00:35 +0000)]
configure script for gdb.asm, initial source debugging test.
Doug Evans [Fri, 13 Mar 1998 00:28:30 +0000 (00:28 +0000)]
Makefile.in for gdb.asm.
Doug Evans [Fri, 13 Mar 1998 00:25:36 +0000 (00:25 +0000)]
* gdb.asm: New directory.
* configure.in: Configure it.
* configure: Regenerate.
Doug Evans [Fri, 13 Mar 1998 00:22:00 +0000 (00:22 +0000)]
keep gdb.asm
Doug Evans [Fri, 13 Mar 1998 00:17:35 +0000 (00:17 +0000)]
* config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
* config/tc-dvp.c (compute_nloop,check_nloop): New functions.
(gif_insn_frag_loc): New static global.
(assemble_gif): Record frag and location frag of insn.
(md_apply_fix3): Validate user specified nloop if we couldn't do
it earlier.
(s_endgif): Queue fixup to install nloop if we can't compute it here.
Doug Evans [Thu, 12 Mar 1998 17:23:22 +0000 (17:23 +0000)]
* dvp-opc.c (print_dest1): Print dest spec again.
(print_vfreg,print_accdest): Likewise.
Gavin Romig-Koch [Wed, 11 Mar 1998 17:05:20 +0000 (17:05 +0000)]
Sanity for 4320
Andrew Cagney [Wed, 11 Mar 1998 12:18:39 +0000 (12:18 +0000)]
Allow more than just read, write and exec memory spaces in the core
module.
Andrew Cagney [Wed, 11 Mar 1998 11:57:55 +0000 (11:57 +0000)]
* sky-gdb.c (vu_option_handler): Delete unused local unit.
(log_option_handler): Delete extra arg from printf, twice.
* sky-pke.c (config.h): Include.
(string.h, strings.h): Include.
(pke_issue): Delete unused locals imm, num
* sky-libvpe.c: Pacify GCC.
* sky-gpuif.c (gif_io_write_buffer): Pacify GCC.
* sky-dma.c (config.h): Include.
(string.h, strings.h): Include.
(dma_io_read_buffer): Pacify GCC.
(dma_io_write_buffer): Pacify GCC. Initialize pmem before first use.
(do_dma_transfer): Delete unused local variables qwbuf and local.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:21:20 +0000 (21:21 +0000)]
* configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:01:43 +0000 (21:01 +0000)]
* mips-opc.c ("clz","dclz"): Added the 4320 versions.
Gavin Romig-Koch [Tue, 10 Mar 1998 15:37:24 +0000 (15:37 +0000)]
* vr4320.igen (clz,dclz) : Added.
(dmac): Replaced 99, with LO.
Andrew Cagney [Tue, 10 Mar 1998 05:05:44 +0000 (05:05 +0000)]
Delete function sim_stop.
Ken Raeburn [Mon, 9 Mar 1998 21:51:09 +0000 (21:51 +0000)]
remove whitespace triggering Sanitize bug
Doug Evans [Mon, 9 Mar 1998 21:04:28 +0000 (21:04 +0000)]
* sim-base.h (sim_state_base): New member environment.
(STATE_ENVIRONMENT): New macro.
* sim-config.c (current_environment): Delete.
(sim_config_default): New function.
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
(sim_config_default): Add prototype.
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
Set STATE_ENVIRONMENT, not current_environment.
Gavin Romig-Koch [Mon, 9 Mar 1998 20:26:37 +0000 (20:26 +0000)]
* mips-opc.c ("macc*","mul*"): Added the 4320 versions
of these.
Gavin Romig-Koch [Mon, 9 Mar 1998 20:22:45 +0000 (20:22 +0000)]
* mips/vr4320.igen: Mark the insn in here as vr4320 only.
Reorder the insns.
Jim Wilson [Mon, 9 Mar 1998 19:59:52 +0000 (19:59 +0000)]
Patch to fix irix6-x-mips64-elf simulator failures.
* sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
Doug Evans [Sat, 7 Mar 1998 03:22:18 +0000 (03:22 +0000)]
(insert_mpg_marker): New function.
(insert_file): New args insert_marker, size. All callers updated.
(assemble_vif): Rewrite varlen insn handling.
(assemble_vu): Call insert_mpg_marker when 256th insn reached.
(s_enddirect,s_endunpack): Rename arg to internal_p.
Doug Evans [Sat, 7 Mar 1998 01:43:32 +0000 (01:43 +0000)]
(install_vif_length): Second pass at unpack len calcs.
(s_endunpack): Round data up to word boundary.
Doug Evans [Sat, 7 Mar 1998 01:41:44 +0000 (01:41 +0000)]
* dvp-dis.c (print_insn): Print unsigned values in hex.
* dvp-opc.c (insert_vif_wlcl,extract_vif_wlcl): New functions.
(vif_operands): Use them for wl,cl fields.
(state_vif_wl,state_vif_cl): New static locals.
(parse_vif_mode): Handle numeric args.
(vif_unpack_len_value,vif_unpack_len): New functions.
(vif_insn_len): Call vif_unpack_len.
Joern Rennecke [Sat, 7 Mar 1998 00:56:05 +0000 (00:56 +0000)]
Remove SH4 sanitation.