Commit Graph

24222 Commits

Author SHA1 Message Date
Doug Evans
985fe43632 * configure.in: --enable-cgen-maint support moved to common/aclocal.m4.
(SIM_AC_OPTION_ALIGNMENT): Make strict.
	* configure: Regenerate.

	* sem-switch.c,sem.c,semx-switch.c: Regenerate.
	* sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define.
	* traps.c (m32r_core_signal): Handle --environment=operating.
1998-12-15 01:06:46 +00:00
Jason Molenda
fc5b254aa6 1998-12-14 Anthony Thompson (athompso@cambridge.arm.com)
* remote-rdp.c (rdp_init): Don't discard first character on reset.
        (translate_open_mode): Define table.
        (exec_swi): Handle SWI_Clock.  SWI_Open now handles stdin/stdout.
        SWI_Write returns number of bytes not written.  SWI_Read does the
        same.  SWI_Seek should return success/failure flag.  Fix SWI_Flen.

A patch from PR 15841 for the RDP (Demon) interface.
1998-12-14 23:55:25 +00:00
Stan Shebs
6d2743e5ec 1998-12-14 J.T. Conklin <jtc@redbacknetworks.com>
* config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh
	(XDEPFILES): Add ser-tcp.o.
1998-12-14 23:42:19 +00:00
Doug Evans
b58ffc7b4e * sim/m32r/uread16.ms: New testcase.
* sim/m32r/uread32.ms: New testcase.
	* sim/m32r/uwrite16.ms: New testcase.
	* sim/m32r/uwrite32.ms: New testcase.
1998-12-14 23:31:28 +00:00
Doug Evans
71d0d0a788 * sim/fr30/hello.ms: Add trailing \n to expected output.
* sim/m32r/hello.ms: Ditto.
	* sim/m32r/hw-trap.ms: Ditto.
1998-12-14 23:28:41 +00:00
Doug Evans
ebc5ff70a2 lib/sim-defs.exp (sim_run): Look for board_info sim,options. 1998-12-14 23:22:25 +00:00
Andrew Cagney
f0b5151401 Fix typo TM_PRINT_INSN_INFO -> TARGET_PRINT_INSN_INFO
Move gdbtk stuff to gdbtk file.
1998-12-14 23:17:16 +00:00
Doug Evans
d4dd077a94 * lib/sim-defs.exp (run_sim_test): New option xerror, for expected
errors.  Translate \n sequences in expected output to newline char.
	(slurp_options): Make parentheses optional.
1998-12-14 23:17:02 +00:00
Jim Ingham
44ffbd6e4a Mon Dec 14 13:20:50 1998 Jim Ingham <jingham@cygnus.com>
* Makefile.in, configure.in configure - add support for LIBGUI
	outside the IDE context.
1998-12-14 21:45:38 +00:00
Dave Brolley
ecbc0c5533 1998-12-14 Dave Brolley <brolley@cygnus.com>
* sim/fr30/call.cgs: Test ret here as well.
	* sim/fr30/ld.cgs: Remove bogus comment.
	* sim/fr30/testutils.inc (save_rp,restore_rp): New macros.
	* sim/fr30/div.ms: New testcase.
	* sim/fr30/st.cgs: New testcase.
	* sim/fr30/sth.cgs: New testcase.
	* sim/fr30/stb.cgs: New testcase.
	* sim/fr30/mov.cgs: New testcase.
	* sim/fr30/jmp.cgs: New testcase.
	* sim/fr30/ret.cgs: New testcase.
	* sim/fr30/int.cgs: New testcase.
1998-12-14 20:06:17 +00:00
Dave Brolley
06d7495078 1998-12-14 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-14 16:57:45 +00:00
Gavin Romig-Koch
bff2d36890 5xxx and el 1998-12-14 15:14:24 +00:00
Gavin Romig-Koch
65bdfdb67a mipsvr5xxxel-elf 1998-12-14 14:55:07 +00:00
Andrew Cagney
456c9134ae Always compile EXTRA_MDEBUG code (even when it is disabled). 1998-12-14 04:54:13 +00:00
Andrew Cagney
14a15da3a5 Fix C-Style in init function. 1998-12-14 03:47:38 +00:00
Andrew Cagney
20dd6c3bb8 * monitor.c (monitor_printable_string): New function to convert a into
a printable representation.
(monitor_error): Call error after converting string into printable
format.
(monitor_printf{,_noecho}): If EXTRA_RDEBUG is defined, convert string
into printable form before printing.
(monitor_expect): Ditto.
(monitor_read_memory{,_single}): Call monitor_error, not error.
(monitor_read_memory): Return immediately if length is 0.
* ppcbug-rom.c (init_ppc_cmds): Fill in dump_registers field, which is
now required.
1998-12-14 03:29:52 +00:00
Andrew Cagney
f7e85b1bc1 CARP:
Consolidate the semi-dynamic target system dependant GDB parameters
moving them all into a new file.
1998-12-14 02:37:16 +00:00
Andrew Cagney
aaa3c096db CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.

Document.

Convert mn10300 and PPC targets.
1998-12-13 23:28:46 +00:00
Gavin Romig-Koch
f14397f057 for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New.
	* cpu-mips.c: Added vr4121.
	* elf32-mips.c (elf_mips_mach): Same.
	(_bfd_mips_elf_final_write_processing): Same.

for gas:
	* config/tc-mips.c (mips_4121): New.
	(md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121.

for gcc:
	* config/mips/mips.c (override_options): Add vr4121.
	* config/mips/t-vr4xxx (MULTILIB_MATCHES): Same.

for include/elf:
	* mips.h (E_MIPS_MACH_4121): New.

for include/opcode:
	* mips.h (INSN_4121): New.

for opcodes:
	* mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121.
	(_print_insn_mips): Same.
	* mips-opc.c: Add vr4121.

for sim/mips:
	* configure.in,mips.igen,vr.igen: Add vr4121.
	* configure: Rebuilt.
1998-12-13 16:14:24 +00:00
Doug Evans
13e50544d5 * Makefile.am (PROGS,bin_PROGRAMS): Add @BUILD_MISC@
(link.c,link.o,link): New rules.
	* Makefile.in: Rebuild.
	* configure.in (vpu-elf): Build `link' cover script if vpu-elf.
	(BUILD_MISC): New variable, for target specific hacks (in the worst
	sense of the word).
	(AC_OUTPUT): Handle building of `link.c'.
	* configure: Rebuild.
	* link.c.in: New file.
bring over from sky-980617 branch.
link script converted to .c so sanitize with automake/autoconf is simpler
1998-12-13 01:33:24 +00:00
Gavin Romig-Koch
82aeada70c * configure.in (mips64vr4xxx): Enable TARGET_ENABLE_FR.
Set mips_fpu, and mips_fpu_bitsize.
	Set sim_gen, and sim_igen_machine.
	* configure: Rebuild.
	* mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
	* sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
1998-12-12 22:43:54 +00:00
Gavin Romig-Koch
b3f1799e81 elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4300. 1998-12-12 22:22:11 +00:00
Doug Evans
bcb601c149 * config.bfd (mips64el-skyb-elf): added new target 1998-12-12 17:07:24 +00:00
Andrew Cagney
86a51f415d CARP: Mechanism to replace EXTRA_FRAME_INFO.
Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.

Document.

Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.
1998-12-12 02:50:39 +00:00
Doug Evans
7381ab4534 Fri Aug 21 18:13:28 EDT 1998 Jim Lemke <jlemke@cygnus.com>
* configure.in (mips64el-skyb-elf): Use fragment mt-skyb and
	exclude target-libiberty, target-libg++, etc.
	* config/mt-skyb: Do not install gcc, g++, libc, libgcc, etc.

	Mon Aug 10 23:04:56 EDT 1998  Jim Lemke  <jlemke@cygnus.com>

	* config.sub (vpu-elf): Add a "marketing name" for mips64el-skyb-elf.

	Mon Aug 10 18:59:42 EDT 1998  Jim Lemke  <jlemke@cygnus.com>

	* configure.in (mips64el-skyb-elf): added new target
Bring over from sky-980617-branch.
1998-12-12 01:10:41 +00:00
Jeff Law
0b174df89d * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt. 1998-12-11 22:53:20 +00:00
Fernando Nasser
a4c7e96587 1998-12-11 Fernando Nasser <fnasser@cygnus.com>
From J.T. Conklin  <jtc@redbacknetworks.com>:
        * i386-stub.c (handle_exception): Add support for 'P' command.
        (NUMREGS): New macro.
1998-12-11 21:17:56 +00:00
Tom Tromey
1f6cfbc32a * Makefile.in (configure-target-libjava): Depend on
configure-target-newlib.
	(configure-target-boehm-gc): New target.
	(configure-target-qthreads): New target.
1998-12-11 18:56:32 +00:00
Jason Molenda
852b7d1192 1998-12-11 Jeff Law (law@cygnus.com)
* configure.in (with-sim-gpu2): Do not emit a -L argument without
        an associated pathname.  Link in the math library after the gpu2
        library.

Assumes that libm is around (and doesn't take advantage of the
AC_CHECK_LIB(m) that is already in configure.in), but this is a
minor point and unlikely to cause problems.
1998-12-11 18:47:33 +00:00
Ulrich Drepper
dee563f348 Update. 1998-12-11 17:14:50 +00:00
Gavin Romig-Koch
eac6dec56e Cleanups. 1998-12-11 15:18:54 +00:00
Ken Raeburn
9139dd623e h8300: tweak "opcode not available in h8/300 mode" message 1998-12-11 07:55:04 +00:00
Andrew Cagney
94a4ff1901 Compare with ZERO not NULL. 1998-12-11 06:00:55 +00:00
Andrew Cagney
8b1773ee6a Fix compiler warnings on FreeBSD. 1998-12-11 01:30:59 +00:00
Dave Brolley
d8d144a0ab Thu Dec 10 18:46:25 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/div0s.cgs: New testcase.
	* sim/fr30/div0u.cgs: New testcase.
	* sim/fr30/div1.cgs: New testcase.
	* sim/fr30/div2.cgs: New testcase.
	* sim/fr30/div3.cgs: New testcase.
	* sim/fr30/div4s.cgs: New testcase.
	* sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.
1998-12-10 23:48:37 +00:00
Dave Brolley
767d2de5d7 Thu Dec 10 18:39:46 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-10 23:41:58 +00:00
Jeff Law
312de19bdd Fixes. 1998-12-10 23:36:40 +00:00
Frank Ch. Eigler
c426ee5dd0 * Fix for endianness bugs in tx39 sio sim.
1998-12-10  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
	(tx3904sio_tickle): fflush after a stdout character output.
1998-12-10 23:20:48 +00:00
Jeff Law
3314a50ac8 Add missing sanitize markers. 1998-12-10 23:20:47 +00:00
Andrew Cagney
d70a61e74c CARP:
More replace reg_name[] with REGISTER_NAME().
1998-12-10 23:07:24 +00:00
Ulrich Drepper
986b3b988a Update. 1998-12-10 22:48:35 +00:00
Ulrich Drepper
5f49173db3 (elf_i386_relocate_section): Don't fail relocations in debug sections
for symbol defined externally.
1998-12-10 22:47:25 +00:00
David Taylor
4770ff087a Start of HP merge changes to GDB. 1998-12-10 21:25:43 +00:00
Doug Evans
51d57b0aa6 * gas/mips/vu0.[sd]: Update vmtir testcases. 1998-12-10 21:20:00 +00:00
Doug Evans
1ec1c8f85e * m32r-opc.c: Regenerate. 1998-12-10 20:50:29 +00:00
Doug Evans
46338a996d Bring over forgotten changelog entry from sky-980617-branch.
Thu Jul 23 18:31:03 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
	old one-operand CLIP.
1998-12-10 19:36:01 +00:00
Doug Evans
de9705cb1a * gas/dvp/lower-2.[sd]: Handle label as immediate data.
* gas/dvp/gifimage-1.[sd]: Add testcases for EOP.
	* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
	old one-operand CLIP.
Bring over from sky-980617-branch.
1998-12-10 19:27:27 +00:00
Ian Lance Taylor
e1dfd97dc8 Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
	(ALL_EMUL_EXTRA_OFILES): New variable.  Put them here instead.
	* configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
	if configuring with all targets.
	* configure, Makefile.in, aclocal.m4: Rebuild.

	* emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
	(pe_dll_do_default_excludes): Removed, unused.
	(pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
	pe_dll_stdcall_aliases): Don't initialize them, this file may be
	compiled more than once.
	* pe-dll.c (pe_def_file, pe_dll_export_everything,
	pe_dll_do_default_excludes, pe_dll_kill_ats,
	pe_dll_stdcall_aliases): Define and initialize them here instead.
	(generate_reloc): Fix allocation of reloc_addresses array to use
	bfd_vma instead of unsigned long.  Fix element size in qsort call.
	(reloc_sort): Compare pointers to bfd_vma instead of unsigned
	long.
1998-12-10 16:16:08 +00:00
Ian Lance Taylor
da7f0954c9 * targets.c (bfd_target_vector): Remove duplicate entry for
tekhex_vec.
1998-12-10 16:01:06 +00:00
Nick Clifton
c8f7664ff1 Add line separator character. 1998-12-10 12:04:21 +00:00