Chris Hanson [Tue, 11 Sep 1990 21:13:00 +0000 (21:13 +0000)]
*** empty log message ***
Chris Hanson [Tue, 11 Sep 1990 20:46:19 +0000 (20:46 +0000)]
Initial revision
Chris Hanson [Tue, 11 Sep 1990 20:46:01 +0000 (20:46 +0000)]
* Advice package now signals error if the user attempts to advise
anything but an compound procedure.
* Continuation parser keeps track of the type of the previous stack
frame. This information is used as context in some situations.
This mechanism replaces special-purpose flag `allow-next-extended?'.
* Continuation parser slightly reorganized and commented to make it
easier to understand.
* Debugger modified to provide more flexible control over use of
history information, to provide more detailed information about
stack frames, and to make it more self-explanatory. Also knows
about "simulated" compiled-code environment frames, and ignores
them.
* The environment inspector has been modified to make it more
self-explanatory. The N command has been replaced by an O command
like that of the debugger.
* `pretty-print' now has additional optional argument that specifies
an indentation for the printed expression. If given, the output is
indented by that many columns.
* The emacs interface now has a hook for evaluating arbitrary
emacs-lisp expressions. This is used to provide a better debugger
interface.
**** This requires "xscheme.el" version 1.26 or later. ****
* `stack-frame/debugging-info' now returns a third value,
"subexpression", which indicates the subexpression of the expression
that the next later subproblem is evaluating.
* The lambda abstraction now forces the use of internal lambda
expressions for auxiliary variables. This is required for correct
semantics of `letrec'.
* `make-lambda' now does error-checking on its parameter-list
arguments, which disallows duplicates in the parameter lists.
* The `procedure' abstraction has been split off into a separate file.
`procedure-arity' has been modified to handle entities correctly.
A new datatype, `apply-hook', is like entities except that it
doesn't pass itself to the handler. `compound-procedure' operations
have been removed from the global environment; use generic
operations instead.
* The unsyntaxer has a new entry point, `unsyntax-with-substitutions',
which allows subexpressions of an expression to be replaced in the
output with arbitrary objects.
* Removed `dynamic-state-let' from `system-global-syntax-table'.
* The syntaxer now disallows the use of syntactic keywords as
variables. This applies to references, bindings, and definitions.
* The syntaxer signals an error if the name of a named `let' is also
one of its bound variables.
* The syntaxer signals an error if there are duplicates in the
parameters of a lambda expression.
* Compiled-code environments that do not have interpreter-compatible
ancestors now simulate such ancestors for debugging convenience.
The simulated ancestor is the closing environment of the compiled
code, if known, otherwise it is the system global environment.
Chris Hanson [Tue, 11 Sep 1990 19:50:29 +0000 (19:50 +0000)]
Change `x-window-read-event-flags!' to mask its result so that only
the least significant 3 bits are returned.
Chris Hanson [Tue, 11 Sep 1990 05:16:14 +0000 (05:16 +0000)]
Change some EMPTY_LIST references to SHARP_F.
Chris Hanson [Tue, 11 Sep 1990 01:51:20 +0000 (01:51 +0000)]
Update copyright notice.
Chris Hanson [Tue, 11 Sep 1990 00:07:43 +0000 (00:07 +0000)]
Add hook that allows Scheme to evaluate arbitrary expression in Emacs.
Guillermo J. Rozas [Mon, 10 Sep 1990 18:13:21 +0000 (18:13 +0000)]
Initial revision
Chris Hanson [Sun, 9 Sep 1990 03:13:56 +0000 (03:13 +0000)]
Fix typo.
Chris Hanson [Sun, 9 Sep 1990 03:11:16 +0000 (03:11 +0000)]
Fix typo and rename lambda parameter.
Chris Hanson [Sat, 8 Sep 1990 01:38:18 +0000 (01:38 +0000)]
Use `FIXNUM_TO_LONG' in definition of `fixnum_to_long'.
Chris Hanson [Sat, 8 Sep 1990 00:10:48 +0000 (00:10 +0000)]
* Eliminate BELL, USHORT_SIZE, ULONG_SIZE, DBFLT_SIZE, UNSIGNED_SHIFT,
FLONUM_EXPT_SIZE, FLONUM_MANTISSA_BITS, MAX_FLONUM_EXPONENT, quick.
* Rename `Exit_Scheme' macros to upper case.
* New macro UNSIGNED_SHIFT_BUG has opposite meaning of old
UNSIGNED_SHIFT -- it says that the compiler uses arithmetic right
shift on the `unsigned long' type.
* Redo MIPS configuration to handle non-DEC machines.
* Add configurations for i386 and NeXT.
* Eliminate `term_type' definition -- HP's compiler no longer has this
problem.
* Change `FIXNUM_TO_LONG' to use more efficient conversion suggested
by Aubrey Jaffer.
Chris Hanson [Fri, 7 Sep 1990 22:35:43 +0000 (22:35 +0000)]
Fix typos in methods for `fixnum-quotient' and `fixnum-remainder'.
Chris Hanson [Fri, 7 Sep 1990 22:25:16 +0000 (22:25 +0000)]
Fix typos in methods for `fixnum-quotient' and `fixnum-remainder'.
Chris Hanson [Fri, 7 Sep 1990 18:39:51 +0000 (18:39 +0000)]
Eliminate uses of `entity' datatype. Use new `apply-hook' datatype
instead.
Chris Hanson [Fri, 7 Sep 1990 00:46:02 +0000 (00:46 +0000)]
Eliminate variables named `lambda'. Pull all empty variable
definitions to the beginning of the file.
Chris Hanson [Fri, 7 Sep 1990 00:27:35 +0000 (00:27 +0000)]
Make reader accept "#*" as a valid, zero-length bit string.
Chris Hanson [Thu, 6 Sep 1990 19:02:46 +0000 (19:02 +0000)]
Add configuration information for NeXT.
Chris Hanson [Thu, 6 Sep 1990 19:02:06 +0000 (19:02 +0000)]
Initial revision
Mark Friedman [Fri, 31 Aug 1990 20:18:01 +0000 (20:18 +0000)]
Support for multiple screens.
Chris Hanson [Mon, 27 Aug 1990 20:08:39 +0000 (20:08 +0000)]
When stopping Scheme, use signal that was used to tell us we needed to
stop. Previously, we always used SIGTSTP.
Guillermo J. Rozas [Mon, 27 Aug 1990 13:23:45 +0000 (13:23 +0000)]
Fix a bug in the interaction between multi-closures and frame reusing.
The shared closure block was not considered when determining whether a
slot could be rewritten or not.
Guillermo J. Rozas [Sat, 25 Aug 1990 03:08:22 +0000 (03:08 +0000)]
Fix edti bug from last set of changes.
Guillermo J. Rozas [Fri, 24 Aug 1990 20:20:30 +0000 (20:20 +0000)]
Fix two bugs in multiclosure code:
- non-canonical multi-closure entries appearing in letrecs were
computed incorrectly. The context offset is not the context after
binding since the code has not finished pushing.
- referencing a closure from within itself cannot bypass the variable
lookup code if the closure for environment is not the closure for
value. This only affects machines where closures are canonicalized
for environment.
Guillermo J. Rozas [Thu, 23 Aug 1990 00:38:13 +0000 (00:38 +0000)]
Change internal procedure format words to look like return addresses
so that the debugger can parse the stack.
Guillermo J. Rozas [Wed, 22 Aug 1990 02:03:18 +0000 (02:03 +0000)]
Make open procedures look like return addresses to the debugger.
Guillermo J. Rozas [Tue, 21 Aug 1990 04:19:12 +0000 (04:19 +0000)]
Modify the stack parser and environment utilities to handle interrupt
frames from compiled code in which the return address is a procedure.
Guillermo J. Rozas [Tue, 21 Aug 1990 02:24:33 +0000 (02:24 +0000)]
Add next-continuation-offset field to rtl-procedures so that internal
procedures can be represented as return addresses for the debugger.
Guillermo J. Rozas [Tue, 21 Aug 1990 02:23:26 +0000 (02:23 +0000)]
Fix broken comment.
Guillermo J. Rozas [Tue, 21 Aug 1990 02:20:55 +0000 (02:20 +0000)]
Replace internal code words with return address code words so the
debugger will not get confused about internal procedures and interrupt
frames in compiled code.
Guillermo J. Rozas [Fri, 17 Aug 1990 23:45:53 +0000 (23:45 +0000)]
Update the list of missing macros to document.
Guillermo J. Rozas [Fri, 17 Aug 1990 23:40:55 +0000 (23:40 +0000)]
Split cache flusing code from STORE_EXECUTE_CACHE_ADDRESS, since it is
not needed at GC time because the whole cache is flushed immediately
afterwards.
The flushing code is now in FLUSH_I_CACHE_REGION, used explicitly by
store_uuo_link in cmpint.c
Guillermo J. Rozas [Fri, 17 Aug 1990 23:39:55 +0000 (23:39 +0000)]
Split cache flusing code from STORE_EXECUTE_CACHE_ADDRESS, since it is
not needed at GC time.
The flushing code is now in FLUSH_I_CACHE_REGION, used explicitly by
store_uuo_link in cmpint.c
Guillermo J. Rozas [Fri, 17 Aug 1990 23:28:46 +0000 (23:28 +0000)]
Split cache flusing code from STORE_EXECUTE_CACHE_ADDRESS, since it is
not needed at GC time.
The flushing code is now in FLUSH_I_CACHE_REGION, used explicitly by
store_uuo_link in cmpint.c
Mark Friedman [Fri, 17 Aug 1990 21:00:39 +0000 (21:00 +0000)]
Added dependency of x11base.o on ux.h to match the includes in x11base.c
Mark Friedman [Fri, 17 Aug 1990 20:05:32 +0000 (20:05 +0000)]
Made definition of HAVE_SELECT be posix independent.
Chris Hanson [Thu, 16 Aug 1990 23:36:51 +0000 (23:36 +0000)]
Export `execute_reload_cleanups' and call it when resuming after a
`dump-world'.
Chris Hanson [Thu, 16 Aug 1990 22:33:54 +0000 (22:33 +0000)]
Add memoization to `UX_SC_CLK_TCK'.
Chris Hanson [Thu, 16 Aug 1990 20:13:17 +0000 (20:13 +0000)]
Don't use `event:before-exit' to tell the microcode to clean itself
up. There is now a new hook at the microcode level that delays this
cleanup until the `disk-restore' is committed.
Chris Hanson [Thu, 16 Aug 1990 20:10:47 +0000 (20:10 +0000)]
Don't call `x-close-all-displays' before disk-restoring.
Chris Hanson [Thu, 16 Aug 1990 20:09:57 +0000 (20:09 +0000)]
Don't call `close-all-open-files' before disk-restoring.
Chris Hanson [Thu, 16 Aug 1990 20:06:34 +0000 (20:06 +0000)]
Implement new `reload_cleanup' facility to provide a hook for cleaning
up various things before a disk-restore.
Chris Hanson [Thu, 16 Aug 1990 20:05:21 +0000 (20:05 +0000)]
Use new `add_reload_cleanup' facility to close all the display
connections.
Chris Hanson [Thu, 16 Aug 1990 19:23:35 +0000 (19:23 +0000)]
Change declarations of `x_malloc' and `x_realloc' to use `PTR' instead
of `char *'.
Chris Hanson [Thu, 16 Aug 1990 19:22:41 +0000 (19:22 +0000)]
Change `OS_channel_close_all' to internal definition and use new
`add_reload_cleanup' facility to install it.
Chris Hanson [Thu, 16 Aug 1990 19:20:39 +0000 (19:20 +0000)]
Delete `OS_channel_close_all'.
Chris Hanson [Thu, 16 Aug 1990 19:19:49 +0000 (19:19 +0000)]
Export `add_reload_cleanup'.
Guillermo J. Rozas [Thu, 16 Aug 1990 14:45:24 +0000 (14:45 +0000)]
Add cache-flushing call to STORE_TRAMPOLINE_ENTRY .
Guillermo J. Rozas [Thu, 16 Aug 1990 08:43:53 +0000 (08:43 +0000)]
Wrap call to read_file_start inside of LOAD-BAND in a transaction to
undo initial read.
Guillermo J. Rozas [Thu, 16 Aug 1990 08:42:48 +0000 (08:42 +0000)]
Change some error death messages.
Guillermo J. Rozas [Thu, 16 Aug 1990 08:42:15 +0000 (08:42 +0000)]
Add paranoia check for inconsistent stack.
Guillermo J. Rozas [Thu, 16 Aug 1990 08:41:51 +0000 (08:41 +0000)]
Make disk-restore invoke canonicalize-input-filename before invoking
event:before-exit.
Guillermo J. Rozas [Thu, 16 Aug 1990 05:09:31 +0000 (05:09 +0000)]
Add missing C-macro continuation lines from mips version of
DECLARE_UX_SIGNAL_CODES.
Chris Hanson [Tue, 14 Aug 1990 18:22:54 +0000 (18:22 +0000)]
Update from jmiller.
Chris Hanson [Fri, 10 Aug 1990 02:13:44 +0000 (02:13 +0000)]
Move non-blocking I/O definitions to "ux.h".
Chris Hanson [Fri, 10 Aug 1990 02:02:25 +0000 (02:02 +0000)]
Recent versions of ultrix are mostly POSIX-compliant.
Chris Hanson [Fri, 10 Aug 1990 02:01:25 +0000 (02:01 +0000)]
Forgot some arguments to fprintf.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:52:20 +0000 (19:52 +0000)]
Fix casting bug.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:40:39 +0000 (19:40 +0000)]
Change the code to accomodate:
- Machines where the Scheme stack pointer and the C stack pointer do
not live in the same register.
- The "new" compiled code interface, where C code (including
primitives) always executes on the C stack, except for the couple of
instructions each way.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:39:26 +0000 (19:39 +0000)]
Add definition of FULL_SIGCONTEXT_SCHSP for machines where the Scheme
stack pointer and the C stack pointer are separate registers.
Guillermo J. Rozas [Thu, 9 Aug 1990 15:03:22 +0000 (15:03 +0000)]
Add /scheme/850 directories to rewrite rules.
Guillermo J. Rozas [Thu, 9 Aug 1990 04:24:20 +0000 (04:24 +0000)]
Fix bug in STORE_ABSOLUTE_ADDRESS by which large addresses in the
26-bit range where being relocated incorrectly on band-load.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:28:21 +0000 (20:28 +0000)]
Fix error message when the cache information file is not found.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:22:41 +0000 (20:22 +0000)]
Add hppacache.h to Spectrum GC_HEAD_FILES.
Add XTRA_TARGETS for architecture-dependent files, and make
Spectrum XTRA_TARGETS be hppacache.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:21:12 +0000 (20:21 +0000)]
Initial revision
Guillermo J. Rozas [Wed, 8 Aug 1990 20:20:40 +0000 (20:20 +0000)]
Add definition of ENTRY_PREFIX_LENGTH .
Add cache-flushing code to guarantee consistency between the D-cache
and the I-cache after instructions are copied, moved, or created in
Scheme data space.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:08:52 +0000 (20:08 +0000)]
Fix type declaration for cache_flush_all.
Make cache_flush_region round up rather than truncate when determining
how many blocks to flush.
Chris Hanson [Wed, 8 Aug 1990 00:58:42 +0000 (00:58 +0000)]
When the continuation parser makes a transition from interpreted to
compiled frames or vice-versa, the history subproblem must be stepped.
The reasons for this are that:
1. When interpreted code is called from compiled code, a new history
subproblem is pushed. This subproblem must be discarded when making
the transition back to the compiled code stack frame.
2. When compiled code is called from interpreted code, the existing
history subproblem is preserved for use if the compiled code
tail-recurses back into interpreted code. This subproblem must be
discarded when making the transition back to the interpreted code
stack frame.
Guillermo J. Rozas [Tue, 7 Aug 1990 23:33:31 +0000 (23:33 +0000)]
Fix occurrences of old names of renamed variables.
Guillermo J. Rozas [Tue, 7 Aug 1990 23:06:06 +0000 (23:06 +0000)]
Add definition of sp_nil .
Chris Hanson [Tue, 7 Aug 1990 20:11:06 +0000 (20:11 +0000)]
Temporarily disable consistency check in `stack-ccenv/normal-closure',
because it fails for certain cases of multi-closures.
Guillermo J. Rozas [Tue, 7 Aug 1990 15:36:22 +0000 (15:36 +0000)]
- Add new hooks for compiled code:
store_closure_entry
multiply_fixnum
fixnum_quotient
fixnum_remainder
fixnum_lsh
- Add debugging code (under control of an M4 definition).
- Add cache flushing instructions to store_closure_code (shared by
store_closure_entry).
- Add cache flushing subroutines:
cache_flush_region (address, count_in_lwords)
cache_flush_all (cache_set, cache_info)
Guillermo J. Rozas [Sun, 5 Aug 1990 05:42:43 +0000 (05:42 +0000)]
Fix bug in cons-closure-entry by which branch-expanded LDOs were
causing problems: the ADDIL was being executed immediately after the
BLE, the LDO on return, and thus the address stored in the closure was
bogus.
Guillermo J. Rozas [Sun, 5 Aug 1990 05:41:27 +0000 (05:41 +0000)]
Add PCR-HOOK pseudo-op for the closure creation code.
Guillermo J. Rozas [Mon, 30 Jul 1990 23:16:25 +0000 (23:16 +0000)]
Make Ultrix and SunOS describe themeselves as such.
Guillermo J. Rozas [Mon, 30 Jul 1990 23:14:24 +0000 (23:14 +0000)]
Include ultrix conditionalization in oscond.h rather than s/ultrix.h .
Guillermo J. Rozas [Mon, 30 Jul 1990 17:31:28 +0000 (17:31 +0000)]
Fix ifdefs for HPUX after ULTRIX changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 17:05:42 +0000 (17:05 +0000)]
Merge in Jmiller's changes for the MIPS.
Guillermo J. Rozas [Mon, 30 Jul 1990 17:05:08 +0000 (17:05 +0000)]
Remove dangling #endif left over from previous edit.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:54:26 +0000 (16:54 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:45:34 +0000 (16:45 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:37:57 +0000 (16:37 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:21:14 +0000 (16:21 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 04:01:23 +0000 (04:01 +0000)]
Remove reference to primitive file-read-char (gone), and use new names
for file primitives.
Guillermo J. Rozas [Mon, 30 Jul 1990 03:47:46 +0000 (03:47 +0000)]
Move the call to reset-gc-after-restore! from disk-save/kernel to
setup-image, since both disk-save and dump-world must take care of it.
Guillermo J. Rozas [Sat, 28 Jul 1990 21:45:22 +0000 (21:45 +0000)]
Make scmkit work again (under HP-UX 7.0) by invoking gld with the
-noinhibit-exec option.
Guillermo J. Rozas [Sat, 28 Jul 1990 18:57:17 +0000 (18:57 +0000)]
Resurrect dmpwrld.c .
Install hooks in various places so that IO descriptors, etc. are OK
after resuming execution.
Guillermo J. Rozas [Sat, 28 Jul 1990 18:56:49 +0000 (18:56 +0000)]
Resurrect dmpwrld.c .
Install hooks in various places so that IO descriptors, etc. are OK
after resuming execution.
Guillermo J. Rozas [Fri, 27 Jul 1990 21:30:08 +0000 (21:30 +0000)]
Initial revision
Guillermo J. Rozas [Fri, 27 Jul 1990 21:29:37 +0000 (21:29 +0000)]
New version of unexec from emacs 18.55 .
Guillermo J. Rozas [Fri, 27 Jul 1990 00:29:56 +0000 (00:29 +0000)]
Fix pathnames after making altdorf the Switzerland server.
Guillermo J. Rozas [Thu, 26 Jul 1990 04:22:22 +0000 (04:22 +0000)]
Fix bug in zero-entry multi closures. The allocation was done incorrectly.
Chris Hanson [Tue, 24 Jul 1990 22:17:12 +0000 (22:17 +0000)]
Fix `graphics-clear' of X window to respect the clip rectangle.
Guillermo J. Rozas [Mon, 23 Jul 1990 14:22:03 +0000 (14:22 +0000)]
fixnum-pred-2->cc was renamed to fixnum-pred->cc. Remove left-over reference.
Guillermo J. Rozas [Sun, 22 Jul 1990 20:33:20 +0000 (20:33 +0000)]
Merge in Jmiller's changes for multi-closures.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:56:39 +0000 (18:56 +0000)]
Update to version match 68k compiler version 4.74.
Multi closures.
Bit-wise fixnum operations.
Add out-of-line multiply and divide (quotient and remainder) routines
that use the floating-point co-processor.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:52:45 +0000 (18:52 +0000)]
Replace uses of land and quotient with fix:and and fix:quotient,
respectively.
Note: Uses of fix:quotient should be replaced with uses of fix:lsh.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:51:48 +0000 (18:51 +0000)]
Fix minor bugs in disassembly (some instructions were missing the
completer).
Guillermo J. Rozas [Sun, 22 Jul 1990 18:50:59 +0000 (18:50 +0000)]
Fix bug in compiler:disassemble by which only half of the variable
caches was being displayed.
Guillermo J. Rozas [Sun, 22 Jul 1990 06:42:25 +0000 (06:42 +0000)]
Fix missing end-of-line back-slash in the documentation string for
FILE-FILL-INPUT-BUFFER.