Stan Shebs [Wed, 6 Jan 1999 20:14:30 +0000 (20:14 +0000)]
* remote.c: Pacify --enable-build-warnings, reformat code
to conform to standards, fix spelling errors.
(ishex, stubhex, record_currthread, etc): Declare.
(ishex, stubhex): Declare char arg as int.
(pack_string): Comment out, never used but possibly useful.
(threadref_to_int, remote_get_threadinfo, etc): Make static.
David Taylor [Wed, 6 Jan 1999 17:01:03 +0000 (17:01 +0000)]
The following changes were made by Edith Epstein <eepstein@cygnus.com>
as part of a project to merge in changes made by HP.
all-cfg.texi -- set HPPA for HP PA-RISC targets.
refcard.tex -- change documentation about catch; removed info catch.
HPPA-cfg.texi -- new file; HPPA configuration for manual.
David Taylor [Wed, 6 Jan 1999 16:52:17 +0000 (16:52 +0000)]
HP merge changes by eepstein and ezannoni; added external flag
hp_som_som_object_present; added true and false tokens; changed some of
the template processing code for handling HP aCC templates.
* Fix for PR 18665, from sky branch.
1999-01-06 Frank Ch. Eigler <fche@cygnus.com>
* mips-opc.c (div1): Add three-operand pattern, just like "div".
(divu1): Ditto for "divu".
Michael Snyder [Wed, 6 Jan 1999 03:08:10 +0000 (03:08 +0000)]
* remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior. Instead, if a new thread-id is
detected, call add_thread. (MAGIC_NULL_PID): new macro, use
instead of the magic number "42000". (remote_find_new_threads):
if inferior_pid is unknown, get and use the current thread id.
(remote_start_remote): on connecting, attempt to get the current
thread id for inferior_pid. (remote_resume): If pid == -1,
then resume any-thread (not the current thread specifically).
* thread.c (info_threads_command): don't initialize current_pid
until after call to FIND_NEW_THREADS (which may change inferior_pid).
Doug Evans [Wed, 6 Jan 1999 00:42:34 +0000 (00:42 +0000)]
* Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
(CGEN_MAIN_SCM): Add rtx-funcs.scm.
(cgen-arch): Pass $(mach) to cgen.sh.
* cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
(SEM_BRANCH_INIT_EXTRACT): New macro.
(SEM_BRANCH_INIT): Add taken_p.
(TARGET_SEM_BRANCH_FINI): Provide default definition.
(SEM_BRANCH_FINI): Use it.
(SEM_INSN): Update.
* cgen-run.c (sim_resume): Handle tracing of last insn.
* cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
* cgen-trace.c (current_abuf): New static global.
(trace_insn_init): Initialize it.
(trace_insn_fini): Use it.
(trace_insn): Set it.
* cgen.sh (arch case): Pass -m ${mach} to cgen.
* genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
(@cpu@_emit_after): Ditto.
(simple @cpu@_engine_run_full): New local `pc'. Initialize semantic
labels if WITH_SEM_SWITCH_FULL.
* sim-model.c: Include bfd.h.
(sim_model_init): New function.
(sim_model_install): Record init fn.
* sim-model.h (MACH): New member bfd_name.
* sim-module.c (modules): Initialize model before scache.
David Taylor [Tue, 5 Jan 1999 21:58:18 +0000 (21:58 +0000)]
hp merge changes; mostly new files.
scope.exp, langs.exp, list.exp -- compile one file at a time, then link.
default.exp -- change expected messages for catch and info catch tests to
reflect hp merge changes.
David Taylor [Mon, 4 Jan 1999 22:12:40 +0000 (22:12 +0000)]
* gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
to delete on clean.
(EXECUTABLES): update to reflect new additions.
* gdb.base/commands.exp: update message expected.
* gdb.base/default.exp: add copyright notice.
* gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
* gdb.base/help.exp: update messages to reflect current text.
* gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
targets for recurse tests.
* gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
skip this file.
Ken Raeburn [Sun, 3 Jan 1999 23:55:33 +0000 (23:55 +0000)]
(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.
Ken Raeburn [Sun, 3 Jan 1999 16:09:55 +0000 (16:09 +0000)]
* 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.
Ken Raeburn [Sun, 3 Jan 1999 16:03:47 +0000 (16:03 +0000)]
* 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.
Frank Ch. Eigler [Thu, 31 Dec 1998 06:00:29 +0000 (06:00 +0000)]
* 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.
Jason Molenda [Thu, 31 Dec 1998 01:30:52 +0000 (01:30 +0000)]
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.
Frank Ch. Eigler [Wed, 30 Dec 1998 12:17:10 +0000 (12:17 +0000)]
* 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.
* 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.
David Taylor [Mon, 28 Dec 1998 22:30:59 +0000 (22:30 +0000)]
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.