Commit Graph

24331 Commits

Author SHA1 Message Date
David Taylor
3e1d3d67b9 change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion. 1999-01-04 20:07:59 +00:00
David Taylor
61ada545ec hp merge changes; 5 new files. 1999-01-04 16:23:14 +00:00
David Taylor
e8ff198e34 update to reflect new hp merge files. 1999-01-04 16:04:45 +00:00
David Taylor
8e260d5270 new files -- part of HP merge. 1999-01-04 15:37:21 +00:00
Ken Raeburn
7cada34aec (Ugh. Last checkin was supposed to have been aborted. Oops.)
Replace elf-offset.ld with a version we can ship.
Use "-T" in linker invocation when specifying linker script.
1999-01-03 23:55:33 +00:00
Ken Raeburn
6772620740 sanitization for new test case. discard it when sanitizing, until it gets
rewritten or assigned to the fsf.
1999-01-03 23:27:11 +00:00
Ken Raeburn
c81b48112f * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, HOSTING_CRT0,
HOSTING_LIBS; the test suite can extract them from configure.host and
configure.tgt now.
* Makefile.in: Rebuild.
1999-01-03 16:09:55 +00:00
Ken Raeburn
687788cd4b * config/default.exp (get_link_files, get_target_emul): New procs;
run shell commands to extract information from configure.host and
	configure.tgt in the source tree.
	(top level): Use them to get information needed to run tests, if
	not otherwise provided.

Should allow running of at least some of the tests by releng.

	* ld-shared/elf-offset.ld: New file.  Builds a shared library, but
	gives non-zero addresses for memory region.
	* ld-shared/shared.exp: Run the non-PIC non-AIX test again using
	the new linker script.

PR ld/17962 -- not fixed, but customer has what should be an adequate
workaround.
1999-01-03 16:03:47 +00:00
Stan Shebs
4c49748e82 * corelow.c (core_ops): Don't initialize statically.
(init_core_ops): New function, fills in core_ops.
	(_initialize_corelow): Use it.
1998-12-31 23:28:57 +00:00
Stan Shebs
b5c7e12253 Add a sky sanitization, cosmetic changes for consistency 1998-12-31 23:25:34 +00:00
David Taylor
65b07ddca8 all remaining *.c *.h files from hp merge. 1998-12-31 21:58:30 +00:00
Christopher Faylor
c450a7fe3f * configure.in: Search devo libtermcap directory for termcap.h
when compiling for cygwin.
	* configure: Regenerated.
1998-12-31 20:06:32 +00:00
David Taylor
03b93bdc82 HP tui support files for gdb. 1998-12-31 17:46:28 +00:00
Christopher Faylor
9f0dcc0f37 * configure.in: Search devo libtermcap directory for termcap.h when
compiling for cygwin.
* configure: Regenerated.
1998-12-31 17:08:29 +00:00
Frank Ch. Eigler
ba50f16ab7 * sky test case updates for MTIR insn PR
1998-12-31  Frank Ch. Eigler  <fche@cygnus.com>
	* sim/sky/t-cop2.s: Adjust vmtir instruction tests for new syntax.
	* sim/sky/t-cop2.vuexpect: Matching changes.
1998-12-31 06:00:29 +00:00
Michael Meissner
fb9d16b9bd Do not copy old versions of libreadline.a/libhistory.a if they do not exist 1998-12-31 04:18:57 +00:00
Stan Shebs
c4b2310000 From J.T. Conklin <jtc@redbacknetworks.com>:
* i386-stub.c: Fix error string in last change.
1998-12-31 01:50:43 +00:00
Christopher Faylor
487c86d6b6 * configure.in: makefile stub for cygwin target is probably
unnecessary.  Remove it for now.
	* config/mt-cygwin: Remove.
1998-12-31 01:37:06 +00:00
Jason Molenda
adcb1e06ef 1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c: <readline/readline.h> instead of "readline/readline.h".

        * configure.in (TERM_LIB): Search for the appropriate term library
        on the host system.
        * configure: Regenerated.
        * Makefile.in (TERMCAP): Set based on autoconf check.
        * config/*/*.mh: Don't override TERMCAP setting.
1998-12-31 01:30:52 +00:00
Mark Alexander
1b0df0adcb * value.c (value_virtual_fn_field): Handle the situation where
vtbl is a pointer to a structure instead of a pointer to an array.
1998-12-31 01:29:30 +00:00
Felix Lee
d98ee4f5af * sim/sky/sky-defs.tcl: various changes for remote host testing.
* sim/sky/mload.exp: ditto.
        * sim/sky/sky_sce.exp: ditto.
        * sim/sky/sky_sce_accurate.exp: ditto.
        * sim/sky/sky_sce_fast.exp: ditto.
        * sim/sky/mload.exp: mark as unresolved on error.
1998-12-31 01:07:51 +00:00
Frank Ch. Eigler
08f758df94 * resolution of eCos-vs.-sky merge conflict!
[ChangeLog]
1998-12-30  Frank Ch. Eigler  <fche@cygnus.com>
	* mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
start-sanitize-sky
	* interp.c (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook.
 	Call sim_engine_halt on BreakPoint.
end-sanitize-sky
[ChangeLog.sky]
1998-12-30  Frank Ch. Eigler  <fche@cygnus.com>
	* sky-gdb.c (sky_sim_engine_halt): Do not set CIA here.
1998-12-30 21:16:14 +00:00
Stan Shebs
bd164e2835 Tue Dec 29 16:03:53 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in, configure (mips64vr5*-*-*): Added missing ;; in
 	case statement.
(actually a sanitize-cygnus mistake, but Rainer doesn't know that)
1998-12-30 21:16:13 +00:00
David Taylor
8bb2eec8d9 change void * to PTR (two places). 1998-12-30 21:08:18 +00:00
Frank Ch. Eigler
86df8e79fc * build / debug improvements for gx JIT sim prototype 1998-12-30 18:30:48 +00:00
Keith Seitz
32ac892aab * gdb.gdbtk/{console.exp, browser.exp}: If no DISPLAY is set,
skip the tests.
1998-12-30 17:57:16 +00:00
Gavin Romig-Koch
466104ff97 mips16-opc.c: Mark branch insns with MIPS16_INSN_BRANCH. 1998-12-30 14:40:48 +00:00
Gavin Romig-Koch
26fbea32b6 MIPS16_INSN_BRANCH 1998-12-30 14:15:53 +00:00
Frank Ch. Eigler
14bbac6609 * eCos->devo merge; tx3904 sanitize tags removed
1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
	* interp.c (sim_open): Allocate jm3904 memory in smaller chunks.
	(load_word): Call SIM_CORE_SIGNAL hook on error.
	(signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before
	starting.  For exception dispatching, pass PC instead of NULL_CIA.
	(decode_coproc): Use COP0_BADVADDR to store faulting address.
	* sim-main.h (COP0_BADVADDR): Define.
	(SIM_CORE_SIGNAL): Define hook to call mips_core_signal.
	(SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*().
	(_sim_cpu): Add exc_* fields to store register value snapshots.
	* mips.igen (*): Replace memory-related SignalException* calls
	with references to SIM_CORE_SIGNAL hook.
	* dv-tx3904irc.c (tx3904irc_port_event): printf format warning
	fix.
	* sim-main.c (*): Minor warning cleanups.
1998-12-30 12:21:43 +00:00
Frank Ch. Eigler
a714374d5e * ChangeLog tweak 1998-12-30 12:17:11 +00:00
Frank Ch. Eigler
9b27cf7bbb * eCos->devo merge; am30 sanitization tags removed
1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
	* Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o.
	* interp.c (sim_open): Add stub mn103002 cache control memory regions.
	Set OPERATING_ENVIRONMENT on "stdeval1" board.
	(mn10300_core_signal): New function to intercept memory errors.
	(program_interrupt): New function to dispatch to exception vector
	(mn10300_exception_*): New functions to snapshot pre/post exception
	state.
	* sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal.
	(SIM_ENGINE_HALT_HOOK): Do nothing.
	(SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*().
	(_sim_cpu): Add exc_* fields to store register value snapshots.
	* dv-mn103ser.c (*): Support dv-sockser backend for UART I/O.
	Various endianness and warning fixes.
	* mn10300.igen (illegal): Call program_interrupt on error.
	(break): Call program_interrupt on breakpoint
	Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
	merged in:
	* dv-mn103int.c (mn103int_ioctl): New function for NMI
	generation. (mn103int_finish): Install it as ioctl handler.
	* dv-mn103tim.c: Support timer 6 specially.  Endianness fixes.
1998-12-30 12:17:10 +00:00
Frank Ch. Eigler
617ca17ed2 * eCos->devo merge
1998-12-24  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
	* nrun.c (main): Remain in simulation loop for traps and
 	exceptions when in operating environment mode.
	(ui_loop_hook): New stub hook for standalone use.
	* sim-events.c (sim_events_process): Call ui_loop_hook
	periodically on CYGWIN host.
	* sim-reason.c (sim_stop_reason): Return host signal numbers
	to gdb on sim_stopped and sim_signalled cases.
	* sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
 	hook just before longjmp.
	* sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
 	hook just before sim_engine_run.
	* sim-n-core.h (sim_core_trace_M): Allay const warning.
	* sim-trace.h (trace_generic): Ditto.
	* sim-trace.c (trace_generic): Ditto.
1998-12-30 12:09:13 +00:00
Christopher Faylor
d846c99ee4 * configure.in: libtermcap.a should be built when cygwin is the
target as well as the host.
	* config.guess: Allow mixed case in cygwin uname output.
	* Makefile.in: Add libtermcap target.
	* config/mt-cygwin: New file.  libtermcap target info.
1998-12-30 06:18:02 +00:00
Christopher Faylor
18ee5bf817 * cross-build/cygwin.cache: Add a couple more known settings.
* configure.in: Fix typo.
	* configure: Regenerated.
1998-12-30 04:50:59 +00:00
Elena Zannoni
e30e177994 Tue Dec 29 18:11:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* cross-build: new directory.

	* cross-build/cygwin.cache: new file. Used for Cygwin cross builds.
1998-12-29 23:16:42 +00:00
Elena Zannoni
c5ba05bf93 Tue Dec 29 18:11:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: added tests for cross-build for Cygwin.
1998-12-29 23:12:23 +00:00
Gavin Romig-Koch
2e23624e62 * config/tc-mips.c (append_insn): For mips16, insert a nop between
a read of HI or LO and an immediatly following branch.
1998-12-29 15:46:59 +00:00
Gavin Romig-Koch
ffa3e1860a 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
* config/tc-mips.c (md_begin): Another correction to the setting of
	mips_eabi64.
1998-12-29 14:09:36 +00:00
David Taylor
4ef1f46773 hp merge changes -- too numerous to mention here; see ChangeLog and
ChangeLog-gdbtk for details.
1998-12-28 23:06:13 +00:00
David Taylor
d6fdf61c78 revert change 1.104 --> 1.105. sigh. this reversal breaks 18470. double
sigh.  this is to 'fix' a conflict with hp merge changes that are about
to go in.
1998-12-28 22:30:59 +00:00
Ulrich Drepper
4b68b83dc0 Update. 1998-12-27 21:44:58 +00:00
Jason Molenda
975c2886ba 1998-12-24 Jason Molenda (jsm@bugshack.cygnus.com)
* Makefile.in: Add CYGNUS LOCAL comment.
        * acconfig.h: Add missing defines.
        * config.h.bot: Add missing content.
        * configure, config.h.in: Regenerated.

config.h.in is a generated file, but the readline distribution
checked in could not regenerate this.  This set of changes fixes
that.
1998-12-25 00:35:35 +00:00
Gavin Romig-Koch
35d6075ac2 m16.igen (DADDIU5): Correct type-o. 1998-12-24 05:55:42 +00:00
Zdenek Radouch
e53f705836 Fixed POP_FRAME so that 'return' command works properly. 1998-12-24 03:09:43 +00:00
Gavin Romig-Koch
15b7d7d32a * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64. 1998-12-24 00:37:47 +00:00
Per Bothner
0bf2ba41ef * Makefile.in (READLINE_CFLAGS): Search $(READLINE_SRC)/.. rather
than $(READLINE_SRC) so #include <readline/readline.h> will work.
	* top.c:  #include <readline/history.h> instead of "history.h".
	* tracepoint.c:  Likewise.
	* mac-xdep.c:  Likewise.
1998-12-23 23:06:11 +00:00
Elena Zannoni
229e1740df Wed Dec 23 16:21:41 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in: comment out the rule to rebuild configure by
	running autoconf.
1998-12-23 21:23:18 +00:00
Andrew Cagney
30ce5223b8 * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT): Define using
TARGET_BYTE_ORDER and not target_byte_order.
1998-12-23 02:13:37 +00:00
Elena Zannoni
83e2dcc014 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/i386/cygwin.mh (TERMCAP): define.
 	(from Chris Faylor, cgf@cygnus.com)
1998-12-22 22:10:23 +00:00
Elena Zannoni
57ac5cfff1 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* top.c: specify directory name for including readline.h

	* tracepoint.c: ditto.

	* utils.c: ditto.
1998-12-22 22:06:48 +00:00