Commit Graph

23981 Commits

Author SHA1 Message Date
Nick Clifton
025ce5c6d8 Add sanitization for FR30 1998-11-05 17:51:55 +00:00
Frank Ch. Eigler
1995094e7f * r5900 sim test case fix
Thu Nov  5 10:37:40 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

	* t-prot3w.s: Correct test of prot3w insn.
1998-11-05 15:42:02 +00:00
Christopher Faylor
3cee93ac7a * top.c (gdb_readline): Allow CRLF line termination on systems
which define CRLF_SOURCE_FILES.
* win32-nat.c: 1) Add thread support, 2) fix ability to attach to
a running process, and 3) implement limited support for cygwin
signals.
(thread_rec): New function.
(child_add_thread): Ditto.
(child_init_thread_list): Ditto.
(child_delete_thread): Ditto.
(do_child_fetch_inferior_registers): Ditto.
(do_child_store_inferior_registers): Ditto.
(handle_output_debug_string): Ditto.
(child_fetch_inferior_registers): Use do_* function to perform
operation.
(child_store_inferior_registers): Ditto.
(child_continue): Ditto.
(child_thread_alive): Ditto.
(cygwin_pid_to_str): Ditto.
(handle_load_dll): Reorganize, add first attempt at reading
dll names from attached processes.  Change info messages to provide
more information when dll is already loaded.
(handle_exception): Changes mandated by new thread-aware structures.
(child_wait): Track thread creation/destruction.  Handle cygwin
signals.
(child_create_inferior): Ditto.
(child_resume): Ditto.
(child_kill_inferior): Ditto.  Close child process handle to avoid a
handle leak.
(child_ops): Fill out child_ops fields that deal with threads.
* config/i386/tm-cygwin32.h: Declare function and macro needed
for converting a cygwin "pid" to a string.
* config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
sigsetmask is not defined in cygwin.
1998-11-05 14:08:48 +00:00
Christopher Faylor
8015bd27ec * win32-nat.c: Remove obsolete PPC conditionals. 1998-11-05 13:41:40 +00:00
Frank Ch. Eigler
210a903baf * build fix
Thu Nov  5 10:29:42 EST 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.
1998-11-05 09:42:06 +00:00
Andrew Cagney
dd0f610960 PR 16522
Fix RSQRT.S instruction, add test case.
1998-11-05 09:42:05 +00:00
Doug Evans
8de434bf89 * sim-main.h: Delete inclusion of config.h, include sim-basics.h
before cgen-types.h.
	* tconfig.in: Guard against multiple inclusion.
	* cpu.h: Delete decls moved to genmloop.sh.
	* cpux.h: Ditto.
1998-11-05 07:56:02 +00:00
Doug Evans
8c7dc9ffc8 * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
	* cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
	* cgen-sim.h: ... to here.
1998-11-05 07:53:37 +00:00
Nick Clifton
7192be38cc Add support for FR30 1998-11-05 00:41:24 +00:00
Nick Clifton
812ce3a656 Add support for the FR30. 1998-11-05 00:26:25 +00:00
Nick Clifton
4aeed4f292 Added support for FR30 1998-11-05 00:05:50 +00:00
Nick Clifton
1898346aa7 Add support for FR30 1998-11-04 23:58:00 +00:00
Doug Evans
d4df1e3023 add some comments 1998-11-04 19:27:20 +00:00
Keith Seitz
badb1b5196 * v850ice.c (do_gdb): New function.
(ice_stepi): Use do_gdb to step properly.
        (ice_nexti): Use do_gdb to step properly.
        (view_source): Correct call to src window's location for new version.
1998-11-04 01:17:03 +00:00
Jim Wilson
66393f0e7c Fix mn10200 build failure on redhat 5.0 linux.
* c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting
	high_bit to avoid undefined negative shift.
1998-11-03 20:28:12 +00:00
Doug Evans
29e9c76053 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
are 16 bit insns.
PR 18135.
1998-11-03 05:05:58 +00:00
Doug Evans
e35350e414 * gas/m32r/error.exp: New error testcase driver.
* gas/m32r/wrongsize.s: New testcase.
PR 18135.
1998-11-03 05:03:11 +00:00
Doug Evans
7c678e9e63 * gas/m32r/fslot.[sd]: New testcase.
* gas/m32r/m32r.exp: Run it.
	* gas/m32r/fslotx.[sd]: New testcase.
	* gas/m32r/m32rx.exp: Run it.
	* gas/m32r/m32rx.[sd]: Update.
PR 18134.
1998-11-03 04:25:28 +00:00
Ian Lance Taylor
668f52e048 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
* app.c (do_scrub_begin): Set characters above 127 to be symbol
	characters.
	(do_scrub_chars): Add some casts to unsigned char to avoid
	unwanted sign extension.
	* read.c (lex_type): Set characters about 127 to be symbol
	characters.
	* config/tc-i386.c (md_begin): Set identifier_chars and
	operand_chars for values above 127.
1998-11-03 01:16:02 +00:00
Geoffrey Noer
b93f016bf0 Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Check cygwin* instead of cygwin32*.
        * configure: regenerate
1998-11-02 23:28:59 +00:00
Geoffrey Noer
97aacc71ed Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Check cygwin* instead of cygwin32*.
1998-11-02 23:27:41 +00:00
Geoffrey Noer
0d1ca1269d Mon Nov 2 15:19:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: drop "32" from config/mh-cygwin32.  Check
        cygwin* instead of cygwin32*.
        * config.sub: Check cygwin* instead of cygwin32*.
1998-11-02 23:20:51 +00:00
Geoffrey Noer
354a246b25 Mon Nov 2 15:15:33 1998 Geoffrey Noer <noer@cygnus.com>
* mh-cygwin32: delete
        * mh-cygwin: was mh-cygwin32
1998-11-02 23:18:10 +00:00
Geoffrey Noer
c296a05229 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:16:11 +00:00
Geoffrey Noer
2ce3016679 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:08:52 +00:00
Geoffrey Noer
1c18e77af7 Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:02:04 +00:00
Catherine Moore
eddbf20e81 Don't report error for dynamic links and --gc-sections. 1998-11-02 20:52:40 +00:00
Frank Ch. Eigler
fd0e83b604 * adding missing ChangeLog header line 1998-11-02 11:51:27 +00:00
Jeff Law
be70e54ce9 * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
use bfd_malloc and free instead and check return value from bfd_malloc.
1998-11-02 02:34:41 +00:00
Ian Lance Taylor
9f83f953dc * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
* libbfd.h: Rebuild.
1998-11-01 21:25:43 +00:00
Ian Lance Taylor
02be03db76 Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots
	for later PLT entries in large PLTs.
	(ppc_elf_finish_dynamic_symbol): Allow for the extra slots.
1998-11-01 17:51:29 +00:00
Jeff Law
7a62c80b98 * elf32-ppc.c (ppc_elf_reload_section): Fix typo. 1998-11-01 03:11:16 +00:00
Geoffrey Noer
4e48ea7f0c Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
* dllwrap.c: change all references to cygwin32_ to cygwin_,
        change Cygwin target def to CYGWIN.
1998-10-31 00:54:19 +00:00
Catherine Moore
f36011e0c7 From Philip Blundell <pb@nexus.co.uk>:
* arm.h (R_ARM_COPY, et al.): New relocs, used by Linux for PIC.
        (EF_ALIGN8): New flag.
1998-10-30 18:00:46 +00:00
Michael Snyder
c95b6ba3bd Added missing keeper files. 1998-10-30 17:39:48 +00:00
Frank Ch. Eigler
0ec51df9ef * build fix for tx39 sim; caused by sky->devo merge
* dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
	interrupt level number to match changed SignalExceptionInterrupt
	macro.
1998-10-30 09:49:18 +00:00
Frank Ch. Eigler
2fee67aeb8 * Updated sanitization
- remove memories of old sim/testsuite/sky directory
- add new dir sim/testsuite/mips64el-elf to "always-keep" list
1998-10-30 07:03:14 +00:00
Felix Lee
baa791ae9b * lib/sim-defs.exp (sim_run): download target program to remote
host, if necessary.  for unix-driven win32 testing.
1998-10-30 00:39:44 +00:00
Geoffrey Noer
3db95e34fa update 1998-10-29 22:52:39 +00:00
Doug Evans
3d9044e29a * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete. 1998-10-29 19:40:37 +00:00
Michael Snyder
eeb89805cb fix minor typo. 1998-10-29 18:24:04 +00:00
Michael Snyder
2e7eeba99d Thu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
[Support for trace debugging: registers that were not collected.]
        * remote.c (remote_fetch_registers): accept 'xxxx' in the register
        packet, with the meaning "register value is not available".
        Set register_valid to -1, which will connote "no value available".
        * findvar.c (read_relative_register_raw_bytes): return failure if
        register_valid == -1.  (value_of_register): return failure if
        register_valid == -1.  (read_var_value): return error if
        value_of_register fails for a register variable.
        (value_from_register): return failure if register_valid == -1.
        * eval.c (evaluate_subexp_standard): return error if
        value_of_register fails for a register used in an expression.
        * infcmd.c (do_registers_info): display "value not available"
        for registers for which register_valid == -1.

        * tracepoint.c (set_raw_tracepoint): just save the filename as is
        from the symbol table, rather than trying to prepend the dir name.
        Also save the bfd section.  (tracepoints_info): use the section
        when looking up the function name.
        * tracepoint.h: add section field to tracepoint struct.
1998-10-29 18:07:01 +00:00
Frank Ch. Eigler
271f091db7 * Test cases for PR 18015.
Thu Oct 29 12:07:06 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* t-psrlvw.s (test_psrlvw): Add test for sign-extension in insn.
	* t-padsbh.s: New test.
	* t-mult1.s: New test.
	* Makefile.in: Run them.
1998-10-29 17:28:18 +00:00
Frank Ch. Eigler
fd6e6422c8 * sky->devo merge, continued -- left out the r5900 TLB last time!
* includes a small PR 17224 tweak
1998-10-29 13:44:37 +00:00
Frank Ch. Eigler
0d51822e3b * monster sky->devo merge -- sky sim test suites 1998-10-29 12:59:50 +00:00
Frank Ch. Eigler
afacff5074 * sky->devo merge; dummy test suite directory for mips64el-skyb-elf target. 1998-10-29 12:07:51 +00:00
Geoffrey Noer
68922d6327 commit sanitized b20 branch 1998-10-29 11:48:39 +00:00
Frank Ch. Eigler
3ac7980b23 * Fixes for PR 18015, from customer.
Thu Oct 29 11:06:30 EST 1998  Frank Ch. Eigler <fche@cygnus.com>
	* r5900.igen: Fix PSRLVW, MULTU1, PADSBH instructions,
	as per customer patch.
1998-10-29 09:30:11 +00:00
Martin Hunt
5c01b16e4e Wed Oct 28 16:19:02 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
	pathname instead of just basename.
1998-10-29 00:58:34 +00:00
Doug Evans
3afece8646 * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
Bring over from branch.
1998-10-28 22:45:11 +00:00